1 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14 (ibm_extended_long_double): Add ieee_nan member.
15 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16 (do_test): New function.
18 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21 functions, renamed from truncdfsf_test, trunctfsf_test,
23 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25 (do_test): Run all these.
27 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29 * argp/argp-help.c: Fix typos.
30 * argp/argp-parse.c: Likewise.
31 * debug/backtracesyms.c: Likewise.
32 * elf/elf.h: Likewise.
33 * malloc/malloc.c: Likewise.
34 * nis/nis_print.c: Likewise.
35 * resolv/res_comp.c: Likewise.
36 * stdlib/stdlib.h: Likewise.
37 * sunrpc/clnt_tcp.c: Likewise.
38 * sunrpc/clnt_udp.c: Likewise.
39 * sunrpc/clnt_unix.c: Likewise.
40 * sysdeps/unix/bsd/ptsname.c: Likewise.
41 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53 2013-08-27 Mike Frysinger <vapier@gentoo.org>
56 * dlfcn/Makefile (tests): Add bug-dl-leaf.
57 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58 ($(objpfx)bug-dl-leaf): New rule.
59 ($(objpfx)bug-dl-leaf.so): Likewise.
60 ($(objpfx)bug-dl-leaf.out): Likewise.
61 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63 * dlfcn/bug-dl-leaf.c: New test.
64 * dlfcn/bug-dl-leaf-lib.c: Likewise.
65 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
66 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
70 2013-08-27 Roland McGrath <roland@hack.frob.com>
72 * include/netdb.h [!_ISOMAC]:
73 Don't include <tls.h>.
74 (h_errno, __libc_h_errno): Move declaration and macros out of
77 * include/resolv.h [_RESOLV_H_]:
78 Don't include <tls.h>.
79 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
80 * resolv/res_libc.c: Don't include <tls.h>.
81 (_res): Use __attribute__ ((nocommon)) in place of
82 __attribute__ ((section (".bss"))).
84 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
85 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
87 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
89 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
90 only under [SIOCGIFCONF && SIOCGIFNETMASK].
92 * resolv/res_mkquery.c: Include <sys/time.h>.
94 * inet/ifreq.c: Moved to ...
95 * sysdeps/unix/ifreq.c: ... here.
96 * inet/ifreq.c: New file, true stub version.
98 * socket/sa_len.c: New file.
99 * socket/Makefile (aux): Add it.
100 * sysdeps/unix/sysv/linux/Makefile
101 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
102 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
103 and #include <socket/sa_len.c>.
104 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
105 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
107 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
108 * bits/socket.h: ... here.
110 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
111 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
112 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
114 2013-08-27 Andreas Schwab <schwab@suse.de>
117 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
118 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
119 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
120 * string/test-strcasecmp.c (test_main): Run tests in several
122 * string/test-strncasecmp.c (test_main): Likewise.
124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
125 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
126 to __strcasecmp_nonascii and __strncasecmp_nonascii.
127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
128 (__strncasecmp_ssse3) [PIC]: Likewise.
130 2013-08-26 Roland McGrath <roland@hack.frob.com>
132 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
134 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
135 instead of explicitly declaring xdecrypt.
136 * nis/nss_nis/nis-publickey.c: Likewise.
138 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
141 * nscd/aicache.c: Include res_hconf.h.
142 (addhstaiX): Initialize res_hconf.
144 2013-08-26 Andreas Schwab <schwab@suse.de>
146 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
147 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
149 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
151 * nscd/aicache.c (addhstaiX): Fix indentation.
153 2013-08-25 Mike Frysinger <vapier@gentoo.org>
155 * configure.ac: Quote $build_pt_chown test.
156 * configure: Regenerated.
158 2013-08-23 Joseph Myers <joseph@codesourcery.com>
161 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
162 * math/s_cexpf.c (__cexpf): Likewise.
163 * math/s_cexpl.c (__cexpl): Likewise.
164 * math/libm-test.inc (cexp_test_data): Correct expected return
165 value for NaN + i0. Add another test.
167 2013-08-22 David S. Miller <davem@davemloft.net>
169 * po/ca.po: Update Catalan translation from translation project.
170 * po/uk.po: Add Ukrainian translations from translation project.
172 2013-08-21 Joseph Myers <joseph@codesourcery.com>
175 * math/s_fdim.c (__fdim): Check for infinite arguments if result
176 is infinite, not alongside NaN test.
177 * math/s_fdimf.c (__fdimf): Likewise.
178 * math/s_fdiml.c (__fdiml): Likewise.
179 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
182 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
184 * argp/argp-help.c: Fix typos.
185 * crypt/speeds.c: Likewise.
186 * csu/check_fds.c: Likewise.
187 * elf/dl-load.c: Likewise.
188 * elf/dl-open.c: Likewise.
189 * elf/reldep3.c: Likewise.
190 * elf/reldep.c: Likewise.
191 * elf/sprof.c: Likewise.
192 * iconv/iconv_charmap.c: Likewise.
193 * iconv/skeleton.c: Likewise.
194 * iconv/strtab.c: Likewise.
195 * io/lockf64.c: Likewise.
196 * libio/libioP.h: Likewise.
197 * resolv/gai_notify.c: Likewise.
198 * resolv/ns_name.c: Likewise.
199 * resolv/ns_samedomain.c: Likewise.
200 * resolv/res_send.c: Likewise.
201 * stdlib/random.c: Likewise.
202 * sunrpc/rpc/xdr.h: Likewise.
203 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
204 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
205 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
206 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
208 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
209 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
210 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
211 * sysdeps/mach/hurd/check_fds.c: Likewise.
212 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
213 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
216 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
217 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
218 * sysdeps/pthread/aio_notify.c: Likewise.
219 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
220 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
223 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
225 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
227 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
228 version if bit_Slow_SSE4_2 is set.
229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
230 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
232 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
236 trampoline stack frame information.
237 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
239 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
240 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
241 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
242 * sysdeps/unix/sysv/linux/powerpc/init-first.c
243 (_libc_vdso_platform_setup): Initialize the signal trampolines.
244 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
246 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
247 interrupting a syscall and set with option SA_SIGINFO.
249 2013-08-20 Joseph Myers <joseph@codesourcery.com>
252 * math/s_cproj.c (__cproj): Only return an infinity if one part of
253 argument is infinite.
254 * math/s_cprojf.c (__cprojf): Likewise.
255 * math/s_cprojl.c (__cprojl): Likewise.
256 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
257 * math/libm-test.inc (cproj_test_data): Add more tests.
259 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
261 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
262 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
263 size. Use __ffs to determine corresponding shift.
265 2013-08-20 Joseph Myers <joseph@codesourcery.com>
266 Roland McGrath <roland@hack.frob.com>
268 * Makefile (INSTALL): Remove trailing blank lines from output of
271 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
273 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
274 Align 32 bit compat elf_greg to 8 bytes.
276 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
278 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
280 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
282 * string/strcoll_l.c (coll_seq): New structure.
283 (get_next_seq_cached): New function.
284 (get_next_seq): New function.
285 (do_compare): New function.
286 (STRCOLL): Use GNU style definition. Simplify implementation
287 by using get_next_seq, get_next_seq_cached and do_compare.
289 2013-08-16 Florian Weimer <fweimer@redhat.com>
293 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
295 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
297 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
298 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
299 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
302 GETDENTS_64BIT_ALIGNED.
303 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
304 * manual/filesys.texi (Reading/Closing Directory): Document
305 ENAMETOOLONG return value of readdir_r. Recommend readdir more
307 * manual/conf.texi (Limits for Files): Add portability note to
309 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
311 2013-08-13 Andreas Schwab <schwab@suse.de>
314 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
316 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
317 LDBL_MAX_EXP >= 16384]: Add tests for it.
319 2013-08-12 David S. Miller <davem@davemloft.net>
321 * version.h (RELEASE): Set to "development".
322 (VERSION): Set to "2.18.90".
323 * NEWS: Add 2.19 section.
325 2013-08-03 David S. Miller <davem@davemloft.net>
327 * po/ko.po: Update Korean translation from translation project.
329 2013-08-01 David S. Miller <davem@davemloft.net>
331 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
332 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
335 2013-07-30 David S. Miller <davem@davemloft.net>
337 * po/fr.po: Update French translation from translation project.
339 2013-07-28 David S. Miller <davem@davemloft.net>
341 * po/cs.po: Update Czech translation from translation project.
343 * po/sv.po: Update Swedish translation from translation project.
345 2013-07-27 David S. Miller <davem@davemloft.net>
347 * po/eo.po: Update Esperanto translation from translation project.
349 * po/vi.po: Update Vietnamese translation from translation project.
351 * po/de.po: Update German translation from translation project.
353 2013-07-26 David S. Miller <davem@davemloft.net>
355 * po/bg.po: Update Bulgarian translation from translation project.
357 * po/nl.po: Update Dutch translation from translation project.
358 * po/pl.po: Update Polish translation from translation project.
359 * po/ru.po: Update Russian translation from translation project.
361 2013-07-24 David S. Miller <davem@davemloft.net>
363 * po/libc.pot: Update.
365 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
369 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
370 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
371 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
373 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
375 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
377 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
378 Andreas Schwab <schwab@suse.de>
379 Roland McGrath <roland@hack.frob.com>
380 Joseph Myers <joseph@codesourcery.com>
381 Carlos O'Donell <carlos@redhat.com>
384 * config.h.in: Define HAVE_PT_CHOWN.
385 * config.make.in (build-pt-chown): New variable.
386 * configure.in (--enable-pt_chown): New configure option.
387 * configure: Regenerate.
388 * login/Makefile: Include Makeconfig. Build pt_chown only if
389 build-pt-chown is enabled.
390 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
391 pt_chown to fix pty ownership.
392 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
394 * manual/install.texi (Configuring and compiling): Mention
395 --enable-pt_chown. Add @findex for grantpt.
396 * INSTALL: Regenerate.
398 2013-07-20 David S. Miller <davem@davemloft.net>
400 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
401 difference between 32-bit and 64-bit.
403 2013-07-15 Carlos O'Donell <carlos@redhat.com>
406 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
407 Avoid system header dependency with -ffreestanding.
408 ($(objpfx)bits/syscall%d): Likewise.
410 2013-07-13 David S. Miller <davem@davemloft.net>
412 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
413 underflows from atanl/atan2l due to bug 15319.
414 (casinh_test_data): Likewise.
416 2013-07-07 David S. Miller <davem@davemloft.net>
418 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
420 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
425 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
427 * configure.in (--enable-lock-elision): Fix message text.
428 * INSTALL: Regenerate.
429 * configure: Regenerate.
431 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
435 2013-07-03 Andreas Jaeger <aj@suse.de>
437 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
439 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
440 (ptrace_peeksiginfo_args): Add.
441 (__ptrace_peeksiginfo_flags): Add.
442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
446 2013-07-03 Allan McRae <allan@archlinux.org>
448 * sysdeps/i386/fpu/libm-test-ulps: Update.
450 2013-07-02 David S. Miller <davem@davemloft.net>
452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
454 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
458 2013-07-02 Joseph Myers <joseph@codesourcery.com>
460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
463 2013-07-02 Andi Kleen <ak@linux.intel.com>
465 * config.h.in (ENABLE_LOCK_ELISION): Add.
466 * configure.in (--enable-lock-elision): Add option.
467 * manual/install.texi: Document --enable lock elision.
468 * configure: Regenerate
469 * INSTALL: Regenerate.
471 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
473 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
474 SSE4.2 strcasecmp for libc.a.
475 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
477 2013-07-02 Joseph Myers <joseph@codesourcery.com>
480 * soft-fp/op-common.h (_FP_FMA): New macro.
481 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
482 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
483 (_FP_MUL_MEAT_1_imm): ... here.
484 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
485 (_FP_MUL_MEAT_1_wide): ... here.
486 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
487 (_FP_MUL_MEAT_1_hard): ... here.
488 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
489 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
490 (_FP_MUL_MEAT_2_wide): ... here.
491 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
492 (_FP_MUL_MEAT_2_wide_3mul): ... here.
493 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
494 (_FP_MUL_MEAT_2_gmp): ... here.
495 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
496 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
497 (_FP_MUL_MEAT_4_wide): ... here.
498 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
499 (_FP_MUL_MEAT_4_gmp): ... here.
500 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
501 (_FP_WFRACBITS_DW_S): Likewise.
502 (_FP_WFRACXBITS_DW_S): Likewise.
503 (_FP_HIGHBIT_DW_S): Likewise.
504 (FP_FMA_S): Likewise.
505 (_FP_FRAC_HIGH_DW_S): Likewise.
506 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
507 (_FP_WFRACBITS_DW_D): Likewise.
508 (_FP_WFRACXBITS_DW_D): Likewise.
509 (_FP_HIGHBIT_DW_D): Likewise.
510 (FP_FMA_D): Likewise.
511 (_FP_FRAC_HIGH_DW_D): Likewise.
512 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
513 (_FP_WFRACBITS_DW_E): Likewise.
514 (_FP_WFRACXBITS_DW_E): Likewise.
515 (_FP_HIGHBIT_DW_E): Likewise.
516 (FP_FMA_E): Likewise.
517 (_FP_FRAC_HIGH_DW_E): Likewise.
518 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
519 (_FP_WFRACBITS_DW_Q): Likewise.
520 (_FP_WFRACXBITS_DW_Q): Likewise.
521 (_FP_HIGHBIT_DW_Q): Likewise.
522 (FP_FMA_Q): Likewise.
523 (_FP_FRAC_HIGH_DW_Q): Likewise.
524 * soft-fp/fmasf4.c: New file.
525 * soft-fp/fmadf4.c: Likewise.
526 * soft-fp/fmatf4.c: Likewise.
528 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
531 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
535 (index_Slow_SSE4_2): Likewise.
536 (index_Prefer_PMINUB_for_stringop): Likewise.
537 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
538 bit_Slow_SSE4_2 is set.
539 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
540 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
542 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
544 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
545 rtld_global._dl_hwcap2.
546 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
548 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
549 POWER8 feature descriptions defined in _dl_hwcap2.
550 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
551 string handling for POWER8 feature bits.
552 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
553 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
554 _dl_powerpc_cap_flags.
555 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
556 * sysdeps/powerpc/rtld-global-offsets.sym
557 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
558 _dl_hwcap2 in the rtld_global_ro structure.
560 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
562 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
563 hardware capabilities in support of AT_HWCAP2.
564 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
565 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
567 (_dl_show_auxv): Add support for calling _dl_procinfo to display
568 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
569 explicitly the unknown a_type display mechanism is used.
570 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
571 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
573 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
574 to macro prototype for AT_HWCAP2 support.
575 * sysdeps/i386/dl-procinfo.h: Likewise.
576 * sysdeps/s390/dl-procinfo.h: Likewise.
577 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
578 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
579 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
580 return -1 for unknown a_type display fallback.
581 * sysdeps/sparc/dl-procinfo.h: Likewise.
582 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
583 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
585 2013-06-28 Joseph Myers <joseph@codesourcery.com>
587 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
588 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
590 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
593 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
594 mprotect making __stack_prot writable.
596 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
597 Joseph Myers <joseph@codesourcery.com>
599 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
600 as being properly aligned.
602 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
604 * dlfcn/modstatic5.c: New file.
605 * dlfcn/tststatic5.c: New file.
606 * dlfcn/Makefile (tests): Add tststatic5.
607 (tests-static): Likewise.
608 (modules-names): Add modstatic5.
609 (tststatic5-ENV): New variable.
610 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
613 * elf/dl-support.c (_dl_main_map): New variable.
614 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
615 (_dl_nns, _dl_load_adds): Set to 1.
616 (_dl_initial_searchlist): Refer to _dl_main_map.
617 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
618 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
619 call to _dl_get_origin.
620 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
622 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
623 * dlfcn/modstatic3.c: New file.
624 * dlfcn/tststatic3.c: New file.
625 * dlfcn/tststatic4.c: New file.
626 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
627 (tests-static): Likewise.
628 (modules-names): Add modstatic3.
629 (tststatic3-ENV, tststatic4-ENV): New variables.
630 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
631 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
633 2013-06-26 Joseph Myers <joseph@codesourcery.com>
635 * configure.in (CC): Require GCC version 4.4 or later.
636 * configure: Regenerated.
637 * manual/install.texi (Tools for Compilation): Update GCC version
639 * INSTALL: Regenerated.
641 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
644 * string/test-memcmp.c (check2): New.
647 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
649 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
652 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
654 (dl_open_worker) [!SHARED]: ... here.
656 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
658 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
660 2013-06-25 Richard Henderson <rth@redhat.com>
662 * locale/programs/locarchive.c: Include <libc-internal.h>
664 2013-06-25 Joseph Myers <joseph@codesourcery.com>
666 * manual/texinfo.tex: Update to version 2013-06-21.17, with
667 trailing whitespace removed.
669 2013-06-24 Mike Frysinger <vapier@gentoo.org>
672 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
673 * locale/programs/locarchive.c: Include libc-mmap.h.
674 (prepare_address_space): Take two new outputs (the mmap base and len).
675 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
677 (create_archive): Declare new mmap base and len values for
678 prepare_address_space, and store the result in ah.
679 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
680 (enlarge_archive): If ah->mmap_base is not NULL, use that and
681 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
682 Declare new mmap base and len values for
683 prepare_address_space, and store the result in new_ah.
684 (open_archive): Declare new mmap base and len values for
685 prepare_address_space, and store the result in ah.
686 (close_archive): If ah->mmap_base is not NULL, use that and
687 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
688 * sysdeps/generic/libc-mmap.h: New file.
690 2013-06-24 Mike Frysinger <vapier@gentoo.org>
692 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
693 (ALIGN_UP): Likewise.
694 (PTR_ALIGN_DOWN): Likewise.
695 (PTR_ALIGN_UP): Likewise.
697 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
699 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
700 entry mapped to PPC_PLATFORM_POWER8.
701 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
703 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
704 (_dl_string_platform): Add case for exporting platform position for
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
707 search path to sysdeps/powerpc/powerpc32/power8 directory.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
709 search path to sysdeps/powerpc/powerpc64/power8 directory.
710 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
712 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
715 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
717 * INSTALL: Regenerate.
719 * nscd/connections.c (nscd_init): Fix comment.
721 2013-06-22 Joseph Myers <joseph@codesourcery.com>
723 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
726 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
727 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
729 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
731 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
733 (DL_DST_REQ_STATIC): Remove macro.
735 2013-06-21 Joseph Myers <joseph@codesourcery.com>
738 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
739 with a shift of 0 bits.
741 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
743 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
746 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
749 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
751 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
754 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
755 accepts -fno-tree-loop-distribute-patterns.
756 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
757 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
759 * string/memset.c (memset): Likewise.
760 * string/test-memmove.c (simple_memmove): Disable loop transformation
762 * string/test-memset.c (simple_memset): Likewise.
763 * benchtests/bench-memmove.c (simple_memmove): Likewise.
764 * benchtests/bench-memset.c (simple_memset): Likewise.
765 * configure: Regenerated.
767 2013-06-20 Joseph Myers <joseph@codesourcery.com>
769 * math/test-misc.c (main): Ignore fesetround failure when failures
770 of subsequent rounding tests would be ignored.
773 * math/fedisblxcpt.c (fedisableexcept): Return 0.
774 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
775 * math/fegetenv.c (__fegetenv): Return 0.
776 * math/fegetexcept.c (fegetexcept): Return 0.
777 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
779 * math/feholdexcpt.c (feholdexcept): Return 0.
780 * math/fesetenv.c (__fesetenv): Return 0.
781 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
782 argument FE_TONEAREST.
783 * math/feupdateenv.c (__feupdateenv): Return 0.
784 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
786 2013-06-18 Roland McGrath <roland@hack.frob.com>
788 * elf/rtld-Rules (rtld-compile-command.S): New variable.
789 (rtld-compile-command.s, rtld-compile-command.c): New variables.
790 ($(objpfx)rtld-%.os rules): Use them.
792 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
797 2013-06-17 Roland McGrath <roland@hack.frob.com>
799 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
800 length of target pattern, then descending length of dependency pattern.
801 * configure.in (AWK): Require gawk 3.1.2 or newer.
802 * manual/install.texi (Tools for Compilation): Say that we do.
803 * configure: Regenerated.
805 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
806 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
807 * scripts/sysd-rules.awk: ... this new script.
808 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
809 than a glob-style pattern.
811 2013-06-17 Joseph Myers <joseph@codesourcery.com>
813 * math/test-misc.c (main): Do not treat incorrectly rounded
814 conversions as failure unless ROUNDING_TESTS passes.
816 2013-06-15 Joseph Myers <joseph@codesourcery.com>
819 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
820 restore exception state around main square root computation, then
821 check for inexactness explicitly.
823 * math/libm-test.inc (fma_test_data): Add another test.
825 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
827 * manual/threads.texi (Non-POSIX Extensions): New document
828 node. Document pthread_getattr_default_np and
829 pthread_setattr_default_np.
831 * Versions.def (libpthread): Add GLIBC_2.18.
832 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
841 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
852 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
855 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
857 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
858 H.J. Lu <hjl.tools@gmail.com>
861 * sysdeps/x86_64/rtld-memset.c: Remove file.
862 * sysdeps/x86_64/rtld-memset.S: New file.
864 2013-06-14 Joseph Myers <joseph@codesourcery.com>
866 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
867 (test_in_one_mode): Take arguments for whether the rounding mode
868 is supported for each floating-point type.
869 (do_test): Pass new arguments to test_in_one_mode using
872 2013-06-13 Roland McGrath <roland@hack.frob.com>
874 * posix/tst-waitid.c (do_test): Distinguish different instances of
875 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
876 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
877 before entering the kernel for waitpid.
879 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
881 * NEWS: Fix note on clock function precision. Text by Roland
884 2013-06-13 Roland McGrath <roland@hack.frob.com>
886 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
887 it into place only when and if the sanity check passes.
889 2013-06-13 Joseph Myers <joseph@codesourcery.com>
891 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
892 output for whether conversion result is exact. Take argument
893 indicating whether type is IBM long double.
894 (round_for_all): Change need_exact field to ibm_ld.
895 * stdlib/tst-strtod-round.c (struct exactness): New type.
896 (struct test): Change bool ld_ok field to struct exactness exact.
897 (TEST): Update all definitions for change to field.
898 (tests): Regenerate array contents.
899 (test_in_one_mode): Take pointer to new field instead of old ld_ok
900 field value. Check for IBM long double here.
901 (do_test): Update calls to test_in_one_mode.
903 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
906 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
907 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
909 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
912 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
913 generated by the compiler on loop optimizations.
914 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
917 2013-06-12 Joseph Myers <joseph@codesourcery.com>
919 * math/bug-nextafter.c: Include <math-tests.h>.
920 (main): Only test for exceptions if EXCEPTION_TESTS is true for
922 * math/bug-nexttoward.c: Include <math-tests.h>.
923 (main): Only test for exceptions if EXCEPTION_TESTS is true for
925 * math/test-misc.c: Include <math-tests.h>.
926 (main): Only test for exceptions if EXCEPTION_TESTS is true for
929 2013-06-12 Andreas Jaeger <aj@suse.de>
931 * po/ia.po: Update Interlingua translation from translation
934 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
936 * include/fenv.h: Include stdbool.h.
937 (struct rm_ctx): New structure.
938 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
940 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
941 (SET_RESTORE_ROUNDF): Likewise.
942 (SET_RESTORE_ROUNDL): Likewise.
943 (SET_RESTORE_ROUND_NOEX): Likewise.
944 (SET_RESTORE_ROUND_NOEXF): Likewise.
945 (SET_RESTORE_ROUND_NOEXL): Likewise.
946 (SET_RESTORE_ROUND_53BIT): Likewise.
947 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
948 (libc_feresetround_noexf_ctx): Likewise.
949 (libc_feresetround_noexl_ctx): Likewise.
950 (libc_feholdsetround_53bit_ctx): Likewise.
951 (libc_feresetround_53bit_ctx): Likewise.
952 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
953 (libc_feholdexcept_setround_sse_ctx): New function.
954 (libc_fesetenv_sse_ctx): Likewise.
955 (libc_feupdateenv_sse_ctx): Likewise.
956 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
957 (libc_feholdexcept_setround_387_ctx): Likewise.
958 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
959 (libc_feholdsetround_387_prec_ctx): Likewise.
960 (libc_feholdsetround_387_ctx): Likewise.
961 (libc_feholdsetround_387_53bit_ctx): Likewise.
962 (libc_feholdsetround_sse_ctx): Likewise.
963 (libc_feresetround_sse_ctx): Likewise.
964 (libc_feresetround_387_ctx): Likewise.
965 (libc_feupdateenv_387_ctx): Likewise.
966 (libc_feholdexcept_setroundf_ctx): Define macro.
967 (libc_fesetenvf_ctx): Likewise.
968 (libc_feupdateenvf_ctx): Likewise.
969 (libc_feholdsetroundf_ctx): Likewise.
970 (libc_feresetroundf_ctx): Likewise.
971 (libc_feholdexcept_setround_ctx): Likewise.
972 (libc_fesetenv_ctx): Likewise.
973 (libc_feupdateenv_ctx): Likewise.
974 (libc_feholdsetround_ctx): Likewise.
975 (libc_feresetround_ctx): Likewise.
976 (libc_feholdexcept_setroundl_ctx): Likewise.
977 (libc_feupdateenvl_ctx): Likewise.
978 (libc_feholdsetroundl_ctx): Likewise.
979 (libc_feresetroundl_ctx): Likewise.
980 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
981 (libc_feresetround_53bit_ctx): Likewise.
983 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
985 * locale/iso-639.def: Convert to UTF-8.
987 2013-06-11 Joseph Myers <joseph@codesourcery.com>
989 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
990 (EXCEPTION_TESTS_double): Likewise.
991 (EXCEPTION_TESTS_long_double): Likewise.
992 (EXCEPTION_TESTS): Likewise.
993 * math/libm-test.inc (test_exceptions): Only test exceptions if
994 EXCEPTION_TESTS (FLOAT).
996 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
998 * benchtests/Makefile (string-bench): Add strcpy_chk and
1000 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1001 * benchtests/bench-stpcpy_chk.c: New file.
1002 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1003 * benchtests/bench-strcpy_chk.c: New file.
1004 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1006 (do_test): Likewise.
1008 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1010 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1011 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1012 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1013 with tabs where appropriate.
1014 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1016 [PPC_PLATFORM_PPC440]: Likewise.
1017 [PPC_PLATFORM_PPC464]: Likewise.
1018 [PPC_PLATFORM_PPC476]: Likewise.
1019 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1020 ppc464, and ppc476 platform strings merging from ports/
1023 2013-06-11 Andreas Schwab <schwab@suse.de>
1026 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1027 (from_ucs4_idx): Regenerate.
1028 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1029 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1030 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1031 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1032 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1033 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1034 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1035 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1036 from FROM_LOOP and TO_LOOP specific macros.
1037 (BODY): Handle combining characters.
1038 * iconvdata/BIG5HKSCS.irreversible: Update.
1039 * iconvdata/BIG5HKSCS.precomposed: New file.
1040 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1042 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1044 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1046 * include/sys/time.h: Fix indentation and add copyright header.
1048 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1049 (do_test): Likewise.
1050 * string/test-memchr.c (do_one_test): Likewise.
1051 (do_test): Likewise.
1052 * string/test-memcmp.c (do_one_test): Likewise.
1053 (do_test): Likewise.
1054 * string/test-memcpy.c (do_one_test): Likewise.
1055 (do_test): Likewise.
1056 * string/test-memmem.c (do_one_test): Likewise.
1057 (do_test): Likewise.
1058 (do_random_tests): Likewise.
1059 * string/test-memmove.c (do_one_test): Likewise.
1060 (do_test): Likewise.
1061 * string/test-memset.c (do_one_test): Likewise.
1062 (do_test): Likewise.
1063 * string/test-rawmemchr.c (do_one_test): Likewise.
1064 (do_test): Likewise.
1065 * string/test-strcasecmp.c (do_one_test): Likewise.
1066 (do_test): Likewise.
1067 * string/test-strcasestr.c (do_one_test): Likewise.
1068 (do_test): Likewise.
1069 * string/test-strcat.c (do_one_test): Likewise.
1070 (do_test): Likewise.
1071 * string/test-strchr.c (do_one_test): Likewise.
1072 (do_test): Likewise.
1073 * string/test-strcmp.c (do_one_test): Likewise.
1074 (do_test): Likewise.
1075 * string/test-strcpy.c (do_one_test): Likewise.
1076 (do_test): Likewise.
1077 * string/test-string.h: Likewise.
1078 (test_init): Likewise.
1079 * string/test-strlen.c (do_one_test): Likewise.
1080 (do_test): Likewise.
1081 * string/test-strncasecmp.c (do_one_test): Likewise.
1082 (do_test): Likewise.
1083 * string/test-strncat.c (do_one_test): Likewise.
1084 (do_test): Likewise.
1085 * string/test-strncmp.c (do_one_test): Likewise.
1086 (do_test_limit): Likewise.
1087 (do_test): Likewise.
1088 * string/test-strncpy.c (do_one_test): Likewise.
1089 (do_test): Likewise.
1090 * string/test-strnlen.c (do_one_test): Likewise.
1091 (do_test): Likewise.
1092 * string/test-strpbrk.c (do_one_test): Likewise.
1093 (do_test): Likewise.
1094 * string/test-strrchr.c (do_one_test): Likewise.
1095 (do_test): Likewise.
1096 * string/test-strspn.c (do_one_test): Likewise.
1097 (do_test): Likewise.
1098 * string/test-strstr.c (do_one_test): Likewise.
1099 (do_test): Likewise.
1101 * benchtests/Makefile (string-bench): Add string benchmarks.
1102 * benchtests/bench-bcopy-ifunc.c: New file.
1103 * benchtests/bench-bcopy.c: New file.
1104 * benchtests/bench-bzero-ifunc.c: New file.
1105 * benchtests/bench-bzero.c: New file.
1106 * benchtests/bench-memccpy-ifunc.c: New file.
1107 * benchtests/bench-memccpy.c: New file.
1108 * benchtests/bench-memchr-ifunc.c: New file.
1109 * benchtests/bench-memchr.c: New file.
1110 * benchtests/bench-memcmp-ifunc.c: New file.
1111 * benchtests/bench-memcmp.c: New file.
1112 * benchtests/bench-memmem-ifunc.c: New file.
1113 * benchtests/bench-memmem.c: New file.
1114 * benchtests/bench-memmove-ifunc.c: New file.
1115 * benchtests/bench-memmove.c: New file.
1116 * benchtests/bench-mempcpy-ifunc.c: New file.
1117 * benchtests/bench-mempcpy.c: New file.
1118 * benchtests/bench-memset-ifunc.c: New file.
1119 * benchtests/bench-memset.c: New file.
1120 * benchtests/bench-rawmemchr-ifunc.c: New file.
1121 * benchtests/bench-rawmemchr.c: New file.
1122 * benchtests/bench-stpcpy-ifunc.c: New file.
1123 * benchtests/bench-stpcpy.c: New file.
1124 * benchtests/bench-stpncpy-ifunc.c: New file.
1125 * benchtests/bench-stpncpy.c: New file.
1126 * benchtests/bench-strcasecmp-ifunc.c: New file.
1127 * benchtests/bench-strcasecmp.c: New file.
1128 * benchtests/bench-strcasestr-ifunc.c: New file.
1129 * benchtests/bench-strcasestr.c: New file.
1130 * benchtests/bench-strcat-ifunc.c: New file.
1131 * benchtests/bench-strcat.c: New file.
1132 * benchtests/bench-strchr-ifunc.c: New file.
1133 * benchtests/bench-strchr.c: New file.
1134 * benchtests/bench-strchrnul-ifunc.c: New file.
1135 * benchtests/bench-strchrnul.c: New file.
1136 * benchtests/bench-strcmp-ifunc.c: New file.
1137 * benchtests/bench-strcmp.c: New file.
1138 * benchtests/bench-strcpy-ifunc.c: New file.
1139 * benchtests/bench-strcpy.c: New file.
1140 * benchtests/bench-strcspn-ifunc.c: New file.
1141 * benchtests/bench-strcspn.c: New file.
1142 * benchtests/bench-strlen-ifunc.c: New file.
1143 * benchtests/bench-strlen.c: New file.
1144 * benchtests/bench-strncasecmp-ifunc.c: New file.
1145 * benchtests/bench-strncasecmp.c: New file.
1146 * benchtests/bench-strncat-ifunc.c: New file.
1147 * benchtests/bench-strncat.c: New file.
1148 * benchtests/bench-strncmp-ifunc.c: New file.
1149 * benchtests/bench-strncmp.c: New file.
1150 * benchtests/bench-strncpy-ifunc.c: New file.
1151 * benchtests/bench-strncpy.c: New file.
1152 * benchtests/bench-strnlen-ifunc.c: New file.
1153 * benchtests/bench-strnlen.c: New file.
1154 * benchtests/bench-strpbrk-ifunc.c: New file.
1155 * benchtests/bench-strpbrk.c: New file.
1156 * benchtests/bench-strrchr-ifunc.c: New file.
1157 * benchtests/bench-strrchr.c: New file.
1158 * benchtests/bench-strspn-ifunc.c: New file.
1159 * benchtests/bench-strspn.c: New file.
1160 * benchtests/bench-strstr-ifunc.c: New file.
1161 * benchtests/bench-strstr.c: New file.
1163 * benchtests/Makefile: Disable parallel execution of targets.
1164 (string-bench): Add memcpy.
1165 (benchset): New variable to store a list of benchmark sets.
1166 (bench-func): Renamed from bench.
1167 (bench-set): New target.
1168 (bench): Depend on bench-func and bench-set.
1169 * benchtests/README: Add section on benchmark sets.
1170 * benchtests/bench-memcpy-ifunc.c: New file.
1171 * benchtests/bench-memcpy.c: New file.
1172 * benchtests/bench-string.h: New file.
1174 2013-06-11 Andreas Schwab <schwab@suse.de>
1177 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1178 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1179 values in the triple.
1180 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1181 terminator in the group key.
1183 2013-06-11 Andreas Jaeger <aj@suse.de>
1185 * po/zh_TW.po: Update Chinese (traditional) translation from
1186 translation project.
1188 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1190 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1191 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1192 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1194 (clock_getcpuclockid): Likewise.
1195 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1196 Add weak_alias and libc_hidden_def.
1197 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1198 * rt/clock_gettime.c (clock_gettime): Rename to
1199 __clock_gettime. Add weak_alias and libc_hidden_def.
1200 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1201 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1202 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1203 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1204 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1206 * rt/clock_settime.c (clock_settime): Rename to
1207 __clock_settime. Add weak_alias and libc_hidden_def.
1208 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1210 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1212 * mach/err_boot.sub: Remove trailing whitespace.
1213 * mach/err_ipc.sub: Likewise.
1214 * mach/err_mach.sub: Likewise.
1216 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1217 (ROUNDING_TESTS_double): Likewise.
1218 (ROUNDING_TESTS_long_double): Likewise.
1219 (ROUNDING_TESTS): Likewise.
1220 * math/libm-test.inc: Include <math-tests.h>.
1221 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1222 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1223 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1224 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1226 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1228 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1231 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1234 otherwise empty TRANS lines.
1235 * sysdeps/gnu/errlist.c: Regenerated.
1237 * catgets/gencat.c (error_print): Use (void) in function
1239 * crypt/crypt_util.c (__init_des): Likewise.
1240 * crypt/speeds.c (Stop): Likewise.
1242 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1243 * inet/ruserpass.c (token): Likewise.
1244 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1245 * intl/localealias.c (extend_alias_table): Likewise.
1246 * intl/plural-exp.c (init_germanic_plural): Likewise.
1247 * libio/fcloseall.c (__fcloseall): Likewise.
1248 * libio/genops.c (_IO_flush_all): Likewise.
1249 (_IO_flush_all_linebuffered): Likewise.
1250 (_IO_cleanup): Likewise.
1251 (_IO_iter_begin): Likewise.
1252 (_IO_iter_end): Likewise.
1253 (_IO_list_lock): Likewise.
1254 (_IO_list_unlock): Likewise.
1255 (_IO_list_resetlock): Likewise.
1256 * libio/getchar.c (getchar): Likewise.
1257 * libio/getchar_u.c (getchar_unlocked): Likewise.
1258 * libio/getwchar.c (getwchar): Likewise.
1259 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1260 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1261 * login/getpt.c (__getpt): Likewise.
1262 * login/tst-utmp.c (main): Likewise.
1263 * malloc/hooks.c (__malloc_check_init): Likewise.
1264 * malloc/malloc.c (__malloc_stats): Likewise.
1265 * malloc/mtrace.c (tr_break): Likewise.
1267 (muntrace): Likewise.
1268 * misc/fstab.c (endfsent): Likewise.
1269 * misc/getclktck.c (__getclktck): Likewise.
1270 * misc/getdtsz.c (__getdtablesize): Likewise.
1271 * misc/gethostid.c (gethostid): Likewise.
1272 * misc/getpagesize.c (__getpagesize): Likewise.
1273 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1274 (__get_nprocs): Likewise.
1275 (__get_phys_pages): Likewise.
1276 (__get_avphys_pages): Likewise.
1277 * misc/getttyent.c (getttyent): Likewise.
1278 (setttyent): Likewise.
1279 (endttyent): Likewise.
1280 * misc/getusershell.c (getusershell): Likewise.
1281 (endusershell): Likewise.
1282 (setusershell): Likewise.
1283 (initshells): Likewise.
1284 * misc/hsearch.c (__hdestroy): Likewise.
1285 * misc/sync.c (sync): Likewise.
1286 * misc/syslog.c (closelog_internal): Likewise.
1287 (closelog): Likewise.
1288 * misc/ttyslot.c (ttyslot): Likewise.
1289 * misc/vhangup.c (vhangup): Likewise.
1290 * posix/fork.c (__fork): Likewise.
1291 * posix/getegid.c (__getegid): Likewise.
1292 * posix/geteuid.c (__geteuid): Likewise.
1293 * posix/getgid.c (__getgid): Likewise.
1294 * posix/getpid.c (__getpid): Likewise.
1295 * posix/getppid.c (__getppid): Likewise.
1296 * posix/getuid.c (__getuid): Likewise.
1297 * posix/pause.c (pause): Likewise.
1298 * posix/setpgrp.c (setpgrp): Likewise.
1299 * posix/setsid.c (__setsid): Likewise.
1300 * posix/test-vfork.c (noop): Likewise.
1301 * resolv/gethnamaddr.c (_endhtent): Likewise.
1302 (_gethtent): Likewise.
1303 (ht_endhostent): Likewise.
1304 (gethostent): Likewise.
1305 (dns_service): Likewise.
1306 * stdlib/drand48.c (drand48): Likewise.
1307 * stdlib/lrand48.c (lrand48): Likewise.
1308 * stdlib/mrand48.c (mrand48): Likewise.
1309 * stdlib/rand.c (rand): Likewise.
1310 * stdlib/random.c (__random): Likewise.
1311 * stdlib/setenv.c (clearenv): Likewise.
1312 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1313 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1314 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1315 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1316 (__get_nprocs): Likewise.
1317 (__get_phys_pages): Likewise.
1318 (__get_avphys_pages): Likewise.
1319 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1320 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1321 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1322 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1323 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1324 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1325 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1326 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1327 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1328 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1329 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1330 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1331 * sysdeps/posix/clock.c (clock): Likewise.
1332 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1333 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1334 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1335 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1336 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1337 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1338 (__get_nprocs_conf): Likewise.
1339 (__get_phys_pages): Likewise.
1340 (__get_avphys_pages): Likewise.
1341 * time/clock.c (clock): Likewise.
1342 * time/tzset.c (__tzname_max): Likewise.
1344 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1346 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1347 (__bswap_32): Do not use "register".
1348 * crypt/crypt.c (_ufc_doit_r): Likewise.
1349 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1350 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1351 * gmon/gmon.c (__monstartup): Likewise.
1352 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1353 * hurd/hurdmalloc.c (more_memory): Likewise.
1356 (realloc): Likewise.
1357 (malloc_fork_prepare): Likewise.
1358 (malloc_fork_parent): Likewise.
1359 (malloc_fork_child): Likewise.
1360 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1361 (_svcauth_des): Likewise.
1362 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1363 * inet/inet_net.c (inet_network): Likewise.
1364 * inet/inet_netof.c (inet_netof): Likewise.
1365 * inet/rcmd.c (__validuser2_sa): Likewise.
1366 * io/fts.c (fts_open): Likewise.
1367 (fts_load): Likewise.
1368 (fts_close): Likewise.
1369 (fts_read): Likewise.
1370 (fts_children): Likewise.
1371 (fts_build): Likewise.
1372 (fts_stat): Likewise.
1373 (fts_sort): Likewise.
1374 (fts_alloc): Likewise.
1375 (fts_lfree): Likewise.
1376 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1377 (_IO_file_xsgetn): Likewise.
1378 (_IO_file_xsgetn_mmap): Likewise.
1379 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1380 (_IO_cookie_write): Likewise.
1381 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1382 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1383 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1384 * malloc/obstack.c (_obstack_begin): Likewise.
1385 (_obstack_begin_1): Likewise.
1386 (_obstack_newchunk): Likewise.
1387 (_obstack_allocated_p): Likewise.
1388 (obstack_free): Likewise.
1389 (_obstack_memory_used): Likewise.
1390 * misc/getttyent.c (getttynam): Likewise.
1391 (getttyent): Likewise.
1394 * misc/getusershell.c (initshells): Likewise.
1395 * misc/syslog.c (__vsyslog_chk): Likewise.
1396 * misc/ttyslot.c (ttyslot): Likewise.
1397 * nis/nis_hash.c (__nis_hash): Likewise.
1398 * posix/fnmatch_loop.c (FCT): Likewise.
1399 * posix/getconf.c (print_all): Likewise.
1401 * posix/getopt.c (exchange): Likewise.
1402 * posix/glob.c (globfree): Likewise.
1403 (prefix_array): Likewise.
1404 (__glob_pattern_type): Likewise.
1405 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1406 (NS_GET32): Likewise.
1407 (NS_PUT16): Likewise.
1408 (NS_PUT32): Likewise.
1409 * resolv/gethnamaddr.c (getanswer): Likewise.
1410 (gethostbyname2): Likewise.
1411 (gethostbyaddr): Likewise.
1412 (_gethtent): Likewise.
1413 (_gethtbyname2): Likewise.
1414 (_gethtbyaddr): Likewise.
1415 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1416 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1417 * resolv/res_init.c (__res_vinit): Likewise.
1418 (net_mask): Likewise.
1419 * resolv/res_mkquery.c (outchar): Likewise.
1421 * stdio-common/printf_fp.c (outchar): Likewise.
1423 * stdio-common/printf_fphex.c (outchar): Likewise.
1425 * stdio-common/printf_size.c (outchar): Likewise.
1427 * stdio-common/test_rdwr.c (main): Likewise.
1428 * stdio-common/tfformat.c (matches): Likewise.
1429 * stdio-common/vfprintf.c (outchar): Likewise.
1430 (printf_unknown): Likewise.
1431 (buffered_vfprintf): Likewise.
1432 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1433 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1434 (ReadFile): Likewise.
1435 * stdlib/qsort.c (SWAP): Likewise.
1436 (_quicksort): Likewise.
1437 * stdlib/setenv.c (__add_to_environ): Likewise.
1438 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1439 * stdlib/strtol_l.c (__strtol_l): Likewise.
1440 * stdlib/tst-strtod.c (main): Likewise.
1441 * stdlib/tst-strtol.c (main): Likewise.
1442 * stdlib/tst-strtoll.c (main): Likewise.
1443 * string/bits/string2.h (__strcmp_cc): Likewise.
1444 (__strcmp_cg): Likewise.
1445 (__strcspn_c1): Likewise.
1446 (__strcspn_c2): Likewise.
1447 (__strcspn_c3): Likewise.
1448 (__strspn_c1): Likewise.
1449 (__strspn_c2): Likewise.
1450 (__strspn_c3): Likewise.
1451 (__strsep_1c): Likewise.
1452 (__strsep_2c): Likewise.
1453 (__strsep_3c): Likewise.
1454 * string/memccpy.c (__memccpy): Likewise.
1455 * string/stpcpy.c (__stpcpy): Likewise.
1456 * string/strcmp.c (strcmp): Likewise.
1457 * string/strrchr.c (strrchr): Likewise.
1458 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1460 * sysdeps/mach/hurd/getcwd.c
1461 (_hurd_canonicalize_directory_name_internal): Likewise.
1462 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1463 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1464 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1465 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1466 Likewise, in both definitions.
1467 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1469 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1470 64] (__bswap_64): Likewise.
1471 * time/test_time.c (main): Likewise.
1472 * time/tzfile.c (__tzfile_read): Likewise.
1473 (__tzfile_compute): Likewise.
1474 * time/tzset.c (__tzset_parse_tz): Likewise.
1475 (tzset_internal): Likewise.
1476 (compute_change): Likewise.
1477 * wcsmbs/wcscat.c (__wcscat): Likewise.
1478 * wcsmbs/wcschr.c (wcschr): Likewise.
1479 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1480 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1481 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1482 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1483 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1484 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1485 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1486 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1487 * wcsmbs/wmemset.c (wmemset): Likewise.
1489 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1491 * scripts/config.guess: Update to version 2013-05-16.
1492 * scripts/config.sub: Update to version 2013-04-24.
1493 * scripts/install-sh: Update to version 2011-11-20.07.
1494 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1495 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1497 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1499 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1500 * elf/sln.c: Likewise.
1501 * hurd/hurd/ioctl.h: Likewise.
1502 * hurd/hurdmalloc.c: Likewise.
1503 * hurd/xattr.c: Likewise.
1504 * include/shlib-compat.h: Likewise.
1505 * inet/ruserpass.c: Likewise.
1506 * libio/iofgets_u.c: Likewise.
1507 * libio/iofgetws_u.c: Likewise.
1508 * locale/programs/ld-identification.c: Likewise.
1509 * locale/programs/ld-time.c: Likewise.
1510 * mach/msg-destroy.c: Likewise.
1511 * nss/nss_files/files-netgrp.c: Likewise.
1512 * resolv/res_data.c: Likewise.
1513 * soft-fp/op-1.h: Likewise.
1514 * soft-fp/op-2.h: Likewise.
1515 * soft-fp/op-4.h: Likewise.
1516 * soft-fp/op-common.h: Likewise.
1517 * stdio-common/printf_fphex.c: Likewise.
1518 * stdlib/strtod_l.c: Likewise.
1519 * sunrpc/rpc/clnt.h: Likewise.
1520 * sysdeps/generic/framestate.c: Likewise.
1521 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1522 * sysdeps/i386/bsd-setjmp.S: Likewise.
1523 * sysdeps/i386/__longjmp.S: Likewise.
1524 * sysdeps/i386/setjmp.S: Likewise.
1525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1526 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1543 * sysdeps/ieee754/support.c: Likewise.
1544 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1545 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1546 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1547 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1548 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1549 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1550 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1551 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1552 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1553 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1554 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1555 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1556 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1557 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1558 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1559 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1560 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1563 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1565 * posix/transbug.c: Remove executable mode.
1567 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1569 * crypt/speeds.c: Remove trailing whitespace.
1570 * dlfcn/default.c: Likewise.
1571 * elf/ifuncdep2.c: Likewise.
1572 * elf/ifuncmain1.c: Likewise.
1573 * elf/ifuncmain1vis.c: Likewise.
1574 * elf/testobj.h: Likewise.
1575 * elf/tst-stackguard1.c: Likewise.
1576 * gmon/sys/gmon.h: Likewise.
1577 * hurd/hurdmsg.c: Likewise.
1578 * hurd/new-fd.c: Likewise.
1579 * hurd/ports-get.c: Likewise.
1580 * iconvdata/ibm1008_420.c: Likewise.
1581 * inet/tst-getni1.c: Likewise.
1582 * inet/tst-getni2.c: Likewise.
1583 * libio/ioungetc.c: Likewise.
1584 * libio/wfiledoalloc.c: Likewise.
1585 * manual/libm-err-tab.pl: Likewise.
1586 * math/w_dremf.c: Likewise.
1587 * misc/ftruncate.c: Likewise.
1588 * posix/bug-glob2.c: Likewise.
1589 * posix/tst-pcre.c: Likewise.
1590 * posix/wait4.c: Likewise.
1591 * resolv/README: Likewise.
1592 * resolv/res_debug.h: Likewise.
1593 * resolv/tst-inet_ntop.c: Likewise.
1594 * setjmp/bug269-setjmp.c: Likewise.
1595 * soft-fp/extended.h: Likewise.
1596 * soft-fp/op-1.h: Likewise.
1597 * soft-fp/op-2.h: Likewise.
1598 * soft-fp/op-4.h: Likewise.
1599 * soft-fp/op-8.h: Likewise.
1600 * soft-fp/testit.c: Likewise.
1601 * stdio-common/bug16.c: Likewise.
1602 * stdlib/random.c: Likewise.
1603 * sunrpc/rpcsvc/rquota.x: Likewise.
1604 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1633 * sysdeps/ieee754/s_lib_version.c: Likewise.
1634 * sysdeps/mach/hurd/check_fds.c: Likewise.
1635 * sysdeps/mach/hurd/getsockname.c: Likewise.
1636 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1637 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1638 * sysdeps/powerpc/bits/link.h: Likewise.
1639 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1640 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1641 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1642 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1643 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1644 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1645 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1646 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1647 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1648 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1649 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1650 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1651 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1652 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1653 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1654 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1657 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1660 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1662 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1665 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1666 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1670 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1671 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1673 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1674 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1675 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1676 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1677 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1679 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1680 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1681 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1682 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1683 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1684 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1685 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1686 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1687 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1688 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1691 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1692 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1693 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1694 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1695 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1697 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1698 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1699 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1700 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1701 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1702 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1703 * sysdeps/powerpc/sysdep.h: Likewise.
1704 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1705 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1706 * sysdeps/sh/dl-trampoline.S: Likewise.
1707 * sysdeps/sh/memset.S: Likewise.
1708 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1709 * sysdeps/sh/strlen.S: Likewise.
1710 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1711 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1712 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1713 * sysdeps/sparc/sparc32/rem.S: Likewise.
1714 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1715 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1716 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1717 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1718 * sysdeps/sparc/sparc32/urem.S: Likewise.
1719 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1720 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1721 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1722 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1724 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1725 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1726 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1727 * sysdeps/unix/bsd/times.c: Likewise.
1728 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1729 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1733 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1734 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1735 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1736 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1737 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1738 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1739 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1740 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1741 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1742 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1743 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1744 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1745 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1746 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1747 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1748 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1749 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1750 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1751 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1752 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1753 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1754 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1756 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1757 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1758 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1759 * sysdeps/x86_64/strcspn.S: Likewise.
1761 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1763 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1764 generated file. Regenerate properly from gen-translit.pl.
1765 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1766 locale/C-translit.h.
1768 2013-06-05 Andreas Schwab <schwab@suse.de>
1771 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1772 week as 6 instead of -1.
1773 * time/tst-strptime.c (day_tests): Add test case.
1775 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1777 * sysdeps/generic/math_private.h
1778 (libc_feholdexcept_setround_53bit): Replace with
1779 libc_feholdsetround_53bit.
1780 (libc_feupdateenv_53bit): Replace with
1781 libc_feresetround_53bit.
1782 (SET_RESTORE_ROUND_53BIT): Adjust.
1784 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1786 * string/test-strchrnul.c: Add copyright header.
1788 * posix/tst-getaddrinfo4.c: Increase test timeout.
1790 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1793 * math/libm-test.inc (MAX_EXP): Remove
1795 (ulp): Use MIN_EXP - MANT_DIG.
1796 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1798 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1800 * po/be.po: Revert last change.
1801 * po/zh_CN.po: Likewise.
1802 * po/header.pot: Likewise.
1804 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1806 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1807 link-libc-deps to empty as target-specific variable.
1808 * Makerules (link-libc-args): New variable.
1809 (libc-for-link): Likewise.
1810 (link-libc-deps): Likewise.
1811 (lib%.so): Depend on $(link-libc-deps). Link with
1813 (build-module): Link with $(link-libc-args).
1814 (build-module-asneeded): Likewise.
1815 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1817 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1818 target-specific variable.
1819 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1820 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1821 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1823 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1825 ($(objpfx)libpcprofile.so): Likewise.
1826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1828 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1829 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1830 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1832 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1833 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1834 * login/Makefile ($(objpfx)libutil.so): Likewise.
1835 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1836 * math/Makefile ($(objpfx)libm.so): Likewise.
1837 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1838 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1839 variable instead of depending directly on libc.
1840 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1841 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1843 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1845 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1846 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1847 ($(objpfx)libanl.so): Likewise.
1848 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1850 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1852 * sysdeps/i386/fpu/Makefile: Remove file.
1853 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1854 ($(objpfx)libm.so): Remove dependency on ld.so.
1856 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1859 * nis/yp_xdr.c (XDRMAXNAME): Define.
1860 (XDRMAXRECORD): Define.
1861 (xdr_domainname): Use XDRMAXNAME.
1862 (xdr_mapname): Likewise.
1863 (xdr_peername): Likewise.
1864 (xdr_keydat): Use XDRMAXRECORD.
1865 (xdr_valdat): Likewise.
1867 2013-05-30 Jeff Law <law@redhat.com>
1870 * manual/errno.texi (ESTALE): Update to account for more than
1871 just NFS file systems.
1872 * sysdeps/gnu/errlist.c: Regenerated.
1874 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1877 * elf/Makefile (tests): Add tst-null-argv.
1878 (modules-names): Add tst-null-argv-lib.
1879 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1880 (tst-null-argv-ENV): Set environment for tst-null-argv.
1881 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1882 (RTLD_PROGNAME): New macro.
1883 * elf/tst-null-argv.c: New test case.
1884 * elf/tst-null-argv-lib.c: Library for test case.
1885 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1886 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1887 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1888 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1889 * elf/dl-init.c (call_init): Likewise.
1890 (_dl_init): Likewise.
1891 * elf/dl-load.c (print_search_path): Likewise.
1892 (_dl_map_object): Likewise.
1893 * elf/dl-lookup.c (do_lookup_x): Likewise.
1894 (add_dependency): Likewise.
1895 (_dl_lookup_symbol_x): Likewise.
1896 (_dl_debug_bindings): Likewise.
1897 * elf/dl-open.c (_dl_show_scope): Likewise.
1898 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1899 * elf/dl-version.c (match_symbol): Likewise.
1900 (_dl_check_map_versions): Likewise.
1901 * elf/rtld.c (dl_main): Likewise.
1902 (print_unresolved): Use RTLD_PROGNAME.
1903 (print_missing_version): Likewise.
1904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1905 (elf_machine_rela): Likewise.
1906 * sysdeps/powerpc/powerpc32/dl-machine.c
1907 (__process_machine_rela): Likewise.
1908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1914 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1921 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1923 * po/be.po: Add descriptive title.
1924 * po/zh_CN.po: Likewise.
1925 * po/header.pot: Likewise.
1927 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1929 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1931 (enlarge_archive): Likewise.
1933 2013-05-28 Ben North <ben@redfrontdoor.org>
1935 * manual/arith.texi (frexp): It is the magnitude of the return
1936 value which lies in [0.5, 1), not the return value itself.
1938 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1942 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1944 * stdio-common/bug26.c (main): Correct fscanf template.
1946 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1947 declare _dl_skip_args.
1949 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1952 * manual/platform.texi: Add missing @end deftypefun.
1954 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1958 bit of mantissa of 2^16382.
1959 * math/libm-test.inc (hypot_test_data): Add more tests.
1961 * math/libm-test.inc: Add drem and pow10 to list of tested
1963 (pow10_test): New function.
1964 (drem_test): Likewise.
1965 (drem_test_tonearest): Likewise.
1966 (drem_test_towardzero): Likewise.
1967 (drem_test_downward): Likewise.
1968 (drem_test_upward): Likewise.
1969 (main): Call the new functions.
1971 * math/libm-test.inc (finite_test_data): Remove.
1972 (finite_test): Run tests from isfinite_test_data.
1973 (gamma_test_data): Remove.
1974 (gamma_test): Run tests from lgamma_test_data.
1975 * sysdeps/i386/fpu/libm-test-ulps: Update.
1976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1978 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980 * manual/platform.texi: Add PowerPC PPR function set documentation.
1981 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1984 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1986 * math/libm-test.inc (MAX_EXP): Define.
1988 (ulp): New function.
1989 (check_float_internal): Use ULPDIFF.
1990 (cpow_test): Disable failing test.
1991 (check_ulp): Test ulp() implemetnation.
1992 (main): Call check_ulp before starting tests.
1994 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1996 * math/gen-libm-test.pl (generate_testfile): Do not handle
1997 START_DATA and END_DATA.
1998 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2000 (acos_tonearest_test_data): Likewise.
2001 (acos_towardzero_test_data): Likewise.
2002 (acos_downward_test_data): Likewise.
2003 (acos_upward_test_data): Likewise.
2004 (acosh_test_data): Likewise.
2005 (asin_test_data): Likewise.
2006 (asin_tonearest_test_data): Likewise.
2007 (asin_towardzero_test_data): Likewise.
2008 (asin_downward_test_data): Likewise.
2009 (asin_upward_test_data): Likewise.
2010 (asinh_test_data): Likewise.
2011 (atan_test_data): Likewise.
2012 (atanh_test_data): Likewise.
2013 (atan2_test_data): Likewise.
2014 (cabs_test_data): Likewise.
2015 (cacos_test_data): Likewise.
2016 (cacosh_test_data): Likewise.
2017 (carg_test_data): Likewise.
2018 (casin_test_data): Likewise.
2019 (casinh_test_data): Likewise.
2020 (catan_test_data): Likewise.
2021 (catanh_test_data): Likewise.
2022 (cbrt_test_data): Likewise.
2023 (ccos_test_data): Likewise.
2024 (ccosh_test_data): Likewise.
2025 (ceil_test_data): Likewise.
2026 (cexp_test_data): Likewise.
2027 (cimag_test_data): Likewise.
2028 (clog_test_data): Likewise.
2029 (clog10_test_data): Likewise.
2030 (conj_test_data): Likewise.
2031 (copysign_test_data): Likewise.
2032 (cos_test_data): Likewise.
2033 (cos_tonearest_test_data): Likewise.
2034 (cos_towardzero_test_data): Likewise.
2035 (cos_downward_test_data): Likewise.
2036 (cos_upward_test_data): Likewise.
2037 (cosh_test_data): Likewise.
2038 (cosh_tonearest_test_data): Likewise.
2039 (cosh_towardzero_test_data): Likewise.
2040 (cosh_downward_test_data): Likewise.
2041 (cosh_upward_test_data): Likewise.
2042 (cpow_test_data): Likewise.
2043 (cproj_test_data): Likewise.
2044 (creal_test_data): Likewise.
2045 (csin_test_data): Likewise.
2046 (csinh_test_data): Likewise.
2047 (csqrt_test_data): Likewise.
2048 (ctan_test_data): Likewise.
2049 (ctan_tonearest_test_data): Likewise.
2050 (ctan_towardzero_test_data): Likewise.
2051 (ctan_downward_test_data): Likewise.
2052 (ctan_upward_test_data): Likewise.
2053 (ctanh_test_data): Likewise.
2054 (ctanh_tonearest_test_data): Likewise.
2055 (ctanh_towardzero_test_data): Likewise.
2056 (ctanh_downward_test_data): Likewise.
2057 (ctanh_upward_test_data): Likewise.
2058 (erf_test_data): Likewise.
2059 (erfc_test_data): Likewise.
2060 (exp_test_data): Likewise.
2061 (exp_tonearest_test_data): Likewise.
2062 (exp_towardzero_test_data): Likewise.
2063 (exp_downward_test_data): Likewise.
2064 (exp_upward_test_data): Likewise.
2065 (exp10_test_data): Likewise.
2066 (exp2_test_data): Likewise.
2067 (expm1_test_data): Likewise.
2068 (fabs_test_data): Likewise.
2069 (fdim_test_data): Likewise.
2070 (finite_test_data): Likewise.
2071 (floor_test_data): Likewise.
2072 (fma_test_data): Likewise.
2073 (fma_towardzero_test_data): Likewise.
2074 (fma_downward_test_data): Likewise.
2075 (fma_upward_test_data): Likewise.
2076 (fmax_test_data): Likewise.
2077 (fmin_test_data): Likewise.
2078 (fmod_test_data): Likewise.
2079 (fpclassify_test_data): Likewise.
2080 (frexp_test_data): Likewise.
2081 (gamma_test_data): Likewise.
2082 (hypot_test_data): Likewise.
2083 (ilogb_test_data): Likewise.
2084 (isfinite_test_data): Likewise.
2085 (isgreater_test_data): Likewise.
2086 (isgreaterequal_test_data): Likewise.
2087 (isinf_test_data): Likewise.
2088 (isless_test_data): Likewise.
2089 (islessequal_test_data): Likewise.
2090 (islessgreater_test_data): Likewise.
2091 (isnan_test_data): Likewise.
2092 (isnormal_test_data): Likewise.
2093 (issignaling_test_data): Likewise.
2094 (isunordered_test_data): Likewise.
2095 (j0_test_data): Likewise.
2096 (j1_test_data): Likewise.
2097 (jn_test_data): Likewise.
2098 (ldexp_test_data): Likewise.
2099 (lgamma_test_data): Likewise.
2100 (lrint_test_data): Likewise.
2101 (lrint_tonearest_test_data): Likewise.
2102 (lrint_towardzero_test_data): Likewise.
2103 (lrint_downward_test_data): Likewise.
2104 (lrint_upward_test_data): Likewise.
2105 (llrint_test_data): Likewise.
2106 (llrint_tonearest_test_data): Likewise.
2107 (llrint_towardzero_test_data): Likewise.
2108 (llrint_downward_test_data): Likewise.
2109 (llrint_upward_test_data): Likewise.
2110 (log_test_data): Likewise.
2111 (log10_test_data): Likewise.
2112 (log1p_test_data): Likewise.
2113 (log2_test_data): Likewise.
2114 (logb_test_data): Likewise.
2115 (logb_downward_test_data): Likewise.
2116 (lround_test_data): Likewise.
2117 (llround_test_data): Likewise.
2118 (modf_test_data): Likewise.
2119 (nearbyint_test_data): Likewise.
2120 (nextafter_test_data): Likewise.
2121 (nexttoward_test_data): Likewise.
2122 (pow_test_data): Likewise.
2123 (pow_tonearest_test_data): Likewise.
2124 (pow_towardzero_test_data): Likewise.
2125 (pow_downward_test_data): Likewise.
2126 (pow_upward_test_data): Likewise.
2127 (remainder_test_data): Likewise.
2128 (remainder_tonearest_test_data): Likewise.
2129 (remainder_towardzero_test_data): Likewise.
2130 (remainder_downward_test_data): Likewise.
2131 (remainder_upward_test_data): Likewise.
2132 (remquo_test_data): Likewise.
2133 (rint_test_data): Likewise.
2134 (rint_tonearest_test_data): Likewise.
2135 (rint_towardzero_test_data): Likewise.
2136 (rint_downward_test_data): Likewise.
2137 (rint_upward_test_data): Likewise.
2138 (round_test_data): Likewise.
2139 (scalb_test_data): Likewise.
2140 (scalbn_test_data): Likewise.
2141 (scalbln_test_data): Likewise.
2142 (signbit_test_data): Likewise.
2143 (sin_test_data): Likewise.
2144 (sin_tonearest_test_data): Likewise.
2145 (sin_towardzero_test_data): Likewise.
2146 (sin_downward_test_data): Likewise.
2147 (sin_upward_test_data): Likewise.
2148 (sincos_test_data): Likewise.
2149 (sinh_test_data): Likewise.
2150 (sinh_tonearest_test_data): Likewise.
2151 (sinh_towardzero_test_data): Likewise.
2152 (sinh_downward_test_data): Likewise.
2153 (sinh_upward_test_data): Likewise.
2154 (sqrt_test_data): Likewise.
2155 (tan_test_data): Likewise.
2156 (tan_tonearest_test_data): Likewise.
2157 (tan_towardzero_test_data): Likewise.
2158 (tan_downward_test_data): Likewise.
2159 (tan_upward_test_data): Likewise.
2160 (tanh_test_data): Likewise.
2161 (tgamma_test_data): Likewise.
2162 (trunc_test_data): Likewise.
2163 (y0_test_data): Likewise.
2164 (y1_test_data): Likewise.
2165 (yn_test_data): Likewise.
2166 (significand_test_data): Likewise.
2168 * math/gen-libm-test.pl (@functions): Remove variable.
2169 (generate_testfile): Don't handle START and END lines.
2170 * math/libm-test.inc (START): New macro.
2172 (END_COMPLEX): Likewise.
2173 (acos_test): Use END macro without arguments.
2174 (acos_test_tonearest): Likewise.
2175 (acos_test_towardzero): Likewise.
2176 (acos_test_downward): Likewise.
2177 (acos_test_upward): Likewise.
2178 (acosh_test): Likewise.
2179 (asin_test): Likewise.
2180 (asin_test_tonearest): Likewise.
2181 (asin_test_towardzero): Likewise.
2182 (asin_test_downward): Likewise.
2183 (asin_test_upward): Likewise.
2184 (asinh_test): Likewise.
2185 (atan_test): Likewise.
2186 (atanh_test): Likewise.
2187 (atan2_test): Likewise.
2188 (cabs_test): Likewise.
2189 (cacos_test): Use END_COMPLEX macro without arguments.
2190 (cacosh_test): Likewise.
2191 (carg_test): Use END macro without arguments.
2192 (casin_test): Use END_COMPLEX macro without arguments.
2193 (casinh_test): Likewise.
2194 (catan_test): Likewise.
2195 (catanh_test): Likewise.
2196 (cbrt_test): Use END macro without arguments.
2197 (ccos_test): Use END_COMPLEX macro without arguments.
2198 (ccosh_test): Likewise.
2199 (ceil_test): Use END macro without arguments.
2200 (cexp_test): Use END_COMPLEX macro without arguments.
2201 (cimag_test): Use END macro without arguments.
2202 (clog_test): Use END_COMPLEX macro without arguments.
2203 (clog10_test): Likewise.
2204 (conj_test): Likewise.
2205 (copysign_test): Use END macro without arguments.
2206 (cos_test): Likewise.
2207 (cos_test_tonearest): Likewise.
2208 (cos_test_towardzero): Likewise.
2209 (cos_test_downward): Likewise.
2210 (cos_test_upward): Likewise.
2211 (cosh_test): Likewise.
2212 (cosh_test_tonearest): Likewise.
2213 (cosh_test_towardzero): Likewise.
2214 (cosh_test_downward): Likewise.
2215 (cosh_test_upward): Likewise.
2216 (cpow_test): Use END_COMPLEX macro without arguments.
2217 (cproj_test): Likewise.
2218 (creal_test): Use END macro without arguments.
2219 (csin_test): Use END_COMPLEX macro without arguments.
2220 (csinh_test): Likewise.
2221 (csqrt_test): Likewise.
2222 (ctan_test): Likewise.
2223 (ctan_test_tonearest): Likewise.
2224 (ctan_test_towardzero): Likewise.
2225 (ctan_test_downward): Likewise.
2226 (ctan_test_upward): Likewise.
2227 (ctanh_test): Likewise.
2228 (ctanh_test_tonearest): Likewise.
2229 (ctanh_test_towardzero): Likewise.
2230 (ctanh_test_downward): Likewise.
2231 (ctanh_test_upward): Likewise.
2232 (erf_test): Use END macro without arguments.
2233 (erfc_test): Likewise.
2234 (exp_test): Likewise.
2235 (exp_test_tonearest): Likewise.
2236 (exp_test_towardzero): Likewise.
2237 (exp_test_downward): Likewise.
2238 (exp_test_upward): Likewise.
2239 (exp10_test): Likewise.
2240 (exp2_test): Likewise.
2241 (expm1_test): Likewise.
2242 (fabs_test): Likewise.
2243 (fdim_test): Likewise.
2244 (finite_test): Likewise.
2245 (floor_test): Likewise.
2246 (fma_test): Likewise.
2247 (fma_test_towardzero): Likewise.
2248 (fma_test_downward): Likewise.
2249 (fma_test_upward): Likewise.
2250 (fmax_test): Likewise.
2251 (fmin_test): Likewise.
2252 (fmod_test): Likewise.
2253 (fpclassify_test): Likewise.
2254 (frexp_test): Likewise.
2255 (gamma_test): Likewise.
2256 (hypot_test): Likewise.
2257 (ilogb_test): Likewise.
2258 (isfinite_test): Likewise.
2259 (isgreater_test): Likewise.
2260 (isgreaterequal_test): Likewise.
2261 (isinf_test): Likewise.
2262 (isless_test): Likewise.
2263 (islessequal_test): Likewise.
2264 (islessgreater_test): Likewise.
2265 (isnan_test): Likewise.
2266 (isnormal_test): Likewise.
2267 (issignaling_test): Likewise.
2268 (isunordered_test): Likewise.
2269 (j0_test): Likewise.
2270 (j1_test): Likewise.
2271 (jn_test): Likewise.
2272 (ldexp_test): Likewise.
2273 (lgamma_test): Likewise.
2274 (lrint_test): Likewise.
2275 (lrint_test_tonearest): Likewise.
2276 (lrint_test_towardzero): Likewise.
2277 (lrint_test_downward): Likewise.
2278 (lrint_test_upward): Likewise.
2279 (llrint_test): Likewise.
2280 (llrint_test_tonearest): Likewise.
2281 (llrint_test_towardzero): Likewise.
2282 (llrint_test_downward): Likewise.
2283 (llrint_test_upward): Likewise.
2284 (log_test): Likewise.
2285 (log10_test): Likewise.
2286 (log1p_test): Likewise.
2287 (log2_test): Likewise.
2288 (logb_test): Likewise.
2289 (logb_test_downward): Likewise.
2290 (lround_test): Likewise.
2291 (llround_test): Likewise.
2292 (modf_test): Likewise.
2293 (nearbyint_test): Likewise.
2294 (nextafter_test): Likewise.
2295 (nexttoward_test): Likewise.
2296 (pow_test): Likewise.
2297 (pow_test_tonearest): Likewise.
2298 (pow_test_towardzero): Likewise.
2299 (pow_test_downward): Likewise.
2300 (pow_test_upward): Likewise.
2301 (remainder_test): Likewise.
2302 (remainder_test_tonearest): Likewise.
2303 (remainder_test_towardzero): Likewise.
2304 (remainder_test_downward): Likewise.
2305 (remainder_test_upward): Likewise.
2306 (remquo_test): Likewise.
2307 (rint_test): Likewise.
2308 (rint_test_tonearest): Likewise.
2309 (rint_test_towardzero): Likewise.
2310 (rint_test_downward): Likewise.
2311 (rint_test_upward): Likewise.
2312 (round_test): Likewise.
2313 (scalb_test): Likewise.
2314 (scalbn_test): Likewise.
2315 (scalbln_test): Likewise.
2316 (signbit_test): Likewise.
2317 (sin_test): Likewise.
2318 (sin_test_tonearest): Likewise.
2319 (sin_test_towardzero): Likewise.
2320 (sin_test_downward): Likewise.
2321 (sin_test_upward): Likewise.
2322 (sincos_test): Likewise.
2323 (sinh_test): Likewise.
2324 (sinh_test_tonearest): Likewise.
2325 (sinh_test_towardzero): Likewise.
2326 (sinh_test_downward): Likewise.
2327 (sinh_test_upward): Likewise.
2328 (sqrt_test): Likewise.
2329 (tan_test): Likewise.
2330 (tan_test_tonearest): Likewise.
2331 (tan_test_towardzero): Likewise.
2332 (tan_test_downward): Likewise.
2333 (tan_test_upward): Likewise.
2334 (tanh_test): Likewise.
2335 (tgamma_test): Likewise.
2336 (trunc_test): Likewise.
2337 (y0_test): Likewise.
2338 (y1_test): Likewise.
2339 (yn_test): Likewise.
2340 (significand_test): Likewise.
2342 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2345 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2347 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2350 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2351 __ppc_mdoio and __ppc_mdoom.
2352 * manual/platform.texi: Document new functions __ppc_yield,
2353 __ppc_mdoio and __ppc_mdoom.
2355 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2357 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2358 (main): Mention "tls" pseudo-hwcap is legacy.
2359 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2361 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2363 * math/gen-libm-test.pl (parse_args): Output only string of
2364 arguments as text for test name, not full call or descriptions of
2365 tests for extra outputs.
2366 (generate_testfile): Do not pass function name to parse_args.
2367 Generate this_func variable from START.
2368 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2370 (struct test_ff_f_data): Likewise.
2371 (test_ff_f_data_nexttoward): Likewise.
2372 (struct test_fi_f_data): Likewise.
2373 (struct test_fl_f_data): Likewise.
2374 (struct test_if_f_data): Likewise.
2375 (struct test_fff_f_data): Likewise.
2376 (struct test_c_f_data): Likewise.
2377 (struct test_f_f1_data): Likewise. Remove field extra_name.
2378 (struct test_fF_f1_data): Likewise.
2379 (struct test_ffI_f1_data): Likewise.
2380 (struct test_c_c_data): Rename test_name field to arg_str.
2381 (struct test_cc_c_data): Likewise.
2382 (struct test_f_i_data): Likewise.
2383 (struct test_ff_i_data): Likewise.
2384 (struct test_f_l_data): Likewise.
2385 (struct test_f_L_data): Likewise.
2386 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2388 (COMMON_TEST_SETUP): New macro.
2389 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2390 (COMMON_TEST_CLEANUP): Likewise.
2391 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2392 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2394 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2395 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2397 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2398 (RUN_TEST_fff_f): Take argument string. Call new setup and
2400 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2401 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2403 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2404 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2406 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2407 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2409 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2410 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2412 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2413 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2415 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2416 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2418 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2419 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2421 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2422 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2424 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2425 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2427 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2428 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2430 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2431 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2433 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2434 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2436 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2437 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2439 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2440 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2442 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2443 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2445 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2447 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2449 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2450 to _sifields.sigfault.
2451 (si_addr_lsb): Define new macro.
2452 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2454 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2456 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2459 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2461 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2463 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2466 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2468 * math/gen-libm-test.pl (parse_args): Do not include expected
2469 result in test name.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2471 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2472 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2473 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2474 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2477 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2479 * benchtests/Makefile: Sort function entries.
2481 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2482 tanh, asinh, acosh, atanh.
2483 * benchtests/acos-inputs: New file.
2484 * benchtests/acosh-inputs: New file.
2485 * benchtests/asin-inputs: New file.
2486 * benchtests/asinh-inputs: New file.
2487 * benchtests/atanh-inputs: New file.
2488 * benchtests/cosh-inputs: New file.
2489 * benchtests/log-inputs: New file.
2490 * benchtests/sinh-inputs: New file.
2491 * benchtests/tanh-inputs: New file.
2493 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2496 * posix/tst-getaddrinfo4.c: New test.
2497 * posix/Makefile (tests): Add it.
2499 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2502 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2503 when no services were used.
2504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2505 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2507 2013-05-21 Andreas Schwab <schwab@suse.de>
2510 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2511 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2513 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2514 redundant variable declarations and reallocation of buffer when
2515 parsing as IPv6 address. Always set NSS status when called from
2516 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2517 buffer too small. Correct computation of needed size.
2518 * nss/Makefile (tests): Add test-digits-dots.
2519 * nss/test-digits-dots.c: New test.
2521 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2523 * benchtests/Makefile: Remove instructions for adding
2525 * benchtests/README: New file to explain how to execute and
2526 enhance the benchmark tests.
2528 2013-05-21 Andreas Schwab <schwab@suse.de>
2531 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2532 * setjmp/tst-sigsetjmp.c: New test.
2534 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2536 * sysdeps/x86_64/memset.S (memset): New implementation.
2537 (__bzero): Likewise.
2538 (__memset_tail): New function.
2540 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2542 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2543 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2544 __memcpy_sse2_unaligned ifunc selection.
2545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2546 Add memcpy-sse2-unaligned.S.
2547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2548 Add: __memcpy_sse2_unaligned.
2550 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2553 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2554 math_force_eval before restoring floating-point envrionment.
2555 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2558 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2560 (__nearbyintl): Use math_force_eval before restoring
2561 floating-point environment.
2562 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2564 * math/gen-libm-test.pl (special_functions): Remove.
2565 (parse_args): Don't handle TEST_extra. Handle functions with no
2567 * math/libm-test.inc (struct test_sincos_data): Replace with
2568 struct test_fFF_11_data.
2569 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2570 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2571 (sincos_test_data): Change element type to struct
2572 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2573 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2574 RUN_TEST_LOOP_sincos.
2575 * math/README.libm-test: Don't mention special handling of
2576 individual functions.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2578 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2579 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2580 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2581 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584 * math/gen-libm-test.pl (get_variable): Remove function.
2585 (parse_args): Don't show pointer parameters to call in test
2586 names. Use "extra output N" in test names for extra outputs
2587 rather than naming variables.
2589 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2592 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2593 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2594 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2596 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2598 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2601 * math/gen-libm-test.pl (@tests): Remove variable.
2603 (new_test): Remove function.
2604 (show_exceptions): New function.
2605 (special_functions): Use show_exceptions instead of new_test.
2606 (parse_args): Likewise.
2607 (generate_testfile): Pass only function name in generated call to
2608 print_max_error or print_complex_max_error.
2609 (get_ulps): Do not handle complex tests specially.
2610 (output_test): Rename to ...
2611 (get_all_ulps_for_test): ... this. Return a string rather than
2612 printing to a file. Require ulps to be present.
2613 (output_ulps): Generate arrays rather than #defines.
2614 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2615 (struct ulp_data): New type.
2616 (BUILD_COMPLEX_ULP): Remove macro.
2617 (compare_ulp_data): New function.
2618 (find_ulps): Likewise.
2619 (find_test_ulps): Likewise.
2620 (find_function_ulps): Likewise.
2621 (find_complex_function_ulps): Likewise.
2622 (print_max_error): Determine allowed ulps using
2624 (print_complex_max_error): Determine allowed ulps using
2625 find_complex_function_ulps.
2626 (check_float_internal): Determine max ulps using find_test_ulps.
2627 (check_float): Do not take max_ulp parameter. Update call to
2628 check_float_internal.
2629 (check_complex): Likewise.
2630 (check_int): Do not take max_ulp parameter.
2631 (check_long): Likewise.
2632 (check_bool): Likewise.
2633 (check_longlong): Likewise.
2634 (struct test_f_f_data): Remove max_ulp field.
2635 (struct test_ff_f_data): Likewise.
2636 (struct test_ff_f_data_nexttoward): Likewise.
2637 (struct test_fi_f_data): Likewise.
2638 (struct test_fl_f_data): Likewise.
2639 (struct test_if_f_data): Likewise.
2640 (struct test_fff_f_data): Likewise.
2641 (struct test_c_f_data): Likewise.
2642 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2643 (struct test_fF_f1_data): Likewise.
2644 (struct test_ffI_f1_data): Likewise.
2645 (struct test_c_c_data): Remove max_ulp field.
2646 (struct test_cc_c_data): Likewise.
2647 (struct test_f_i_data): Likewise.
2648 (struct test_ff_i_data): Likewise.
2649 (struct test_f_l_data): Likewise.
2650 (struct test_f_L_data): Likewise.
2651 (struct test_sincos_data): Likewise.
2652 (RUN_TEST_f_f): Do not handle ulps.
2653 (RUN_TEST_LOOP_f_f): Likewise.
2654 (RUN_TEST_2_f): Likewise.
2655 (RUN_TEST_LOOP_2_f): Likewise.
2656 (RUN_TEST_fff_f): Likewise.
2657 (RUN_TEST_LOOP_fff_f): Likewise.
2658 (RUN_TEST_c_f): Likewise.
2659 (RUN_TEST_LOOP_c_f): Likewise.
2660 (RUN_TEST_f_f1): Likewise.
2661 (RUN_TEST_LOOP_f_f1): Likewise.
2662 (RUN_TEST_fF_f1): Likewise.
2663 (RUN_TEST_LOOP_fF_f1): Likewise.
2664 (RUN_TEST_fI_f1): Likewise.
2665 (RUN_TEST_LOOP_fI_f1): Likewise.
2666 (RUN_TEST_ffI_f1): Likewise.
2667 (RUN_TEST_LOOP_ffI_f1): Likewise.
2668 (RUN_TEST_c_c): Likewise.
2669 (RUN_TEST_LOOP_c_c): Likewise.
2670 (RUN_TEST_cc_c): Likewise.
2671 (RUN_TEST_LOOP_cc_c): Likewise.
2672 (RUN_TEST_f_i): Likewise.
2673 (RUN_TEST_LOOP_f_i): Likewise.
2674 (RUN_TEST_f_i_tg): Likewise.
2675 (RUN_TEST_LOOP_f_i_tg): Likewise.
2676 (RUN_TEST_ff_i_tg): Likewise.
2677 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2678 (RUN_TEST_f_b): Likewise.
2679 (RUN_TEST_LOOP_f_b): Likewise.
2680 (RUN_TEST_f_b_tg): Likewise.
2681 (RUN_TEST_LOOP_f_b_tg): Likewise.
2682 (RUN_TEST_f_l): Likewise.
2683 (RUN_TEST_LOOP_f_l): Likewise.
2684 (RUN_TEST_f_L): Likewise.
2685 (RUN_TEST_LOOP_f_L): Likewise.
2686 (RUN_TEST_sincos): Likewise.
2687 (RUN_TEST_LOOP_sincos): Likewise.
2689 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2693 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2694 main case of finite arguments, set rounding mode to FE_TONEAREST
2695 and discard exceptions.
2696 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2698 (remainder_tonearest_test_data): New variable.
2699 (remainder_test_tonearest): New function.
2700 (remainder_towardzero_test_data): New variable.
2701 (remainder_test_towardzero): New function.
2702 (remainder_downward_test_data): New variable.
2703 (remainder_test_downward): New function.
2704 (remainder_upward_test_data): New variable.
2705 (remainder_test_upward): New function.
2706 (main): Call the new test functions.
2708 * math/libm-test.inc (struct test_f_f1_data): Remove field
2710 (struct test_fF_f1_data): Likewise.
2711 (struct test_ffI_f1_data): Likewise.
2712 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2713 based on value of EXTRA_EXPECTED.
2714 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2715 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2716 EXTRA_VAR based on value of EXTRA_EXPECTED.
2717 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2718 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2719 EXTRA_VAR based on value of EXTRA_EXPECTED.
2720 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2721 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2722 EXTRA_VAR based on value of EXTRA_EXPECTED.
2723 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2724 * math/gen-libm-test.pl (parse_args): Don't output initializers
2725 for extra output values.
2727 * math/libm-test.inc (check_int): Expect result to be exactly
2728 equal to expected value and do not handle ulps.
2729 (check_long): Likewise.
2730 (check_longlong): Likewise.
2732 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2734 (cimag_test_data): Likewise.
2735 (conj_test_data): Likewise.
2736 (copysign_test_data): Likewise.
2737 (cproj_test_data): Likewise.
2738 (creal_test_data): Likewise.
2739 (fabs_test_data): Likewise.
2740 (fdim_test_data): Likewise.
2741 (finite_test_data): Likewise.
2742 (floor_test_data): Likewise.
2743 (fmax_test_data): Likewise.
2744 (fmin_test_data): Likewise.
2745 (fmod_test_data): Likewise.
2746 (fpclassify_test_data): Likewise.
2747 (frexp_test_data): Likewise.
2748 (ilogb_test_data): Likewise.
2749 (isfinite_test_data): Likewise.
2750 (isgreater_test_data): Likewise.
2751 (isgreaterequal_test_data): Likewise.
2752 (isinf_test_data): Likewise.
2753 (isless_test_data): Likewise.
2754 (islessequal_test_data): Likewise.
2755 (islessgreater_test_data): Likewise.
2756 (isnan_test_data): Likewise.
2757 (isnormal_test_data): Likewise.
2758 (issignaling_test_data): Likewise.
2759 (isunordered_test_data): Likewise.
2760 (ldexp_test_data): Likewise.
2761 (lrint_test_data): Likewise.
2762 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2763 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2764 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2765 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2766 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2767 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2769 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2770 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2771 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2772 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2774 (lrint_downward_test_data): Test for "inexact" exceptions.
2775 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2776 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2777 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2779 (lrint_upward_test_data): Test for "inexact" exceptions.
2780 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2782 (llrint_test_data): Test for "inexact" exceptions.
2783 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2784 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2785 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2786 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2787 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2788 (llrint_downward_test_data): Test for "inexact" exceptions.
2789 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2790 (llrint_upward_test_data): Test for "inexact" exceptions.
2791 (logb_test_data): Likewise.
2792 (logb_downward_test_data): Likewise.
2793 (nextafter_test_data): Likewise.
2794 (nexttoward_test_data): Likewise.
2795 (remainder_test_data): Likewise.
2796 (remquo_test_data): Likewise.
2797 (scalbn_test_data): Likewise.
2798 (scalbln_test_data): Likewise.
2799 (signbit_test_data): Likewise.
2800 (sqrt_test_data): Likewise.
2801 (significand_test_data): Likewise.
2803 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2806 * benchtests/bench-modf.c (struct args): Mark arg0 as
2808 * scripts/bench.pl: Mark members of struct args as volatile.
2810 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2813 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2814 negative infinity on POWER6 or lower.
2815 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2817 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2820 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2821 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2822 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2823 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2824 (_FP_SETQNAN): New macro.
2825 (_FP_SETQNAN_SEMIRAW): Likewise.
2826 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2827 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2828 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2829 (FP_EXTEND): Use _FP_FRAC_SNANP.
2830 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2831 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2833 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2838 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2840 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2841 with DIVIDE_BY_ZERO_EXCEPTION.
2842 (gamma_test_data): Likewise.
2843 (lgamma_test_data): Likewise.
2844 (log_test_data): Likewise.
2845 (log10_test_data): Likewise.
2846 (log2_test_data): Likewise.
2847 (tgamma_test_data): Likewise.
2849 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2850 (acos_test_tonearest): Likewise.
2851 (acos_test_towardzero): Likewise.
2852 (acos_test_downward): Likewise.
2853 (acos_test_upward): Likewise.
2854 (acosh_test): Likewise.
2855 (asin_test): Likewise.
2856 (asin_test_tonearest): Likewise.
2857 (asin_test_towardzero): Likewise.
2858 (asin_test_downward): Likewise.
2859 (asin_test_upward): Likewise.
2860 (asinh_test): Likewise.
2861 (atan_test): Likewise.
2862 (atanh_test): Likewise.
2863 (atan2_test): Likewise.
2864 (cabs_test): Likewise.
2865 (cacos_test): Likewise.
2866 (cacosh_test): Likewise.
2867 (casin_test): Likewise.
2868 (casinh_test): Likewise.
2869 (catan_test): Likewise.
2870 (catanh_test): Likewise.
2871 (cbrt_test): Likewise.
2872 (ccos_test): Likewise.
2873 (ccosh_test): Likewise.
2874 (cexp_test): Likewise.
2875 (clog_test): Likewise.
2876 (clog10_test): Likewise.
2877 (cos_test): Likewise.
2878 (cos_test_tonearest): Likewise.
2879 (cos_test_towardzero): Likewise.
2880 (cos_test_downward): Likewise.
2881 (cos_test_upward): Likewise.
2882 (cosh_test): Likewise.
2883 (cosh_test_tonearest): Likewise.
2884 (cosh_test_towardzero): Likewise.
2885 (cosh_test_downward): Likewise.
2886 (cosh_test_upward): Likewise.
2887 (cpow_test): Likewise.
2888 (csin_test): Likewise.
2889 (csinh_test): Likewise.
2890 (csqrt_test): Likewise.
2891 (ctan_test): Likewise.
2892 (ctan_test_tonearest): Likewise.
2893 (ctan_test_towardzero): Likewise.
2894 (ctan_test_downward): Likewise.
2895 (ctan_test_upward): Likewise.
2896 (ctanh_test): Likewise.
2897 (ctanh_test_tonearest): Likewise.
2898 (ctanh_test_towardzero): Likewise.
2899 (ctanh_test_downward): Likewise.
2900 (ctanh_test_upward): Likewise.
2901 (erf_test): Likewise.
2902 (erfc_test): Likewise.
2903 (exp_test): Likewise.
2904 (exp_test_tonearest): Likewise.
2905 (exp_test_towardzero): Likewise.
2906 (exp_test_downward): Likewise.
2907 (exp_test_upward): Likewise.
2908 (exp10_test): Likewise.
2909 (exp2_test): Likewise.
2910 (expm1_test): Likewise.
2911 (fmod_test): Likewise.
2912 (gamma_test): Likewise.
2913 (hypot_test): Likewise.
2914 (j0_test): Likewise.
2915 (j1_test): Likewise.
2916 (jn_test): Likewise.
2917 (lgamma_test): Likewise.
2918 (log_test): Likewise.
2919 (log10_test): Likewise.
2920 (log1p_test): Likewise.
2921 (log2_test): Likewise.
2922 (logb_test_downward): Likewise.
2923 (pow_test): Likewise.
2924 (pow_test_tonearest): Likewise.
2925 (pow_test_towardzero): Likewise.
2926 (pow_test_downward): Likewise.
2927 (pow_test_upward): Likewise.
2928 (remainder_test): Likewise.
2929 (remquo_test): Likewise.
2930 (sin_test): Likewise.
2931 (sin_test_tonearest): Likewise.
2932 (sin_test_towardzero): Likewise.
2933 (sin_test_downward): Likewise.
2934 (sin_test_upward): Likewise.
2935 (sincos_test): Likewise.
2936 (sinh_test): Likewise.
2937 (sinh_test_tonearest): Likewise.
2938 (sinh_test_towardzero): Likewise.
2939 (sinh_test_downward): Likewise.
2940 (sinh_test_upward): Likewise.
2941 (sqrt_test): Likewise.
2942 (tan_test): Likewise.
2943 (tan_test_tonearest): Likewise.
2944 (tan_test_towardzero): Likewise.
2945 (tan_test_downward): Likewise.
2946 (tan_test_upward): Likewise.
2947 (tanh_test): Likewise.
2948 (tgamma_test): Likewise.
2949 (y0_test): Likewise.
2950 (y1_test): Likewise.
2951 (yn_test): Likewise.
2953 * math/gen-libm-test.pl (adjust_arg): Remove function.
2954 (special_function): Remove argument $in_func. Only handle
2955 generating output for tables of tests, not inside functions.
2956 (parse_args): Likewise.
2957 (generate_testfile): Remove variable $in_func. Update call to
2959 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2960 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2961 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2962 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2963 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2964 (MAX_VALUE_INIT): Rename macro to max_value.
2965 (MIN_VALUE_INIT): Rename macro to min_value.
2966 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2967 (plus_zero): Remove variable.
2968 (minus_zero): Likewise.
2969 (plus_infty): Likewise.
2970 (minus_infty): Likewise.
2971 (qnan_value): Likewise.
2972 (max_value): Likewise.
2973 (min_value): Likewise.
2974 (min_subnorm_value): Likewise.
2976 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2978 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2979 uint64_t or uint32_t usage.
2980 * crypt/sha256-block.c: Likewise.
2981 * crypt/sha256-crypt.c: Likewise.
2982 * crypt/sha256.c: Likewise.
2983 * crypt/sha512-block.c: Likewise.
2984 * crypt/sha512-crypt.c: Likewise.
2985 * crypt/sha512.c: Likewise.
2986 * debug/backtrace-tst.c: Likewise.
2987 * debug/pcprofiledump.c: Likewise.
2988 * elf/cache.c: Likewise.
2989 * elf/dl-cache.c: Likewise.
2990 * elf/dl-misc.c: Likewise.
2991 * elf/dl-profile.c: Likewise.
2992 * elf/dl-support.c: Likewise.
2993 * elf/ldconfig.c: Likewise.
2994 * elf/sprof.c: Likewise.
2995 * iconv/dummy-repertoire.c: Likewise.
2996 * iconv/iconv_charmap.c: Likewise.
2997 * iconv/skeleton.c: Likewise.
2998 * iconvdata/8bit-generic.c: Likewise.
2999 * iconvdata/cp737.h: Likewise.
3000 * iconvdata/cp775.h: Likewise.
3001 * iconvdata/ibm1008.h: Likewise.
3002 * iconvdata/ibm1025.h: Likewise.
3003 * iconvdata/ibm1046.h: Likewise.
3004 * iconvdata/ibm1097.h: Likewise.
3005 * iconvdata/ibm1112.h: Likewise.
3006 * iconvdata/ibm1122.h: Likewise.
3007 * iconvdata/ibm1123.h: Likewise.
3008 * iconvdata/ibm1124.h: Likewise.
3009 * iconvdata/ibm1129.h: Likewise.
3010 * iconvdata/ibm1130.h: Likewise.
3011 * iconvdata/ibm1132.h: Likewise.
3012 * iconvdata/ibm1133.h: Likewise.
3013 * iconvdata/ibm1137.h: Likewise.
3014 * iconvdata/ibm1140.h: Likewise.
3015 * iconvdata/ibm1141.h: Likewise.
3016 * iconvdata/ibm1142.h: Likewise.
3017 * iconvdata/ibm1143.h: Likewise.
3018 * iconvdata/ibm1144.h: Likewise.
3019 * iconvdata/ibm1145.h: Likewise.
3020 * iconvdata/ibm1146.h: Likewise.
3021 * iconvdata/ibm1147.h: Likewise.
3022 * iconvdata/ibm1148.h: Likewise.
3023 * iconvdata/ibm1149.h: Likewise.
3024 * iconvdata/ibm1153.h: Likewise.
3025 * iconvdata/ibm1154.h: Likewise.
3026 * iconvdata/ibm1155.h: Likewise.
3027 * iconvdata/ibm1156.h: Likewise.
3028 * iconvdata/ibm1157.h: Likewise.
3029 * iconvdata/ibm1158.h: Likewise.
3030 * iconvdata/ibm1160.h: Likewise.
3031 * iconvdata/ibm1161.h: Likewise.
3032 * iconvdata/ibm1162.h: Likewise.
3033 * iconvdata/ibm1163.h: Likewise.
3034 * iconvdata/ibm1164.h: Likewise.
3035 * iconvdata/ibm1166.h: Likewise.
3036 * iconvdata/ibm1167.h: Likewise.
3037 * iconvdata/ibm12712.h: Likewise.
3038 * iconvdata/ibm1390.h: Likewise.
3039 * iconvdata/ibm1399.h: Likewise.
3040 * iconvdata/ibm16804.h: Likewise.
3041 * iconvdata/ibm4517.h: Likewise.
3042 * iconvdata/ibm4899.h: Likewise.
3043 * iconvdata/ibm4909.h: Likewise.
3044 * iconvdata/ibm4971.h: Likewise.
3045 * iconvdata/ibm5347.h: Likewise.
3046 * iconvdata/ibm803.h: Likewise.
3047 * iconvdata/ibm856.h: Likewise.
3048 * iconvdata/ibm901.h: Likewise.
3049 * iconvdata/ibm902.h: Likewise.
3050 * iconvdata/ibm9030.h: Likewise.
3051 * iconvdata/ibm9066.h: Likewise.
3052 * iconvdata/ibm921.h: Likewise.
3053 * iconvdata/ibm922.h: Likewise.
3054 * iconvdata/ibm9448.h: Likewise.
3055 * iconvdata/isiri-3342.h: Likewise.
3056 * iconvdata/jis0201.h: Likewise.
3057 * include/link.h: Likewise.
3058 * include/netdb.h: Likewise.
3059 * inet/check_native.c: Likewise.
3060 * inet/check_pf.c: Likewise.
3061 * inet/getipv4sourcefilter.c: Likewise.
3062 * inet/getnameinfo.c: Likewise.
3063 * inet/getsourcefilter.c: Likewise.
3064 * inet/htonl.c: Likewise.
3065 * inet/setipv4sourcefilter.c: Likewise.
3066 * inet/setsourcefilter.c: Likewise.
3067 * inet/test-inet6_opt.c: Likewise.
3068 * inet/tst-network.c: Likewise.
3069 * locale/C-collate.c: Likewise.
3070 * locale/C-ctype.c: Likewise.
3071 * locale/C-time.c: Likewise.
3072 * locale/C-translit.h: Likewise.
3073 * locale/loadarchive.c: Likewise.
3074 * locale/programs/3level.h: Likewise.
3075 * locale/programs/charmap.c: Likewise.
3076 * locale/programs/charmap.h: Likewise.
3077 * locale/programs/ld-address.c: Likewise.
3078 * locale/programs/ld-collate.c: Likewise.
3079 * locale/programs/ld-ctype.c: Likewise.
3080 * locale/programs/ld-identification.c: Likewise.
3081 * locale/programs/ld-measurement.c: Likewise.
3082 * locale/programs/ld-messages.c: Likewise.
3083 * locale/programs/ld-monetary.c: Likewise.
3084 * locale/programs/ld-name.c: Likewise.
3085 * locale/programs/ld-numeric.c: Likewise.
3086 * locale/programs/ld-paper.c: Likewise.
3087 * locale/programs/ld-telephone.c: Likewise.
3088 * locale/programs/ld-time.c: Likewise.
3089 * locale/programs/linereader.c: Likewise.
3090 * locale/programs/locale.c: Likewise.
3091 * locale/programs/locarchive.c: Likewise.
3092 * locale/programs/locfile.h: Likewise.
3093 * locale/programs/repertoire.c: Likewise.
3094 * locale/programs/simple-hash.c: Likewise.
3095 * locale/programs/simple-hash.h: Likewise.
3096 * malloc/memusage.c: Likewise.
3097 * malloc/memusagestat.c: Likewise.
3098 * nis/nis_defaults.c: Likewise.
3099 * nis/nis_hash.c: Likewise.
3100 * nis/nis_print.c: Likewise.
3101 * nis/nis_xdr.c: Likewise.
3102 * nscd/connections.c: Likewise.
3103 * nscd/hstcache.c: Likewise.
3104 * nscd/nscd_gethst_r.c: Likewise.
3105 * nscd/nscd_getserv_r.c: Likewise.
3106 * nscd/nscd_helper.c: Likewise.
3107 * nscd/servicescache.c: Likewise.
3108 * nss/makedb.c: Likewise.
3109 * nss/nss_db/db-XXX.c: Likewise.
3110 * nss/nss_db/db-initgroups.c: Likewise.
3111 * nss/nss_db/db-netgrp.c: Likewise.
3112 * nss/nss_files/files-network.c: Likewise.
3113 * nss/nss_files/files-parse.c: Likewise.
3114 * posix/bug-regex5.c: Likewise.
3115 * posix/fnmatch_loop.c: Likewise.
3116 * posix/regcomp.c: Likewise.
3117 * posix/regexec.c: Likewise.
3118 * posix/tst-rfc3484-2.c: Likewise.
3119 * posix/tst-rfc3484-3.c: Likewise.
3120 * posix/tst-rfc3484.c: Likewise.
3121 * resolv/nss_dns/dns-canon.c: Likewise.
3122 * resolv/nss_dns/dns-network.c: Likewise.
3123 * resolv/res_init.c: Likewise.
3124 * resolv/res_mkquery.c: Likewise.
3125 * resolv/tst-aton.c: Likewise.
3126 * stdlib/cxa_atexit.c: Likewise.
3127 * stdlib/cxa_finalize.c: Likewise.
3128 * stdlib/gen-fpioconst.c: Likewise.
3129 * stdlib/strtol_l.c: Likewise.
3130 * string/tst-endian.c: Likewise.
3131 * sunrpc/auth_des.c: Likewise.
3132 * sunrpc/clnt_udp.c: Likewise.
3133 * sunrpc/rtime.c: Likewise.
3134 * sunrpc/svcauth_des.c: Likewise.
3135 * sunrpc/xdr.c: Likewise.
3136 * sunrpc/xdr_intXX_t.c: Likewise.
3137 * sunrpc/xdr_rec.c: Likewise.
3138 * sysdeps/generic/ldconfig.h: Likewise.
3139 * sysdeps/generic/ldsodefs.h: Likewise.
3140 * sysdeps/generic/memusage.h: Likewise.
3141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3144 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3147 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3149 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3151 * sysdeps/posix/getaddrinfo.c: Likewise.
3152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3154 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3155 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3156 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3157 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3158 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3159 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3160 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3161 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3162 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3163 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3164 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3165 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3166 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3167 * sysdeps/x86_64/dl-tls.h: Likewise.
3168 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3169 * time/alt_digit.c: Likewise.
3170 * time/era.c: Likewise.
3171 * wcsmbs/tst-c16c32-1.c: Likewise.
3173 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3175 * math/libm-test.inc (struct test_sincos_data): New type.
3176 (RUN_TEST_LOOP_sincos): New macro.
3177 (sincos_test_data): New variable.
3178 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3180 2013-05-16 Richard Henderson <rth@redhat.com>
3182 * math/atest-exp2.c (LIMB64): New macro.
3183 (CONSTSZ): New macro.
3184 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3186 (print_mpn_fp): ... to function scope.
3187 (read_mpn_hex): Remove.
3189 (exp2_mpn): Use mp_log2.
3190 (main): Use mp_exp1.
3192 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3194 * math/libm-test.inc: Remove comment about not testing "inexact"
3196 (INEXACT_EXCEPTION): New macro.
3197 (NO_INEXACT_EXCEPTION): Likewise.
3198 (INVALID_EXCEPTION_OK): Update value.
3199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3200 (OVERFLOW_EXCEPTION_OK): Likewise.
3201 (UNDERFLOW_EXCEPTION_OK): Likewise.
3202 (IGNORE_ZERO_INF_SIGN): Likewise.
3203 (ERRNO_UNCHANGED): Likewise.
3204 (ERRNO_EDOM): Likewise.
3205 (ERRNO_ERANGE): Likewise.
3206 (test_exceptions): Handle testing "inexact" exceptions.
3207 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3208 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3209 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3210 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3212 (rint_towardzero_test_data): Likewise.
3213 (rint_downward_test_data): Likewise.
3214 (rint_upward_test_data): Likewise.
3216 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3217 with OVERFLOW_EXCEPTION.
3218 (exp10_test_data): Likewise.
3219 (exp2_test_data): Likewise.
3220 (expm1_test_data): Likewise.
3221 (lgamma_test_data): Likewise.
3222 (pow_test_data): Likewise.
3223 (tgamma_test_data): Likewise.
3224 (yn_test_data): Remove duplicate test of overflow.
3226 * math/libm-test.inc (struct test_cc_c_data): New type.
3227 (RUN_TEST_LOOP_cc_c): New macro.
3228 (cpow_test_data): New variable.
3229 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3231 * math/libm-test.inc (struct test_f_L_data): New type.
3232 (RUN_TEST_LOOP_f_L): New macro.
3233 (llrint_test_data): New variable.
3234 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3235 (llrint_tonearest_test_data): New variable.
3236 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3237 (llrint_towardzero_test_data): New variable.
3238 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3239 (llrint_downward_test_data): New variable.
3240 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3241 (llrint_upward_test_data): New variable.
3242 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3243 (llround_test_data): New variable.
3244 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3246 2013-05-13 Peter Collingbourne <pcc@google.com>
3248 * math/atest-exp2.c (get_log2): Remove const attribute.
3250 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3252 * math/libm-test.inc (struct test_f_l_data): New type.
3253 (RUN_TEST_LOOP_f_l): New macro.
3254 (lrint_test_data): New variable.
3255 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3256 (lrint_tonearest_test_data): New variable.
3257 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3258 (lrint_towardzero_test_data): New variable.
3259 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3260 (lrint_downward_test_data): New variable.
3261 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3262 (lrint_upward_test_data): New variable.
3263 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3264 (lround_test_data): New variable.
3265 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3267 2013-05-15 Peter Collingbourne <pcc@google.com>
3269 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3270 (EXTRACT_WORDS64) Use where appropriate.
3271 (INSERT_WORDS64) Likewise.
3273 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3274 constraints with x constraints.
3275 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3277 * malloc/obstack.c (_obstack_compat): Add initializer.
3279 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3282 si_trapno and add si_addr_lsb to _sifields.sigfault.
3283 (si_trapno): Remove macro.
3284 (si_addr_lsb): Define new macro.
3285 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3287 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3289 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3290 instead of TEST_f_l.
3291 (llrint_test_tonearest): Likewise.
3292 (llrint_test_towardzero): Likewise.
3293 (llrint_test_downward): Likewise.
3294 (llrint_test_upward): Likewise.
3295 (llround_test): Likewise.
3297 * math/libm-test.inc (struct test_f_i_data): Add comment.
3298 (RUN_TEST_LOOP_f_b): New macro.
3299 (RUN_TEST_LOOP_f_b_tg): Likewise.
3300 (finite_test_data): New variable.
3301 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3302 (isfinite_test_data): New variable.
3303 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3304 (isinf_test_data): New variable.
3305 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3306 (isnan_test_data): New variable.
3307 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3308 (isnormal_test_data): New variable.
3309 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3310 (issignaling_test_data): New variable.
3311 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3312 (signbit_test_data): New variable.
3313 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3315 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3316 with INVALID_EXCEPTION.
3317 (acosh_test_data): Likewise.
3318 (asin_test_data): Likewise.
3319 (atanh_test_data): Likewise.
3320 (fmod_test_data): Likewise.
3321 (log_test_data): Likewise.
3322 (log10_test_data): Likewise.
3323 (log2_test_data): Likewise.
3324 (pow_test_data): Likewise.
3325 (sqrt_test_data): Likewise.
3326 (y0_test_data): Likewise.
3327 (y1_test_data): Likewise.
3328 (yn_test_data): Likewise.
3330 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3333 * math/libm-test.inc (struct test_ff_i_data): New type.
3334 (RUN_TEST_LOOP_ff_i_tg): New macro.
3335 (isgreater_test_data): New variable.
3336 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3337 (isgreaterequal_test_data): New variable.
3338 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3339 (isless_test_data): New variable.
3340 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3341 (islessequal_test_data): New variable.
3342 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3343 (islessgreater_test_data): New variable.
3344 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3345 (isunordered_test_data): New variable.
3346 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3348 2013-05-14 David S. Miller <davem@davemloft.net>
3350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3352 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3354 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3356 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3358 (struct test_f_i_data): Change type of max_ulp to int.
3360 * math/libm-test.inc (test_ffI_f1_data): New type.
3361 (RUN_TEST_LOOP_ffI_f1): New macro.
3362 (remquo_test_data): New variable.
3363 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3365 * setjmp/tst-setjmp-fp.c: New file.
3366 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3367 (link-libm): New variable.
3368 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3370 * math/libm-test.inc (struct test_f_i_data): New type.
3371 (RUN_TEST_LOOP_f_i): New macro.
3372 (RUN_TEST_LOOP_f_i_tg): Likewise.
3373 (fpclassify_test_data): New variable.
3374 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3375 (ilogb_test_data): New variable.
3376 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3378 * math/libm-test.inc (scalbln_test): Correct function name in END
3381 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3382 (RUN_TEST_LOOP_fI_f1): New macro.
3383 (frexp_test_data): New variable.
3384 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3386 * math/libm-test.inc (struct test_fF_f1_data): New type.
3387 (RUN_TEST_LOOP_fF_f1): New macro.
3388 (modf_test_data): New variable.
3389 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3391 * math/libm-test.inc (struct test_f_f1_data): New type.
3392 (RUN_TEST_LOOP_f_f1): New macro.
3393 (gamma_test_data): New variable.
3394 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3395 (lgamma_test_data): New variable.
3396 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3398 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3401 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3402 (main): Comment "tls" pseudo-hwcap.
3404 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3406 * math/libm-test.inc (struct test_fl_f_data): New type.
3407 (RUN_TEST_LOOP_fl_f): New variable.
3408 (scalbln_test_data): New variable.
3409 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3411 * math/libm-test.inc (struct test_fi_f_data): New type.
3412 (RUN_TEST_LOOP_fi_f): New macro.
3413 (ldexp_test_data): New variable.
3414 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3415 (scalbn_test_data): New variable.
3416 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3418 * math/libm-test.inc (struct test_c_f_data): New type.
3419 (RUN_TEST_LOOP_c_f): New macro.
3420 (cabs_test_data): New variable.
3421 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3422 (carg_test_data): New variable.
3423 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3424 (cimag_test_data): New variable.
3425 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3426 (creal_test_data): New variable.
3427 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3429 * math/libm-test.inc (struct test_if_f_data): New type.
3430 (RUN_TEST_LOOP_if_f): New macro.
3431 (jn_test_data): New variable.
3432 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3433 (yn_test_data): New variable.
3434 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3436 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3438 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3440 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3441 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3443 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3445 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3446 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3447 (bench-deps): Add bench-timing.h.
3448 * benchtests-bench-skeleton.c: Include bench-timing.h.
3449 (main): Use TIMING_* macros instead of clock_gettime.
3450 * benchtests/bench-timing.h: New file.
3453 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3454 Renamed from _LIB_VERSION.
3455 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3457 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3459 * math/libm-test.inc (struct test_fff_f_data): New type.
3460 (RUN_TEST_LOOP_fff_f): New macro.
3461 (fma_test_data): New variable.
3462 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3463 (fma_towardzero_test_data): New variable.
3464 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3465 (fma_downward_test_data): New variable.
3466 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3467 (fma_upward_test_data): New variable.
3468 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3470 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3471 (struct test_c_c_data): New type.
3472 (RUN_TEST_LOOP_c_c): New macro.
3473 (cacos_test_data): New variable.
3474 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3475 (cacosh_test_data): New variable.
3476 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3477 (casin_test_data): New variable.
3478 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3479 (casinh_test_data): New variable.
3480 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3481 (catan_test_data): New variable.
3482 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3483 (catanh_test_data): New variable.
3484 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3485 (ccos_test_data): New variable.
3486 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3487 (ccosh_test_data): New variable.
3488 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3489 (cexp_test_data): New variable.
3490 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3491 (clog_test_data): New variable.
3492 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3493 (clog10_test_data): New variable.
3494 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3495 (conj_test_data): New variable.
3496 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3497 (cproj_test_data): New variable.
3498 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3499 (csin_test_data): New variable.
3500 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3501 (csinh_test_data): New variable.
3502 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3503 (csqrt_test_data): New variable.
3504 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3505 (ctan_test_data): New variable.
3506 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3507 (ctan_tonearest_test_data): New variable.
3508 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3509 (ctan_towardzero_test_data): New variable.
3510 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3511 (ctan_downward_test_data): New variable.
3512 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3513 (ctan_upward_test_data): New variable.
3514 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3515 (ctanh_test_data): New variable.
3516 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3517 (ctanh_tonearest_test_data): New variable.
3518 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3519 (ctanh_towardzero_test_data): New variable.
3520 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3521 (ctanh_downward_test_data): New variable.
3522 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3523 (ctanh_upward_test_data): New variable.
3524 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3525 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3528 * math/libm-test.inc (struct test_ff_f_data): New type.
3529 (struct test_ff_f_data_nexttoward): Likewise.
3530 (RUN_TEST_LOOP_2_f): New macro.
3531 (RUN_TEST_LOOP_ff_f): Likewise.
3532 (atan2_test_data): New variable.
3533 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3534 (copysign_test_data): New variable.
3535 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3536 (fdim_test_data): New variable.
3537 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3538 (fmax_test_data): New variable.
3539 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3540 (fmin_test_data): New variable.
3541 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3542 (fmod_test_data): New variable.
3543 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3544 (hypot_test_data): New variable.
3545 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3546 (nextafter_test_data): New variable.
3547 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3548 (nexttoward_test_data): New variable.
3549 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3550 (pow_test_data): New variable.
3551 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3552 (pow_tonearest_test_data): New variable.
3553 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3554 (pow_towardzero_test_data): New variable.
3555 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3556 (pow_downward_test_data): New variable.
3557 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3558 (pow_upward_test_data): New variable.
3559 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3560 (remainder_test_data): New variable.
3561 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3562 (scalb_test_data): New variable.
3563 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3564 * sysdeps/i386/fpu/libm-test-ulps: Update.
3566 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3568 * math/libm-test.inc (fma_test): Use max_value instead of local
3570 (nextafter_test): Likewise.
3572 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3573 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3574 (acos_downward_test_data): New variable.
3575 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3576 (acos_upward_test_data): New variable.
3577 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3578 (acosh_test_data): New variable.
3579 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3580 (asin_test_data): New variable.
3581 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3582 (asin_tonearest_test_data): New variable.
3583 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3584 (asin_towardzero_test_data): New variable.
3585 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3586 (asin_downward_test_data): New variable.
3587 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3588 (asin_upward_test_data): New variable.
3589 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3590 (asinh_test_data): New variable.
3591 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3592 (atan_test_data): New variable.
3593 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3594 (atanh_test_data): New variable.
3595 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3596 (cbrt_test_data): New variable.
3597 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3598 (ceil_test_data): New variable.
3599 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3600 (cos_test_data): New variable.
3601 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3602 (cos_tonearest_test_data): New variable.
3603 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3604 (cos_towardzero_test_data): New variable.
3605 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3606 (cos_downward_test_data): New variable.
3607 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3608 (cos_upward_test_data): New variable.
3609 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3610 (cosh_test_data): New variable.
3611 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3612 (cosh_tonearest_test_data): New variable.
3613 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3614 (cosh_towardzero_test_data): New variable.
3615 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3616 (cosh_downward_test_data): New variable.
3617 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3618 (cosh_upward_test_data): New variable.
3619 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3620 (erf_test_data): New variable.
3621 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3622 (erfc_test_data): New variable.
3623 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3624 (exp_test_data): New variable.
3625 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3626 (exp_tonearest_test_data): New variable.
3627 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3628 (exp_towardzero_test_data): New variable.
3629 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3630 (exp_downward_test_data): New variable.
3631 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3632 (exp_upward_test_data): New variable.
3633 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3634 (exp10_test_data): New variable.
3635 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3636 (exp2_test_data): New variable.
3637 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3638 (expm1_test_data): New variable.
3639 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3640 (fabs_test_data): New variable.
3641 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3642 (floor_test_data): New variable.
3643 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3644 (j0_test_data): New variable.
3645 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3646 (j1_test_data): New variable.
3647 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3648 (log_test_data): New variable.
3649 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3650 (log10_test_data): New variable.
3651 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3652 (log1p_test_data): New variable.
3653 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3654 (log2_test_data): New variable.
3655 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3656 (logb_test_data): New variable.
3657 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3658 (logb_downward_test_data): New variable.
3659 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3660 (nearbyint_test_data): New variable.
3661 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3662 (rint_test_data): New variable.
3663 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3664 (rint_tonearest_test_data): New variable.
3665 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3666 (rint_towardzero_test_data): New variable.
3667 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3668 (rint_downward_test_data): New variable.
3669 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3670 (rint_upward_test_data): New variable.
3671 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3672 (round_test_data): New variable.
3673 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3674 (sin_test_data): New variable.
3675 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3676 (sin_tonearest_test_data): New variable.
3677 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3678 (sin_towardzero_test_data): New variable.
3679 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3680 (sin_downward_test_data): New variable.
3681 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3682 (sin_upward_test_data): New variable.
3683 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3684 (sinh_test_data): New variable.
3685 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3686 (sinh_tonearest_test_data): New variable.
3687 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3688 (sinh_towardzero_test_data): New variable.
3689 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3690 (sinh_downward_test_data): New variable.
3691 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3692 (sinh_upward_test_data): New variable.
3693 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3694 (sqrt_test_data): New variable.
3695 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3696 (tan_test_data): New variable.
3697 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3698 (tan_tonearest_test_data): New variable.
3699 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3700 (tan_towardzero_test_data): New variable.
3701 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3702 (tan_downward_test_data): New variable.
3703 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3704 (tan_upward_test_data): New variable.
3705 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3706 (tanh_test_data): New variable.
3707 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3708 (tgamma_test_data): New variable.
3709 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3710 (trunc_test_data): New variable.
3711 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3712 (y0_test_data): New variable.
3713 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3714 (y1_test_data): New variable.
3715 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3716 (significand_test_data): New variable.
3717 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3719 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3722 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3724 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3726 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3728 2013-05-10 Andreas Jaeger <aj@suse.de>
3731 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3732 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3734 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3736 * math/gen-libm-test.pl (adjust_arg): New function.
3737 (special_functions): Handle generating output in both functions
3739 (parse_args): Likewise.
3740 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3741 $in_func argument to parse_args.
3742 * math/libm-test.inc (struct test_f_f_data): New type.
3743 (IF_ROUND_INIT_): New macro.
3744 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3745 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3746 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3747 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3748 (ROUND_RESTORE_): Likewise.
3749 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3750 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3751 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3752 (ROUND_RESTORE_FE_UPWARD): Likewise.
3753 (RUN_TEST_LOOP_f_f): New macro.
3754 (acos_test_data): New variable.
3755 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3756 (acos_tonearest_test_data): New variable.
3757 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3759 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3761 * benchtests/bench-skeleton.c (startup): Fix coding style.
3763 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3766 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3767 negative infinity argument.
3768 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3769 negative infinity argument.
3770 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3771 negative infinity argument.
3772 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3775 2013-05-10 Florian Weimer <fweimer@redhat.com>
3777 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3778 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3779 * iconv/iconv_prog.c (main): Likewise.
3780 * locale/programs/charmap-dir.c (charmap_readdir)
3781 (fopen_uncompressed): Likewise.
3782 * locale/programs/locfile.c (siblings_uncached)
3783 (write_locale_data): Use lstat64 instead of lstat.
3784 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3787 2013-05-10 Andreas Jaeger <aj@suse.de>
3790 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3794 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3796 * elf/dl-close.c (_dl_close_worker): Add comments.
3798 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3801 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3803 (__ieee754_rem_pio2l): Update comments.
3806 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3808 (__ieee754_rem_pio2l): Update comments.
3810 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3811 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3813 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3816 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3817 (M_PI_34_LOG10El): Likewise.
3818 (M_PI2_LOG10El): Likewise.
3819 (M_PI4_LOG10El): Likewise.
3820 (M_PI_LOG10El): Likewise.
3822 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3826 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3828 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3829 (MINUS_ZERO_INIT): Likewise.
3830 (PLUS_INFTY_INIT): Likewise.
3831 (MINUS_INFTY_INIT): Likewise.
3832 (QNAN_VALUE_INIT): Likewise.
3833 (MAX_VALUE_INIT): Likewise.
3834 (MIN_VALUE_INIT): Likewise.
3835 (MIN_SUBNORM_VALUE_INIT): Likewise.
3836 (plus_zero): Initialize with PLUS_ZERO_INIT.
3837 (minus_zero): Initialize with MINUS_ZERO_INIT.
3838 (plus_infty): Initialize with PLUS_INFTY_INIT.
3839 (minus_infty): Initialize with MINUS_INFTY_INIT.
3840 (qnan_value): Initialize with QNAN_VALUE_INIT.
3841 (max_value): Initialize with MAX_VALUE_INIT.
3842 (min_value): Initialize with MIN_VALUE_INIT.
3843 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3845 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3846 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3847 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3848 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3850 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3851 (RUN_TEST_2_f): Likewise.
3852 (RUN_TEST_ff_f): Likewise.
3853 (RUN_TEST_fi_f): Likewise.
3854 (RUN_TEST_fl_f): Likewise.
3855 (RUN_TEST_fff_f): Likewise.
3856 (RUN_TEST_c_f): Likewise.
3857 (RUN_TEST_f_f1): Likewise.
3858 (RUN_TEST_fF_f1): Likewise.
3859 (RUN_TEST_fI_f1): Likewise.
3860 (RUN_TEST_ffI_f1): Likewise.
3861 (RUN_TEST_c_c): Likewise.
3862 (RUN_TEST_cc_c): Likewise.
3863 (RUN_TEST_f_i): Likewise.
3864 (RUN_TEST_f_i_tg): Likewise.
3865 (RUN_TEST_ff_i_tg): Likewise.
3866 (RUN_TEST_f_b): Likewise.
3867 (RUN_TEST_f_b_tg): Likewise.
3868 (RUN_TEST_f_l): Likewise.
3869 (RUN_TEST_f_L): Likewise.
3870 (RUN_TEST_sincos): Likewise.
3871 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3872 whether to show exceptions. Do not include ");\n" in return
3874 (special_functions): Output call to RUN_TEST_sincos instead of
3875 check_float calls. Update calls to new_test.
3876 (parse_args): Output call to single RUN_TEST_* macro instead of
3877 check_* calls and other assignments. Update calls to new_test.
3883 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3884 input to result for tgamma overflow.
3885 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3886 (gamma_coeff): New variable.
3887 (NCOEFF): New macro.
3888 (gamma_positive): New function.
3889 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3890 underflow here. Use gamma_positive instead of exp (lgamma) for
3892 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3893 (gamma_coeff): New variable.
3894 (NCOEFF): New macro.
3895 (gammaf_positive): New function.
3896 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3897 underflow here. Use gamma_positive instead of exp (lgamma) for
3899 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3900 (gamma_coeff): New variable.
3901 (NCOEFF): New macro.
3902 (gammal_positive): New function.
3903 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3904 underflow here. Use gamma_positive instead of exp (lgamma) for
3906 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3907 (gamma_coeff): New variable.
3908 (NCOEFF): New macro.
3909 (gammal_positive): New function.
3910 (__ieee754_gammal_r): Handle positive infinity, overflow and
3911 underflow here. Handle NaN the same as positive infinity. Remove
3912 check x < 0xffffffff for negative integers. Use gamma_positive
3913 instead of exp (lgamma) for other arguments.
3914 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3915 (gamma_coeff): New variable.
3916 (NCOEFF): New macro.
3917 (gammal_positive): New function.
3918 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3919 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3923 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3924 * sysdeps/generic/math_private.h (__gamma_productf): New
3926 (__gamma_product): Likewise.
3927 (__gamma_productl): Likewise.
3928 * math/Makefile (libm-calls): Add gamma_product.
3929 * math/libm-test.inc (tgamma_test): Add more tests.
3930 * sysdeps/i386/fpu/libm-test-ulps: Update.
3931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3933 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3935 * benchtests/bench-skeleton.c (main): Preheat CPU.
3937 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3939 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3941 2013-05-07 Roland McGrath <roland@hack.frob.com>
3943 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3944 and _dl_skip_args_internal.
3946 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3948 * manual/message.texi (Message Translation): Talk about users.
3949 Message to key mapping impacts design.
3951 2013-05-06 Roland McGrath <roland@hack.frob.com>
3953 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3955 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3957 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3958 * sysdeps/wordsize-64/glob64.c: ... here.
3960 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3961 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3964 * debug/getlogin_r_chk.c: Moved to ...
3965 * login/getlogin_r_chk.c: ... here.
3966 * debug/Makefile (routines): Move getlogin_r_chk to ...
3967 * login/Makefile (routines): ... here.
3968 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3969 * login/Versions (libc: GLIBC_2.4): ... here.
3971 * io/poll.c (__poll): Renamed from poll.
3972 Add libc_hidden_def.
3973 (poll): Define as weak alias.
3975 * debug/ptsname_r_chk.c: Moved to ...
3976 * login/ptsname_r_chk.c: ... here.
3977 * debug/Makefile (routines): Move ptsname_r_chk to ...
3978 * login/Makefile (routines): ... here.
3979 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3980 * login/Versions (libc: GLIBC_2.4): ... here.
3982 * posix/getlogin.c: Moved to ...
3983 * login/getlogin.c: ... here.
3984 * posix/getlogin_r.c: Moved to ...
3985 * login/getlogin_r.c: ... here.
3986 * posix/getlogin_r.c: Moved to ...
3987 * login/getlogin_r.c: ... here.
3988 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3989 * login/Makefile (routines): ... here.
3990 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3991 * login/Versions (libc: GLIBC_2.0): ... here.
3993 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3994 (setrlimit): Define as weak alias.
3996 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3997 Call __ names for open, ftruncate, and close.
3998 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3999 (truncate): Define as weak alias.
4001 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4003 * math/gen-libm-test.pl (parse_args): Initialize x before each
4004 test of frexp, modf and remquo.
4006 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4009 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4013 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4017 2013-05-06 Roland McGrath <roland@hack.frob.com>
4019 * elf/dl-writev.h: New file.
4020 * elf/dl-misc.c: Include it.
4021 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4022 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4024 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4026 * math/libm-test.inc (noXFails): Remove variable.
4027 (noXPasses): Likewise.
4028 (BUILD_COMPLEX_INT): Remove macro.
4029 (print_screen): Remove xfail argument.
4030 (print_screen_max_error): Likewise.
4031 (update_stats): Likewise.
4032 (print_max_error): Likewise. Update calls to other affected
4034 (print_complex_max_error): Likewise.
4035 (test_single_exception): Update calls to print_screen.
4036 (test_single_errno): Likewise.
4037 (check_float_internal): Remove xfail argument. Update calls to
4038 other affected functions.
4039 (check_float): Likewise.
4040 (check_complex): Likewise.
4041 (check_int): Likewise.
4042 (check_long): Likewise.
4043 (check_bool): Likewise.
4044 (check_longlong): Likewise.
4045 (main): Don't print noXFails and noXPasses.
4046 * math/gen-libm-test.pl (top level): Don't mention expected
4047 failure handling in comment.
4048 (new_test): Don't handle expected failures.
4049 (parse_args): Don't mention expected failure handling in comment.
4050 (generate_testfile): Don't handle expected failures.
4051 (parse_ulps): Likewise.
4052 (print_ulps_file): Likewise.
4053 (get_failure): Remove function.
4054 (output_test): Don't handle expected failures.
4055 * make/README.libm-test: Don't mention expected failure handling.
4057 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4058 (minus_zero): Likewise.
4059 (plus_infty): Likewise.
4060 (minus_infty): Likewise.
4061 (qnan_value): Likewise.
4062 (max_value): Likewise.
4063 (min_value): Likewise.
4064 (min_subnorm_value): Likewise.
4065 (initialize): Do not initialize those variables dynamically.
4067 2013-05-03 Roland McGrath <roland@hack.frob.com>
4069 * io/open.c (__open_2): Moved to ...
4070 * io/open_2.c: ... this new file.
4071 * io/open64.c (__open64_2): Moved to ...
4072 * io/open64_2.c: ... this new file.
4073 * io/openat.c (__openat_2): Moved to ...
4074 * io/openat_2.c: ... this new file.
4075 * io/openat64.c (__openat64_2): Moved to ...
4076 * io/openat64_2.c: ... this new file.
4077 * io/Makefile (routines): Add them.
4078 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4079 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4080 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4081 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4082 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4083 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4084 (__openat64): Add hidden_ver.
4085 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4086 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4088 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4089 Separately conditionalize setting of GLRO(dl_sysinfo) so
4090 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4091 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4093 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4095 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4098 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4099 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4100 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4101 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4102 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4104 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4106 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4109 * math/libm-test.inc (hypot_test): Do not use
4110 IGNORE_ZERO_INF_SIGN.
4112 2013-05-03 Andreas Jaeger <aj@suse.de>
4114 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4116 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4117 (PF_MAX): Adjust for VSOCK change.
4119 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4123 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4126 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4127 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4128 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4130 2013-05-02 David S. Miller <davem@davemloft.net>
4132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4134 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4136 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4138 2013-05-01 Roland McGrath <roland@hack.frob.com>
4140 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4142 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4145 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4146 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4147 Use __attribute__ ((__gnu_inline__)).
4148 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4149 Don't use __attribute__ ((__gnu_inline__)).
4151 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4154 * math/s_catan.c (__catan): Handle small real or imaginary part of
4155 input specially to avoid spurious underflow.
4156 * math/s_catanf.c (__catanf): Likewise.
4157 * math/s_catanh.c (__catanh): Likewise.
4158 * math/s_catanhf.c (__catanhf): Likewise.
4159 * math/s_catanhl.c (__catanhl): Likewise.
4160 * math/s_catanl.c (__catanl): Likewise.
4161 * math/libm-test.inc (catan_test): Add more tests.
4162 (catanh_test): Likewise.
4163 * sysdeps/i386/fpu/libm-test-ulps: Update.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4166 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4170 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4173 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4174 accurately for denominator in atan2.
4175 * math/s_catanf.c (__catanf): Likewise.
4176 * math/s_catanh.c (__catanh): Likewise.
4177 * math/s_catanhf.c (__catanhf): Likewise.
4178 * math/s_catanhl.c (__catanhl): Likewise.
4179 * math/s_catanl.c (__catanl): Likewise.
4180 * math/libm-test.inc (catan_test): Add more tests.
4181 (catanh_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4185 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4187 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4189 * benchtests/Makefile (bench): Remove slow benchmarks.
4190 * benchtests/atan-inputs: Add slow benchmark inputs.
4191 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4192 (BENCH_FUNC): Accept variant offset.
4194 * benchtests/bench-skeleton.c (main): Run benchmark for each
4196 * benchtests/cos-inputs: Add slow benchmark inputs.
4197 * benchtests/exp-inputs: Likewise.
4198 * benchtests/pow-inputs: Likewise.
4199 * benchtests/sin-inputs: Likewise.
4200 * benchtests/slowatan-inputs: Remove.
4201 * benchtests/slowatan.c: Remove.
4202 * benchtests/slowcos-inputs: Remove.
4203 * benchtests/slowcos.c: Remove.
4204 * benchtests/slowexp-inputs: Remove.
4205 * benchtests/slowexp.c: Remove.
4206 * benchtests/slowpow-inputs: Remove.
4207 * benchtests/slowpow.c: Remove.
4208 * benchtests/slowsin-inputs: Remove.
4209 * benchtests/slowsin.c: Remove.
4210 * benchtests/slowtan-inputs: Remove.
4211 * benchtests/slowtan.c: Remove.
4212 * benchtests/tan-inputs: Add slow benchmark inputs.
4213 * scripts/bench.pl: Parse comments and directives.
4215 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4217 ($(objpfx)bench-%.c): Remove *-ITER.
4218 * benchtests/bench-modf.c: Remove definition of ITER.
4219 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4220 (main): Loop for DURATION seconds instead of fixed number of
4222 * scripts/bench.pl: Don't expect iterations in parameters.
4224 2013-04-29 Roland McGrath <roland@hack.frob.com>
4226 * io/fchdir.c (__fchdir): Renamed from fchdir.
4227 (fchdir): Define as weak alias.
4229 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4231 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4232 (ERRNO_EDOM): Likewise.
4233 (ERRNO_ERANGE): Likewise.
4234 (noErrnoTests): New variable.
4235 (init_max_error): Set errno to 0.
4236 (test_single_errno): New function.
4237 (test_errno): Likewise.
4238 (check_float_internal): Call test_errno. Set errno to 0.
4239 (check_complex): Refer to errno tests in comment.
4240 (check_int): Call test_errno. Set errno to 0.
4241 (check_long): Likewise.
4242 (check_bool): Likewise.
4243 (check_longlong): Likewise.
4244 (cos_test): Use ERRNO_* flags for errno tests instead of
4246 (expm1_test): Likewise.
4247 (fmod_test): Likewise.
4248 (ilogb_test): Likewise.
4249 (lgamma_test): Likewise.
4250 (pow_test): Likewise.
4251 (remainder_test): Likewise.
4252 (sin_test): Likewise.
4253 (tan_test): Likewise.
4254 (yn_test): Likewise.
4255 (initialize): Set errno to 0.
4256 (main): Print number of errno tests.
4257 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4259 2013-04-29 Andreas Jaeger <aj@suse.de>
4262 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4266 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4267 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4271 * stdlib/random.c (__initstate): Return NULL if
4275 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4276 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4279 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4283 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4285 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4286 of individual tests.
4287 (casin_test): Likewise.
4288 (casinh_test): Likewise.
4290 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4293 * math/s_catan.c (__catan): Handle arguments with large real or
4294 imaginary part separately without squaring.
4295 * math/s_catanf.c (__catanf): Likewise.
4296 * math/s_catanh.c (__catanh): Likewise.
4297 * math/s_catanhf.c (__catanhf): Likewise.
4298 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4300 (__catanhl): Handle arguments with large real or imaginary part
4301 separately without squaring.
4302 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4304 (__catanl): Handle arguments with large real or imaginary part
4305 separately without squaring.
4306 * math/libm-test.inc (catan_test): Add more tests.
4307 (catanh_test): Likewise.
4308 * sysdeps/i386/fpu/libm-test-ulps: Update.
4309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311 2013-04-27 Andreas Jaeger <aj@suse.de>
4314 * stdlib/stdlib.h: Update guards for qecvt.
4315 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4318 2013-04-27 Allan McRae <allan@archlinux.org>
4320 * sysdeps/i386/fpu/libm-test-ulps: Update.
4322 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4325 * math/s_catan.c: Include <float.h>.
4326 (__catan): Ensure underflow exception occurs for underflowed
4328 * math/s_catanf.c: Include <float.h>.
4329 (__catanf): Ensure underflow exception occurs for underflowed
4331 * math/s_catanh.c: Include <float.h>.
4332 (__catanh): Ensure underflow exception occurs for underflowed
4334 * math/s_catanhf.c: Include <float.h>.
4335 (__catanhf): Ensure underflow exception occurs for underflowed
4337 * math/s_catanhl.c: Include <float.h>.
4338 (__catanhl): Ensure underflow exception occurs for underflowed
4340 * math/s_catanl.c: Include <float.h>.
4341 (__catanl): Ensure underflow exception occurs for underflowed
4343 * math/libm-test.inc (catan_test): Add more tests.
4344 (catanh_test): Likewise.
4347 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4349 * math/s_ccoshf.c (__ccoshf): Likewise.
4350 * math/s_ccoshl.c (__ccoshl): Likewise.
4351 * math/s_csin.c (__csin): Likewise.
4352 * math/s_csinf.c (__csinf): Likewise.
4353 * math/s_csinh.c (__csinh): Likewise.
4354 * math/s_csinhf.c (__csinhf): Likewise.
4355 * math/s_csinhl.c (__csinhl): Likewise.
4356 * math/s_csinl.c (__csinl): Likewise.
4357 * math/libm-test.inc (ccos_test): Add more tests.
4358 (ccosh_test): Likewise.
4359 (csin_test): Likewise.
4360 (csinh_test): Likewise.
4362 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4364 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4365 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4366 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4367 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4368 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4369 powerpc/power5+/fpu folders.
4370 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4373 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4377 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4379 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4380 additions to variable.
4381 [$(config-machine) = x86_64] (modules-names): Likewise.
4382 ($(objpfx)tst-audit3): Remove dependency.
4383 ($(objpfx)tst-audit3.out): Likewise.
4384 ($(objpfx)tst-audit4): Likewise.
4385 ($(objpfx)tst-audit4.out): Likewise.
4386 ($(objpfx)tst-audit5): Likewise.
4387 ($(objpfx)tst-audit5.out): Likewise.
4388 ($(objpfx)tst-audit6): Likewise.
4389 ($(objpfx)tst-audit6.out): Likewise.
4390 ($(objpfx)tst-audit7): Likewise.
4391 ($(objpfx)tst-audit7.out): Likewise.
4392 (tst-audit3-ENV): Remove variable.
4393 (tst-audit4-ENV): Likewise.
4394 (tst-audit5-ENV): Likewise.
4395 (tst-audit6-ENV): Likewise.
4396 (tst-audit7-ENV): Likewise.
4397 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4398 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4399 addition to variable.
4400 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4401 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4402 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4403 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4404 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4405 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4406 tst-audit3, tst-audit4 and tst-audit5.
4407 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4408 tst-audit6 and tst-audit7.
4409 [$(subdir) = elf] (modules-names): Add audit modules for those
4411 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4412 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4413 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4414 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4415 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4416 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4417 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4418 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4419 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4420 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4421 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4422 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4423 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4424 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4425 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4426 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4428 [$(subdir) = elf && $(config-cflags-avx) = yes]
4429 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4430 [$(subdir) = elf && $(config-cflags-avx) = yes]
4431 (CFLAGS-tst-auditmod4a.c): Likewise.
4432 [$(subdir) = elf && $(config-cflags-avx) = yes]
4433 (CFLAGS-tst-auditmod4b.c): Likewise.
4434 [$(subdir) = elf && $(config-cflags-avx) = yes]
4435 (CFLAGS-tst-auditmod6b.c): Likewise.
4436 [$(subdir) = elf && $(config-cflags-avx) = yes]
4437 (CFLAGS-tst-auditmod6c.c): Likewise.
4438 [$(subdir) = elf && $(config-cflags-avx) = yes]
4439 (CFLAGS-tst-auditmod7b.c): Likewise.
4440 * elf/tst-audit3.c: Move to ...
4441 * sysdeps/x86_64/tst-audit3.c: ... here.
4442 * elf/tst-audit4.c: Move to ...
4443 * sysdeps/x86_64/tst-audit4.c: ... here.
4444 * elf/tst-audit5.c: Move to ...
4445 * sysdeps/x86_64/tst-audit5.c: ... here.
4446 * elf/tst-audit6.c: Move to ...
4447 * sysdeps/x86_64/tst-audit6.c: ... here.
4448 * elf/tst-audit7.c: Move to ...
4449 * sysdeps/x86_64/tst-audit7.c: ... here.
4450 * elf/tst-auditmod3a.c: Move to ...
4451 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4452 * elf/tst-auditmod3b.c: Move to ...
4453 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4454 * elf/tst-auditmod4a.c: Move to ...
4455 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4456 * elf/tst-auditmod4b.c: Move to ...
4457 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4458 * elf/tst-auditmod5a.c: Move to ...
4459 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4460 * elf/tst-auditmod5b.c: Move to ...
4461 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4462 * elf/tst-auditmod6a.c: Move to ...
4463 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4464 * elf/tst-auditmod6b.c: Move to ...
4465 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4466 * elf/tst-auditmod6c.c: Move to ...
4467 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4468 * elf/tst-auditmod7a.c: Move to ...
4469 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4470 * elf/tst-auditmod7b.c: Move to ...
4471 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4473 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4476 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4477 define unconditionally.
4478 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4479 define unconditionally.
4480 (INT8_C, INT16_C, etc.): Likewise.
4482 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4484 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4485 __ehdr_start with hidden visibility.
4487 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4489 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4491 * math/libm-test.inc (cos_test): Use accurate hex constants.
4492 (sincost_test): Likewise.
4494 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4496 * math/libm-test.inc (catan_test): Add more tests.
4497 (catanh_test): Likewise.
4499 * math/s_catanf.c (__catanf): Use suffixed floating-point
4501 * math/s_catanhf.c (__catanhf): Likewise.
4502 * math/s_catanhl.c (__catanhl): Likewise.
4503 * math/s_catanl.c (__catanl): Likewise.
4506 * math/s_catan.c (__catan): Calculate imaginary part of result
4507 with log1p not log unless computing log of number close to 0.
4508 * math/s_catanf.c (__catanf): Likewise.
4509 * math/s_catanl.c (__catanl): Likewise.
4510 * math/s_catanh.c (__catanh): Calculate real part of result with
4511 log1p not log unless computing log of number close to 0.
4512 * math/s_catanhf.c (__catanhf): Likewise.
4513 * math/s_catanhl.c (__catanhl): Likewise.
4514 * math/libm-test.inc (catan_test): Add more tests.
4515 (catanh_test): Likewise.
4516 * sysdeps/i386/fpu/libm-test-ulps: Update.
4517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4519 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4521 * benchtests/Makefile: Mention files in which fast and slow
4522 paths of math functions are implemented.
4524 2013-04-23 Roland McGrath <roland@hack.frob.com>
4526 * sysdeps/posix/timespec_get.c: New file.
4528 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4532 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4534 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4535 powerpc/power5/fpu folders.
4536 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4537 * benchtests/Makefile: Add modf testcase.
4538 * benchtests/bench-modf.c: New file: Benchmark test for mo
4540 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4543 * time/Makefile (tests): Add tst-strptime-whitespace.
4544 * time/strptime_l.c (get_number): Use ISSPACE.
4545 (__strptime_internal): Likewise.
4546 * time/tst-strptime-whitespace.c: New test case.
4548 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4550 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4552 (_nss_files_init): Set it here.
4554 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4556 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4557 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4560 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4562 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4564 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4569 2013-04-21 David S. Miller <davem@davemloft.net>
4571 * po/ru.po: Update Russion translation from translation project.
4573 2013-04-17 Adam Conrad <adconrad@0c3.net>
4575 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4578 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4580 * configure.in: Remove i386 configure warning. Remove i386 case.
4581 * configure: Regenerate.
4582 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4583 Add example to error message.
4584 * sysdeps/i386/configure: Regenerate.
4586 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4588 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4590 * benchtests/cos-inputs: New file.
4591 * benchtests/slowcos-inputs: New file.
4592 * benchtests/slowcos.c: New file.
4593 * benchtests/slowtan-inputs: New file.
4594 * benchtests/slowtan.c: New file.
4595 * benchtests/tan-inputs: New file.
4597 2013-04-16 Roland McGrath <roland@hack.frob.com>
4599 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4602 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4604 * benchtests/Makefile: Include cppflags-iterator.mk to add
4605 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4607 * Makefile.in (bench-clean): New target.
4608 * benchtests/Makefile (bench-clean): Likewise.
4610 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4612 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4614 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4616 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4618 2013-04-15 Andreas Schwab <schwab@suse.de>
4620 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4622 * nscd/pwdcache.c (cache_addpw): Likewise.
4623 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4626 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4628 * benchtests/Makefile (bench): Write all output to
4629 bench-out.tmp together.
4631 2013-04-15 Andreas Schwab <schwab@suse.de>
4633 * nscd/nscd.c (main): Don't fork again after closing files.
4635 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4637 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4639 * benchtests/Rules (bench-deps): Collect dependencies into a
4640 single variable. Add Makefile to dependencies.
4641 ($(objpfx)bench-%.c): Depend on bench-deps.
4643 2013-04-12 Roland McGrath <roland@hack.frob.com>
4644 Xavier Roche <roche+kml2@exalead.com>
4647 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4648 just that it's a file descriptor.
4649 * manual/llio.texi (Synchronizing AIO Operations): Update description
4650 for EBADF error from aio_fsync.
4652 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 * Rules (bench): Move target definition...
4655 * benchtests/Makefile: ... here.
4657 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4659 * math/libm-test.inc (cos_test): Fix PI/2 test.
4660 (sincos_test): Likewise.
4661 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4662 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4664 2013-04-11 Andreas Schwab <schwab@suse.de>
4667 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4668 accept exponent character only when digits were seen.
4669 * stdio-common/Makefile (tests): Add bug26.
4670 * stdio-common/bug26.c: New file.
4673 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4676 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4678 * Makeconfig (rtld-prefix): Define built linker prefix.
4679 * Rules (run-bench): Use it.
4680 * math/Makefile (run-regen-ulps): Likewise.
4682 * Rules (bench): Remove eval.
4684 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4685 Roland McGrath <roland@hack.frob.com>
4686 Ondrej Bilka <neleai@seznam.cz>
4689 * time/getdate.c: Include ctype.h and alloca.h.
4690 (__getdate_r): Trim leading and trailing spaces of input.
4691 * time/tst-getdate.c (tests): Add tests with leading and
4694 2013-04-08 Roland McGrath <roland@hack.frob.com>
4697 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4698 when computing value.
4700 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4702 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4703 Use testrun.sh to run libm tests.
4706 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4708 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4711 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4713 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4715 * Makefile.in (regen-ulps): New target.
4716 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4717 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4718 [ifneq (no,$(PERL)] (regen-ulps): New target.
4719 [ifeq (no,$(PERL)] (regen-ulps): New target.
4720 * math/libm-test.inc (ulps_file_name): Define.
4721 (output_dir): New variable.
4722 (options): Add "output-dir" option.
4723 (parse_opt): Handle 'o' case.
4724 (main): If output_dir is non-NULL use it as a prefix
4726 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4728 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4731 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4732 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4733 fail configure if __sync_val_compare_and_swap is not inlined.
4734 * sysdeps/i386/configure: Regenerate.
4735 * configure.in: Build for i686 when configured for i386.
4736 * configure: Regenerate.
4737 * README: Remove i386 reference.
4739 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4741 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4744 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4746 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4747 (lmsnanval): New variables.
4748 (F): Add conversion tests.
4749 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4750 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4752 * stdio-common/tstdiomisc.c (F): Properly collect individual
4756 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4757 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4758 Instead, use input NaN values or generate a qNaN by arithmetic
4759 operation. Also fix bugs to comply with the standard.
4760 * math/libm-test.inc (remainder_test): Add more tests.
4763 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4765 input NaN values or generate a qNaN by arithmetic operation.
4767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4770 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4773 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4776 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4778 * math/s_cexpf.c (__cexpf): Likewise.
4779 * math/s_cexpl.c (__cexpl): Likewise.
4780 * math/libm-test.inc (cexp_test): Add more tests.
4782 2013-04-03 Andreas Schwab <schwab@suse.de>
4785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4786 order arrays from heap if bigger than alloca cutoff.
4788 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4790 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4791 (SNAN_TESTS_double): Refer to GCC PR56831.
4792 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4795 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4797 * Rules (bench): Move bench.out after the run is complete.
4799 * Rules (bench): Echo currently running benchmark.
4801 * benchtests/Makefile (bench): Add atan and slowatan.
4802 * benchtests/atan-inputs: New file.
4803 * benchtests/slowatan-inputs: New file.
4804 * benchtests/slowatan.c: New file.
4806 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4807 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4811 * sysdeps/unix/sysv/linux/kernel-features.h
4812 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4813 __ASSUME_XFS_RESTRICTED_CHOWN.
4814 * sysdeps/unix/sysv/linux/pathconf.c
4815 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4816 Save and restore errno.
4818 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4821 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4822 arguments using __kernel_casinh.
4823 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4824 arguments using __kernel_casinhf.
4825 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4826 arguments using __kernel_casinhl.
4827 * math/libm-test.inc (cacosh_test): Add more tests.
4828 * sysdeps/i386/fpu/libm-test-ulps: Update.
4829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4831 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4833 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4836 * bench/Makefile (bench): Add sin and slowsin.
4837 * benchtests/sin-inputs: New file.
4838 * benchtests/slowsin-inputs: New file.
4839 * benchtests/slowsin.c: New file.
4841 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4842 (bench): Add slowexp and slowpow.
4843 (exp-ITER): Increase iterations.
4844 (pow-ITER): Likewise.
4845 * benchtests/exp-inputs: Change input.
4846 * benchtests/pow-inputs: Likewise.
4847 * benchtests/slowexp-inputs: New file.
4848 * benchtests/slowexp.c: New file.
4849 * benchtests/slowpow-inputs: New file.
4850 * benchtests/slowpow.c: New file.
4852 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4854 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4856 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4857 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4858 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4859 * benchtests/Makefile: Add rint benchtest.
4860 * benchtests/rint-inputs: Input for rint benchtest.
4862 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4864 * Versions.def (libm): Add GLIBC_2.18.
4865 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4866 hidden libm prototypes.
4867 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4868 * math/Makefile (libm-calls): Add s_issignaling.
4869 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4870 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4871 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4873 * math/math.h [__USE_GNU] (issignaling): New macro.
4874 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4875 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4880 * manual/arith.texi (issignaling): New section.
4881 * manual/libm-err-tab.pl (@all_functions): Update comment.
4882 * math/gen-libm-test.pl (parse_args): Apply special handling for
4884 * math/libm-test.inc (print_float, issignaling_test): New
4886 (check_float_internal): Add issignaling checks.
4887 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4889 * sysdeps/powerpc/math-tests.h: New file.
4890 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4892 * math/test-snan.c (TEST_FUNC): Likewise.
4894 2013-03-30 David S. Miller <davem@davemloft.net>
4896 * po/de.po: Update from translation team.
4898 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4901 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4902 imaginary part less than 1.0 and real part less than 0.5
4904 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4905 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4906 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4907 (cacos_test): Add more tests.
4908 (casin_test): Likewise.
4909 (casinh_test): Likewise.
4910 * sysdeps/i386/fpu/libm-test-ulps: Update.
4911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4913 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4915 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4918 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4919 (__pow_mp): Replace ONE and MONE with their values.
4920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4923 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4924 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4925 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4927 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4929 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4930 (__pow_mp): Replace ZERO and MZERO with their values.
4931 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4933 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4935 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4936 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4939 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4941 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4943 2013-03-28 Roland McGrath <roland@hack.frob.com>
4945 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4946 Declare with __attribute__ ((weak)).
4947 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4948 Call __call_tls_dtors only if it's not NULL.
4950 2013-03-28 Roland McGrath <roland@hack.frob.com>
4952 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4953 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4954 magic __ehdr_start linker symbol if it's defined.
4955 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4956 them up here if it was already done.
4958 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4959 (_dl_aux_init): Use const in cast when setting it.
4960 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4961 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4962 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4964 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4966 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4967 * csu/libc-tls.c: Nor here.
4968 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4970 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4971 (__libc_message): Never call vsyslog.
4973 2013-03-28 Alan Modra <amodra@gmail.com>
4975 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4977 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4980 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4983 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4987 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4990 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4991 Don't add gid passed as argument.
4993 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4995 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4998 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4999 imaginary part between 1.0 and 1.5 and real part less than 0.5
5001 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5002 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5003 * math/libm-test.inc (cacos_test): Add more tests.
5004 (casin_test): Likewise.
5005 (casinh_test): Likewise.
5006 * sysdeps/i386/fpu/libm-test-ulps: Update.
5007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5009 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5011 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5015 (__dbl_mp): Likewise.
5016 (add_magnitudes): Likewise.
5017 (sub_magnitudes): Likewise.
5025 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5027 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5028 (__dubcos): Likewise.
5029 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5030 (__ieee754_acos): Likewise.
5031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5032 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5037 (my_log2): Likewise.
5038 (checkint): Likewise.
5039 * sysdeps/ieee754/dbl-64/e_remainder.c
5040 (__ieee754_remainder): Likewise.
5041 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5044 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5046 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5047 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5048 MANTISSA_STORE_T to store computations on mantissa. Use
5049 macros for rounding and division.
5051 (__dbl_mp): Likewise.
5052 (add_magnitudes): Likewise.
5053 (sub_magnitudes): Likewise.
5056 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5057 powers of two in terms of TWOPOW macro.
5058 (mp_no): Make type of mantissa as MANTISSA_T.
5059 [!RADIXI]: Define RADIXI.
5060 [!TWO52]: Define TWO52.
5061 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5063 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5065 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5066 llroundl symbol when building for PPC32.
5068 2013-03-24 Mark H Weaver <mhw@netris.org>
5070 * manual/arith.texi (Normalization Functions): Fix prototypes for
5071 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5073 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5077 high value to check if expl overflow.
5078 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5079 to check for underflow and overflow.
5080 * math/libm-test.inc: Add exp test.
5082 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5085 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5088 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5093 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5095 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5096 wrap blocks consisting of several statements.
5098 * sysdeps/generic/math-tests.h: New file.
5099 * sysdeps/i386/fpu/math-tests.h: Likewise.
5100 * math/test-snan.c: Include it.
5101 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5103 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5106 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5107 (__ieee754_j0l): Do not improve calculations using cos of twice
5108 input for inputs above LDBL_MAX / 2.0L.
5109 (__ieee754_y0l): Likewise.
5110 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5111 (__ieee754_j1l): Do not improve calculations using cos of twice
5112 input for inputs above LDBL_MAX / 2.0L.
5113 (__ieee754_y1l): Likewise.
5114 * math/libm-test.inc (j0_test): Add another test.
5115 (j1_test): Likewise.
5116 (y0_test): Likewise.
5117 (y1_test): Likewise.
5118 * sysdeps/i386/fpu/libm-test-ulps: Update.
5120 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5122 * Rules ($(objpfx)bench-%.c): Include code from a C source
5125 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5128 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5129 imaginary part 1.0 and real part less than 0.5 specially.
5130 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5131 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5132 * math/libm-test.inc (cacos_test): Add more tests.
5133 (casin_test): Likewise.
5134 (casinh_test): Likewise.
5135 * sysdeps/i386/fpu/libm-test-ulps: Update.
5136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5140 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5141 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5143 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5145 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5146 * config.make.in (config-cflags-sse4): Remove variable.
5147 (config-cflags-avx): Likewise.
5148 (config-cflags-sse2avx): Likewise.
5149 (config-cflags-novzeroupper): Likewise.
5150 (config-asflags-i686): Likewise.
5151 (have-mfma4): Likewise.
5152 (have-as-vis3): Likewise.
5154 * configure.in (MIG): Do not AC_SUBST.
5155 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5156 (libc_cv_cc_sse4): Do not AC_SUBST.
5157 (libc_cv_cc_avx): Likewise.
5158 (libc_cv_cc_sse2avx): Likewise.
5159 (libc_cv_cc_novzeroupper): Likewise.
5160 (libc_cv_cc_fma4): Likewise.
5161 (libc_cv_as_i686): Likewise.
5162 (libc_cv_sparc_as_vis3): Likewise.
5163 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5165 (config-asflags-i686): Likewise.
5166 (config-cflags-avx): Likewise.
5167 (config-cflags-sse2avx): Likewise.
5168 (have-mfma4): Likewise.
5169 (config-cflags-novzeroupper): Likewise.
5170 * sysdeps/mach/configure.in (MIG): Likewise.
5171 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5172 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5174 (config-cflags-avx): Likewise.
5175 (config-cflags-sse2avx): Likewise.
5176 (have-mfma4): Likewise.
5177 (config-cflags-novzeroupper): Likewise.
5178 * configure: Regenerated.
5179 * sysdeps/i386/configure: Likewise.
5180 * sysdeps/mach/configure: Likewise.
5181 * sysdeps/sparc/configure: Likewise.
5182 * sysdeps/x86_64/configure: Likewise.
5184 2013-03-20 Roland McGrath <roland@hack.frob.com>
5187 * locale/programs/localedef.c (options): Put N_ translation marker
5188 on argument names, not just descriptions.
5190 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5192 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5194 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5197 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5199 2013-03-19 Roland McGrath <roland@hack.frob.com>
5201 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5202 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5203 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5204 [!BEFORE_ABORT] (before_abort): New function.
5205 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5206 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5207 (writev_for_fatal): New function.
5208 (WRITEV_FOR_FATAL): New macro; call that.
5209 (backtrace_and_maps): New function.
5210 (BEFORE_ABORT): New macro; call that.
5211 (struct str_list): Type removed.
5212 (__libc_message, __libc_fatal): Functions removed.
5213 Include <sysdeps/posix/libc_fatal.c> instead.
5215 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5217 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5219 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5222 2013-03-19 Andreas Schwab <schwab@suse.de>
5224 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5225 * sysdeps/gnu/configure: Regenerate.
5227 * configure.in: Substitute libc_cv_rtlddir.
5228 * configure: Regenerate.
5229 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5230 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5231 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5232 * elf/Makefile (install-others, CFLAGS-interp.c)
5233 (ldso_install, common-ldd-rewrite): Likewise.
5234 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5235 $(inst_slibdir)/$(rtld-installed-name).
5236 * scripts/rellns-sh: Add -p option.
5237 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5240 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5242 * manual/nptl.texi: Renamed to ...
5243 * manual/threads.texi: ... this.
5244 * manual/Makefile (chapters): Update.
5246 2013-03-18 Roland McGrath <roland@hack.frob.com>
5249 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5250 on argument names, not just descriptions.
5251 * malloc/memusagestat.c (options): Likewise.
5252 * nss/getent.c (options): Likewise.
5254 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5257 * iconv/iconv_prog.c (options): Put N_ translation marker
5258 on argument names, not just descriptions.
5259 * iconv/iconvconfig.c (options): Likewise.
5261 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5263 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5264 implementation which is faster on all x86_64 architectures.
5265 Tested on AMD, Intel Nehalem, SNB, IVB.
5266 * sysdeps/x86_64/strnlen.S: Likewise.
5268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5269 Remove all multiarch strlen and strnlen versions.
5270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5271 Remove strlen and strnlen related parts.
5273 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5275 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5277 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5278 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5279 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5280 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5281 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5282 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5284 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5286 * manual/memory.texi (Malloc Tunable Parameters):
5287 Sort parameters alphabetically. Add comments for missing entries.
5289 2013-03-17 David S. Miller <davem@davemloft.net>
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5293 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5296 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5297 for arguments at most half maximum finite value.
5298 * math/libm-test.inc (j0_test): Add more tests.
5299 (j1_test): Likewise.
5300 (y0_test): Likewise.
5301 (y1_test): Likewise.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5307 1 / x and functions P and Q for arguments above 0x1p256L.
5308 (__ieee754_y0l): Likewise.
5309 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5310 (__ieee754_y1l): Likewise.
5311 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5312 (j1_test): Likewise.
5313 (y0_test): Likewise.
5314 (y1_test): Likewise.
5316 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5318 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5321 2013-03-15 Roland McGrath <roland@hack.frob.com>
5323 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5324 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5325 zero since it's initialized to EXEC_PAGESIZE.
5327 * sysdeps/unix/sysv/linux/ldsodefs.h
5328 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5329 * sysdeps/generic/ldsodefs.h: ... here.
5331 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5333 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5335 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5337 * math/test-snan.c: Renamed from
5338 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5339 * math/Makefile (tests): Add test-snan.
5340 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5343 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5344 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5346 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5347 __builtin_nan family of functions.
5348 * math/libm-test.inc (initialize): Initialize qnan_value with
5349 __builtin_nan family of functions.
5350 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5352 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5354 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5355 storage class. Initialize qNaN_var and sNaN_var with
5356 __builtin_nan and __builtin_nans families of functions,
5359 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5360 (sqrt_test): Remove duplicate test with qNaN input.
5361 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5362 (round_test, signbit_test, significand_test): Note missing +/-Inf
5363 as well as qNaN tests.
5365 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5366 qNaN_var. Fix a few strings, too.
5367 * math/libm-test.inc (nan_value): Rename to qnan_value.
5368 * math/gen-libm-test.pl (%beautify): Adjust to that.
5369 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5370 * math/test-misc.c (main): Likewise.
5371 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5372 to __qnan_bytes, and __qnan_union, respectively.
5373 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5375 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5376 and lqnanval, respectively.
5377 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5378 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5379 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5380 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5382 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5383 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5386 * math/test-misc.c (main): Fix copy'n'pastos.
5387 * misc/tst-efgcvt.c (special): Likewise.
5389 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5390 Remove declarations.
5392 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5394 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5395 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5396 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5397 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5399 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5402 macro to return vdso values correctly in IFUNC implementations.
5403 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5404 Optimization by using IFUNC.
5406 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5407 Richard Henderson <rth@redhat.com>
5408 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5410 * Makefile.in (bench): New target.
5411 * NEWS: Mention the benchmark framework.
5412 * Rules (bench): Likewise.
5413 (binaries-bench): Generate binaries for functions to
5415 * benchtests/Makefile: New makefile for benchmark tests.
5416 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5418 * benchtests/exp-inputs: New input file for EXP function.
5419 * benchtests/pow-inputs: New input file for POW function.
5420 * scripts/bench.pl: New script to generate source files for
5423 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5425 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5426 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5427 computations on mantissa. Use macros for rounding and
5430 (__dbl_mp): Likewise.
5431 (add_magnitudes): Likewise.
5432 (sub_magnitudes): Likewise.
5435 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5436 powers of two in terms of TWOPOW macro.
5437 (mp_no): Make type of mantissa as MANTISSA_T.
5438 [!RADIXI]: Define RADIXI.
5439 [!TWO52]: Define TWO52.
5440 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5442 * manual/nptl.texi (cindex): Modify threads to pthreads.
5444 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5446 * sysdeps/x86_64/preconfigure: Regenerated.
5448 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5451 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5453 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5454 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5456 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5457 * math/libm-test.inc (j0_test): Do not allow one spurious
5458 underflow exception.
5459 (y1_test): Likewise.
5461 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5463 * manual/Makefile (chapters): Add nptl.
5464 * manual/debug.texi (Debugging Support): Add link to Threads
5466 * manual/nptl.texi: New file.
5468 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5470 2013-03-14 Petr Baudis <pasky@ucw.cz>
5472 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5473 for non-NULL pointer before the memory validity test. Pointed
5474 out by Holger Brunck <holger.brunck@keymile.com>.
5476 2013-03-13 Andreas Schwab <schwab@suse.de>
5478 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5481 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5483 * timezone/zic.c: Update from tzcode 2013b.
5485 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5487 * manual/install.texi (Configuring and compiling):
5488 Mention i686 and i586.
5489 * INSTALL: Regenerate.
5491 2013-03-12 Roland McGrath <roland@hack.frob.com>
5493 * sysdeps/init_array/elf-init.c: New file.
5495 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5496 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5498 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5499 __gmon_start__ as global, but as static with a .preinit_array pointer.
5500 * sysdeps/init_array/gmon-start.c: New file. Use that.
5501 * sysdeps/init_array/crti.S: New file, empty except for comments.
5502 * sysdeps/init_array/crtn.S: Likewise.
5504 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5506 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5509 Remove Prefer_SSE_for_memop.
5510 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5511 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5512 HAS_PREFER_SSE_FOR_MEMOP.
5513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5516 Remove bzero, memset ifunc support.
5517 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5518 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5519 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5522 2013-03-11 Andreas Schwab <schwab@suse.de>
5525 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5528 (GLIBC_2.16): Remove pthread_atfork.
5530 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5532 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5533 (ptestcases.h): Likewise.
5535 2013-03-08 Roland McGrath <roland@hack.frob.com>
5537 * Makeconfig ($(common-objpfx)config.status): Depend on
5538 sysdeps/*/preconfigure{,.in} too.
5540 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5542 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5543 (__free_hook): Use void * instead of __malloc_ptr_t.
5544 (__malloc_hook): Likewise.
5545 (__realloc_hook): Likewise.
5546 (__memalign_hook): Likewise.
5547 (__after_morecore_hook): Likewise.
5548 * malloc/arena.c (save_malloc_hook): Likewise.
5549 (save_free_hook): Likewise.
5550 * malloc/hooks.c (malloc_hook_ini): Likewise.
5551 (realloc_hook_ini): Likewise.
5552 (memalign_hook_ini): Likewise.
5553 * malloc/malloc.c (malloc_hook_ini): Likewise.
5554 (realloc_hook_ini): Likewise.
5555 (memalign_hook_ini): Likewise.
5556 (__free_hook): Likewise.
5557 (__malloc_hook): Likewise.
5558 (__realloc_hook): Likewise.
5559 (__memalign_hook): Likewise.
5560 (__libc_malloc): Likewise.
5561 (__libc_free): Likewise.
5562 (__libc_realloc): Likewise.
5563 (__libc_memalign): Likewise.
5564 (__libc_valloc): Likewise.
5565 (__libc_pvalloc): Likewise.
5566 (__libc_calloc): Likewise.
5567 (__posix_memalign): Likewise.
5568 * malloc/morecore.c (__sbrk): Likewise.
5569 (__default_morecore): Likewise.
5571 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5573 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5574 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5577 * malloc/malloc.h (__malloc_size_t): Remove macro.
5578 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5580 (old_memalign_hook): Likewise.
5581 (old_realloc_hook): Likewise.
5582 (struct hdr): Likewise.
5584 (mallochook): Likewise.
5585 (memalignhook): Likewise.
5586 (reallochook): Likewise.
5587 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5588 (tr_old_realloc_hook): Likewise.
5589 (tr_old_memalign_hook): Likewise.
5590 (tr_mallochook): Likewise.
5591 (tr_reallochook): Likewise.
5592 (tr_memalignhook): Likewise.
5594 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5597 default_ldbl_pack and using as default implementation.
5598 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5600 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5601 redundant definition.
5602 (ldbl_insert_mantissa): Likewise.
5603 (ldbl_canonicalize): Likewise.
5604 (ldbl_nearbyint): Likewise.
5605 (ldbl_pack): Rename to ldbl_pack_ppc.
5606 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5607 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5608 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5610 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5613 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5614 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5615 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5617 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5618 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5619 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5621 2013-03-07 Andreas Jaeger <aj@suse.de>
5623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5626 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5628 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5629 Include mpa.h and declare __MPEXP.
5630 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5631 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5632 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5634 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5635 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5636 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5638 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5639 (__slowpow): Use long double EXPL and LOGL functions to
5641 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5642 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5643 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5644 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5645 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5649 intermediate variable to calculate exponent.
5651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5655 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5656 [!NO__SQR]: Define __sqr.
5657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5658 and NO__SQR. Remove all code except __mul and __sqr. Include
5659 sysdeps/ieee754/dbl-64/mpa.c.
5660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5663 * posix/Makefile (tests): Add tst-pathconf.
5664 * posix/tst-pathconf.c: New test case.
5665 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5667 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5669 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5671 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5673 2013-03-06 Andreas Jaeger <aj@suse.de>
5675 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5676 definition via __MAP_ANONYMOUS.
5678 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5679 it's not part of Linux headers.
5681 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5682 (MAP_HUGE_MASK): Define.
5684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5686 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5689 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5690 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5692 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5693 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5695 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5697 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5698 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5699 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5700 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5701 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5708 Handle f2fs and efivarfs.
5710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5713 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5714 (EFIVARFS_MAGIC): Add.
5715 (F2FS_LINK_MAX): Add.
5717 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5719 * stdio-common/vfprintf.c: Replace __builtin_expect with
5722 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5725 * sysdeps/generic/bp-sym.h: Remove file.
5726 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5727 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5728 <bp-sym.h> and <bp-asm.h>.
5729 (__longjmp): Don't use BP_SYM.
5730 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5732 (memcpy): Don't use BP_SYM.
5733 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5734 <bp-sym.h> and <bp-asm.h>.
5735 (memcpy): Don't use BP_SYM.
5736 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5738 (memcpy): Don't use BP_SYM.
5739 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5741 (memset): Don't use BP_SYM.
5742 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5743 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5744 (__bzero): Don't use BP_SYM.
5745 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5746 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5748 <bp-sym.h> and <bp-asm.h>.
5749 (memcmp): Don't use BP_SYM. Remove comment about bounded
5751 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5752 <bp-sym.h> and <bp-asm.h>.
5753 (memcpy): Don't use BP_SYM.
5754 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5755 <bp-sym.h> and <bp-asm.h>.
5756 (memset): Don't use BP_SYM.
5757 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5758 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5759 (__bzero): Don't use BP_SYM.
5760 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5761 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5762 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (strncmp): Don't use BP_SYM. Remove comment about bounded
5766 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5767 <bp-sym.h> and <bp-asm.h>.
5768 (memcpy): Don't use BP_SYM.
5769 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5770 <bp-sym.h> and <bp-asm.h>.
5771 (memset): Don't use BP_SYM.
5772 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5773 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5774 (__bzero): Don't use BP_SYM.
5775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5778 <bp-sym.h> and <bp-asm.h>.
5779 (__memchr): Don't use BP_SYM.
5780 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5781 <bp-sym.h> and <bp-asm.h>.
5782 (memcmp): Don't use BP_SYM. Remove comment about bounded
5784 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5785 <bp-sym.h> and <bp-asm.h>.
5786 (memcpy): Don't use BP_SYM.
5787 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5788 <bp-sym.h> and <bp-asm.h>.
5789 (__mempcpy): Don't use BP_SYM.
5790 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5791 <bp-sym.h> and <bp-asm.h>.
5792 (__memrchr): Don't use BP_SYM.
5793 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5794 <bp-sym.h> and <bp-asm.h>.
5795 (memset): Don't use BP_SYM.
5796 (__bzero): Likewise.
5797 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5798 <bp-sym.h> and <bp-asm.h>.
5799 (__rawmemchr): Don't use BP_SYM.
5800 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5801 <bp-sym.h> and <bp-asm.h>.
5802 (__STRCMP): Don't use BP_SYM.
5803 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5804 <bp-sym.h> and <bp-asm.h>.
5805 (strchr): Don't use BP_SYM.
5806 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5807 <bp-sym.h> and <bp-asm.h>.
5808 (__strchrnul): Don't use BP_SYM.
5809 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5810 <bp-sym.h> and <bp-asm.h>.
5811 (strlen): Don't use BP_SYM.
5812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5813 <bp-sym.h> and <bp-asm.h>.
5814 (strncmp): Don't use BP_SYM. Remove comment about bounded
5816 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5817 <bp-sym.h> and <bp-asm.h>.
5818 (__strnlen): Don't use BP_SYM.
5819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5820 <bp-sym.h> and <bp-asm.h>.
5821 (__GI__setjmp): Don't use BP_SYM.
5822 (_setjmp): Likewise.
5823 (__sigsetjmp): Likewise.
5824 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5825 (L(start_addresses)): Don't use BP_SYM.
5827 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5829 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5830 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5831 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5832 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5833 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5835 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5836 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5837 about bounded pointers.
5838 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5839 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5840 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5842 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5843 about bounded pointers. Remove GKM FIXME comments.
5844 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5845 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5847 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5848 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5849 Remove GKM FIXME comments.
5850 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5851 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5852 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5854 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5855 about bounded pointers. Remove GKM FIXME comment.
5856 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5858 (strncmp): Don't use BP_SYM. Remove comment about bounded
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5861 <bp-sym.h> and <bp-asm.h>.
5862 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5864 <bp-sym.h> and <bp-asm.h>.
5865 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5868 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5870 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5873 2013-03-05 David S. Miller <davem@davemloft.net>
5875 * po/es.po: Update from translation team.
5877 2013-03-05 Andreas Jaeger <aj@suse.de>
5879 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5880 <bits/mman-linux.h>.
5881 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5883 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5884 <bits/mman-linux.h> to end of file.
5885 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5887 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5888 <bits/mman-linux.h> to end of file.
5889 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5891 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5892 <bits/mman-linux.h> to end of file.
5894 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5895 (MCL_CURRENT, MCL_FUTURE): Define here.
5897 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5902 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5904 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5906 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5907 fourth parameter needed for rt_sigprocmask syscall.
5908 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5909 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5910 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5911 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5912 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5913 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5915 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5918 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5919 comment about bounded pointers.
5920 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5921 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5923 2013-03-04 Andreas Jaeger <aj@suse.de>
5925 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5928 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5929 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5930 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5931 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5932 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5935 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5939 __ieee754_sqrl instead of __sqrl.
5941 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5943 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5944 * sysdeps/powerpc/fpu_control.h: ... here.
5945 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5946 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5947 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5948 * sysdeps/powerpc/bits/mathinline.h: ... here.
5950 2013-03-01 Roland McGrath <roland@hack.frob.com>
5952 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5953 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5954 to just [NEED_DL_SYSINFO_DSO].
5955 * elf/dl-support.c: Likewise.
5956 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5957 * elf/rtld.c (dl_main): Likewise.
5958 * elf/setup-vdso.h (setup_vdso): Likewise.
5959 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5960 * sysdeps/unix/sysv/linux/dl-sysdep.c
5961 (_dl_discover_osversion): Likewise.
5963 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5965 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5966 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5968 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5970 * NEWS: Mention libm performance improvements and non-x86 PI
5973 * csu/libc-start.c (__pthread_initialize_minimal): Change
5975 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5977 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5980 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5981 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5982 <bp-sym.h> and <bp-asm.h>.
5983 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5986 (memcpy): Don't use BP_SYM.
5987 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5989 (__mpn_add_n): Don't use BP_SYM.
5990 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5991 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5993 (__mpn_addmul_1): Don't use BP_SYM.
5994 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5995 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5997 (_setjmp): Don't use BP_SYM.
5998 (__novmx_setjmp): Likewise.
5999 (__GI__setjmp): Likewise.
6000 (__vmx_setjmp): Likewise.
6001 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6003 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6004 (__bzero): Don't use BP_SYM.
6005 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6006 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6007 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6008 <bp-sym.h> and <bp-asm.h>.
6009 (memcpy): Don't use BP_SYM.
6010 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6011 <bp-sym.h> and <bp-asm.h>.
6012 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6013 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6014 <bp-sym.h> and <bp-asm.h>.
6015 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6016 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6018 (__mpn_lshift): Don't use BP_SYM.
6019 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6020 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6022 (memset): Don't use BP_SYM.
6023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6025 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6027 (__mpn_mul_1): Don't use BP_SYM.
6028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6030 <bp-sym.h> and <bp-asm.h>.
6031 (memcmp): Don't use BP_SYM.
6032 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6033 <bp-sym.h> and <bp-asm.h>.
6034 (memcpy): Don't use BP_SYM.
6035 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6036 <bp-sym.h> and <bp-asm.h>.
6037 (memset): Don't use BP_SYM.
6038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6039 <bp-sym.h> and <bp-asm.h>.
6040 (strncmp): Don't use BP_SYM.
6041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6042 <bp-sym.h> and <bp-asm.h>.
6043 (memcpy): Don't use BP_SYM.
6044 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6045 <bp-sym.h> and <bp-asm.h>.
6046 (memset): Don't use BP_SYM.
6047 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6048 <bp-sym.h> and <bp-asm.h>.
6049 (__memchr): Don't use BP_SYM.
6050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6051 <bp-sym.h> and <bp-asm.h>.
6052 (memcmp): Don't use BP_SYM.
6053 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6054 <bp-sym.h> and <bp-asm.h>.
6055 (memcpy): Don't use BP_SYM.
6056 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6057 <bp-sym.h> and <bp-asm.h>.
6058 (__mempcpy): Don't use BP_SYM.
6059 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6060 <bp-sym.h> and <bp-asm.h>.
6061 (__memrchr): Don't use BP_SYM.
6062 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6063 <bp-sym.h> and <bp-asm.h>.
6064 (memset): Don't use BP_SYM.
6065 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6066 <bp-sym.h> and <bp-asm.h>.
6067 (__rawmemchr): Don't use BP_SYM.
6068 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6069 <bp-sym.h> and <bp-asm.h>.
6070 (__STRCMP): Don't use BP_SYM.
6071 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6072 <bp-sym.h> and <bp-asm.h>.
6073 (strchr): Don't use BP_SYM.
6074 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6075 <bp-sym.h> and <bp-asm.h>.
6076 (__strchrnul): Don't use BP_SYM.
6077 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6078 <bp-sym.h> and <bp-asm.h>.
6079 (strlen): Don't use BP_SYM.
6080 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6081 <bp-sym.h> and <bp-asm.h>.
6082 (strncmp): Don't use BP_SYM.
6083 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6084 <bp-sym.h> and <bp-asm.h>.
6085 (__strnlen): Don't use BP_SYM.
6086 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6088 (__mpn_rshift): Don't use BP_SYM.
6089 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6090 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6091 <bp-sym.h> and <bp-asm.h>.
6092 (__sigsetjmp): Don't use BP_SYM.
6093 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6094 (L(start_addresses)): Don't use BP_SYM.
6096 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6098 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6099 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6100 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6101 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6103 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6104 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6105 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6106 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6108 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6110 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6111 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6113 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6115 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6116 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6117 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6119 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6121 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6123 (strncmp): Don't use BP_SYM,
6124 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6126 (__mpn_sub_n): Don't use BP_SYM.
6127 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6128 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6130 (__mpn_submul_1): Don't use BP_SYM.
6131 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6133 <bp-sym.h> and <bp-asm.h>.
6134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6136 <bp-sym.h> and <bp-asm.h>.
6137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6140 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6143 Use ZK to minimize writes to Z.
6144 (sub_magnitudes): Simplify code a bit.
6145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6146 Use ZK to minimize writes to Z.
6147 (sub_magnitudes): Simplify code a bit.
6149 2013-02-27 Roland McGrath <roland@hack.frob.com>
6151 * csu/gmon-start.c: Add special exception to license text.
6153 2013-02-27 Richard Henderson <rth@redhat.com>
6155 * scripts/config.guess: Update from config.git.
6156 * scripts/config.sub: Likewise.
6158 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6160 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6162 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6164 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6166 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6168 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6170 2013-02-26 Roland McGrath <roland@hack.frob.com>
6172 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6173 [$(build-shared = yes].
6175 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6177 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6178 (__mul): Reduce iterations for calculating mantissa.
6180 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6182 (__mpranred): Likewise.
6185 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6186 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6188 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6190 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6191 Define __attribute__.
6193 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6195 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6197 * posix/regex_internal.h (__attribute): Remove.
6198 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6199 (re_string_context_at): Likewise.
6200 (bitset_not): Use __attribute__ and mark function as possibly
6202 (bitset_merge): Likewise.
6203 (bitset_mask): Likewise.
6204 (re_string_char_size_at): Likewise.
6205 (re_string_wchar_at): Likewise.
6206 (re_string_elem_size_at): Likewise.
6208 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6210 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6214 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6219 (__dbl_mp): Likewise.
6220 (add_magnitudes): Likewise.
6221 (sub_magnitudes): Likewise.
6225 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6228 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6231 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6235 up changes with default code.
6236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6239 2013-02-24 Allan McRae <allan@archlinux.org>
6241 * manual/socket.texi (The Internet Namespace): Order menu items
6242 to match that in the file.
6244 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6245 node listing of the info page menu.
6247 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6250 * sysdeps/i386/bp-asm.h: Remove file.
6251 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6252 (PARMS): Do not use macros from bp-asm.h.
6256 (__mpn_add_n): Do not use BP_SYM
6257 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6259 (PARMS): Do not use macros from bp-asm.h.
6262 (__mpn_addmul_1): Do not use BP_SYM
6263 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6265 (PARMS): Do not use macros from bp-asm.h.
6267 (_setjmp): Likewise. Do not use BP_SYM.
6268 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6270 (PARMS): Do not use macros from bp-asm.h.
6272 (setjmp): Likewise. Do not use BP_SYM.
6273 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6275 (PARMS): Do not use macros from bp-asm.h.
6276 (__frexp): Do not use BP_SYM.
6278 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6280 (PARMS): Do not use macros from bp-asm.h.
6281 (__frexpf): Do not use BP_SYM.
6283 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6285 (PARMS): Do not use macros from bp-asm.h.
6286 (__frexpl): Do not use BP_SYM.
6288 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6290 (PARMS): Do not use macros from bp-asm.h.
6291 (__remquo): Do not use BP_SYM.
6293 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6295 (PARMS): Do not use macros from bp-asm.h.
6296 (__remquof): Do not use BP_SYM.
6297 (remquof): Likewise.
6298 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6300 (PARMS): Do not use macros from bp-asm.h.
6301 (__remquol): Do not use BP_SYM.
6302 (remquol): Likewise.
6303 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6305 (PARMS): Do not use macros from bp-asm.h.
6308 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6309 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6311 (PARMS): Do not use macros from bp-asm.h.
6312 (strlen): Do not use BP_SYM.
6313 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6315 (PARMS): Do not use macros from bp-asm.h.
6319 (__mpn_add_n): Do not use BP_SYM.
6320 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6322 (PARMS): Do not use macros from bp-asm.h.
6325 (__mpn_addmul_1): Do not use BP_SYM.
6326 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6329 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6331 (PARMS): Do not use macros from bp-asm.h.
6334 (__mpn_lshift): Do not use BP_SYM.
6335 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6337 (PARMS): Do not use macros from bp-asm.h.
6341 (memcpy): Likewise. Do not use BP_SYM.
6342 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6343 libc_hidden_def and weak_alias.
6344 (mempcpy): Do not use BP_SYM in weak_alias.
6345 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6347 (PARMS): Do not use macros from bp-asm.h.
6350 [!BZERO_P] (CHR): Likewise.
6351 (memset): Likewise. Do not use BP_SYM.
6352 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6354 (PARMS): Do not use macros from bp-asm.h.
6357 (__mpn_mul_1): Do not use BP_SYM.
6358 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6360 (PARMS): Do not use macros from bp-asm.h.
6363 (__mpn_rshift): Do not use BP_SYM.
6364 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6366 (PARMS): Do not use macros from bp-asm.h.
6369 (strchr): Likewise. Do not use BP_SYM.
6370 (index): Do not use BP_SYM in weak_alias.
6371 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6373 (PARMS): Do not use macros from bp-asm.h.
6376 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6377 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6379 (PARMS): Do not use macros from bp-asm.h.
6380 (strlen): Do not use BP_SYM.
6381 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6383 (PARMS): Do not use macros from bp-asm.h.
6387 (__mpn_sub_n): Do not use BP_SYM.
6388 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6390 (PARMS): Do not use macros from bp-asm.h.
6393 (__mpn_submul_1): Do not use BP_SYM.
6394 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6396 (PARMS): Do not use macros from bp-asm.h.
6400 (__mpn_add_n): Do not use BP_SYM.
6401 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6404 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6406 (PARMS): Do not use macros from bp-asm.h.
6409 (memcmp): Do not use BP_SYM.
6410 (bcmp): Do not use BP_SYM in weak_alias.
6411 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6413 (PARMS): Do not use macros from bp-asm.h.
6417 (memcpy): Likewise. Do not use BP_SYM.
6418 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6420 (PARMS): Do not use macros from bp-asm.h.
6424 (memmove): Likewise. Do not use BP_SYM.
6425 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6427 (PARMS): Do not use macros from bp-asm.h.
6431 (__mempcpy): Likewise. Do not use BP_SYM.
6432 (mempcpy): Do not use BP_SYM in weak_alias.
6433 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6435 (PARMS): Do not use macros from bp-asm.h.
6438 [!BZERO_P] (CHR): Likewise.
6439 (memset): Likewise. Do not use BP_SYM.
6440 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6442 (PARMS): Do not use macros from bp-asm.h.
6444 (strcmp): Do not use BP_SYM.
6445 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6447 (PARMS): Do not use macros from bp-asm.h.
6450 [USE_AS_STRTOK_R] (SAVE): Likewise.
6451 (FUNCTION): Likewise. Do not use BP_SYM.
6452 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6454 (strtok_r): Likewise.
6455 (__GI___strtok_r): Likewise.
6456 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6457 (PARMS): Do not use macros from bp-asm.h.
6460 (__mpn_lshift): Do not use BP_SYM.
6461 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6462 (PARMS): Do not use macros from bp-asm.h.
6465 (__memchr): Do not use BP_SYM.
6466 (memchr): Do not use BP_SYM in weak_alias.
6467 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6468 (PARMS): Do not use macros from bp-asm.h.
6471 (memcmp): Do not use BP_SYM.
6472 (bcmp): Do not use BP_SYM in weak_alias.
6473 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6474 (PARMS): Do not use macros from bp-asm.h.
6477 (__mpn_mul_1): Do not use BP_SYM.
6478 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6480 (PARMS): Do not use macros from bp-asm.h.
6483 (__rawmemchr): Do not use BP_SYM.
6484 (rawmemchr): Do not use BP_SYM in weak_alias.
6485 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6486 (PARMS): Do not use macros from bp-asm.h.
6489 (__mpn_rshift): Do not use BP_SYM.
6490 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6491 (PARMS): Do not use macros from bp-asm.h.
6493 (__sigsetjmp): Likewise. Do not use BP_SYM.
6494 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6495 (_start): Do not use BP_SYM.
6496 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6497 (PARMS): Do not use macros from bp-asm.h.
6500 (__stpcpy): Likewise. Do not use BP_SYM.
6501 (stpcpy): Do not use BP_SYM in weak_alias.
6502 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6504 (PARMS): Do not use macros from bp-asm.h.
6508 (__stpncpy): Likewise. Do not use BP_SYM.
6509 (stpncpy): Do not use BP_SYM in weak_alias.
6510 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6511 (PARMS): Do not use macros from bp-asm.h.
6514 (strchr): Likewise. Do not use BP_SYM.
6515 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6517 (PARMS): Do not use macros from bp-asm.h.
6520 (__strchrnul): Likewise. Do not use BP_SYM.
6521 (strchrnul): Do not use BP_SYM in weak_alias.
6522 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6524 (PARMS): Do not use macros from bp-asm.h.
6526 (strcspn): Do not use BP_SYM.
6527 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6529 (PARMS): Do not use macros from bp-asm.h.
6532 (strpbrk): Likewise. Do not use BP_SYM.
6533 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6535 (PARMS): Do not use macros from bp-asm.h.
6538 (strrchr): Likewise. Do not use BP_SYM.
6539 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6540 (PARMS): Do not use macros from bp-asm.h.
6542 (strspn): Do not use BP_SYM.
6543 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6544 (PARMS): Do not use macros from bp-asm.h.
6548 (FUNCTION): Likewise. Do not use BP_SYM.
6549 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6551 (strtok_r): Likewise.
6552 (__GI___strtok_r): Likewise.
6553 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6554 (PARMS): Do not use macros from bp-asm.h.
6558 (__mpn_sub_n): Do not use BP_SYM.
6559 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6561 (PARMS): Do not use macros from bp-asm.h.
6564 (__mpn_submul_1): Do not use BP_SYM.
6565 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6567 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6569 (PARMS): Do not use macros from bp-asm.h.
6574 (__clone): Do not use BP_SYM.
6575 (clone): Do not use BP_SYM in weak_alias.
6576 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6578 (PARMS): Do not use macros from bp-asm.h.
6580 (__mmap64): Do not use BP_SYM.
6581 (mmap64): Do not use BP_SYM in weak_alias.
6582 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6583 <bp-sym.h> and <bp-asm.h>.
6584 (PARMS): Do not use macros from bp-asm.h.
6585 (__posix_fadvise64_l64): Do not use BP_SYM.
6586 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6587 (PARMS): Do not use macros from bp-asm.h.
6589 (semtimedop): Do not use BP_SYM.
6590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6593 2013-02-21 Allan McRae <allan@archlinux.org>
6595 * manual/message.texi (Charset conversion in gettext):
6596 Move @end statement to beginning of line.
6598 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6605 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6610 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6612 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6613 tail-call to the resolved function if pltexit isn't needed.
6615 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6618 or Y being zero as being unlikely.
6619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6622 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6624 * manual/nss.texi (System Databases and Name Service Switch):
6625 Remove frobnicate @pxref.
6627 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6629 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6630 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6632 2013-02-20 Petr Machata <pmachata@redhat.com>
6634 * elf/elf.h (R_ARM_TARGET1): New macro.
6635 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6636 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6637 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6638 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6639 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6640 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6641 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6642 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6643 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6644 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6645 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6646 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6647 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6648 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6649 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6650 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6651 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6652 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6653 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6654 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6655 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6656 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6657 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6658 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6659 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6660 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6661 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6662 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6663 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6664 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6665 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6666 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6667 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6668 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6669 (R_ARM_THM_GOT_BREL12): Likewise.
6670 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6671 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6672 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6673 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6674 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6675 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6676 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6677 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6678 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6680 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6682 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6683 __attribute_used__ to __attribute__ ((unused)).
6685 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6693 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6696 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6698 (ENTER): Remove both macro definitions.
6700 (CHECK_BOUNDS_LOW): Likewise.
6701 (CHECK_BOUNDS_HIGH): Likewise.
6702 (CHECK_BOUNDS_BOTH): Likewise.
6703 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6704 (RETURN_BOUNDED_POINTER): Likewise.
6705 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6706 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6707 (POP_ERRNO_LOCATION_RETURN): Likewise.
6708 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6709 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6710 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6712 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6713 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6714 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6715 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6716 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6717 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6718 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6719 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6720 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6721 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6722 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6723 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6724 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6725 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6727 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6728 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6730 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6731 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6732 * sysdeps/i386/i586/memset.S (memset): Likewise.
6733 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6734 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6735 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6737 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6738 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6739 Change uses of L(2) to L(out).
6740 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6741 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6742 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6743 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6744 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6746 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6747 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6749 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6750 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6751 (RETURN): Do not use macro LEAVE.
6752 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6753 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6754 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6755 * sysdeps/i386/i686/memset.S (memset): Likewise.
6756 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6757 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6758 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6759 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6761 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6762 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6763 L(1_2) and L(1_3) into L(1).
6764 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6765 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6766 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6767 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6768 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6769 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6770 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6771 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6772 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6774 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6775 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6776 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6777 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6778 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6779 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6780 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6781 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6782 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6783 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6784 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6785 * sysdeps/i386/strspn.S (strspn): Likewise.
6786 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6788 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6789 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6790 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6791 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6793 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6795 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6797 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6799 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6801 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6804 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6806 * math/atest-exp.c (exp_mpn): Remove ROUND.
6807 * math/atest-exp2.c (exp_mpn): Likewise.
6808 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6810 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6811 * stdlib/tst-tls-atexit-lib.c: Likewise.
6812 * stdlib/tst-tls-atexit.c: Likewise.
6814 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6816 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6817 and __attribute_alloc_size__.
6819 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6821 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6822 __attribute_alloc_size__.
6823 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6824 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6826 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6828 * include/programs/xmalloc.h: New file.
6829 * catgets/gencat.c: Include it.
6830 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6831 * elf/pldd.c: Likewise.
6832 * iconv/iconv_charmap.c: Likewise.
6833 * iconv/iconvconfig.c: Likewise.
6834 * iconv/strtab.c: Likewise.
6835 * locale/programs/locale.c: Likewise.
6836 * locale/programs/localedef.h: Likewise.
6837 * locale/programs/simple-hash.c: Likewise.
6838 * nscd/nscd.h: Likewise.
6839 * nss/makedb.c: Likewise.
6840 * sysdeps/generic/ldconfig.h: Likewise.
6842 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6844 * Versions.def: Add GLIBC_2.18.
6845 * include/link.h (struct link_map): New member l_tls_dtor_count.
6846 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6847 (__call_tls_dtors): Likewise.
6848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6849 __cxa_thread_atexit_impl.
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6866 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6867 (tests): Add test case tst-tls-atexit.
6868 (modules-names): Add shared library for tst-tls-atexit.
6869 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6870 (GLIBC_PRIVATE): Add __call_tls_dtors.
6871 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6873 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6874 * stdlib/tst-tls-atexit.c: New test case.
6875 * stdlib/tst-tls-atexit-lib.c: New test case.
6877 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6879 * elf/Versions (ld): Add _dl_find_dso_for_object.
6880 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6881 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6882 (dl_open_worker): Use _dl_find_dso_for_object.
6883 * elf/dl-sym.c (do_sym): Likewise.
6884 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6886 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6888 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6889 Syntactic changes only.
6890 (_dl_runtime_profile): Do a tail-call to the resolved function.
6892 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/x86_64/bp-asm.h: Remove file.
6896 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6897 <bp-sym.h> and <bp-asm.h>.
6898 (__clone): Do not use BP_SYM.
6899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6900 <bp-sym.h> and <bp-asm.h>.
6901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6902 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6904 (_setjmp): Do not use BP_SYM.
6905 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6907 (setjmp): Do not use BP_SYM.
6908 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6910 (mempcpy): Do not use BP_SYM in weak_alias.
6911 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6913 (strchr): Do not use BP_SYM.
6914 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6916 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6917 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6918 (_start): Do not use BP_SYM.
6919 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6921 (strcat): Do not use BP_SYM.
6922 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6924 (STRCMP): Do not use BP_SYM.
6925 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6927 (STRCPY): Do not use BP_SYM.
6928 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6930 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6932 (FUNCTION): Do not use BP_SYM.
6933 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6935 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6937 2013-02-17 Andreas Jaeger <aj@suse.de>
6939 * time/Versions: Sort entries.
6940 * string/Versions: Likewise.
6941 * resolv/Versions: Likewise.
6942 * posix/Versions: Likewise.
6943 * iconv/Versions: Likewise.
6944 * elf/Versions: Likewise.
6945 * wcsmbs/Versions: Likewise.
6947 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6949 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6950 loop termination condition.
6952 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6953 variable to calculate EZ.
6956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6957 the lower precision input.
6959 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6962 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6963 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6964 (run-via-rtld-prefix): Do not handle %-bp tests.
6965 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6966 (all-object-suffixes): Remove .ob.
6967 (bppfx): Remove variable.
6968 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6969 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6970 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6971 [$(build-bounded) = yes] (libtype.ob): Likewise.
6972 * Makerules (elide-routines.ob): Remove variable.
6973 (do-tests-clean): Do not handle *-bp.out.
6974 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6975 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6976 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6977 (tests): Do not include $(tests-bp.out).
6978 (xtests): Do not include $(xtests-bp.out).
6979 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6980 [$(build-bounded) = yes] ($(addprefix
6981 $(objpfx),$(binaries-bounded))): Remove rule.
6982 ($(objpfx)%-bp.out): Remove rule.
6983 * config.make.in (build-bounded): Remove variable.
6984 * crypt/Makefile [$(build-bounded) = yes]
6985 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6986 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6988 [$(build-bounded) = yes] (install-lib): Likewise.
6989 [$(build-bounded) = yes] (generated): Likewise.
6990 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6992 * intl/Makefile [$(build-bounded) = yes]
6993 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6994 * math/Makefile [$(build-bounded) = yes]
6995 ($(tests:%=$(objpfx)%-bp): Likewise.
6996 * misc/Makefile [$(build-bounded) = yes]
6997 ($(objpfx)tst-tsearch-bp): Likewise.
6998 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6999 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7001 * string/Makefile (o-objects.ob): Remove variable.
7002 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7003 (CFLAGS-.ob): Remove variable.
7004 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7005 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7006 both definitions of variable.
7007 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7008 (ASFLAGS-.ob): Remove variable.
7010 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7013 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7014 Remove __BOUNDED_POINTERS__ from condition.
7015 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7016 * string/bits/string2.h [!__NO_STRING_INLINES &&
7017 !__BOUNDED_POINTERS__]: Likewise.
7018 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7020 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7021 Remove conditional code.
7022 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7023 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7024 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7028 * csu/libc-start.c: Do not include <bp-sym.h>.
7029 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7030 * elf/dl-open.c: Do not include <bp-sym.h>.
7031 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7032 * math/fegetenv.c: Do not include <bp-sym.h>.
7033 (fegetenv): Do not use BP_SYM in versioned symbols.
7034 * nptl/sysdeps/pthread/bits/libc-lockP.h
7035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7038 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7040 (__pthread_mutex_destroy): Likewise.
7041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7042 (__pthread_mutex_lock): Likewise.
7043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7044 (__pthread_mutex_trylock): Likewise.
7045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7046 (__pthread_mutex_unlock): Likewise.
7047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7048 (__pthread_mutexattr_init): Likewise.
7049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7050 (__pthread_mutexattr_destroy): Likewise.
7051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7052 (__pthread_mutexattr_settype): Likewise.
7053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7054 (__pthread_rwlock_init): Likewise.
7055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7056 (__pthread_rwlock_destroy): Likewise.
7057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7058 (__pthread_rwlock_rdlock): Likewise.
7059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7060 (__pthread_rwlock_tryrdlock): Likewise.
7061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7062 (__pthread_rwlock_wrlock): Likewise.
7063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7064 (__pthread_rwlock_trywrlock): Likewise.
7065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7066 (__pthread_rwlock_unlock): Likewise.
7067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7068 (__pthread_key_create): Likewise.
7069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7070 (__pthread_setspecific): Likewise.
7071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7072 (__pthread_getspecific): Likewise.
7073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7076 (_pthread_cleanup_push_defer): Likewise.
7077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7078 (_pthread_cleanup_pop_restore): Likewise.
7079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7080 (pthread_setcancelstate): Likewise.
7081 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7083 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7084 (memchr): Do not use BP_SYM in weak_alias.
7085 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7086 (fegetenv): Do not use BP_SYM in versioned symbols.
7087 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7088 (fesetenv): Do not use BP_SYM in versioned symbols.
7089 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7090 (feupdateenv): Do not use BP_SYM in versioned symbols.
7091 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7092 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7093 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7094 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7095 (open64): Do not use BP_SYM in weak_alias.
7096 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7097 (fegetenv): Do not use BP_SYM in versioned symbols.
7098 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7099 (fesetenv): Do not use BP_SYM in versioned symbols.
7100 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7101 (feupdateenv): Do not use BP_SYM in versioned symbols.
7102 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7103 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7104 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7105 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7106 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7107 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7110 (__libc_start_main): Do not use BP_SYM.
7112 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7115 redundant return line.
7119 (sub_magnitudes): Likewise.
7125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7129 (sub_magnitudes): Likewise.
7136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7138 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7139 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7142 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7143 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7145 of __mul for squares.
7146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7150 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7151 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7153 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7156 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7158 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7159 prototype or function definition. Rename ubp_* variables and
7160 parameters. Remove argv definitions conditional on
7161 [__BOUNDED_POINTERS__].
7162 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7163 * elf/dl-runtime.c (_dl_fixup): Likewise.
7164 * include/set-hooks.h (RUN_HOOK): Likewise.
7165 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7167 * string/strcpy.c (strcpy): Do not use __unbounded.
7168 * sysdeps/generic/frame.h (struct layout): Likewise.
7169 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7170 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7171 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7172 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7173 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7174 (__backtrace): Likewise.
7175 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7177 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7178 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7179 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7181 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7182 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7183 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7184 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7185 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7186 Do not use __unbounded.
7187 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7188 Rename __unboundedrlimits parameter to rlimits in prototype.
7189 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7190 Do not use __unbounded.
7191 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7193 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7194 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7195 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7196 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7197 __ptrvalue or __unbounded.
7198 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7199 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7201 (__new_msgctl): Do not use __ptrvalue.
7202 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7204 (__libc_msgrcv): Do not use __ptrvalue.
7205 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7206 startup_info): Do not use __unbounded.
7207 (__libc_start_main): Likewise. Rename ubp_* variables and
7208 parameters. Remove argv definitions conditional on
7209 [__BOUNDED_POINTERS__].
7210 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7212 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7214 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7216 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7218 (__new_shmctl): Do not use __ptrvalue.
7219 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7220 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7222 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7224 (__libc_sigaction): Likewise.
7225 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7226 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7228 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7230 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7232 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7234 * string/mempcpy.c: Implement by calling memcpy.
7236 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7243 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7244 values in the mantissa.
7246 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7247 minimize writes to Z.
7248 (sub_magnitudes): Simplify code a bit.
7250 2013-02-12 Roland McGrath <roland@hack.frob.com>
7252 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7253 from the message. The linker prefixes all warnings with that already.
7255 2013-02-12 Andreas Schwab <schwab@suse.de>
7258 * posix/regexec.c (extend_buffers): Add parameter min_len.
7259 (check_matching): Pass minimum needed length.
7260 (clean_state_log_if_needed): Likewise.
7261 (get_subexp): Likewise.
7262 * posix/Makefile (tests): Add bug-regex34.
7263 (bug-regex34-ENV): Define.
7264 * posix/bug-regex34.c: New file.
7267 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7268 elements compare against the byte sequence of it, not its name.
7269 * posix/Makefile (tests): Add bug-regex35.
7270 (bug-regex35-ENV): Define.
7271 * posix/bug-regex35.c: New file.
7273 2013-02-11 Tom de Vries <tom@codesourcery.com>
7275 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7277 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7278 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7279 (CHECK_EOL): Add undef.
7281 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7283 * bits/stdlib-bsearch.h: New file.
7284 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7285 * stdlib/stdlib.h: Likewise.
7287 2013-02-11 Roland McGrath <roland@hack.frob.com>
7289 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7290 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7292 * manual/search.texi (Array Search Function): Add missing const in
7294 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7295 declaration to use rlim_t.
7296 (Basic Scheduling Functions): Remove erroneous const from
7297 sched_getparam prototype. Remove erroneous * from
7298 sched_get_priority_max and sched_get_priority_min prototypes.
7299 (Resource Usage): Fix summary @comment on vtimes to refer to
7300 sys/vtimes.h rather than vtimes.h.
7301 Add missing *s in vtimes prototype.
7302 (Limits on Resources): Fix ulimit prototype to return long int.
7303 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7304 prototypes to use long int rather than double.
7305 (BSD Random): Fix initstate and setstate to use char *, not void *.
7306 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7307 prototype to make second argument 'struct aiocb64 *const[]'.
7308 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7309 (Status of AIO Operations): Remove erroneous const in aio_return and
7310 aio_return64 prototypes.
7311 (Synchronizing I/O): Fix sync prototype to return void.
7312 * manual/startup.texi (Suboptions): Remove an erroneous const in
7313 getsubopt prototype.
7314 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7315 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7316 use size_t rather than int.
7317 (Scanning All Users): Likewise for getpwent_r.
7318 (Setting Groups): Add missing const to setgroups prototype.
7319 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7320 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7321 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7322 'const void *' rather than 'const char *'.
7323 (Host Address Functions): Likewise for inet_ntop.
7324 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7325 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7326 ssize_t for return value.
7327 (Sending Data): Likewise for send, sendto, sendmsg.
7328 (Socket Option Functions): Add a missing const in setsockopt prototype.
7329 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7330 use wchar_t for the argument.
7331 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7332 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7334 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7335 double/float/long double for second argument.
7336 Fix return types of significand, significandf, significandl.
7337 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7338 argument in fchmod prototype.
7339 (File Owner): Use uid_t and gid_t in fchown prototype.
7340 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7341 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7342 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7343 use 'const struct dirent **' as argument types to CMP function pointer
7345 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7346 (File Times): Fix summary magic @comment for struct utimbuf and utime
7347 to refer to utime.h, not time.h.
7348 * manual/string.texi (Argz Functions): Add missing const in
7349 argz_extract and argz_next prototypes.
7350 (Finding Tokens in a String): Likewise for basename.
7351 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7352 (Copying and Concatenation): Fix typo in wmemmove prototype.
7353 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7354 (Signal Stack): Remove erroneous const in sigstack prototype.
7355 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7357 (Simple Calendar Time): Likewise for stime.
7358 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7360 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7361 say sys/sysctl.h instead.
7362 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7363 and vsyslog prototypes.
7365 2013-02-11 Tom de Vries <tom@codesourcery.com>
7367 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7370 2013-02-11 Roland McGrath <roland@hack.frob.com>
7372 * misc/sys/mman.h: Fix typo in mremap comment.
7374 2013-02-08 Roland McGrath <roland@hack.frob.com>
7376 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7377 the '\0' terminator.
7379 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7382 * debug/segfault.c: Don't include <bp-checks.h>.
7383 * sysdeps/generic/bp-checks.h: Remove file.
7384 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7385 (__GETDENTS): Don't use CHECK_N.
7386 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7387 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7388 (__getgroups): Don't use CHECK_N.
7389 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7390 (setgroups): Don't use CHECK_N.
7391 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7392 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7393 (__libc_msgrcv): Don't use CHECK_N.
7394 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7395 (__libc_msgsnd): Don't use CHECK_N.
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7398 (__libc_pread): Don't use CHECK_N.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7400 include <bp-checks.h>.
7401 (__libc_pread64): Don't use CHECK_N.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7403 include <bp-checks.h>.
7404 (__libc_pwrite): Don't use CHECK_N.
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7406 include <bp-checks.h>.
7407 (__libc_pwrite64): Don't use CHECK_N.
7408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7410 (__libc_pread): Don't use CHECK_N.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7412 include <bp-checks.h>.
7413 (__libc_pread64): Don't use CHECK_N.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7415 include <bp-checks.h>.
7416 (__libc_pwrite): Don't use CHECK_N.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7418 include <bp-checks.h>.
7419 (__libc_pwrite64): Don't use CHECK_N.
7420 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7421 (do_pread): Don't use CHECK_N.
7422 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7423 (do_pread64): Don't use CHECK_N.
7424 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7425 (do_pwrite): Don't use CHECK_N.
7426 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7427 (do_pwrite64): Don't use CHECK_N.
7428 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7429 (__libc_readv): Don't use CHECK_N.
7430 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7431 (semop): Don't use CHECK_N.
7432 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7434 (semtimedop): Don't use CHECK_N.
7435 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7436 (__libc_pread): Don't use CHECK_N.
7437 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7439 (__libc_pread64): Don't use CHECK_N.
7440 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7442 (__libc_pwrite): Don't use CHECK_N.
7443 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7445 (__libc_pwrite64): Don't use CHECK_N.
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7448 (__libc_msgrcv): Don't use CHECK_N.
7449 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7450 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7451 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7452 (__libc_writev): Don't use CHECK_N.
7454 2013-02-08 Roland McGrath <roland@hack.frob.com>
7456 * string/strcpy.c: Removed unused variable.
7458 * Makeconfig (+sysdep-includes): Define with := rather than =.
7459 Use an existing include/ subdir of each sysdeps dir before it.
7461 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7463 * nscd/connection.c (register_traced_file): Comment function.
7464 [HAVE_INOTIFY] (union __inev): Define.
7465 [HAVE_INOTIFY] (inotify_check_files): New function.
7466 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7467 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7469 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7471 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7473 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7474 loaded if not already and that a failure is permanent.
7476 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7479 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7480 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7482 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7485 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7486 (CHECK_1_NULL_OK): Likewise.
7487 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7488 (__fxstat): Do not use CHECK_1.
7489 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7491 (___fxstat64): Do not use CHECK_1.
7492 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7494 (__fxstatat): Do not use CHECK_1.
7495 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7497 (__fxstatat64): Do not use CHECK_1.
7498 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7500 (__fxstat): Do not use CHECK_1.
7501 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7503 (__fxstatat): Do not use CHECK_1.
7504 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7506 (__getresgid): Do not use CHECK_1.
7507 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7509 (__getresuid): Do not use CHECK_1.
7510 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7512 (__lxstat): Do not use CHECK_1.
7513 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7515 (__old_msgctl): Do not use CHECK_1.
7516 (__new_msgctl): Likewise.
7517 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7519 (__new_setrlimit): Do not use CHECK_1.
7520 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7522 (__old_shmctl): Do not use CHECK_1.
7523 (__new_shmctl): Likewise.
7524 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7526 (__xstat): Do not use CHECK_1.
7527 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7528 (__lxstat): Do not use CHECK_1.
7529 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7531 (___lxstat64): Do not use CHECK_1.
7532 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7533 (__old_msgctl): Do not use CHECK_1.
7534 (__new_msgctl): Likewise.
7535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7537 (__gettimeofday): Do not use CHECK_1.
7538 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7539 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7540 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7542 (__gettimeofday): Do not use CHECK_1.
7543 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7544 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7545 (__new_shmctl): Do not use CHECK_1.
7546 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7548 (do_sigtimedwait): Do not use CHECK_1.
7549 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7551 (do_sigwaitinfo): Do not use CHECK_1.
7552 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7554 (msgctl): Do not use CHECK_1.
7555 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7557 (shmctl): Do not use CHECK_1.
7558 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7559 (ustat): Do not use CHECK_1.
7560 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7562 (__fxstat): Do not use CHECK_1.
7563 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7565 (__fxstatat): Do not use CHECK_1.
7566 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7568 (__lxstat): Do not use CHECK_1.
7569 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7571 (__xstat): Do not use CHECK_1.
7572 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7573 (__xstat): Do not use CHECK_1.
7574 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7575 (___xstat64): Do not use CHECK_1.
7578 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7580 (CHECK_BOUNDS_HIGH): Likewise.
7581 * string/strcpy.c: Do not include <bp-checks.h>.
7582 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7584 2013-02-07 Roland McGrath <roland@hack.frob.com>
7586 * nscd/nscd-client.h (__nscd_drop_map_ref):
7587 Add __attribute__ ((unused)).
7588 * nis/nss-nisplus.h (niserr2nss): Likewise.
7590 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7591 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7593 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7594 Remove inline keyword.
7595 * include/rounding-mode.h (round_away): Likewise.
7596 * libio/wfileops.c (adjust_wide_data): Likewise.
7597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7598 (__m128i_strloadu_tolower): Likewise.
7599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7600 (__m128i_strloadu_tolower): Likewise.
7601 * time/mktime.c (ydhms_diff): Likewise.
7602 * locale/elem-hash.h (elem_hash): Likewise.
7603 * locale/setlocale.c (setdata): Likewise.
7604 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7605 (re_string_wchar_at): Likewise.
7606 (bitset_not, bitset_merge, bitset_mask): Likewise.
7607 [!(__GNUC__ > 3)] (inline): Remove macro.
7608 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7609 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7610 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7611 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7612 * string/memcmp.c (memcmp_bytes): Likewise.
7613 * locale/programs/locarchive.c (compute_hashval): Likewise.
7614 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7615 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7616 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7617 * nss/getent.c (print_rpc, print_protocols): Likewise.
7618 (print_passwd, print_group, print_aliases): Likewise.
7619 * nis/nss-nisplus.h (niserr2nss): Likewise.
7620 * nscd/connections.c (restart_p): Likewise.
7621 Change return type to bool.
7623 2013-02-05 Roland McGrath <roland@hack.frob.com>
7625 * Makeconfig (all-Depend-files): Add existing
7626 $(sorted-subdirs:=/Depend) files.
7627 (all-subdirs): Remove nss.
7628 * sysdeps/unix/inet/Subdirs: Add it here instead.
7629 * hesiod/Depend: New file.
7631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7632 instead of calling alloca.
7634 * io/lseek.c (__lseek): Rename to __libc_lseek.
7635 Define __lseek as an alias.
7637 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7639 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7641 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7642 else clause and remove check for non-standard endianness.
7644 2013-02-04 David S. Miller <davem@davemloft.net>
7646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7648 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7651 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7652 (__ubp_memchr): Remove prototype.
7653 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7654 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7655 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7656 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7657 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7659 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7660 (__ubp_memchr): Likewise.
7661 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7662 (__ubp_memchr): Likewise.
7663 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7664 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7665 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7666 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7668 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7669 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7670 (__getcwd): Do not use CHECK_STRING.
7671 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7673 (__real_chown): Do not use CHECK_STRING.
7674 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7676 (fchownat): Do not use CHECK_STRING.
7677 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7679 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7681 (__lchown): Do not use CHECK_STRING.
7682 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7683 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7684 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7685 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7687 include <bp-checks.h>.
7688 (truncate64): Do not use CHECK_STRING.
7689 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7691 (__real_chown): Do not use CHECK_STRING.
7692 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7694 (__lchown): Do not use CHECK_STRING.
7695 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7697 (__chown): Do not use CHECK_STRING.
7698 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7700 (truncate64): Do not use CHECK_STRING.
7701 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7703 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7704 (__xmknod): Do not use CHECK_STRING.
7705 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7707 (__xmknodat): Do not use CHECK_STRING.
7708 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7709 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7711 2013-02-04 Andreas Schwab <schwab@suse.de>
7714 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7715 * include/netdb.h: Likewise for h_errno.
7716 * elf/tst-stackguard1.c: Include <tls.h>.
7718 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7720 * elf/link.h (struct link_map): Extend the l_addr comment.
7721 * include/link.h (struct link_map): Likewise.
7723 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7726 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7727 (BOUNDED_1): Remove macro.
7728 * debug/backtrace.c: Don't include <bp-checks.h>.
7729 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7730 (__backtrace): Likewise.
7731 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7733 (__backtrace): Don't use BOUNDED_1.
7734 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7736 (__backtrace): Don't use BOUNDED_1.
7737 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7738 (__backtrace): Don't use BOUNDED_1.
7739 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7740 (shmat): Don't use BOUNDED_N.
7742 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7745 * sysdeps/generic/bp-start.h: Remove file.
7746 * csu/libc-start.c: Don't include <bp-start.h>.
7747 (LIBC_START_MAIN): Set up __environ directly instead of using
7748 INIT_ARGV_and_ENVIRON.
7749 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7753 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7755 (CHECK_FCNTL): Likewise.
7756 (CHECK_N_PAGES): Likewise.
7759 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7761 (CHECK_SIGSET_NULL_OK): Likewise.
7762 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7764 (sigpending): Don't use CHECK_SIGSET.
7765 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7767 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7768 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7770 (do_sigsuspend): Don't use CHECK_SIGSET.
7771 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7773 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7774 (do_sigwait): Don't use CHECK_SIGSET.
7775 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7777 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7778 include <bp-checks.h>.
7779 (sigpending): Don't use CHECK_SIGSET.
7780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7781 include <bp-checks.h>.
7782 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7783 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7785 (sigpending): Don't use CHECK_SIGSET.
7786 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7788 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7791 * sysdeps/generic/bp-semctl.h: Remove file.
7792 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7793 <bp-checks.h> and <bp-semctl.h>.
7794 (__old_semctl): Don't use CHECK_SEMCTL.
7795 (__new_semctl): Likewise.
7796 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7798 (__old_semctl): Don't use CHECK_SEMCTL.
7799 (__new_semctl): Likewise.
7800 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7801 <bp-checks.h> and <bp-semctl.h>.
7802 (__old_semctl): Don't use CHECK_SEMCTL.
7803 (__new_semctl): Likewise.
7804 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7805 <bp-checks.h> and <bp-semctl.h>.
7806 (semctl): Don't use CHECK_SEMCTL.
7809 * Makerules (elide-bp-thunks): Remove variable.
7810 (elide-routines.oS): Don't use $(elide-bp-thunks).
7811 (elide-routines.os): Likewise.
7812 (elide-routines.o): Likewise.
7813 (elide-routines.op): Likewise.
7814 (elide-routines.og): Likewise.
7815 (objects): Don't use $(bp-thunks).
7816 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7818 (common-generated): Do not add s-proto-bp.d.
7819 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7822 Do not generate makefile rules for bounded-pointer thunks.
7823 * sysdeps/generic/bp-thunks.h: Remove file.
7824 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7825 * sysdeps/unix/s-proto-bp.S: Likewise.
7828 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7829 parts of result separately when argument is not close to line from
7830 -i to i and one part of argument is small.
7831 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7832 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7833 * math/libm-test.inc (cacos_test): Add more tests.
7834 (casin_test): Likewise.
7835 (casinh_test): Likewise.
7836 * sysdeps/i386/fpu/libm-test-ulps: Update.
7837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7839 2013-01-31 David S. Miller <davem@davemloft.net>
7841 * po/de.po: Update from translation team.
7843 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7845 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7847 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7849 * configure.in (_AC_PROG_CC_C89): New definition.
7850 * configure: Regenerate.
7852 * configure.in (AC_PROG_CPP): New definition.
7853 * configure: Regenerate.
7855 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7857 * debug/tst-backtrace.h: New file.
7858 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7859 (ret): Remove variable.
7861 (FAIL): Remove macro.
7862 (NO_INLINE): Likewise.
7863 (fn1): Use match function instead of strstr.
7864 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7865 (ret): Remove variable.
7867 (FAIL): Remove macro.
7868 (NO_INLINE): Likewise.
7869 (fn): Use match function instead of strstr.
7870 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7871 (ret): Remove variable.
7873 (FAIL): Remove macro.
7874 (NO_INLINE): Likewise.
7875 (handle_signal): Use match function instead of strstr.
7876 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7877 (ret): Remove variable.
7879 (FAIL): Remove macro.
7880 (NO_INLINE): Likewise.
7881 (handle_signal): Use match function instead of strstr.
7883 2013-01-23 Roland McGrath <roland@hack.frob.com>
7885 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7887 2013-01-23 David S. Miller <davem@davemloft.net>
7889 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7890 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7891 argument of CAS if possible.
7892 * sysdeps/sparc/sparc64/bits/atomic.h
7893 (__arch_compare_and_exchange_val_32_acq): Likewise.
7894 (__arch_compare_and_exchange_val_64_acq): Likewise.
7896 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7898 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7899 * sysdeps/posix/ulimit.c: ... this.
7901 * sysdeps/unix/bsd/ulimit.c: Remove file.
7903 2013-01-23 Adam Conrad <adconrad@0c3.net>
7905 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7906 (LDFLAGS-tst-array5): Likewise.
7908 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7911 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7912 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7913 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7914 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7916 2013-01-21 David S. Miller <davem@davemloft.net>
7918 * sysdeps/sparc/backtrace.c: New file.
7919 * sysdeps/sparc/sparc32/backtrace.h: New file.
7920 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7921 * sysdeps/sparc/sparc64/backtrace.h: New file.
7922 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7923 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7926 2013-01-21 Andreas Schwab <schwab@suse.de>
7929 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7932 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7938 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7939 Mark Mitchell <mark@codesourcery.com>
7940 Tom de Vries <tom@codesourcery.com>
7941 Paul Pluzhnikov <ppluzhnikov@google.com>
7943 * debug/tst-backtrace2.c: New file.
7944 * debug/tst-backtrace3.c: Likewise.
7945 * debug/tst-backtrace4.c: Likewise.
7946 * debug/tst-backtrace5.c: Likewise.
7947 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7948 (CFLAGS-tst-backtrace3.c): Likewise.
7949 (CFLAGS-tst-backtrace4.c): Likewise.
7950 (CFLAGS-tst-backtrace5.c): Likewise.
7951 (LDFLAGS-tst-backtrace2): Likewise.
7952 (LDFLAGS-tst-backtrace3): Likewise.
7953 (LDFLAGS-tst-backtrace4): Likewise.
7954 (LDFLAGS-tst-backtrace5): Likewise.
7955 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7956 tst-backtrace4 and tst-backtrace5.
7958 2013-01-18 Anton Blanchard <anton@samba.org>
7959 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7961 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7962 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7963 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7964 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7966 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7967 "+r" and remove output regs list as redundant. Add explicit inline
7968 asm to specify register of return val to work around compiler codegen
7969 bug. Remove (int) cast on return value. Add return type parameter to
7970 use in macro so that this macro does not truncate return value for
7972 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7973 pass to INTERNAL_VSYSCALL_NCS.
7974 (INLINE_VSYSCALL): Add 'long int' as return type to
7975 INTERNAL_VSYSCALL_NCS macro invocation.
7976 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7977 INTERNAL_VSYSCALL_NCS macro invocation.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7980 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7983 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7984 Fix application of SIMD FP exception mask.
7986 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7987 mp_no from a power of two.
7988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7989 __mpexp_twomm1. Use __pow_mp.
7991 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7994 2013-01-17 David S. Miller <davem@davemloft.net>
7996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7998 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8001 * include/complex.h: Condition contents on [!_COMPLEX_H].
8002 (__kernel_casinhf): New prototype.
8003 (__kernel_casinh): Likewise.
8004 (__kernel_casinhl): Likewise.
8005 * math/Makefile (libm_calls): Add k_casinh.
8006 * math/k_casinh.c: New file.
8007 * math/k_casinhf.c: Likewise.
8008 * math/k_casinhl.c: Likewise.
8009 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8010 finite nonzero arguments.
8011 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8012 finite nonzero arguments.
8013 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8014 finite nonzero arguments.
8015 * math/s_casinh.c: Do not include <float.h>.
8016 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8017 * math/s_casinhf.c: Do not include <float.h>.
8018 (__casinhf): Move code for finite nonzero arguments to
8020 * math/s_casinhl.c: Do not include <float.h>.
8021 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8023 (__casinhl): Move code for finite nonzero arguments to
8025 * math/libm-test.inc (cacos_test): Add more tests.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8029 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8031 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8032 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8033 [!HAVE_MREMAP]: Remove [defined linux] case.
8034 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8036 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8038 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8040 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8042 * elf/elf.h (R_386_SIZE32): New relocation.
8043 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8045 (elf_machine_rela): Likewise.
8046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8047 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8049 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8052 (FP_FAST_FMA): Do not define.
8053 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8054 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8055 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8056 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8057 !_SOFT_FLOAT]: Likewise.
8058 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8059 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8061 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8062 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8063 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8064 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8065 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8066 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8069 2013-01-16 Andreas Schwab <schwab@suse.de>
8072 * include/stdlib.h (__mktemp): Add declaration.
8073 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8074 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8076 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8078 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8080 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8081 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8082 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8084 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8085 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8089 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8090 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8091 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8093 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8094 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8096 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8098 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8100 2013-01-15 David S. Miller <davem@davemloft.net>
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8103 trunc{,f} to libm-sysdep_routes.
8104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8114 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8115 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8117 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8118 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8119 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8122 nearbyint{,f} to libm-sysdep_routes.
8123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8134 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8136 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8137 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8140 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8141 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8143 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8144 libc_feholdexcept and libc_fesetenv.
8146 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8148 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8150 2013-01-14 David S. Miller <davem@davemloft.net>
8152 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8153 (SPARC_ASM_VIS2_IFUNC): Likewise.
8154 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8156 use of 'siam' instruction.
8157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8190 routines to libm-sysdep_routines.
8191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8194 fdim/fdimf to libm-sysdep_routines.
8195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8203 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8204 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8205 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8206 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8208 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8210 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8213 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8218 local variable MPTWO.
8219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8222 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8224 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8227 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8229 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8231 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8233 * manual/pattern.texi (glob_t): Document gl_flags.
8234 (glob64_t): Likewise.
8236 2013-01-11 David S. Miller <davem@davemloft.net>
8238 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8239 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8240 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8241 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8242 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8243 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8244 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8245 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8246 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8247 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8248 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8249 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8250 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8253 sparc V9 rather than using V8 code.
8254 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8255 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8257 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8259 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8262 2013-01-11 Roland McGrath <roland@hack.frob.com>
8264 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8265 not in the main loop.
8266 * configure: Regenerated.
8268 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8270 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8271 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8273 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8274 [!__GLIBC_HAVE_LONG_LONG] case.
8275 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8276 condition to just #else.
8277 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8278 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8279 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8280 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8282 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8283 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8284 #elif condition to just #else.
8285 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8286 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8287 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8288 #elif condition to just #else.
8290 2013-01-11 Steve Ellcey <sellcey@mips.com>
8292 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8293 (EF_MIPS_ARCH_64): Fix value.
8294 (EF_MIPS_ARCH_32R2): New.
8295 (EF_MIPS_ARCH_64R2): New.
8297 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8299 * Makeconfig (+link-pie-before-libc): New.
8300 (+link-pie-after-libc): Likewise.
8301 (+link-pie-tests): Likewise.
8302 (+link-pie): Rewritten.
8303 (link-before-libc): Remove $(config-LDFLAGS).
8304 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8305 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8306 (config-LDFLAGS): Renamed to ...
8307 (rtld-LDFLAGS): This.
8308 (rtld-tests-LDFLAGS): New macro.
8309 (link-libc-rpath-link): Likewise.
8310 (link-libc-tests-rpath-link): Likewise.
8311 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8312 (link-libc): Prepand $(link-libc-rpath-link).
8313 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8314 (test-program-prefix): New macro.
8315 (test-via-rtld-prefix): Likewise.
8316 (test-program-cmd): Likewise.
8317 (host-test-program-cmd): Likewise.
8318 * Makefile ($(common-objpfx)testrun.sh): Replace
8319 $(run-program-prefix) with $(test-program-prefix).
8320 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8322 ($(common-objpfx)shlib.lds): Likewise.
8323 (build-module-helper): Likewise.
8324 ($(common-objpfx)format.lds): Likewise.
8325 * Rules (binaries-pie-tests): New.
8326 (binaries-pie-notests): Likewise.
8327 (binaries-pie): Rewritten.
8328 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8329 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8330 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8331 (make-test-out): Replace $(host-built-program-cmd) with
8332 $(host-test-program-cmd).
8333 * config.make.in (build-hardcoded-path-in-tests): New variable.
8334 * configure.in (--enable-hardcoded-path-in-tests): New configure
8336 (hardcoded_path_in_tests): New AC_SUBST.
8337 * configure: Regenerated.
8338 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8339 $(built-program-cmd) with $(test-program-cmd).
8340 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8341 (test_program_cmd): This.
8342 * elf/Makefile ($(objpfx)order.out): Run test with
8343 $(test-program-prefix).
8344 ($(objpfx)order2.out): Likewise.
8345 ($(objpfx)tst-initorder.out): Likewise.
8346 ($(objpfx)tst-initorder2.out): Likewise.
8347 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8348 $(test-program-cmd).
8349 ($(objpfx)tst-array1-static.out): Likewise.
8350 ($(objpfx)tst-array2.out): Likewise.
8351 ($(objpfx)tst-array3.out): Likewise.
8352 ($(objpfx)tst-array4.out): Likewise.
8353 ($(objpfx)tst-array5.out): Likewise.
8354 ($(objpfx)tst-array5-static.out): Likewise.
8355 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8356 $(test-program-cmd).
8357 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8358 $(run-program-prefix) with $(test-program-prefix).
8359 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8360 (test_program_prefix): This.
8361 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8362 $(run-program-prefix) with $(test-program-prefix).
8363 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8364 (test_program_prefix): This.
8365 * iconvdata/tst-tables.sh: Likewise.
8366 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8367 $(run-program-prefix) with $(test-program-prefix).
8368 ($(objpfx)tst-translit.out): Likewise.
8369 ($(objpfx)tst-gettext2.out): Likewise.
8370 ($(objpfx)tst-gettext4.out): Likewise.
8371 ($(objpfx)tst-gettext6.out): Likewise.
8372 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8373 (test_program_prefix): This.
8374 * intl/tst-gettext2.sh: Likewise.
8375 * intl/tst-gettext4.sh Likewise.
8376 * intl/tst-gettext6.sh: Likewise.
8377 * intl/tst-translit.sh: Likewise.
8378 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8379 with $(test-program-cmd).
8380 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8381 $(run-program-prefix) with $(test-program-prefix).
8382 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8383 (test_program_prefix): This.
8384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8385 $(run-program-prefix) with $(test-program-prefix).
8386 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8387 (test_program_prefix): This.
8388 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8389 * posix/Makefile ($(objpfx)globtest.out): Replace
8390 $(run-via-rtld-prefix) and $(test-wrapper) with
8391 $(test-program-prefix) and $(test-via-rtld-prefix).
8392 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8393 $(test-program-prefix).
8394 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8395 $(host-test-program-cmd).
8396 (tst-spawn-ARGS): Likewise.
8397 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8398 $(test-program-prefix).
8399 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8400 (test_via_rtld_prefix): This.
8401 (test_wrapper): Renamed to ...
8402 (test_program_prefix): This.
8403 (run_program_prefix): Replaced by test_program_prefix.
8404 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8405 (test_program_prefix): This.
8406 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8407 with $(host-test-program-cmd).
8408 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8409 $(run-program-prefix) with $(test-program-prefix).
8410 ($(objpfx)tst-printf.out): Likewise.
8411 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8412 $(test-program-cmd).
8413 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8414 (test_program_prefix): This.
8415 * stdio-common/tst-unbputc.sh: Likewise.
8416 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8417 $(run-program-prefix) with $(test-program-prefix).
8418 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8419 (test_program_prefix): This.
8420 * string/Makefile ($(objpfx)tst-svc.out): Replace
8421 $(built-program-cmd) with $(test-program-cmd).
8423 2013-01-11 Andreas Jaeger <aj@suse.de>
8426 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8427 value. Sync with Linux 3.7.
8429 2013-01-10 David S. Miller <davem@davemloft.net>
8431 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8432 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8433 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8435 2013-01-10 Roland McGrath <roland@hack.frob.com>
8437 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8439 * configure: Regenerated.
8441 2013-01-10 David S. Miller <davem@davemloft.net>
8443 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8444 sparc V9 rather than using V8 code.
8445 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8446 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8448 2013-01-10 Roland McGrath <roland@hack.frob.com>
8450 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8451 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8452 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8453 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8454 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8455 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8456 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8457 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8458 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8459 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8460 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8461 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8462 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8463 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8464 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8465 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8466 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8467 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8468 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8469 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8470 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8471 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8472 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8473 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8474 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8475 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8476 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8478 2013-01-10 David S. Miller <davem@davemloft.net>
8480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8482 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8484 * posix/Makefile (tests-static): New variable.
8485 (tests): Add $(tests-static).
8486 (tst-exec-static-ARGS): New variable.
8487 (tst-spawn-static-ARGS): Likewise.
8488 * posix/tst-exec-static.c: New file.
8489 * posix/tst-spawn-static.c: Likewise.
8490 * posix/tst-exec.c: Support run directly.
8491 * posix/tst-spawn.c: Likewise.
8493 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8495 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8497 * math/bits/mathcalls.h (llrint): Likewise.
8498 (llround): Likewise.
8499 * stdlib/stdlib.h (struct drand48_data): Likewise.
8500 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8501 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8502 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8504 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8506 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8507 (elf_greg_t): Likewise.
8508 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8509 (__jmp_buf): Likewise.
8510 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8512 (llrint): Likewise, for all definitions.
8513 (llrintl): Likewise.
8515 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8516 Remove [__GNUC__] condition.
8517 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8518 condition to just [__USE_ISOC99].
8519 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8521 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8524 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8525 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8527 (_POSIX_V6_ILP32_OFF32): Likewise.
8528 (_XBS5_ILP32_OFF32): Likewise.
8529 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8530 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8532 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8534 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8537 doubles __mpexp_twomm1. Adjust usage.
8538 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8541 2013-01-10 Andreas Schwab <schwab@suse.de>
8544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8545 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8547 2013-01-09 David S. Miller <davem@davemloft.net>
8550 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8551 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8552 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8553 TCP_FASTOPEN): Define.
8554 (tcp_repair_opt): New structure.
8555 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8557 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8558 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8559 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8560 (tcp_cookie_transactions): New structure.
8562 2013-01-09 Anton Blanchard <anton@samba.org>
8564 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8565 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8569 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8571 * include/features.h (__USE_ANSI): Remove.
8573 2013-01-09 Roland McGrath <roland@hack.frob.com>
8575 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8577 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8579 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8581 * sysdeps/s390/fpu/libm-test-ulps: Update.
8583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8585 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8590 (__mp_dbl): Likewise.
8591 (__dbl_mp): Likewise.
8592 (add_magnitudes): Likewise.
8593 (sub_magnitudes): Likewise.
8599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8604 (__mp_dbl): Likewise.
8605 (__dbl_mp): Likewise.
8606 (add_magnitudes): Likewise.
8607 (sub_magnitudes): Likewise.
8613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8618 (__mp_dbl): Likewise.
8619 (__dbl_mp): Likewise.
8620 (add_magnitudes): Likewise.
8621 (sub_magnitudes): Likewise.
8628 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8630 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8631 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8632 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8633 2 && __USE_EXTERN_INLINES]: Likewise.
8635 2013-01-08 Andreas Jaeger <aj@suse.de>
8638 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8640 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8641 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8643 2013-01-07 Anton Blanchard <anton@samba.org>
8645 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8646 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8647 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8648 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8649 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8650 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8651 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8652 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8654 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8655 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8656 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8659 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8660 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8661 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8663 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8664 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8666 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8668 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8669 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8670 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8671 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8672 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8674 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8675 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8678 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8679 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8680 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8681 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8683 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8685 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8687 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8689 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8691 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8692 (__MALLOC_PMT): Likewise.
8693 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8694 [__GNUC__], only on [_LIBC].
8695 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8696 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8697 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8698 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8699 forward declaration.
8700 (realloc_hook_ini): Likewise.
8701 (memalign_hook_ini): Likewise.
8702 (__libc_memalign): Do not use __MALLOC_PMT in variable
8704 (__libc_valloc): Likewise.
8705 (__libc_pvalloc): Likewise.
8706 (__libc_calloc): Likewise.
8707 (__posix_memalign): Likewise.
8710 * math/s_casinh.c: Include <float.h>.
8711 (__casinh): Do not do computation with squaring and square root
8712 for large arguments.
8713 * math/s_casinhf.c: Include <float.h>.
8714 (__casinhf): Do not do computation with squaring and square root
8715 for large arguments.
8716 * math/s_casinhl.c: Include <float.h>.
8717 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8718 (__casinhl): Do not do computation with squaring and square root
8719 for large arguments.
8720 * math/libm-test.inc (casin_test): Add more tests.
8721 (casinh_test): Likewise.
8722 * sysdeps/i386/fpu/libm-test-ulps: Update.
8723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8725 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8727 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8728 (__x86_64_raw_data_cache_size): Likewise.
8729 (__x86_64_data_cache_size_half): Likewise.
8730 (__x86_64_raw_data_cache_size_half): Likewise.
8731 (__x86_64_shared_cache_size): Likewise.
8732 (__x86_64_raw_shared_cache_size): Likewise.
8733 (__x86_64_shared_cache_size_half): Likewise.
8734 (__x86_64_raw_shared_cache_size_half): Likewise.
8735 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8737 (__x86_data_cache_size): This.
8738 (__x86_64_raw_data_cache_size): Renamed to ...
8739 (__x86_raw_data_cache_size): This.
8740 (__x86_64_data_cache_size_half): Renamed to ...
8741 (__x86_data_cache_size_half): This.
8742 (__x86_64_raw_data_cache_size_half): Renamed to ...
8743 (__x86_raw_data_cache_size_half): This.
8744 (__x86_64_shared_cache_size): Renamed to ...
8745 (__x86_shared_cache_size): This.
8746 (__x86_64_raw_shared_cache_size): Renamed to ...
8747 (__x86_raw_shared_cache_size): This.
8748 (__x86_64_shared_cache_size_half): Renamed to ...
8749 (__x86_shared_cache_size_half): This.
8750 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8751 (__x86_raw_shared_cache_size_half): This.
8752 * sysdeps/x86_64/memcpy.S: Updated.
8753 * sysdeps/x86_64/memset.S: Likewise.
8754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8755 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8758 2013-01-04 David S. Miller <davem@davemloft.net>
8760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8762 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8764 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8765 1 to avoid redefinition warning.
8766 (__USE_GNU): Don't define.
8767 (init_signaling_nan): Protoize.
8769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8771 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8773 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8775 (__cpymn): Likewise.
8776 (norm): Remove commented code.
8778 (__mp_dbl): Likewise.
8780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8781 (__cpymn): Likewise.
8782 (norm): Remove commented code.
8784 (__mp_dbl): Likewise.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8788 mp_no value for 1.0 and 2.0.
8789 (norm): Use RADIXI instead of radixi.d.
8791 (__mul): Use 0.0 instead of zero.d.
8792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8793 mp_no value for 1.0 and 2.0.
8794 (norm): Use RADIXI instead of radixi.d.
8796 (__mul): Use 0.0 instead of zero.d.
8798 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8801 * math/s_casinh.c (__casinh): Reduce finite argument to first
8802 quadrant then set signs of results at the end.
8803 * math/s_casinhf.c (__casinhf): Likewise.
8804 * math/s_casinhl.c (__casinhl): Likewise.
8805 * math/libm-test.inc (casin_test): Add more tests.
8806 (casinh_test): Likewise.
8807 * sysdeps/i386/fpu/libm-test-ulps: Update.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8810 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8812 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8814 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8816 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8819 (__mp_dbl): Likewise.
8822 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8823 and adjust the header comment.
8825 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8826 variable name from declaration.
8828 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8831 Initialize COMMON_CPUID_INDEX_7 element.
8832 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8833 (CPUID_RTM): Likewise.
8834 (HAS_RTM): Likewise.
8835 (COMMON_CPUID_INDEX_7): New enum.
8837 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8840 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8841 size is zero, record memory as freed.
8843 2013-01-03 Andreas Jaeger <aj@suse.de>
8845 * po/ia.po: Add new Interlingua translation.
8847 2012-01-03 Allan McRae <allan@archlinux.org>
8849 * locale/programs/localedef.c: Fix description of '--posix' flag.
8851 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8853 * NEWS: Update dates in second copyright notice.
8854 * README: Update copyright dates in example.
8855 * manual/libc.texinfo: Update copyright dates.
8856 * scripts/test-installation.pl: Update copyright date in --version
8859 * hurd/ctty-input.c: Fix copyright notice formatting.
8860 * hurd/ctty-output.c: Likewise.
8861 * hurd/dtable.c: Likewise.
8862 * hurd/hurd-raise.c: Likewise.
8863 * hurd/hurdprio.c: Likewise.
8864 * hurd/msgportdemux.c: Likewise.
8865 * misc/sys/file.h: Likewise.
8866 * misc/sys/ioctl.h: Likewise.
8867 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8868 * sysdeps/mach/hurd/chdir.c: Likewise.
8869 * sysdeps/mach/hurd/fchdir.c: Likewise.
8870 * sysdeps/mach/hurd/rename.c: Likewise.
8871 * sysdeps/mach/hurd/rmdir.c: Likewise.
8872 * sysdeps/mach/hurd/seekdir.c: Likewise.
8873 * sysdeps/mach/hurd/setsid.c: Likewise.
8874 * sysdeps/posix/wait3.c: Likewise.
8876 * All files with FSF copyright notices: Update copyright dates
8877 using scripts/update-copyrights.
8878 * intl/plural.c: Regenerated.
8879 * locale/programs/charmap-kw.h: Likewise.
8880 * locale/programs/locfile-kw.h: Likewise.
8882 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8888 calculation loop and add branch prediction.
8890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8891 check access beyond bounds of m1np.
8893 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8895 (__inv): Remove local variable MPTWO to use the global
8897 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8900 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8901 MP3HALFS static const.
8903 2013-01-01 David S. Miller <davem@davemloft.net>
8905 * po/ca.po: Update from translation team.
8907 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8909 * scripts/update-copyrights: New file.
8910 * Makeconfig: Reformat copyright notice.
8911 * ctype/ctype.h: Likewise.
8912 * debug/swprintf_chk.c: Likewise.
8913 * elf/dl-cache.c: Likewise.
8914 * elf/dl-debug.c: Likewise.
8915 * elf/dl-object.c: Likewise.
8916 * grp/initgroups.c: Likewise.
8917 * hurd/Makefile: Likewise.
8918 * hurd/hurd/signal.h: Likewise.
8919 * hurd/hurdfault.c: Likewise.
8920 * hurd/hurdioctl.c: Likewise.
8921 * hurd/hurdlookup.c: Likewise.
8922 * hurd/intr-msg.c: Likewise.
8923 * iconv/gconv_open.c: Likewise.
8924 * libio/swprintf.c: Likewise.
8925 * locale/lc-ctype.c: Likewise.
8926 * locale/nl_langinfo.c: Likewise.
8927 * mach/Machrules: Likewise.
8928 * mach/Makefile: Likewise.
8929 * malloc/obstack.h: Likewise.
8930 * manual/Makefile: Likewise.
8931 * manual/tsort.awk: Likewise.
8932 * misc/bits/stab.def: Likewise.
8933 * nis/nis_print_group_entry.c: Likewise.
8934 * nis/nis_table.c: Likewise.
8935 * nis/nss_compat/compat-pwd.c: Likewise.
8936 * nis/nss_compat/compat-spwd.c: Likewise.
8937 * po/Makefile: Likewise.
8938 * posix/fnmatch.c: Likewise.
8939 * posix/regex.h: Likewise.
8940 * resolv/Makefile: Likewise.
8941 * resolv/nss_dns/dns-network.c: Likewise.
8942 * resolv/res_hconf.c: Likewise.
8943 * scripts/gen-sorted.awk: Likewise.
8944 * soft-fp/soft-fp.h: Likewise.
8945 * stdio-common/printf.h: Likewise.
8946 * stdlib/monetary.h: Likewise.
8947 * stdlib/random.c: Likewise.
8948 * stdlib/random_r.c: Likewise.
8949 * sysdeps/generic/Makefile: Likewise.
8950 * sysdeps/gnu/Makefile: Likewise.
8951 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8979 * sysdeps/mach/hurd/errnos.awk: Likewise.
8980 * sysdeps/mach/hurd/fork.c: Likewise.
8981 * sysdeps/mach/hurd/getcwd.c: Likewise.
8982 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8983 * sysdeps/mach/hurd/mmap.c: Likewise.
8984 * sysdeps/mach/hurd/utimes.c: Likewise.
8985 * sysdeps/mach/hurd/xmknod.c: Likewise.
8986 * sysdeps/posix/profil.c: Likewise.
8987 * sysdeps/posix/readdir_r.c: Likewise.
8988 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8989 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8990 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8993 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8994 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8995 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8998 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8999 * sysdeps/pthread/lio_listio.c: Likewise.
9000 * sysdeps/sparc/dl-procinfo.h: Likewise.
9001 * sysdeps/unix/i386/sysdep.S: Likewise.
9002 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9003 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9004 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9005 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9007 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9008 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9009 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9010 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9011 * sysdeps/wordsize-32/divdi3.c: Likewise.
9012 * time/sys/time.h: Likewise.
9013 * wcsmbs/Makefile: Likewise.
9015 2013-01-01 David S. Miller <davem@davemloft.net>
9017 * po/fr.po: Update from translation team.
9019 * catgets/gencat.c: Update copyright year.
9020 * csu/version.c: Likewise.
9021 * debug/catchsegv.sh: Likewise.
9022 * debug/pcprofiledump.c: Likewise.
9023 * debug/xtrace.sh: Likewise.
9024 * elf/ldconfig.c: Likewise.
9025 * elf/ldd.bash.in: Likewise.
9026 * elf/pldd.c: Likewise.
9027 * elf/sotruss.ksh: Likewise.
9028 * elf/sprof.c: Likewise.
9029 * iconv/iconv_prog.c: Likewise.
9030 * iconv/iconvconfig.c: Likewise.
9031 * locale/programs/locale.c: Likewise.
9032 * locale/programs/localedef.c: Likewise.
9033 * login/programs/pt_chown.c: Likewise.
9034 * malloc/memusage.sh: Likewise.
9035 * malloc/memusagestat.c: Likewise.
9036 * malloc/mtrace.pl: Likewise.
9037 * nscd/nscd.c: Likewise.
9038 * nss/getent.c: Likewise.
9039 * nss/makedb.c: Likewise.
9040 * posix/getconf.c: Likewise.
9042 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9044 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9047 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9049 * math/bits/mathcalls.h (modf): Use __nonnull.
9051 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9053 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9054 (split): Use macro CN instead of the bare value.
9055 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9058 instead of the bare value.
9061 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9067 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9069 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9071 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9072 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9074 2012-12-28 Andreas Jaeger <aj@suse.de>
9076 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9077 values are from Linux 3.7.
9079 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9080 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9082 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9084 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9087 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9089 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9090 variables with preprocessor constants.
9091 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9092 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9095 2012-12-27 Bruno Haible <bruno@clisp.org>
9098 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9101 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9104 and use variable directly.
9105 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9107 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9109 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9112 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9114 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9115 include directive. Remove local variable MPONE.
9116 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9117 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9118 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9120 2012-12-25 David S. Miller <davem@davemloft.net>
9122 * version.h (RELEASE): Set to "development".
9123 (VERSION): Set to "2.17.90".
9124 * NEWS: Add 2.18 section.
9126 2012-12-21 David S. Miller <davem@davemloft.net>
9128 * po/hr.po: Update from translation team.
9130 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9132 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9134 2012-12-19 Steve Ellcey <sellcey@mips.com>
9136 * NEWS: Mention new memcpy for MIPS.
9138 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9140 * manual/contrib.texi (Contributors): Spelling correction.
9142 2012-12-15 David S. Miller <davem@davemloft.net>
9144 * po/ru.po: Update from translation team.
9146 2012-12-13 David S. Miller <davem@davemloft.net>
9148 * NEWS: Mention IFUNC testsuite enhancements.
9150 * po/pl.po: Update from translation team.
9151 * po/bg.po: Likewise.
9153 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9154 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9156 2012-12-11 David S. Miller <davem@davemloft.net>
9158 * po/sv.po: Update from translation team.
9160 * po/vi.po: Update from translation team.
9162 * po/cs.po: Update from translation team.
9164 * po/de.po: Update from translation team.
9165 * po/eo.po: Likewise.
9166 * po/nl.po: Likewise.
9168 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9171 * manual/argp.texi (Argp Helper Functions): Move node to follow
9175 * manual/conf.texi (Limits on File System Capacity): Mention if
9176 terminating null is included in the max size.
9178 2012-12-10 Andreas Jaeger <aj@suse.de>
9180 * po/cs.po: Update from translation team.
9182 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9184 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9185 void pointer and cast to uintptr_t.
9186 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9188 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9189 * sysdeps/s390/s390-64/memset.S: Likewise.
9191 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9194 * menual/message.texi (Message Translation): Fix typos.
9195 (Helper programs for gettext): Likewise.
9197 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9200 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9203 2012-12-07 David S. Miller <davem@davemloft.net>
9205 * po/libc.pot: Update.
9207 2012-12-07 Richard Henderson <rth@redhat.com>
9210 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9211 normal/normal case to before the switch.
9212 (_FP_DIV): Likewise.
9214 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9215 Mike Frysinger <vapier@gentoo.org>
9217 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9218 check for __NR_fadvise64_64.
9220 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9222 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9223 0, not just to plain "0" as a statement.
9224 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9227 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9229 * NEWS: Use sourceware.org in Bugzilla URL.
9231 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9234 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9236 * stdio-common/tst-put-error.c (do_test): Add newline to the
9237 padded test to ensure flush.
9239 2012-12-05 Jeff Law <law@redhat.com>
9241 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9243 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9245 * README: Don't refer to ports add-on as distributed separately.
9246 Mention AArch64 in list of systems supported in the ports add-on.
9248 * LICENSES: Add more non-FSF copyright and license notices.
9250 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9253 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9255 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9256 10000 as width of padded output.
9258 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9260 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9263 variable LX with __attribute__ ((unused)).
9264 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9266 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9269 with __attribute__ ((unused)).
9271 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9273 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9275 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9277 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9278 (CFLAGS-nldbl-acos.c): New variable.
9279 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9285 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9286 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9287 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9288 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9289 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9290 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9291 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9292 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9293 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9294 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9295 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9296 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9297 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9298 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9299 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9300 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9301 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9302 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9303 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9304 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9305 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9306 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9307 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9308 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9309 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9310 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9311 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9312 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9313 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9314 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9315 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9316 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9317 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9318 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9319 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9320 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9321 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9322 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9323 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9324 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9325 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9326 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9327 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9328 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9329 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9330 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9331 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9332 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9333 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9334 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9335 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9336 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9337 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9338 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9339 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9340 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9341 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9342 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9343 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9344 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9345 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9346 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9347 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9348 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9349 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9350 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9351 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9352 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9353 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9354 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9355 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9356 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9357 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9358 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9359 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9360 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9361 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9362 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9363 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9364 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9365 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9366 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9367 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9368 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9369 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9370 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9371 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9372 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9373 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9374 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9375 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9378 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9382 whole low double instead of just low 47 bits when splitting values
9385 2012-12-03 Allan McRae <allan@archlinux.org>
9387 * manual/stdio.texi (Predefined Printf Handlers): Remove
9388 @hsep and @vsep usage.
9390 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9392 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9393 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9395 2012-12-03 Jeff Law <law@redhat.com>
9397 * time/sys/time.h (settimeofday): Do not mark TV argument
9400 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9402 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9403 when currently writing and seek to current position when not.
9404 * libio/Makefile (tests): Remove bug-fclose1.
9405 * libio/bug-fclose1.c: Delete.
9407 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9409 * manual/arith.texi (feenableexcept): Fix typo.
9410 (fedisableexcept): Likewise.
9412 2012-11-30 Roland McGrath <roland@hack.frob.com>
9414 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9415 second, differently-typed declaration, rather than a cast.
9417 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9419 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9420 * include/rpc/svc.h: ... here.
9422 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9425 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9426 depending n and resplen2 to catch cases where answer
9429 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9431 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9432 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9434 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9438 2012-11-29 Roland McGrath <roland@hack.frob.com>
9440 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9442 2012-11-28 Jeff Law <law@redhat.com>
9445 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9446 dataset_temporary. Track alloca usage into alloca_used.
9447 If dataset is large allocate and release it via malloc/free.
9449 2012-06-04 Florian Weimer <fweimer@redhat.com>
9452 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9454 2012-11-28 David S. Miller <davem@davemloft.net>
9456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9458 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9461 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9462 of pi/2 rounded to nearest to 64 bits.
9463 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9465 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9468 2012-11-28 Jeff Law <law@redhat.com>
9469 Martin Osvald <mosvald@redhat.com>
9472 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9473 * sunrpc/svc.c: Include time.h.
9474 (__svc_accept_failed): New function.
9475 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9476 any reason other than EINTR, call __svc_accept_failed.
9477 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9478 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9480 2012-11-28 Andreas Schwab <schwab@suse.de>
9482 * scripts/abilist.awk: Also handle indirect functions in .opd
9485 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9488 * sysdeps/x86/fpu/powl_helper.c: New file.
9489 * sysdeps/x86/fpu/Makefile: Likewise.
9490 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9492 (__ieee754_powl): Use __powl_helper for finite arguments except
9493 integer exponents below 8.
9494 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9496 (__ieee754_powl): Use __powl_helper for finite arguments except
9497 integer exponents below 8.
9498 * math/libm-test.inc (pow_test): Add more tests and enable some
9499 previously disabled tests.
9500 * sysdeps/i386/fpu/libm-test-ulps: Update.
9501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9504 Carlos O'Donell <carlos_odonell@mentor.com>
9506 * nss/makedb.c (is_prime): Assert that input is odd and greater
9507 than 4. Note that fact in a comment too.
9508 (next_prime): Add 4 to input.
9510 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9513 * libio/Makefile (tests): Add test case tst-fwrite-error.
9514 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9515 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9516 * libio/tst-fwrite-error.c: New test case.
9518 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9520 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9521 before casting to void *.
9522 * include/libc-internal.h (__pointer_type): New macro.
9523 (__integer_if_pointer_type_sub): Likewise.
9524 (__integer_if_pointer_type): Likewise.
9525 (cast_to_integer): Likewise.
9526 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9527 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9528 before casting to atomic64_t.
9529 (atomic_exchange_acq): Likewise.
9530 (__arch_exchange_and_add_body): Likewise.
9531 (__arch_add_body): Likewise.
9532 (atomic_add_negative): Likewise.
9533 (atomic_add_zero): Likewise.
9535 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9537 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9538 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9539 (add_fdes): Likewise.
9540 (linear_search_fdes): Likewise.
9541 (binary_search_unencoded_fdes): Likewise.
9543 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9545 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9547 2012-11-24 Adam Conrad <adconrad@0c3.net>
9549 * configure.in: Autodetect C++ header directories.
9550 * configure: Regenerated.
9552 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9554 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9556 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9560 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9562 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9563 LDBL_MANT_DIG == 106]: Disable some tests.
9564 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9566 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9571 input for small inputs. Return +/- pi/2 for large inputs.
9572 * math/libm-test.inc (atan_test): Add more tests.
9574 * sysdeps/generic/unwind-dw2-fde-glibc.c
9575 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9576 __attribute__ ((unused)).
9579 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9580 x * y if x and y are nonzero and z is zero.
9583 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9584 nonzero exponents with absolute value below 0x1p-117 to +/-
9588 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9589 up arguments below 2**-450, not just those below 2**-500.
9590 * math/libm-test.inc (hypot_test): Add another test.
9593 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9594 Return a+b for ratio over 2**120, not 2**60.
9595 * math/libm-test.inc (hypot_test): Add another test.
9597 * math/libm-test.inc (clog_test): Use
9598 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9599 (clog10_test): Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9604 2012-11-22 Andreas Schwab <schwab@suse.de>
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9608 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9610 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9611 printf output with newline.
9613 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9616 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9617 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9618 -z nodlopen, -z initfirst and -z execstack support.
9619 * configure: Regenerated.
9621 * elf/elf.h (DF_1_NODIRECT): New macro.
9622 (DF_1_IGNMULDEF): Likewise.
9623 (DF_1_NOKSYMS): Likewise.
9624 (DF_1_NOHDR): Likewise.
9625 (DF_1_EDITED): Likewise.
9626 (DF_1_NORELOC): Likewise.
9627 (DF_1_SYMINTPOSE): Likewise.
9628 (DF_1_GLOBAUDIT): Likewise.
9629 (DF_1_SINGLETON): Likewise.
9630 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9631 DT_1_SUPPORTED_MASK bits.
9632 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9634 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9636 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9638 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9640 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9644 (sendmmsg): Move declarations...
9645 * socket/sys/socket.h: ... here.
9646 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9647 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9649 * socket/recvmmsg.c: ... this new file.
9650 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9651 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9652 definition of __sendmmsg hidden.
9653 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9654 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9655 Move ENOSYS stub into and include it from...
9656 * socket/sendmmsg.c: ... this new file.
9657 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9658 (sysdep_routines): Move recvmmsg and sendmmsg...
9659 * socket/Makefile (routines): ... here.
9660 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9661 (GLIBC_PRIVATE): Add __sendmmsg.
9662 * include/sys/socket.h (__sendmmsg): Add declarations.
9663 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9666 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9669 variable I1 with __attribute__ ((unused)).
9670 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9672 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9674 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9675 DUMMY variables with __attribute__ ((unused)).
9677 * bits/byteswap.h: Include <bits/types.h>.
9678 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9680 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9682 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9683 string_t. Do not manually set errno.
9684 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9685 length with __strnlen. Make sure to both set errno and return it on
9688 2012-11-19 David S. Miller <davem@davemloft.net>
9690 With help from Joseph Myers.
9691 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9692 very large arguments properly.
9693 * math/libm-test.inc (atan_test): New tests.
9694 (atan2_test): New tests.
9695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9698 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9701 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9704 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9705 [POSIX] (EADDRNOTAVAIL): Likewise.
9706 [POSIX] (EAFNOSUPPORT): Likewise.
9707 [POSIX] (EALREADY): Likewise.
9708 [POSIX] (ECONNABORTED): Likewise.
9709 [POSIX] (ECONNREFUSED): Likewise.
9710 [POSIX] (ECONNRESET): Likewise.
9711 [POSIX] (EDESTADDRREQ): Likewise.
9712 [POSIX] (EDQUOT): Likewise.
9713 [POSIX] (EHOSTUNREACH): Likewise.
9714 [POSIX] (EIDRM): Likewise.
9715 [POSIX] (EISCONN): Likewise.
9716 [POSIX] (ELOOP): Likewise.
9717 [POSIX] (EMULTIHOP): Likewise.
9718 [POSIX] (ENETDOWN): Likewise.
9719 [POSIX] (ENETUNREACH): Likewise.
9720 [POSIX] (ENOBUFS): Likewise.
9721 [POSIX] (ENODATA): Likewise.
9722 [POSIX] (ENOLINK): Likewise.
9723 [POSIX] (ENOMSG): Likewise.
9724 [POSIX] (ENOPROTOOPT): Likewise.
9725 [POSIX] (ENOSR): Likewise.
9726 [POSIX] (ENOSTR): Likewise.
9727 [POSIX] (ENOTCONN): Likewise.
9728 [POSIX] (ENOTSOCK): Likewise.
9729 [POSIX] (EOPNOTSUPP): Likewise.
9730 [POSIX] (EOVERFLOW): Likewise.
9731 [POSIX] (EPROTO): Likewise.
9732 [POSIX] (EPROTONOSUPPORT): Likewise.
9733 [POSIX] (EPROTOTYPE): Likewise.
9734 [POSIX] (ESTALE): Likewise.
9735 [POSIX] (ETIME): Likewise.
9736 [POSIX] (ETXTBSY): Likewise.
9737 [POSIX] (EWOULDBLOCK): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9739 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9740 [POSIX] (SEEK_CUR): Likewise.
9741 [POSIX] (SEEK_END): Likewise.
9742 [POSIX || UNIX98] (mode_t): Do not require.
9743 [POSIX] (off_t): Likewise.
9744 [POSIX] (pid_t): Likewise.
9745 [POSIX] (sys/stat.h): Do not allow header.
9746 [POSIX] (unistd.h): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9748 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9750 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9752 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9753 sigevent): Specify elements.
9754 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9756 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9757 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9759 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9760 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9761 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9762 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9763 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9764 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9765 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9766 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9767 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9768 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9769 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9770 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9771 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9772 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9774 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9776 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9778 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9780 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9781 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9782 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9783 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9784 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9785 Specify lower bound on value.
9786 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9787 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9788 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9789 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9790 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9791 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9792 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9793 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9795 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9797 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9798 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9799 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9800 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9801 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9802 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9803 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9804 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9805 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9806 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9807 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9808 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9809 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9810 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9811 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9812 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9814 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9816 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9817 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9818 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9819 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9820 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9821 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9823 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9824 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9825 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9826 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9827 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9828 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9829 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9831 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9832 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9833 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9834 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9835 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9836 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9837 specify as optional.
9838 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9839 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9840 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9841 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9842 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9843 [XPG3] (NL_LANGMAX): Likewise.
9844 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9845 [POSIX || XPG3] (NL_NMAX): Likewise.
9846 [POSIX || XPG3] (NL_SETMAX): Likewise.
9847 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9848 [XPG3] (NZERO): Likewise.
9849 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9850 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9851 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9852 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9853 (REG_ERANGE): Expect.
9854 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9856 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9857 Use (void) in prototype.
9858 [POSIX] (*_t): Allow.
9859 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9860 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9861 (WRDE_BADVAL): Expect.
9863 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9865 [XPG3 || XPG4] (O_RSYNC): Likewise.
9866 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9868 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9869 [XPG3 || XPG4] (sigqueue): Likewise.
9870 [XPG3 || XPG4] (sigtimedwait): Likewise.
9871 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9872 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9873 [XPG3 || XPG4] (vsnprintf): Likewise.
9874 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9876 [XPG3 || XPG4] (blksize_t): Likewise.
9877 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9879 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9880 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9881 [XPG3 || XPG4] (struct itimerspec): Likewise.
9882 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9883 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9884 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9885 [XPG3 || XPG4] (clockid_t): Likewise.
9886 [XPG3 || XPG4] (timer_t): Likewise.
9887 [XPG3 || XPG4] (clock_getres): Likewise.
9888 [XPG3 || XPG4] (clock_gettime): Likewise.
9889 [XPG3 || XPG4] (clock_settime): Likewise.
9890 [XPG3 || XPG4] (nanosleep): Likewise.
9891 [XPG3 || XPG4] (timer_create): Likewise.
9892 [XPG3 || XPG4] (timer_delete): Likewise.
9893 [XPG3 || XPG4] (timer_gettime): Likewise.
9894 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9895 [XPG3 || XPG4] (timer_settime): Likewise.
9896 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9897 [XPG3 || XPG4] (getlogin_r): Likewise.
9898 [XPG3 || XPG4] (pread): Likewise.
9899 [XPG3 || XPG4] (pthread_atfork): Likewise.
9900 [XPG3 || XPG4] (pwrite): Likewise.
9903 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9906 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9908 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9909 finalizing MALLSTREAM.
9911 * sysdeps/mach/hurd/syncfs.c: New file.
9913 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9916 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9917 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9918 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9919 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9920 (_nss_dns_gethostbyname4_r): Likewise.
9921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9922 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9924 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9927 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9929 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9931 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9932 * elf/cache.c (print_entry): Print ",AArch64" for
9935 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9936 * elf/cache.c (print_entry): Print ",hard-float" for
9939 2012-11-18 David S. Miller <davem@davemloft.net>
9941 With help from Joseph Myers.
9942 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9944 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9946 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9947 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9949 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9950 * math/libm-test.inc (y0_test): New tests.
9951 (y1_test): New tests.
9952 * sysdeps/i386/fpu/libm-test-ulps: Update.
9953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9956 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9958 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9960 * configure: Regenerated.
9962 2012-11-17 David S. Miller <davem@davemloft.net>
9965 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9966 nonzero exponents with absolute value below 0x1p-128 to +/-
9969 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9973 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9975 * posix/getconf-speclist.c: New file.
9976 * posix/posix-envs.def: Likewise.
9977 * posix/confstr.c (START_ENV_GROUP): New macro.
9978 (END_ENV_GROUP): Likewise.
9979 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9980 (KNOWN_PRESENT_ENV_STRING): Likewise.
9981 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9982 (UNKNOWN_ENVIRONMENT): Likewise.
9983 (confstr): Include posix-envs.def instead of handling
9984 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9985 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9986 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9987 (END_ENV_GROUP): Likewise.
9988 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9989 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9990 (UNKNOWN_ENVIRONMENT): Likewise.
9991 (__sysconf): Include posix-envs.def instead of handling associated
9992 cases directly here.
9993 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9994 preprocessing getconf-speclist.c rather than running getconf or
9995 generating empty file.
9997 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9999 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10001 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10004 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10006 2012-11-16 David S. Miller <davem@davemloft.net>
10008 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10009 smaller than LDBL_EPSILON/2.0L, just return xm1.
10011 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10013 * elf/tst-array1.c (init): Set constructor priority to 1000.
10014 (fini): Set destructor priority to 1000.
10015 * elf/tst-array2dep.c: Likewise.
10017 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10020 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10021 (_IO_new_file_xsputn): Also return EOF if none of the input
10022 data was written when overflow failed.
10023 * libio/iopadn.c (_IO_padn): Likewise.
10024 * libio/iowpadn.c (_IO_wpadn): Likewise.
10025 * stdio-common/tst-put-error.c: Add copyright notice.
10026 (do_test): Add case for printing padded string.
10027 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10028 _IO_padn returned error.
10029 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10030 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10033 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10035 * libio/libioP.h: Add comment note that the references to C++
10036 bits are now obsolete.
10038 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10040 * math/libm-test.inc (check_complex): Use asprintf.
10042 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10044 * debug/pcprofiledump.c (print_version): Update copyright year.
10045 * malloc/memusagestat.c (print_version): Likewise.
10047 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10050 * elf/Makefile (tests): Add tst-audit8.
10051 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10052 ($(objpfx)tst-audit8.out): New target.
10053 (tst-audit8-ENV): New variable.
10054 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10055 audit if l_reloc_result is NULL.
10056 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10057 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10058 * elf/tst-audit8.c: New file.
10060 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10062 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10063 * misc/Makefile (CFLAGS-select.c): Define.
10064 * posix/Makefile (CFLAGS-pause.c): Define.
10066 2012-11-13 David S. Miller <davem@davemloft.net>
10068 * crypt/Makefile: Move test targets after toplevel Rules
10069 inclusion. Grab any necessary sysdep routines when linking.
10070 * crypt/md5.c (md5_process_block): Remove define, we will always
10071 name it __md5_process_block.
10072 (md5_finish_ctx): Update md5_process_block call.
10073 (md5_stream): Likewise.
10074 (md5_process_bytes): Likewise.
10075 (md5_process_block): Rename to __md5_process_block and move to ...
10076 * crypt/md5-block.c: ... here.
10077 * crypt/sha256.c (sha256_process_block): Move to ...
10078 * crypt/sha256-block.c: ... here.
10079 * crypt/sha512.c (sha512_process_block): Move to ...
10080 * crypt/sha512-block.c: ... here.
10081 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10083 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10084 * sysdeps/sparc/sparc64/multiarch/Makefile
10085 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10087 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10088 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10090 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10091 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10092 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10093 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10094 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10095 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10096 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10097 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10098 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10100 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10101 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10103 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10105 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10107 * timezone/tzselect.ksh: Update from tzcode git revision
10108 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10109 * timezone/zdump.c: Likewise.
10110 * timezone/zic.c: Likewise.
10111 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10112 in TZVERSION setting, not $(PKGVERSION).
10113 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10114 REPORT_BUGS_TO settings.
10117 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10120 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10122 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10123 detection to immediately after _FP_ROUND().
10124 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10127 2012-11-11 David S. Miller <davem@davemloft.net>
10129 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10131 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10132 __close rather than their public counterparts.
10134 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10136 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10138 [UNIX98] (sem_timedwait): Do not expect.
10139 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10140 [XPG4 || UNIX98] (sockatmark): Do not expect.
10141 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10142 (clock_getcpuclockid): Do not expect.
10143 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10144 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10146 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10147 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10148 [UNIX98] (vwscanf): Likewise.
10149 [UNIX98] (vswscanf): Likewise.
10151 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10153 * timezone/version.h: Remove file.
10154 * timezone/README: Do not refer to version.h.
10155 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10156 $(objpfx)version.h.
10157 ($(objpfx)zdump.o): Likewise.
10158 ($(objpfx)version.h): New target.
10160 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10162 * timezone/README: Don't mention modification to tzselect.ksh.
10163 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10164 work on unmodified tzselect.ksh. Substitute version numbers in
10167 * Makefile (format-me): Remove.
10168 (INSTALL): Adjust indentation. Use commands directly instead of
10169 using $(format-me).
10171 * aclocal.m4 (ACX_PKGVERSION): New macro.
10172 (ACX_BUGURL): Likewise.
10173 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10174 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10175 (REPORT_BUGS_TO): Likewise.
10176 * configure: Regenerated.
10177 * config.h.in (PKGVERSION): New macro.
10178 (REPORT_BUGS_TO): Likewise.
10179 * config.make.in (PKGVERSION): New variable.
10180 (PKGVERSION_TEXI): Likewise.
10181 (REPORT_BUGS_TO): Likewise.
10182 (REPORT_BUGS_TEXI): Likewise.
10183 * Makefile (format-me): Use -I$(common-objpfx)manual.
10184 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10185 ($(common-objpfx)manual/%): New target.
10186 (manual/%): Remove target.
10187 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10188 (print_version): Use PKGVERSION.
10189 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10190 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10191 and REPORT_BUGS_TO.
10192 ($(objpfx)xtrace): Likewise.
10193 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10194 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10195 (print_version): Use PKGVERSION.
10196 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10197 (do_version): Use PKGVERSION.
10198 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10200 (common-ldd-rewrite): Likewise.
10201 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10202 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10203 (print_version): Use PKGVERSION.
10204 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10205 * elf/pldd.c (argp_program_bug_address): Remove variable.
10206 (more_help): New function.
10207 (argp): Use more_help.
10208 (print_version): Use PKGVERSION.
10209 * elf/sln.c (main): Use PKGVERSION.
10210 (usage): Use REPORT_BUGS_TO.
10211 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10212 (top level): Use PKGVERSION.
10213 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10214 (print_version): Use PKGVERSION.
10215 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10216 (print_version): Use PKGVERSION.
10217 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10218 (print_version): Use PKGVERSION.
10219 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10220 (print_version): Use PKGVERSION.
10221 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10222 (print_version): Use PKGVERSION.
10223 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10224 (print_version): Use PKGVERSION.
10225 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10227 ($(objpfx)memusage): Likewise.
10228 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10229 (do_version): Use PKGVERSION.
10230 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10231 (print_version): Use PKGVERSION.
10232 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10233 ($PKGVERSION): New variable.
10234 ($REPORT_BUGS_TO): Likewise.
10235 (usage): Use $REPORT_BUGS_TO.
10236 (top level): Use $PKGVERSION.
10237 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10238 ($(objpfx)pkgvers.texi): New rule.
10239 ($(objpfx)stamp-pkgvers): Likewise.
10240 * manual/install.texi: Include pkgvers.texi.
10241 (--with-pkgversion): Document new configure option.
10242 (--with-bugurl): Likewise.
10243 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10244 than necessarily for this particular distribution. Use
10245 REPORT_BUGS_TO for where to report bugs.
10246 * INSTALL: Regenerated.
10247 * manual/libc.texinfo: Include pkgvers.texi.
10248 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10249 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10250 (print_version): Use PKGVERSION.
10251 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10252 (print_version): Use PKGVERSION.
10253 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10254 (print_version): Use PKGVERSION.
10255 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10256 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10258 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10259 (print_version): Use PKGVERSION.
10260 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10261 (print_version): Use PKGVERSION.
10262 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10265 * timezone/checktab.awk: Update from tzcode 2012i.
10266 * timezone/ialloc.c: Likewise.
10267 * timezone/private.h: Likewise.
10268 * timezone/scheck.c: Likewise.
10269 * timezone/tzfile.h: Likewise.
10270 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10271 (TZVERSION): Hardcode tzcode version number.
10272 * timezone/zdump.c: Update from tzcode 2012i.
10273 * timezone/zic.c: Likewise.
10274 * timezone/version.h: New file.
10275 * timezone/README: Describe version.h. Update upstream location.
10278 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10279 (mktemp): Enable declaration.
10280 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10282 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10283 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10297 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10298 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10299 for copies of such integer values.
10300 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10301 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10303 2012-11-09 Andreas Jaeger <aj@suse.de>
10305 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10306 definitions and declarations that are provided by
10307 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10309 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10311 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10312 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10313 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10316 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10318 * elf/elf.h: Update comment before AArch64 relocations.
10320 2012-11-07 David S. Miller <davem@davemloft.net>
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10323 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10324 (__start_context): Declare.
10325 (__makecontext_ret): Delete.
10326 (__makecontext): Hook up __start_context instead of
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10329 (sysdep_routines): Add __start_context when in stdlib.
10331 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10334 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10335 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10337 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10338 (READELF): New variable. Use it instead of hardcoded "readelf".
10340 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10342 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10343 * sysdeps/x86/Makefile: Here.
10344 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10345 * sysdeps/x86/tst-xmmymm.sh: This.
10347 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10349 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10351 [UNIX98] (pthread_barrier_t): Do not expect.
10352 [UNIX98] (pthread_barrierattr_t): Likewise.
10353 [UNIX98] (pthread_spinlock_t): Likewise.
10354 [UNIX98] (pthread_barrier_destroy): Likewise.
10355 [UNIX98] (pthread_barrier_init): Likewise.
10356 [UNIX98] (pthread_barrier_wait): Likewise.
10357 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10358 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10359 [UNIX98] (pthread_barrierattr_init): Likewise.
10360 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10361 [UNIX98] (pthread_getcpuclockid): Likewise.
10362 [UNIX98] (pthread_mutex_timedlock): Likewise.
10363 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10364 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10365 [UNIX98] (pthread_sigmask): Likewise.
10366 [UNIX98] (pthread_spin_destroy): Likewise.
10367 [UNIX98] (pthread_spin_init): Likewise.
10368 [UNIX98] (pthread_spin_lock): Likewise.
10369 [UNIX98] (pthread_spin_trylock): Likewise.
10370 [UNIX98] (pthread_spin_unlock): Likewise.
10371 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10373 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10375 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10376 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10377 [XPG3 || XPG4] (pthread_key_t): Likewise.
10378 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10379 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10380 [XPG3 || XPG4] (pthread_once_t): Likewise.
10381 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10382 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10384 [XPG3 || XPG4] (pthread_t): Likewise.
10386 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10388 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10390 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10391 Change function return type to int.
10393 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10394 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10395 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10396 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10397 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10398 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10399 [!POSIX] (posix_madvise): Likewise.
10400 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10402 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10403 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10404 (mode_t): Likewise.
10405 (posix_mem_offset): Likewise.
10406 (posix_typed_mem_get_info): Likewise.
10407 (posix_typed_mem_open): Likewise.
10409 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10410 Change condition to [XOPEN2K8].
10412 * conform/conformtest.pl: Preprocess allow-header data with -x c
10413 instead of from stdin.
10414 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10415 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10416 [C99-based standards] (cerfc): Likewise.
10417 [C99-based standards] (cexp2): Likewise.
10418 [C99-based standards] (cexpm1): Likewise.
10419 [C99-based standards] (clog10): Likewise.
10420 [C99-based standards] (clog1p): Likewise.
10421 [C99-based standards] (clog2): Likewise.
10422 [C99-based standards] (clgamma): Likewise.
10423 [C99-based standards] (ctgamma): Likewise.
10424 [C99-based standards] (cerff): Likewise.
10425 [C99-based standards] (cerfcf): Likewise.
10426 [C99-based standards] (cexp2f): Likewise.
10427 [C99-based standards] (cexpm1f): Likewise.
10428 [C99-based standards] (clog10f): Likewise.
10429 [C99-based standards] (clog1pf): Likewise.
10430 [C99-based standards] (clog2f): Likewise.
10431 [C99-based standards] (clgammaf): Likewise.
10432 [C99-based standards] (ctgammaf): Likewise.
10433 [C99-based standards] (cerfl): Likewise.
10434 [C99-based standards] (cerfcl): Likewise.
10435 [C99-based standards] (cexp2l): Likewise.
10436 [C99-based standards] (cexpm1l): Likewise.
10437 [C99-based standards] (clog10l): Likewise.
10438 [C99-based standards] (clog1pl): Likewise.
10439 [C99-based standards] (clog2l): Likewise.
10440 [C99-based standards] (clgammal): Likewise.
10441 [C99-based standards] (ctgammal): Likewise.
10442 * conform/data/inttypes.h-data [C99-based standards]: Include
10443 stdint.h-data. Remove all expectations for stdint.h contents.
10444 [C99-based standards] (PRI*): Do not allow.
10445 [C99-based standards] (SCN*): Likewise.
10446 [C99-based standards] (*_t): Likewise.
10447 [C99-based-standards] (PRId8): Expect macro.
10448 [C99-based-standards] (PRIi8): Likewise.
10449 [C99-based-standards] (PRIo8): Likewise.
10450 [C99-based-standards] (PRIu8): Likewise.
10451 [C99-based-standards] (PRIx8): Likewise.
10452 [C99-based-standards] (PRIX8): Likewise.
10453 [C99-based-standards] (SCNd8): Likewise.
10454 [C99-based-standards] (SCNi8): Likewise.
10455 [C99-based-standards] (SCNo8): Likewise.
10456 [C99-based-standards] (SCNu8): Likewise.
10457 [C99-based-standards] (SCNx8): Likewise.
10458 [C99-based-standards] (PRIdLEAST8): Likewise.
10459 [C99-based-standards] (PRIiLEAST8): Likewise.
10460 [C99-based-standards] (PRIoLEAST8): Likewise.
10461 [C99-based-standards] (PRIuLEAST8): Likewise.
10462 [C99-based-standards] (PRIxLEAST8): Likewise.
10463 [C99-based-standards] (PRIXLEAST8): Likewise.
10464 [C99-based-standards] (SCNdLEAST8): Likewise.
10465 [C99-based-standards] (SCNiLEAST8): Likewise.
10466 [C99-based-standards] (SCNoLEAST8): Likewise.
10467 [C99-based-standards] (SCNuLEAST8): Likewise.
10468 [C99-based-standards] (SCNxLEAST8): Likewise.
10469 [C99-based-standards] (PRIdFAST8): Likewise.
10470 [C99-based-standards] (PRIiFAST8): Likewise.
10471 [C99-based-standards] (PRIoFAST8): Likewise.
10472 [C99-based-standards] (PRIuFAST8): Likewise.
10473 [C99-based-standards] (PRIxFAST8): Likewise.
10474 [C99-based-standards] (PRIXFAST8): Likewise.
10475 [C99-based-standards] (SCNdFAST8): Likewise.
10476 [C99-based-standards] (SCNiFAST8): Likewise.
10477 [C99-based-standards] (SCNoFAST8): Likewise.
10478 [C99-based-standards] (SCNuFAST8): Likewise.
10479 [C99-based-standards] (SCNxFAST8): Likewise.
10480 [C99-based-standards] (PRId16): Likewise.
10481 [C99-based-standards] (PRIi16): Likewise.
10482 [C99-based-standards] (PRIo16): Likewise.
10483 [C99-based-standards] (PRIu16): Likewise.
10484 [C99-based-standards] (PRIx16): Likewise.
10485 [C99-based-standards] (PRIX16): Likewise.
10486 [C99-based-standards] (SCNd16): Likewise.
10487 [C99-based-standards] (SCNi16): Likewise.
10488 [C99-based-standards] (SCNo16): Likewise.
10489 [C99-based-standards] (SCNu16): Likewise.
10490 [C99-based-standards] (SCNx16): Likewise.
10491 [C99-based-standards] (PRIdLEAST16): Likewise.
10492 [C99-based-standards] (PRIiLEAST16): Likewise.
10493 [C99-based-standards] (PRIoLEAST16): Likewise.
10494 [C99-based-standards] (PRIuLEAST16): Likewise.
10495 [C99-based-standards] (PRIxLEAST16): Likewise.
10496 [C99-based-standards] (PRIXLEAST16): Likewise.
10497 [C99-based-standards] (SCNdLEAST16): Likewise.
10498 [C99-based-standards] (SCNiLEAST16): Likewise.
10499 [C99-based-standards] (SCNoLEAST16): Likewise.
10500 [C99-based-standards] (SCNuLEAST16): Likewise.
10501 [C99-based-standards] (SCNxLEAST16): Likewise.
10502 [C99-based-standards] (PRIdFAST16): Likewise.
10503 [C99-based-standards] (PRIiFAST16): Likewise.
10504 [C99-based-standards] (PRIoFAST16): Likewise.
10505 [C99-based-standards] (PRIuFAST16): Likewise.
10506 [C99-based-standards] (PRIxFAST16): Likewise.
10507 [C99-based-standards] (PRIXFAST16): Likewise.
10508 [C99-based-standards] (SCNdFAST16): Likewise.
10509 [C99-based-standards] (SCNiFAST16): Likewise.
10510 [C99-based-standards] (SCNoFAST16): Likewise.
10511 [C99-based-standards] (SCNuFAST16): Likewise.
10512 [C99-based-standards] (SCNxFAST16): Likewise.
10513 [C99-based-standards] (PRId32): Likewise.
10514 [C99-based-standards] (PRIi32): Likewise.
10515 [C99-based-standards] (PRIo32): Likewise.
10516 [C99-based-standards] (PRIu32): Likewise.
10517 [C99-based-standards] (PRIx32): Likewise.
10518 [C99-based-standards] (PRIX32): Likewise.
10519 [C99-based-standards] (SCNd32): Likewise.
10520 [C99-based-standards] (SCNi32): Likewise.
10521 [C99-based-standards] (SCNo32): Likewise.
10522 [C99-based-standards] (SCNu32): Likewise.
10523 [C99-based-standards] (SCNx32): Likewise.
10524 [C99-based-standards] (PRIdLEAST32): Likewise.
10525 [C99-based-standards] (PRIiLEAST32): Likewise.
10526 [C99-based-standards] (PRIoLEAST32): Likewise.
10527 [C99-based-standards] (PRIuLEAST32): Likewise.
10528 [C99-based-standards] (PRIxLEAST32): Likewise.
10529 [C99-based-standards] (PRIXLEAST32): Likewise.
10530 [C99-based-standards] (SCNdLEAST32): Likewise.
10531 [C99-based-standards] (SCNiLEAST32): Likewise.
10532 [C99-based-standards] (SCNoLEAST32): Likewise.
10533 [C99-based-standards] (SCNuLEAST32): Likewise.
10534 [C99-based-standards] (SCNxLEAST32): Likewise.
10535 [C99-based-standards] (PRIdFAST32): Likewise.
10536 [C99-based-standards] (PRIiFAST32): Likewise.
10537 [C99-based-standards] (PRIoFAST32): Likewise.
10538 [C99-based-standards] (PRIuFAST32): Likewise.
10539 [C99-based-standards] (PRIxFAST32): Likewise.
10540 [C99-based-standards] (PRIXFAST32): Likewise.
10541 [C99-based-standards] (SCNdFAST32): Likewise.
10542 [C99-based-standards] (SCNiFAST32): Likewise.
10543 [C99-based-standards] (SCNoFAST32): Likewise.
10544 [C99-based-standards] (SCNuFAST32): Likewise.
10545 [C99-based-standards] (SCNxFAST32): Likewise.
10546 [C99-based-standards] (PRId64): Likewise.
10547 [C99-based-standards] (PRIi64): Likewise.
10548 [C99-based-standards] (PRIo64): Likewise.
10549 [C99-based-standards] (PRIu64): Likewise.
10550 [C99-based-standards] (PRIx64): Likewise.
10551 [C99-based-standards] (PRIX64): Likewise.
10552 [C99-based-standards] (SCNd64): Likewise.
10553 [C99-based-standards] (SCNi64): Likewise.
10554 [C99-based-standards] (SCNo64): Likewise.
10555 [C99-based-standards] (SCNu64): Likewise.
10556 [C99-based-standards] (SCNx64): Likewise.
10557 [C99-based-standards] (PRIdLEAST64): Likewise.
10558 [C99-based-standards] (PRIiLEAST64): Likewise.
10559 [C99-based-standards] (PRIoLEAST64): Likewise.
10560 [C99-based-standards] (PRIuLEAST64): Likewise.
10561 [C99-based-standards] (PRIxLEAST64): Likewise.
10562 [C99-based-standards] (PRIXLEAST64): Likewise.
10563 [C99-based-standards] (SCNdLEAST64): Likewise.
10564 [C99-based-standards] (SCNiLEAST64): Likewise.
10565 [C99-based-standards] (SCNoLEAST64): Likewise.
10566 [C99-based-standards] (SCNuLEAST64): Likewise.
10567 [C99-based-standards] (SCNxLEAST64): Likewise.
10568 [C99-based-standards] (PRIdFAST64): Likewise.
10569 [C99-based-standards] (PRIiFAST64): Likewise.
10570 [C99-based-standards] (PRIoFAST64): Likewise.
10571 [C99-based-standards] (PRIuFAST64): Likewise.
10572 [C99-based-standards] (PRIxFAST64): Likewise.
10573 [C99-based-standards] (PRIXFAST64): Likewise.
10574 [C99-based-standards] (SCNdFAST64): Likewise.
10575 [C99-based-standards] (SCNiFAST64): Likewise.
10576 [C99-based-standards] (SCNoFAST64): Likewise.
10577 [C99-based-standards] (SCNuFAST64): Likewise.
10578 [C99-based-standards] (SCNxFAST64): Likewise.
10579 [C99-based-standards] (PRIdMAX): Likewise.
10580 [C99-based-standards] (PRIiMAX): Likewise.
10581 [C99-based-standards] (PRIoMAX): Likewise.
10582 [C99-based-standards] (PRIuMAX): Likewise.
10583 [C99-based-standards] (PRIxMAX): Likewise.
10584 [C99-based-standards] (PRIXMAX): Likewise.
10585 [C99-based-standards] (SCNdMAX): Likewise.
10586 [C99-based-standards] (SCNiMAX): Likewise.
10587 [C99-based-standards] (SCNoMAX): Likewise.
10588 [C99-based-standards] (SCNuMAX): Likewise.
10589 [C99-based-standards] (SCNxMAX): Likewise.
10590 [C99-based-standards] (PRIdPTR): Likewise.
10591 [C99-based-standards] (PRIiPTR): Likewise.
10592 [C99-based-standards] (PRIoPTR): Likewise.
10593 [C99-based-standards] (PRIuPTR): Likewise.
10594 [C99-based-standards] (PRIxPTR): Likewise.
10595 [C99-based-standards] (PRIXPTR): Likewise.
10596 [C99-based-standards] (SCNdPTR): Likewise.
10597 [C99-based-standards] (SCNiPTR): Likewise.
10598 [C99-based-standards] (SCNoPTR): Likewise.
10599 [C99-based-standards] (SCNuPTR): Likewise.
10600 [C99-based-standards] (SCNxPTR): Likewise.
10601 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10603 * conform/data/stdint.h-data: Update comments to clarify
10605 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10607 [C99-based standards] (INT8_MAX): Likewise.
10608 [C99-based standards] (INT16_MIN): Likewise.
10609 [C99-based standards] (INT16_MAX): Likewise.
10610 [C99-based standards] (INT32_MIN): Likewise.
10611 [C99-based standards] (INT32_MAX): Likewise.
10612 [C99-based standards] (INT64_MIN): Likewise.
10613 [C99-based standards] (INT64_MAX): Likewise.
10614 [C99-based standards] (UINT8_MAX): Likewise.
10615 [C99-based standards] (UINT16_MAX): Likewise.
10616 [C99-based standards] (UINT32_MAX): Likewise.
10617 [C99-based standards] (UINT64_MAX): Likewise.
10618 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10619 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10620 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10621 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10622 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10623 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10624 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10625 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10626 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10627 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10628 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10629 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10630 [C99-based standards] (INT_FAST8_MIN): Likewise.
10631 [C99-based standards] (INT_FAST8_MAX): Likewise.
10632 [C99-based standards] (INT_FAST16_MIN): Likewise.
10633 [C99-based standards] (INT_FAST16_MAX): Likewise.
10634 [C99-based standards] (INT_FAST32_MIN): Likewise.
10635 [C99-based standards] (INT_FAST32_MAX): Likewise.
10636 [C99-based standards] (INT_FAST64_MIN): Likewise.
10637 [C99-based standards] (INT_FAST64_MAX): Likewise.
10638 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10639 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10640 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10641 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10642 [C99-based standards] (INTPTR_MIN): Likewise.
10643 [C99-based standards] (INTPTR_MAX): Likewise.
10644 [C99-based standards] (UINTPTR_MAX): Likewise.
10645 [C99-based standards] (INTMAX_MIN): Likewise.
10646 [C99-based standards] (INTMAX_MAX): Likewise.
10647 [C99-based standards] (UINTMAX_MAX): Likewise.
10648 [C99-based standards] (PTRDIFF_MIN): Likewise.
10649 [C99-based standards] (PTRDIFF_MAX): Likewise.
10650 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10651 [C99-based standards] (SIZE_MAX): Likewise.
10652 [C99-based standards] (WCHAR_MAX): Likewise.
10653 [C99-based standards] (WINT_MAX): Likewise.
10654 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10655 constraint on value.
10656 [C99-based standards] (WCHAR_MIN): Likewise.
10657 [C99-based standards] (WINT_MIN): Likewise.
10658 [C99-based standards] (*_t): Allow.
10659 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10660 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10661 Include math.h-data and complex.h-data. Remove all expectations
10662 of math.h and complex.h contents.
10663 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10665 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10666 (struct tm): Expect tag.
10667 [C99-based-standards] (wcstof): Expect function.
10668 [C99-based-standards] (wcstold): Likewise.
10669 [C99-based-standards] (wcstoll): Likewise.
10670 [C99-based-standards] (wcstoull): Likewise.
10671 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10672 macro-int-constant. Specify type.
10673 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10674 constraint on value.
10675 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10677 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10679 [ISO C standards]: Do not allow headers.
10680 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10681 wcs[abcdefghijklmnopqrstuvwxyz]*.
10682 [ISO C standards] (*_t): Do not allow.
10683 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10685 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10686 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10688 [ISO C standards]: Do not allow headers.
10689 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10690 is[abcdefghijklmnopqrstuvwxyz]*.
10691 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10692 to[abcdefghijklmnopqrstuvwxyz]*.
10693 [ISO C standards] (*_t): Do not allow.
10694 * conform/data/stdalign.h-data: New file.
10695 * conform/data/stdbool.h-data: Likewise.
10696 * conform/data/stdnoreturn.h-data: Likewise.
10698 2012-11-07 Roland McGrath <roland@hack.frob.com>
10701 * manual/filesys.texi (Directory Entries): Typo fix.
10702 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10704 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10706 * elf/elf.h (EM_AARCH64): New macro.
10707 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10708 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10709 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10710 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10711 (R_AARCH64_TLSDESC): Likewise.
10712 (NT_ARM_TLS): Likewise.
10713 (NT_ARM_HW_BREAK): Likewise.
10714 (NT_ARM_HW_WATCH): Likewise.
10716 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10719 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10720 (__ieee754_powl): Saturate nonzero exponents with absolute value
10721 below 0x1p-79 to +/- 0x1p-79.
10722 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10723 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10724 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10725 nonzero exponents with absolute value below 0x1p-32 to +/-
10727 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10728 (__ieee754_powl): Saturate nonzero exponents with absolute value
10729 below 0x1p-79 to +/- 0x1p-79.
10730 * math/libm-test.inc (pow_test): Add more tests.
10732 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10734 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10735 _dl_s390_cap_flags with kernel. Increase string length.
10736 (_dl_s390_platforms): Add z196 and zEC12.
10738 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10740 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10741 Change XOPEN21K to XOPEN2K.
10743 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10745 * string/memmove.c: Use memcpy when possible.
10747 2012-11-06 Andreas Jaeger <aj@suse.de>
10749 * po/eo.po: Update from translation team.
10751 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10755 exponent and small x and y exponents, scale x or y up. Increase
10756 by 2 the exponent used in scaling up.
10757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10759 * math/libm-test.inc (fma_test): Add more tests.
10760 (fma_test_towardzero): Likewise.
10761 (fma_test_downward): Likewise.
10762 (fma_test_upward): Likewise.
10764 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10767 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10771 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10772 namespace for names of struct fields.
10773 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10775 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10776 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10778 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10781 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10783 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10785 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10789 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10792 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10796 definitely overflow as x * y not x * y + z.
10797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10799 * math/libm-test.inc (fma_test): Add more tests.
10800 (fma_test_towardzero): Likewise.
10801 (fma_test_downward): Likewise.
10802 (fma_test_upward): Likewise.
10804 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10808 * include/stub-tag.h: Remove file.
10809 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10811 * manual/maint.texi (Porting): Don't reference it.
10812 * Makerules ($(objpfx)stubs): Likewise.
10813 * dirent/closedir.c: Don't include <stub-tag.h>.
10814 * dirent/dirfd.c: Likewise.
10815 * dirent/fdopendir.c: Likewise.
10816 * dirent/getdents.c: Likewise.
10817 * dirent/getdents64.c: Likewise.
10818 * dirent/opendir.c: Likewise.
10819 * dirent/readdir.c: Likewise.
10820 * dirent/readdir64.c: Likewise.
10821 * dirent/readdir64_r.c: Likewise.
10822 * dirent/readdir_r.c: Likewise.
10823 * dirent/rewinddir.c: Likewise.
10824 * dirent/seekdir.c: Likewise.
10825 * dirent/telldir.c: Likewise.
10826 * gmon/profil.c: Likewise.
10827 * grp/setgroups.c: Likewise.
10828 * inet/if_index.c: Likewise.
10829 * io/access.c: Likewise.
10830 * io/chdir.c: Likewise.
10831 * io/chmod.c: Likewise.
10832 * io/chown.c: Likewise.
10833 * io/close.c: Likewise.
10834 * io/dup.c: Likewise.
10835 * io/dup2.c: Likewise.
10836 * io/dup3.c: Likewise.
10837 * io/euidaccess.c: Likewise.
10838 * io/faccessat.c: Likewise.
10839 * io/fchdir.c: Likewise.
10840 * io/fchmod.c: Likewise.
10841 * io/fchmodat.c: Likewise.
10842 * io/fchown.c: Likewise.
10843 * io/fchownat.c: Likewise.
10844 * io/fcntl.c: Likewise.
10845 * io/flock.c: Likewise.
10846 * io/fstatfs.c: Likewise.
10847 * io/fstatfs64.c: Likewise.
10848 * io/fstatvfs.c: Likewise.
10849 * io/fstatvfs64.c: Likewise.
10850 * io/futimens.c: Likewise.
10851 * io/fxstat.c: Likewise.
10852 * io/fxstat64.c: Likewise.
10853 * io/fxstatat.c: Likewise.
10854 * io/fxstatat64.c: Likewise.
10855 * io/getcwd.c: Likewise.
10856 * io/isatty.c: Likewise.
10857 * io/lchmod.c: Likewise.
10858 * io/lchown.c: Likewise.
10859 * io/link.c: Likewise.
10860 * io/linkat.c: Likewise.
10861 * io/lseek.c: Likewise.
10862 * io/lseek64.c: Likewise.
10863 * io/lxstat64.c: Likewise.
10864 * io/mkdir.c: Likewise.
10865 * io/mkdirat.c: Likewise.
10866 * io/mkfifo.c: Likewise.
10867 * io/mkfifoat.c: Likewise.
10868 * io/open.c: Likewise.
10869 * io/open64.c: Likewise.
10870 * io/openat.c: Likewise.
10871 * io/openat64.c: Likewise.
10872 * io/pipe.c: Likewise.
10873 * io/pipe2.c: Likewise.
10874 * io/poll.c: Likewise.
10875 * io/posix_fadvise.c: Likewise.
10876 * io/posix_fadvise64.c: Likewise.
10877 * io/posix_fallocate.c: Likewise.
10878 * io/posix_fallocate64.c: Likewise.
10879 * io/read.c: Likewise.
10880 * io/readlink.c: Likewise.
10881 * io/readlinkat.c: Likewise.
10882 * io/rmdir.c: Likewise.
10883 * io/sendfile.c: Likewise.
10884 * io/sendfile64.c: Likewise.
10885 * io/statfs.c: Likewise.
10886 * io/statfs64.c: Likewise.
10887 * io/statvfs.c: Likewise.
10888 * io/statvfs64.c: Likewise.
10889 * io/symlink.c: Likewise.
10890 * io/symlinkat.c: Likewise.
10891 * io/ttyname.c: Likewise.
10892 * io/ttyname_r.c: Likewise.
10893 * io/umask.c: Likewise.
10894 * io/unlink.c: Likewise.
10895 * io/unlinkat.c: Likewise.
10896 * io/utime.c: Likewise.
10897 * io/utimensat.c: Likewise.
10898 * io/write.c: Likewise.
10899 * io/xmknod.c: Likewise.
10900 * io/xmknodat.c: Likewise.
10901 * io/xstat.c: Likewise.
10902 * io/xstat64.c: Likewise.
10903 * login/getpt.c: Likewise.
10904 * login/grantpt.c: Likewise.
10905 * login/unlockpt.c: Likewise.
10906 * math/e_acoshl.c: Likewise.
10907 * math/e_acosl.c: Likewise.
10908 * math/e_asinl.c: Likewise.
10909 * math/e_atan2l.c: Likewise.
10910 * math/e_atanhl.c: Likewise.
10911 * math/e_coshl.c: Likewise.
10912 * math/e_expl.c: Likewise.
10913 * math/e_fmodl.c: Likewise.
10914 * math/e_gammal_r.c: Likewise.
10915 * math/e_hypotl.c: Likewise.
10916 * math/e_j0l.c: Likewise.
10917 * math/e_j1l.c: Likewise.
10918 * math/e_jnl.c: Likewise.
10919 * math/e_lgammal_r.c: Likewise.
10920 * math/e_log10l.c: Likewise.
10921 * math/e_log2l.c: Likewise.
10922 * math/e_logl.c: Likewise.
10923 * math/e_powl.c: Likewise.
10924 * math/e_rem_pio2l.c: Likewise.
10925 * math/e_sinhl.c: Likewise.
10926 * math/e_sqrtl.c: Likewise.
10927 * math/fclrexcpt.c: Likewise.
10928 * math/fedisblxcpt.c: Likewise.
10929 * math/feenablxcpt.c: Likewise.
10930 * math/fegetenv.c: Likewise.
10931 * math/fegetexcept.c: Likewise.
10932 * math/fegetround.c: Likewise.
10933 * math/feholdexcpt.c: Likewise.
10934 * math/fesetenv.c: Likewise.
10935 * math/fesetround.c: Likewise.
10936 * math/feupdateenv.c: Likewise.
10937 * math/fgetexcptflg.c: Likewise.
10938 * math/fraiseexcpt.c: Likewise.
10939 * math/fsetexcptflg.c: Likewise.
10940 * math/ftestexcept.c: Likewise.
10941 * math/k_cosl.c: Likewise.
10942 * math/k_rem_pio2l.c: Likewise.
10943 * math/k_sinl.c: Likewise.
10944 * math/k_tanl.c: Likewise.
10945 * math/s_asinhl.c: Likewise.
10946 * math/s_atanl.c: Likewise.
10947 * math/s_cbrtl.c: Likewise.
10948 * math/s_erfl.c: Likewise.
10949 * math/s_expm1l.c: Likewise.
10950 * math/s_log1pl.c: Likewise.
10951 * math/s_tanhl.c: Likewise.
10952 * misc/acct.c: Likewise.
10953 * misc/brk.c: Likewise.
10954 * misc/chflags.c: Likewise.
10955 * misc/chroot.c: Likewise.
10956 * misc/fchflags.c: Likewise.
10957 * misc/fgetxattr.c: Likewise.
10958 * misc/flistxattr.c: Likewise.
10959 * misc/fremovexattr.c: Likewise.
10960 * misc/fsetxattr.c: Likewise.
10961 * misc/fsync.c: Likewise.
10962 * misc/ftruncate.c: Likewise.
10963 * misc/futimes.c: Likewise.
10964 * misc/futimesat.c: Likewise.
10965 * misc/getdomain.c: Likewise.
10966 * misc/getdtsz.c: Likewise.
10967 * misc/gethostid.c: Likewise.
10968 * misc/gethostname.c: Likewise.
10969 * misc/getloadavg.c: Likewise.
10970 * misc/getpagesize.c: Likewise.
10971 * misc/getsysstats.c: Likewise.
10972 * misc/getxattr.c: Likewise.
10973 * misc/gtty.c: Likewise.
10974 * misc/ioctl.c: Likewise.
10975 * misc/lgetxattr.c: Likewise.
10976 * misc/listxattr.c: Likewise.
10977 * misc/llistxattr.c: Likewise.
10978 * misc/lremovexattr.c: Likewise.
10979 * misc/lsetxattr.c: Likewise.
10980 * misc/lutimes.c: Likewise.
10981 * misc/madvise.c: Likewise.
10982 * misc/mincore.c: Likewise.
10983 * misc/mlock.c: Likewise.
10984 * misc/mlockall.c: Likewise.
10985 * misc/mmap.c: Likewise.
10986 * misc/mprotect.c: Likewise.
10987 * misc/msync.c: Likewise.
10988 * misc/munlock.c: Likewise.
10989 * misc/munlockall.c: Likewise.
10990 * misc/munmap.c: Likewise.
10991 * misc/preadv.c: Likewise.
10992 * misc/preadv64.c: Likewise.
10993 * misc/ptrace.c: Likewise.
10994 * misc/pwritev.c: Likewise.
10995 * misc/pwritev64.c: Likewise.
10996 * misc/readv.c: Likewise.
10997 * misc/reboot.c: Likewise.
10998 * misc/remap_file_pages.c: Likewise.
10999 * misc/removexattr.c: Likewise.
11000 * misc/revoke.c: Likewise.
11001 * misc/select.c: Likewise.
11002 * misc/setdomain.c: Likewise.
11003 * misc/setegid.c: Likewise.
11004 * misc/seteuid.c: Likewise.
11005 * misc/sethostid.c: Likewise.
11006 * misc/sethostname.c: Likewise.
11007 * misc/setregid.c: Likewise.
11008 * misc/setreuid.c: Likewise.
11009 * misc/setxattr.c: Likewise.
11010 * misc/sstk.c: Likewise.
11011 * misc/stty.c: Likewise.
11012 * misc/swapoff.c: Likewise.
11013 * misc/swapon.c: Likewise.
11014 * misc/sync.c: Likewise.
11015 * misc/syncfs.c: Likewise.
11016 * misc/syscall.c: Likewise.
11017 * misc/truncate.c: Likewise.
11018 * misc/ualarm.c: Likewise.
11019 * misc/usleep.c: Likewise.
11020 * misc/ustat.c: Likewise.
11021 * misc/utimes.c: Likewise.
11022 * misc/vhangup.c: Likewise.
11023 * misc/writev.c: Likewise.
11024 * posix/_exit.c: Likewise.
11025 * posix/alarm.c: Likewise.
11026 * posix/execve.c: Likewise.
11027 * posix/fexecve.c: Likewise.
11028 * posix/fork.c: Likewise.
11029 * posix/fpathconf.c: Likewise.
11030 * posix/getaddrinfo.c: Likewise.
11031 * posix/getegid.c: Likewise.
11032 * posix/geteuid.c: Likewise.
11033 * posix/getgid.c: Likewise.
11034 * posix/getgroups.c: Likewise.
11035 * posix/getlogin.c: Likewise.
11036 * posix/getlogin_r.c: Likewise.
11037 * posix/getpgid.c: Likewise.
11038 * posix/getpid.c: Likewise.
11039 * posix/getppid.c: Likewise.
11040 * posix/getresgid.c: Likewise.
11041 * posix/getresuid.c: Likewise.
11042 * posix/getsid.c: Likewise.
11043 * posix/getuid.c: Likewise.
11044 * posix/glob64.c: Likewise.
11045 * posix/nanosleep.c: Likewise.
11046 * posix/pathconf.c: Likewise.
11047 * posix/pause.c: Likewise.
11048 * posix/posix_madvise.c: Likewise.
11049 * posix/pread.c: Likewise.
11050 * posix/pread64.c: Likewise.
11051 * posix/pwrite.c: Likewise.
11052 * posix/pwrite64.c: Likewise.
11053 * posix/sched_getaffinity.c: Likewise.
11054 * posix/sched_getp.c: Likewise.
11055 * posix/sched_gets.c: Likewise.
11056 * posix/sched_primax.c: Likewise.
11057 * posix/sched_primin.c: Likewise.
11058 * posix/sched_rr_gi.c: Likewise.
11059 * posix/sched_setaffinity.c: Likewise.
11060 * posix/sched_setp.c: Likewise.
11061 * posix/sched_sets.c: Likewise.
11062 * posix/sched_yield.c: Likewise.
11063 * posix/setgid.c: Likewise.
11064 * posix/setlogin.c: Likewise.
11065 * posix/setpgid.c: Likewise.
11066 * posix/setresgid.c: Likewise.
11067 * posix/setresuid.c: Likewise.
11068 * posix/setsid.c: Likewise.
11069 * posix/setuid.c: Likewise.
11070 * posix/sleep.c: Likewise.
11071 * posix/spawni.c: Likewise.
11072 * posix/sysconf.c: Likewise.
11073 * posix/times.c: Likewise.
11074 * posix/wait.c: Likewise.
11075 * posix/wait3.c: Likewise.
11076 * posix/wait4.c: Likewise.
11077 * posix/waitpid.c: Likewise.
11078 * resolv/gai_sigqueue.c: Likewise.
11079 * resource/getpriority.c: Likewise.
11080 * resource/getrlimit.c: Likewise.
11081 * resource/getrusage.c: Likewise.
11082 * resource/nice.c: Likewise.
11083 * resource/setpriority.c: Likewise.
11084 * resource/setrlimit.c: Likewise.
11085 * resource/ulimit.c: Likewise.
11086 * rt/aio_cancel.c: Likewise.
11087 * rt/aio_fsync.c: Likewise.
11088 * rt/aio_read.c: Likewise.
11089 * rt/aio_sigqueue.c: Likewise.
11090 * rt/aio_suspend.c: Likewise.
11091 * rt/aio_write.c: Likewise.
11092 * rt/clock_getres.c: Likewise.
11093 * rt/clock_gettime.c: Likewise.
11094 * rt/clock_nanosleep.c: Likewise.
11095 * rt/clock_settime.c: Likewise.
11096 * rt/lio_listio.c: Likewise.
11097 * rt/mq_close.c: Likewise.
11098 * rt/mq_getattr.c: Likewise.
11099 * rt/mq_notify.c: Likewise.
11100 * rt/mq_open.c: Likewise.
11101 * rt/mq_receive.c: Likewise.
11102 * rt/mq_send.c: Likewise.
11103 * rt/mq_setattr.c: Likewise.
11104 * rt/mq_timedreceive.c: Likewise.
11105 * rt/mq_timedsend.c: Likewise.
11106 * rt/mq_unlink.c: Likewise.
11107 * rt/shm_open.c: Likewise.
11108 * rt/shm_unlink.c: Likewise.
11109 * rt/timer_create.c: Likewise.
11110 * rt/timer_delete.c: Likewise.
11111 * rt/timer_getoverr.c: Likewise.
11112 * rt/timer_gettime.c: Likewise.
11113 * rt/timer_settime.c: Likewise.
11114 * setjmp/__longjmp.c: Likewise.
11115 * setjmp/setjmp.c: Likewise.
11116 * signal/kill.c: Likewise.
11117 * signal/killpg.c: Likewise.
11118 * signal/raise.c: Likewise.
11119 * signal/sigaction.c: Likewise.
11120 * signal/sigaltstack.c: Likewise.
11121 * signal/sigblock.c: Likewise.
11122 * signal/sigignore.c: Likewise.
11123 * signal/sigintr.c: Likewise.
11124 * signal/signal.c: Likewise.
11125 * signal/sigpause.c: Likewise.
11126 * signal/sigpending.c: Likewise.
11127 * signal/sigqueue.c: Likewise.
11128 * signal/sigreturn.c: Likewise.
11129 * signal/sigset.c: Likewise.
11130 * signal/sigsetmask.c: Likewise.
11131 * signal/sigstack.c: Likewise.
11132 * signal/sigsuspend.c: Likewise.
11133 * signal/sigtimedwait.c: Likewise.
11134 * signal/sigvec.c: Likewise.
11135 * signal/sigwait.c: Likewise.
11136 * signal/sigwaitinfo.c: Likewise.
11137 * signal/sysv_signal.c: Likewise.
11138 * socket/accept.c: Likewise.
11139 * socket/accept4.c: Likewise.
11140 * socket/bind.c: Likewise.
11141 * socket/connect.c: Likewise.
11142 * socket/getpeername.c: Likewise.
11143 * socket/getsockname.c: Likewise.
11144 * socket/getsockopt.c: Likewise.
11145 * socket/isfdtype.c: Likewise.
11146 * socket/listen.c: Likewise.
11147 * socket/recv.c: Likewise.
11148 * socket/recvfrom.c: Likewise.
11149 * socket/recvmsg.c: Likewise.
11150 * socket/send.c: Likewise.
11151 * socket/sendmsg.c: Likewise.
11152 * socket/sendto.c: Likewise.
11153 * socket/setsockopt.c: Likewise.
11154 * socket/shutdown.c: Likewise.
11155 * socket/sockatmark.c: Likewise.
11156 * socket/socket.c: Likewise.
11157 * socket/socketpair.c: Likewise.
11158 * stdio-common/ctermid.c: Likewise.
11159 * stdio-common/cuserid.c: Likewise.
11160 * stdio-common/remove.c: Likewise.
11161 * stdio-common/rename.c: Likewise.
11162 * stdio-common/renameat.c: Likewise.
11163 * stdio-common/tempname.c: Likewise.
11164 * stdlib/getcontext.c: Likewise.
11165 * stdlib/makecontext.c: Likewise.
11166 * stdlib/setcontext.c: Likewise.
11167 * stdlib/swapcontext.c: Likewise.
11168 * stdlib/system.c: Likewise.
11169 * streams/fattach.c: Likewise.
11170 * streams/fdetach.c: Likewise.
11171 * streams/getmsg.c: Likewise.
11172 * streams/getpmsg.c: Likewise.
11173 * streams/putmsg.c: Likewise.
11174 * streams/putpmsg.c: Likewise.
11175 * sysdeps/unix/bsd/getpt.c: Likewise.
11176 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11177 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11178 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11181 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11182 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11183 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11184 * sysvipc/msgctl.c: Likewise.
11185 * sysvipc/msgget.c: Likewise.
11186 * sysvipc/msgrcv.c: Likewise.
11187 * sysvipc/msgsnd.c: Likewise.
11188 * sysvipc/semctl.c: Likewise.
11189 * sysvipc/semget.c: Likewise.
11190 * sysvipc/semop.c: Likewise.
11191 * sysvipc/semtimedop.c: Likewise.
11192 * sysvipc/shmat.c: Likewise.
11193 * sysvipc/shmctl.c: Likewise.
11194 * sysvipc/shmdt.c: Likewise.
11195 * sysvipc/shmget.c: Likewise.
11196 * termios/tcdrain.c: Likewise.
11197 * termios/tcflow.c: Likewise.
11198 * termios/tcflush.c: Likewise.
11199 * termios/tcgetattr.c: Likewise.
11200 * termios/tcgetpgrp.c: Likewise.
11201 * termios/tcsendbrk.c: Likewise.
11202 * termios/tcsetattr.c: Likewise.
11203 * termios/tcsetpgrp.c: Likewise.
11204 * time/adjtime.c: Likewise.
11205 * time/clock.c: Likewise.
11206 * time/getitimer.c: Likewise.
11207 * time/gettimeofday.c: Likewise.
11208 * time/setitimer.c: Likewise.
11209 * time/settimeofday.c: Likewise.
11210 * time/stime.c: Likewise.
11211 * time/time.c: Likewise.
11213 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11215 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11218 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11220 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11222 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11226 FE_TONEAREST before applying Dekker multiplication and Knuth
11227 addition. Clear inexact exceptions and check for exact zero
11228 results afterwards.
11229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11230 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11232 * math/libm-test.inc (fma_test): Add more tests.
11233 (fma_test_towardzero): Likewise.
11234 (fma_test_downward): Likewise.
11235 (fma_test_upward): Likewise.
11236 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11238 (libc_fesetround): New macro.
11239 (libc_fesetroundf): Likewise.
11240 (libc_fesetroundl): Likewise.
11241 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11243 (libc_fesetround_387): Likewise.
11244 (libc_fesetroundf): New macro.
11245 (libc_fesetround): Likewise.
11246 (libc_fesetroundl): Likewise.
11247 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11249 (libc_fesetroundf): New macro.
11250 (libc_fesetround): Likewise.
11251 (libc_fesetroundl): Likewise.
11252 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11253 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11254 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11256 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11257 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11259 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11260 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11262 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11266 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11267 integer constant usable in #if and use that to give value to enum
11269 (FE_DIVBYZERO): Likewise.
11270 (FE_UNDERFLOW): Likewise.
11271 (FE_OVERFLOW): Likewise.
11272 (FE_INVALID): Likewise.
11273 (FE_INVALID_SNAN): Likewise.
11274 (FE_INVALID_ISI): Likewise.
11275 (FE_INVALID_IDI): Likewise.
11276 (FE_INVALID_ZDZ): Likewise.
11277 (FE_INVALID_IMZ): Likewise.
11278 (FE_INVALID_COMPARE): Likewise.
11279 (FE_INVALID_SOFTWARE): Likewise.
11280 (FE_INVALID_SQRT): Likewise.
11281 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11282 (FE_TONEAREST): Likewise.
11283 (FE_TOWARDZERO): Likewise.
11284 (FE_UPWARD): Likewise.
11285 (FE_DOWNWARD): Likewise.
11286 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11287 (FE_DIVBYZERO): Likewise.
11288 (FE_OVERFLOW): Likewise.
11289 (FE_UNDERFLOW): Likewise.
11290 (FE_INEXACT): Likewise.
11291 (FE_TONEAREST): Likewise.
11292 (FE_DOWNWARD): Likewise.
11293 (FE_UPWARD): Likewise.
11294 (FE_TOWARDZERO): Likewise.
11295 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11296 (FE_UNDERFLOW): Likewise.
11297 (FE_OVERFLOW): Likewise.
11298 (FE_DIVBYZERO): Likewise.
11299 (FE_INVALID): Likewise.
11300 (FE_TONEAREST): Likewise.
11301 (FE_TOWARDZERO): Likewise.
11302 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11303 (FE_OVERFLOW): Likewise.
11304 (FE_UNDERFLOW): Likewise.
11305 (FE_DIVBYZERO): Likewise.
11306 (FE_INEXACT): Likewise.
11307 (FE_TONEAREST): Likewise.
11308 (FE_TOWARDZERO): Likewise.
11309 (FE_UPWARD): Likewise.
11310 (FE_DOWNWARD): Likewise.
11311 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11312 (FE_DIVBYZERO): Likewise.
11313 (FE_OVERFLOW): Likewise.
11314 (FE_UNDERFLOW): Likewise.
11315 (FE_INEXACT): Likewise.
11316 (FE_TONEAREST): Likewise.
11317 (FE_DOWNWARD): Likewise.
11318 (FE_UPWARD): Likewise.
11319 (FE_TOWARDZERO): Likewise.
11321 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11323 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11325 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11327 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11328 commands. Quote $PWD.
11329 (blacklist_exports): Don't use remove_newlines. Replace "declare
11331 (remove_newlines): Remove.
11333 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11335 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11336 * stdlib/stdlib.h (atof): Moved to ...
11337 * include/bits/stdlib-float.h: Here. New file.
11338 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11339 * stdlib/bits/stdlib-float.h: New file.
11340 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11345 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11347 * conform/conformtest.pl (@headers): Add fenv.h.
11348 * conform/data/fenv.h-data: New file.
11349 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11350 include of <math/fenv.h>.
11352 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11353 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11354 && !UNIX98]. Enables tests for XOPEN2K8.
11355 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11356 POSIX2008]: Likewise.
11358 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11359 (struct rusage): Do not expect type or its members.
11362 * math/math.h (FP_NAN): Define macro to integer constant usable in
11363 #if and use that to give value to enum constant.
11364 (FP_INFINITE): Likewise.
11365 (FP_ZERO): Likewise.
11366 (FP_SUBNORMAL): Likewise.
11367 (FP_NORMAL): Likewise.
11369 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11371 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11372 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11375 2012-11-02 Roland McGrath <roland@hack.frob.com>
11377 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11378 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11379 autoconf-time if not.
11380 * configure.in: Remove AC_PREREQ.
11382 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11384 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11385 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11386 of the internal implementation.
11388 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11390 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11391 except include of <misc/sys/syslog.h>.
11393 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11396 function returns with a NULL context exit with zero.
11398 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11400 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11402 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11404 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11405 (run_program_cmd): This.
11406 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11407 (tst_langinfo): New variable. Use it.
11409 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11411 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11412 floating point opcodes.
11414 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11416 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11419 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11421 * sysdeps/mach/hurd/powerpc: Remove directory.
11422 * sysdeps/mach/powerpc: Likewise.
11424 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11426 * scripts/check-local-headers.sh: Ignore c++ headers.
11428 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11430 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11431 __libc_cleanup_region_start argument.
11433 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11438 x * y using scaling, not as x * y + z.
11439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11441 * math/libm-test.inc (fma_test): Add more tests.
11442 (fma_test_towardzero): Likewise.
11443 (fma_test_downward): Likewise.
11444 (fma_test_upward): Likewise.
11446 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11448 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11450 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11452 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11455 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11457 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11459 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11466 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11469 Fix the order of the list for glibc 2.17.
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11473 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11477 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11480 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11481 for low part of x being zero before using __atanl (y).
11482 * math/libm-test.inc (atan2_test): Add another test.
11484 * manual/install.texi (Configuring and compiling): Document
11485 general use of test-wrapper and test-wrapper-env.
11486 * INSTALL: Regenerated.
11488 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11489 (__fma): Do not extract and scale down low bits on after-rounding
11490 systems when result rounded to normal precision would have normal
11492 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11493 (__fmal): Do not extract and scale down low bits on after-rounding
11494 systems when result rounded to normal precision would have normal
11496 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11497 (__fmal): Do not extract and scale down low bits on after-rounding
11498 systems when result rounded to normal precision would have normal
11500 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11502 (fma_test): Add more tests.
11503 (fma_test_towardzero): Likewise.
11504 (fma_test_downward): Likewise.
11505 (fma_test_upward): Likewise.
11507 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11509 * sysdeps/i386/tininess.h: Renamed to ...
11510 * sysdeps/x86/tininess.h: This.
11511 * sysdeps/x86_64/tininess.h: Removed.
11513 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11515 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11516 input. Use $(build-program-cmd).
11517 ($(objpfx)tst-array1-static.out): Likewise.
11518 ($(objpfx)tst-array2.out): Likewise.
11519 ($(objpfx)tst-array3.out): Likewise.
11520 ($(objpfx)tst-array4.out): Likewise.
11521 ($(objpfx)tst-array5.out): Likewise.
11522 ($(objpfx)tst-array5-static.out): Likewise.
11524 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11526 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11529 * nss/nsswitch.h (nss_interface_function): Provide new
11530 macro for use with NSS functions.
11531 * grp/initgroups.c: Use new macro.
11532 * nss/getXXbyYY.c: Likewise.
11533 * nss/getXXbyYY_r.c: Likewise.
11534 * nss/getXXent.c: Likewise.
11535 * nss/getXXent_r.c: Likewise.
11536 * sysdeps/posix/getaddrinfo.c: Likewise.
11538 2012-10-30 Andreas Jaeger <aj@suse.de>
11540 * po/ru.po: Update Russion translation from translation project.
11542 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11547 result and shift together with sticky bit instead of replicating
11548 round-to-nearest rounding.
11549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11551 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11552 missing underflow exceptions.
11553 (fma_test_towardzero): Add more tests.
11554 (fma_test_downward): Likewise.
11555 (fma_test_upward): Likewise.
11558 * sysdeps/generic/tininess.h: New file.
11559 * sysdeps/i386/tininess.h: Likewise.
11560 * sysdeps/sh/tininess.h: Likewise.
11561 * sysdeps/x86_64/tininess.h: Likewise.
11562 * stdlib/tst-strtod-underflow.c: Likewise.
11563 * stdlib/tst-tininess.c: Likewise.
11564 * stdlib/strtod_l.c: Include <tininess.h>.
11565 (round_and_return): Do not set errno for exact underflow cases.
11566 Force an underflow exception when setting errno for underflow.
11567 Determine underflow based on rounding to normal precision if
11568 TININESS_AFTER_ROUNDING.
11569 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11570 ERANGE for exact underflow cases.
11571 * stdlib/Makefile (tests): Add tst-tininess and
11572 tst-strtod-underflow.
11573 ($(objpfx)tst-tininess): Use $(link-libm).
11574 ($(objpfx)tst-strtod-underflow): Likewise.
11576 2012-10-30 Andreas Jaeger <aj@suse.de>
11579 * elf/Makefile (tests): Remove conditional for have-initfini-array
11580 since this is now always required and the variable does not exist
11582 (tests-static): Likewise.
11583 (modules-names): Likewise.
11585 * po/eo.po: Add Esperanto translation from translation project.
11587 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11588 merged with constructor/destructor.
11589 (init_array): Likewise.
11590 * elf/tst-array2dep.c (fini_array): Likewise.
11591 (init_array): Likewise.
11593 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11595 * manual/message.texi: Delete @cartouche tags.
11597 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11599 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11601 * sysdeps/mach/hurd/fsync.c: Likewise.
11603 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11604 [_POSIX_REALTIME_SIGNALS]: Change condition to
11605 [_POSIX_REALTIME_SIGNALS > 0].
11607 2012-10-27 Andreas Jaeger <aj@suse.de>
11609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11610 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11612 [__WORDSIZE != 64]: Likewise.
11614 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11616 * iconvdata/tst-table.sh: Remove ${SHELL}.
11617 * iconvdata/tst-tables.sh: Likewise.
11619 2012-10-25 David S. Miller <davem@davemloft.net>
11621 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11622 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11628 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11629 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11632 2012-10-25 Roland McGrath <roland@hack.frob.com>
11634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11635 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11638 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11639 Jim Blandy <jimb@codesourcery.com>
11641 * scripts/cross-test-ssh.sh: New file.
11642 * manual/install.texi (Configuring and compiling): Document use of
11644 * INSTALL: Regenerated.
11646 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11648 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11651 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11653 * Makeconfig (run-program-prefix): Fix comment.
11655 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11656 Jim Blandy <jimb@codesourcery.com>
11658 * Makeconfig (test-wrapper): New variable,
11659 (test-wrapper-env): Likewise.
11660 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11661 (run-built-tests): Define to yes.
11662 (run-program-prefix): Use $(test-wrapper).
11663 (built-program-cmd): Likewise.
11664 * Rules (make-test-out): Use $(test-wrapper-env) and
11665 $(host-built-program-cmd).
11666 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11667 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11669 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11670 $(test-wrapper-env) to tst-rtld-load-self.sh.
11671 ($(objpfx)order2.out): Use $(test-wrapper).
11672 ($(objpfx)tst-initorder.out): Likewise.
11673 ($(objpfx)tst-initorder2.out): Likewise.
11674 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11675 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11676 (test_wrapper_env): New variable. Use it to run ld.so.
11677 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11678 Use it to run ld.so.
11679 (test_wrapper_env): Likewise.
11680 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11681 $(test-wrapper) to run-iconv-test.sh.
11682 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11683 (ICONV): Use $test_wrapper.
11684 * posix/Makefile ($(objpfx)globtest.out): Pass
11685 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11686 globtest.sh, not $(run-program-prefix).
11687 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11688 (test_wrapper): Likewise.
11689 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11690 set together with run_via_rtld_prefix.
11691 (run_program_prefix): Define in terms of test_wrapper and
11692 run_via_rtld_prefix.
11694 2012-10-24 Roland McGrath <roland@hack.frob.com>
11696 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11697 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11701 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11702 Declare __clock_getres, __clock_gettime, __clock_settime,
11703 __clock_nanosleep, and __clock_getcpuclockid.
11704 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11705 Remove librt_hidden_def (clock_gettime).
11706 * sysdeps/unix/clock_gettime.c: Likewise.
11707 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11709 * rt/clock_getres.c: Define __clock_getres as an alias.
11710 * sysdeps/posix/clock_getres.c: Likewise.
11711 * rt/clock_settime.c: Define __clock_settime as an alias.
11712 * sysdeps/unix/clock_settime.c: Likewise.
11713 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11714 * sysdeps/unix/clock_nanosleep.c: Likewise.
11715 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11716 * rt/clock-compat.c: New file.
11717 * rt/Makefile (librt-routines): Add clock-compat and move
11718 $(clock-routines) to ...
11719 (routines): ... here, new variable.
11720 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11721 Don't add get_clockfreq here.
11722 * rt/Versions (libc: GLIBC_2.17): New version set.
11723 Add clock_* symbols here.
11724 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11726 (GLIBC_2.17): Add clock_* symbols.
11727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11738 * NEWS: Mention the move.
11740 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11741 Use __open, __read, __close rather than their public counterparts.
11742 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11743 (__get_clockfreq_via_cpuinfo): Likewise.
11744 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11745 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11747 * config.h.in (HAVE_IFUNC): New #undef.
11748 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11750 * configure: Regenerated.
11752 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11754 * configure.in: Move READELF check to start of file.
11755 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11756 libc_cv_asm_gnu_indirect_function in the process.
11757 * configure: Regenerated.
11759 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11761 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11762 send the output to /dev/null.
11763 (libc_cv_cc_with_libunwind): Likewise.
11764 (libc_cv_as_noexecstack): Likewise.
11765 * configure: Regenerate.
11767 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11769 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11771 * posix/globtest.sh (TMPDIR): Do not set.
11772 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11773 (testout): Likewise.
11775 2012-10-24 Andreas Jaeger <aj@suse.de>
11777 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11778 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11779 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11780 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11781 posix_fadvise64, posix_fallocate64.
11783 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11784 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11785 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11787 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11789 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11792 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11793 <bits/fcntl-linux.h>.
11794 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11797 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11798 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11799 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11800 [__WORDSIZE != 64]: Likewise.
11802 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11804 * Makeconfig (run-built-tests): New variable.
11805 * Rules [$(cross-compiling) = yes]: Change condition to
11806 [$(run-built-tests) = no].
11807 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11808 to [$(run-built-tests) = yes].
11809 * elf/Makefile [$(cross-compiling) = no]: Likewise
11810 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11811 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11812 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11813 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11814 * io/Makefile [$(cross-compiling) = no]: Likewise.
11815 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11816 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11817 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11818 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11819 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11820 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11821 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11822 * string/Makefile [$(cross-compiling) = no]: Likewise.
11824 * posix/Makefile ($(objpfx)globtest.out): Pass
11825 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11826 $(rtld-installed-name).
11827 * posix/globtest.sh (elf_objpfx): Remove variable.
11828 (rtld_installed_name): Likewise.
11829 (library_path): Likewise.
11830 (run_program_prefix): New variable. Use for running globtest
11833 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11834 Joseph Myers <joseph@codesourcery.com>
11836 * Makeconfig (host-built-program-cmd): New variable.
11837 * elf/Makefile (tst-stackguard1-ARGS): Use
11838 $(host-built-program-cmd).
11839 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11840 (tst-spawn-ARGS): Likewise.
11841 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11843 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11844 Jim Blandy <jimb@codesourcery.com>
11846 * Makeconfig (run-via-rtld-prefix): New variable.
11847 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11848 (built-program-cmd): Likewise.
11850 2012-10-22 Andreas Jaeger <aj@suse.de>
11852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11853 __O_RSYNC if it exists, otherwise to O_SYNC.
11855 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11856 Joseph Myers <joseph@codesourcery.com>
11858 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11860 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11862 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11865 2012-10-22 Andreas Jaeger <aj@suse.de>
11867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11869 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11872 bits/fcntl-linux.h.
11874 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11875 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11882 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11883 Joseph Myers <joseph@codesourcery.com>
11885 * config.make.in (NM): New variable.
11887 2012-10-21 Andreas Jaeger <aj@suse.de>
11889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11890 definitions and declarations that are provided by
11891 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11893 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11896 * elf/Makefile (tests-static): Add tst-leaks1-static.
11897 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11898 ($(objpfx)tst-leaks1-static): New rule.
11899 ($(objpfx)tst-leaks1-static-mem): Likewise.
11900 (tst-leaks1-static-ENV): New macro.
11901 * elf/dl-open.c (dl_open_worker): Check the main application
11902 only if SHARED is defined.
11903 * elf/tst-leaks1-static.c: New file.
11905 2012-10-20 Andreas Jaeger <aj@suse.de>
11907 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11908 generic values for Linux.
11909 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11910 and declarations that are provided by <bits/fcntl-linux.h> and
11911 include <bits/fcntl-linux.h>.
11912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11915 2012-10-20 Roland McGrath <roland@hack.frob.com>
11917 * io/fcntl.h: Move include of <bits/types.h> to the top and
11918 include it unconditionally.
11920 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11922 * wcsmbs/Makefile (tests-ifunc): New variable.
11923 (tests): Add $(tests-ifunc).
11924 * wcsmbs/test-wcschr-ifunc.c: New file.
11925 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11926 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11927 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11928 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11929 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11931 * string/Makefile (tests-ifunc): New variable.
11932 (tests): Add $(tests-ifunc).
11933 * string/test-memccpy.c (TEST_NAME): New macro.
11934 * string/test-memchr.c (TEST_NAME): Likewise.
11935 * string/test-memcmp.c (TEST_NAME): Likewise.
11936 * string/test-memcpy.c (TEST_NAME): Likewise.
11937 * string/test-memmem.c (TEST_NAME): Likewise.
11938 * string/test-memmove.c (TEST_NAME): Likewise.
11939 * string/test-memset.c (TEST_NAME): Likewise.
11940 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11941 * string/test-stpcpy.c (TEST_NAME): Likewise.
11942 * string/test-stpncpy.c (TEST_NAME): Likewise.
11943 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11944 * string/test-strcasestr.c (TEST_NAME): Likewise.
11945 * string/test-strcat.c (TEST_NAME): Likewise.
11946 * string/test-strchr.c (TEST_NAME): Likewise.
11947 * string/test-strcmp.c(TEST_NAME): Likewise.
11948 * string/test-strcpy.c (TEST_NAME): Likewise.
11949 * string/test-strcspn.c (TEST_NAME): Likewise.
11950 * string/test-strlen.c (TEST_NAME): Likewise.
11951 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11952 * string/test-strncmp.c (TEST_NAME): Likewise.
11953 * string/test-strncpy.c (TEST_NAME): Likewise.
11954 * string/test-strnlen.c (TEST_NAME): Likewise.
11955 * string/test-strpbrk.c (TEST_NAME): Likewise.
11956 * string/test-strrchr.c (TEST_NAME): Likewise.
11957 * string/test-strspn.c (TEST_NAME): Likewise.
11958 * string/test-strstr.c (TEST_NAME): Likewise.
11959 * string/test-bcopy-ifunc.c: New file.
11960 * string/test-bzero-ifunc.c: Likewise.
11961 * string/test-memccpy-ifunc.c: Likewise.
11962 * string/test-memchr-ifunc.c: Likewise.
11963 * string/test-memcmp-ifunc.c: Likewise.
11964 * string/test-memcpy-ifunc.c: Likewise.
11965 * string/test-memmem-ifunc.c: Likewise.
11966 * string/test-memmove-ifunc.c: Likewise.
11967 * string/test-mempcpy-ifunc.c: Likewise.
11968 * string/test-memset-ifunc.c: Likewise.
11969 * string/test-rawmemchr-ifunc.c: Likewise.
11970 * string/test-stpcpy-ifunc.c: Likewise.
11971 * string/test-stpncpy-ifunc.c: Likewise.
11972 * string/test-strcasecmp-ifunc.c: Likewise.
11973 * string/test-strcasestr-ifunc.c: Likewise.
11974 * string/test-strcat-ifunc.c: Likewise.
11975 * string/test-strchr-ifunc.c: Likewise.
11976 * string/test-strchrnul-ifunc.c: Likewise.
11977 * string/test-strcmp-ifunc.c: Likewise.
11978 * string/test-strcpy-ifunc.c: Likewise.
11979 * string/test-strcspn-ifunc.c: Likewise.
11980 * string/test-strlen-ifunc.c: Likewise.
11981 * string/test-strncasecmp-ifunc.c: Likewise.
11982 * string/test-strncat-ifunc.c: Likewise.
11983 * string/test-strncmp-ifunc.c: Likewise.
11984 * string/test-strncpy-ifunc.c: Likewise.
11985 * string/test-strnlen-ifunc.c: Likewise.
11986 * string/test-strpbrk-ifunc.c: Likewise.
11987 * string/test-strrchr-ifunc.c: Likewise.
11988 * string/test-strspn-ifunc.c: Likewise.
11989 * string/test-strstr-ifunc.c: Likewise.
11991 * debug/Makefile (tests-ifunc): New variable.
11992 (tests): Add $(tests-ifunc).
11993 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11994 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11995 * debug/test-stpcpy_chk-ifunc.c: New file.
11996 * debug/test-strcpy_chk-ifunc.c: Likewise.
11998 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12001 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12002 header is not read in.
12004 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12006 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12007 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12008 directly. Pass built executable to script as
12009 $(built-program-cmd).
12010 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12011 $testprogram without using LD_LIBRARY_PATH and $ldso.
12013 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12014 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12015 $(rtld-installed-name).
12016 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12017 (rtld_installed_name): Likewise.
12018 (library_path): Likewise.
12019 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12020 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12021 $(run-program-prefix) to tst-tables.sh.
12022 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12023 it to run tst-table-from and tst-table-to.
12024 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12025 Pass it to tst-table.sh.
12026 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12027 $(run-program-prefix) to tst-gettext.sh.
12028 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12030 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12032 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12033 to run tst-gettext.
12034 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12035 to run tst-gettext2.
12036 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12037 to run tst-translit.
12038 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12039 $(run-program-prefix) to tst-mtrace.sh.
12040 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12042 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12043 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12044 $(rtld-installed-name).
12045 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12046 (rtld_installed_name): Likewise.
12047 (run_program_prefix): New variable. Use it to run wordexp-test.
12049 * Makeconfig (ARCH): Remove all definitions.
12050 (machine): Likewise.
12051 [ARCH]: Remove conditional code.
12052 [!objdir]: Give error.
12053 [!objdir] (objpfx): Remove.
12054 [!objdir] (common-objpfx): Likewise.
12055 [!objdir] (common-objdir): Likewise.
12056 * configure.in (config_makefile): Remove. Hardcode Makefile in
12057 AC_CONFIG_FILES call.
12058 * configure: Regenerated.
12061 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12063 (testout): Likewise.
12065 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12066 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12067 $(rtld-installed-name).
12068 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12069 (rtld_installed_name): Likwise.
12070 (runit): Remove function.
12071 (run_getconf): New variable, Use it for running getconf binary.
12073 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12076 * string/test-memmem.c (check_result): New function.
12077 (do_one_test): Use it.
12078 (check1): New function.
12079 (test_main): Use it.
12081 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12083 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12085 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12087 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12088 (_G_LSEEK64): Likewise.
12089 (_G_MMAP64): Likewise.
12090 (_G_FSTAT64): Likewise.
12091 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12092 (_G_LSEEK64): Likewise.
12093 (_G_MMAP64): Likewise.
12094 (_G_FSTAT64): Likewise.
12095 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12096 unconditional. Call __mmap64 directly.
12097 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12098 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12099 __lseek64 directly.
12100 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12101 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12103 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12104 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12105 __lseek64 directly.
12106 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12107 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12108 __lseek64 directly.
12109 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12110 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12111 __lseek64 directly.
12112 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12113 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12114 __fxstat64 directly.
12115 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12116 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12118 (freopen64) [!_G_OPEN64]: Remove conditional code.
12119 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12121 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12122 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12124 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12125 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12127 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12128 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12130 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12131 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12133 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12134 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12136 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12137 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12139 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12141 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12144 * manual/memory.texi (Malloc Tunable Parameters): Add note
12145 about free list pointers overwriting some perturb bytes.
12146 Wording suggested by Roland McGrath.
12148 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12150 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12151 (lgamma_test): Likewise.
12152 (tgamma_test): Likewise.
12154 2012-10-16 Florian Weimer <fweimer@redhat.com>
12157 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12158 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12160 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12162 * NEWS: Mention BZ #14716.
12163 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12164 when removing AVAILABLE1_USES_J macro.
12166 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12168 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12169 (__bswap_64): __uint64_t for unsigned 64-bit int.
12171 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12173 * include/string.h (memmem): Declare libc hidden alias.
12174 * string/memmem.c (memmem): Define libc hidden alias.
12175 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12176 __read, __close instead of open, read, close.
12178 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12180 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12181 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12183 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12184 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12185 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12187 (__rawmemchr_sse2): Likewise.
12188 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12189 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12190 (__strchr_sse2): Likewise.
12191 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12192 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12193 (__strcasecmp_sse2): Likewise.
12194 (__strncasecmp_sse2): Likewise.
12195 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12196 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12197 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12198 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12199 (__strrchr_sse2): Likewise.
12200 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12202 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12203 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12204 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12205 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12206 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12208 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12209 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12210 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12211 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12212 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12213 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12214 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12215 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12216 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12217 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12218 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12219 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12220 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12221 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12222 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12223 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12224 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12225 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12226 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12227 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12228 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12229 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12230 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12231 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12235 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12236 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12237 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12238 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12240 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12242 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12243 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12244 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12245 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12249 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12250 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12253 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12255 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12256 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12257 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12259 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12260 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12262 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12263 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12264 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12265 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12266 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12267 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12268 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12269 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12270 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12271 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12272 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12273 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12274 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12275 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12276 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12277 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12278 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12279 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12280 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12281 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12282 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12283 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12284 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12285 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12286 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12287 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12289 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12290 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12291 * include/ifunc-impl-list.h: New file.
12292 * misc/ifunc-impl-list.c: Likewise.
12293 * misc/Makefile (routines): Add ifunc-impl-list.
12294 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12295 * string/test-string.h: Include <ifunc-impl-list.h>.
12296 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12297 impl_array): New variables.
12298 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12300 (test_init): Call __libc_ifunc_impl_list to initialize
12301 func_list if TEST_IFUNC and TEST_NAME are defined.
12303 * string/Makefile (strop-tests): Add bcopy and bzero.
12304 * string/test-bcopy.c: New file.
12305 * string/test-bzero.c: Likewise.
12306 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12308 * string/test-memset.c: Support bzero test if TEST_BZERO is
12310 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12312 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12314 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12317 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12319 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12320 * configure: Regenerated.
12322 * Makeconfig (+link-static-before-libc): Don't include
12323 $(link-static-libc).
12325 * libio/libio.h (_IO_pos_t): Remove.
12327 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12329 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12332 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12334 * crypt/crypt-entry.c: Include fips-private.h.
12335 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12336 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12337 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12338 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12340 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12342 * crypt/crypt-private.h: Include stdbool.h.
12343 (_ufc_setup_salt_r): Return bool.
12344 * crypt/crypt-entry.c: Include errno.h.
12345 (__crypt_r): Return NULL with EINVAL for bad salt.
12346 * crypt/crypt_util.c (bad_for_salt): New.
12347 (_ufc_setup_salt_r): Check that salt is long enough and within
12348 the specified alphabet.
12349 * crypt/badsalttest.c: New file.
12350 * crypt/Makefile (tests): Add it.
12351 ($(objpfx)badsalttest): New.
12353 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12355 * NEWS: Add entry for BZ #14602.
12357 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12359 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12361 * math/libm-test.inc: Update comment listing what functions and
12363 (isgreater_test): New function.
12364 (isgreaterequal_test): Likewise.
12365 (isless_test): Likewise.
12366 (islessequal_test): Likewise.
12367 (islessgreater_test): Likewise.
12368 (isunordered_test): Likewise.
12369 (main): Call the new functions.
12371 2012-10-09 Roland McGrath <roland@hack.frob.com>
12373 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12374 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12375 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12376 * sysdeps/i386/configure: Regenerated.
12377 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12378 * sysdeps/mach/configure: Regenerated.
12379 * sysdeps/mach/hurd/configure: Regenerated.
12380 * sysdeps/powerpc/configure: Regenerated.
12381 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12382 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12383 * sysdeps/s390/s390-32/configure: Regenerated.
12384 * sysdeps/s390/s390-64/configure: Regenerated.
12385 * sysdeps/sh/configure: Regenerated.
12386 * sysdeps/sparc/configure: Regenerated.
12387 * sysdeps/unix/sysv/linux/configure: Regenerated.
12388 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12389 * sysdeps/x86_64/configure: Regenerated.
12391 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12392 defined. Don't check if MAP is NULL.
12394 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12396 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12397 (_G_stat64): Likewise.
12398 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12399 (_G_stat64): Likewise.
12400 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12401 instead of struct _G_stat64.
12402 * libio/fileops.c (mmap_remap_check): Likewise.
12403 (decide_maybe_mmap): Likewise.
12404 (_IO_new_file_seekoff): Likewise.
12405 (_IO_file_stat): Likewise.
12406 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12408 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12409 instead of struct _G_stat64.
12410 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12412 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12415 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12417 (CHECK_EOL): New macro.
12418 (two_way_short_needle): Check beginning of haystack for EOL. Use
12420 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12421 Replace with CHECK_EOL.
12422 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12423 Replace with CHECK_EOL.
12425 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12427 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12429 * math/libm-test.inc: Update comment listing what functions and
12431 (finite_test): New function.
12432 (isinf_test): Likewise.
12433 (isnan_test): Likewise.
12434 (fpclassify_test): Test subnormal input.
12435 (isfinite_test): Likewise.
12436 (isnormal_test): Likewise.
12437 (main): Call the new functions.
12439 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12442 * Makerules (%.dynsym): Force C locale when running
12443 $(OBJDUMP) --dynamic-syms.
12445 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12447 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12450 2012-10-06 David S. Miller <davem@davemloft.net>
12452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12453 upper 32-bits of the length value in %o2 since we use branch-on-register
12454 tests which consider the entire 64-bit register.
12456 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12458 * string/test-strstr.c (check2): Add a test for page boundary.
12460 2012-10-05 David S. Miller <davem@davemloft.net>
12462 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12463 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12465 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12467 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12468 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12469 and bzero when HWCAP_SPARC_CRYPTO is present.
12471 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12474 * string/test-strstr.c (check2): New function.
12475 (test_main): Call check2.
12477 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12479 * string/bug-strcasestr1.c (do_test): Moved to ...
12480 * string/test-strcasestr.c (check1): Here. New function.
12481 (do_one_test): Break out result checking code into ...
12482 (check_result): This. New function.
12483 (do_one_test): Call check_result.
12484 (test_main): Call check1.
12485 * string/bug-strchr1.c (do_test): Moved to ...
12486 * string/test-strchr.c (check1): Here. New function.
12487 (do_one_test): Break out result checking code into ...
12488 (check_result): This. New function.
12489 (do_one_test): Call check_result.
12490 (test_main): Call check1.
12491 * string/bug-strstr1.c (main): Moved to ...
12492 * string/test-strstr.c (check1): Here. New function.
12493 (do_one_test): Break out result checking code into ...
12494 (check_result): This. New function.
12495 (do_one_test): Call check_result.
12496 (test_main): Call check1.
12497 * string/bug-strcasestr1.c: Removed.
12498 * string/bug-strchr1.c: Likewise.
12499 * string/bug-strstr1.c: Likewise.
12501 * elf/Makefile (dl-routines): Add hwcaps.
12502 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12503 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12504 (_dl_important_hwcaps): Moved to ...
12505 * elf/dl-hwcaps.c: Here. New file.
12506 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12509 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12510 if IS_IN_rtld isn't defined.
12512 * elf/dl-support.c (_dl_sysinfo_map): New.
12513 Include "get-dynamic-info.h" and "setup-vdso.h".
12514 (_dl_non_dynamic_init): Call setup_vdso.
12515 * elf/dynamic-link.h: Don't include <assert.h>.
12516 (elf_get_dynamic_info): Moved to ...
12517 * elf/get-dynamic-info.h: Here. New file.
12518 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12519 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12520 * elf/setup-vdso.h: Here. New file.
12521 * elf/rtld.c: Include "setup-vdso.h".
12522 (dl_main): Call setup_vdso.
12524 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12526 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12527 creal in comment listing functions tested. List finite, isinf,
12528 isnan, isless, islessequal, isgreater, isgreaterequal,
12529 islessgreater, isunordered, lgamma_r and pow10 as functions and
12530 macros not tested. Mention which functions not tested are aliases
12531 for other functions. Fix typo. Note that signs of NaNs are not
12534 * scripts/config.guess: Update from config.git.
12535 * scripts/config.sub: Likewise.
12537 2012-10-04 Roland McGrath <roland@hack.frob.com>
12539 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12540 * misc/madvise.c (madvise): Renamed to __madvise.
12541 Make madvise a weak alias.
12542 * include/sys/mman.h: Declare __madvise.
12543 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12544 * sysdeps/unix/syscalls.list
12545 (madvise): Make __madvise the strong name, and madvise a weak alias.
12546 * sysdeps/unix/sysv/linux/syscalls.list
12547 (madvise, mmap): Remove redundant entries.
12548 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12549 * malloc/malloc.c (mtrim): Likewise.
12550 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12552 2012-10-03 Roland McGrath <roland@hack.frob.com>
12554 * sysdeps/mach/hurd/dl-cache.c: File removed.
12555 * config.h.in (USE_LDCONFIG): New #undef.
12556 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12557 * configure: Regenerated.
12558 * elf/Makefile (dl-routines): Add dl-cache only under
12559 [$(use-ldconfig) = yes].
12560 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12561 cache on [USE_LDCONFIG].
12562 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12564 * elf/rtld.c (dl_main): Likewise.
12566 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12568 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12569 _SC_LEVEL4_CACHE_LINESIZE.
12571 2012-10-03 Roland McGrath <roland@hack.frob.com>
12573 * sysdeps/unix/bsd/confstr.h: File removed.
12575 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12577 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12580 2012-10-02 Roland McGrath <roland@hack.frob.com>
12582 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12583 Make 'mapoff' field ElfW(Off) rather than off_t.
12585 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12587 * nscd/Makefile: Remove nscd-cflags and all its users.
12588 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12589 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12592 * malloc.c (malloc_printerr): Clarify error message.
12594 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12598 Set bit_FMA_Usable if FMA is supported.
12599 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12601 (bit_FMA4_Usable): Updated.
12602 (index_FMA_Usable): New macro.
12603 (CPUID_FMA): Likewise
12604 (HAS_FMA): Defined with bit_FMA_Usable.
12606 2012-10-01 Roland McGrath <roland@hack.frob.com>
12608 * bits/types.h (__swblk_t): Type removed.
12609 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12610 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12612 (__SWBLK_T_TYPE): Likewise.
12613 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12614 (__SWBLK_T_TYPE): Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12616 (__SWBLK_T_TYPE): Likewise.
12617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12618 (__SWBLK_T_TYPE): Likewise.
12620 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12621 Honza Horak <hhorak@redhat.com>
12623 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12624 (xdr_mapname): Use YPMAXMAP as maxsize.
12625 (xdr_peername): Use YPMAXPEER as maxsize.
12626 (xdr_keydat): Use YPAXRECORD as maxsize.
12627 (xdr_valdat): Use YPMAXRECORD as maxsize.
12629 2012-10-01 Roland McGrath <roland@hack.frob.com>
12631 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12633 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12634 * csu/init-first.c: ... here.
12635 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12636 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12637 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12638 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12639 * sysdeps/i386/init-first.c: File removed.
12640 * sysdeps/sh/init-first.c: File removed.
12642 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12646 if x * y might underflow to zero and z is zero.
12647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12649 * math/libm-test.inc (min_subnorm_value): New variable.
12650 (fma_test): Add more tests.
12651 (fma_test_towardzero): Likewise.
12652 (fma_test_downward): Likewise
12653 (fma_test_upward): Likewise.
12654 (initialize): Set min_subnorm_value.
12656 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12661 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12662 mode for addition resulting in exact zero.
12663 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12666 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12668 * math/libm-test.inc (fma_test): Add more tests.
12669 (fma_test_towardzero): New function.
12670 (fma_test_downward): Likewise.
12671 (fma_test_upward): Likewise.
12672 (main): Call the new functions.
12674 2012-09-28 David S. Miller <davem@davemloft.net>
12676 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12678 2012-09-28 Roland McGrath <roland@hack.frob.com>
12680 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12681 instead of SIGALRM.
12683 * sysdeps/gnu/_G_config.h: Moved to ...
12684 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12685 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12686 * sysdeps/generic/_G_config.h: ... here.
12688 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12690 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12692 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12693 Conditionalize target on [libnss_test1.so-version].
12695 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12697 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12698 (elfobjdir): Move out of conditionals.
12700 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12701 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12702 (__nss_lookup_function): Conditionalize label remove_from_tree on
12703 [!DO_STATIC_NSS || SHARED], matching its only use.
12705 2012-09-28 David S. Miller <davem@davemloft.net>
12707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12710 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12712 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12714 when HWCAP_SPARC_CRYPTO is present.
12716 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12718 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12720 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12723 * stdio-common/vfprintf.c (process_string_arg): Revert
12726 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12728 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12730 * stdio-common/tst-sprintf.c: Include <locale.h>
12731 (main): Test sprintf's handling of incomplete multibyte
12734 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12736 * elf/dl-runtime.c (VERSYMIDX): Removed.
12737 * elf/dl-version.c (VERSYMIDX): Likewise.
12738 * elf/do-rel.h (VERSYMIDX): Likewise.
12739 (VALIDX): Likewise.
12740 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12741 * elf/rtld.c (VALIDX): Likewise.
12742 (ADDRIDX): Likewise.
12743 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12744 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12745 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12746 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12747 (VALIDX): Likewise.
12748 (ADDRIDX): Likewise.
12750 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12752 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12754 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12757 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12759 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12760 addresses are in the same scope as 192.0.2/24.
12761 * posix/gai.conf: Document new scope table defaults.
12763 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12766 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12767 for ftell. Compute offsets from write pointers instead.
12768 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12770 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12773 * libio/Makefile (tests): New test case tst-fseek.
12774 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12775 combination works in wide mode.
12776 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12777 state when the external buffer state changes.
12779 2012-09-27 David S. Miller <davem@davemloft.net>
12782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12783 pass reloc->r_addend in as the 'high' argument to
12784 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12788 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12790 * rt/tst-aio2.c: Include <pthread.h>.
12791 * rt/tst-aio3.c: Likewise.
12793 2012-09-27 Steve Ellcey <sellcey@mips.com>
12795 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12797 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12800 contents on [SHARED].
12802 2012-09-26 Marek Polacek <polacek@redhat.com>
12806 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12807 for C++ and GCC <4.3 as well as for non GCC compilers.
12809 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12813 2012-09-25 Roland McGrath <roland@hack.frob.com>
12815 * Makefile.in (all, install): Declare with .PHONY.
12816 Reported by Michael Hope <michael.hope@linaro.org>.
12818 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12820 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12821 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12823 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12825 (sydep_routines): Add the new and the internal functions.
12826 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12827 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12829 (GLIBC_2.17): Add the new function.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12831 (GLIBC_2.17): Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12833 (GLIBC_2.17): Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12835 (GLIBC_2.17): Likewise.
12836 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12838 2012-09-25 Alan Modra <amodra@gmail.com>
12840 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12841 Add release barrier before setting once_control to say
12842 initialisation is done. Add hints on lwarx. Use macro in
12844 (clear_once_control): Add release barrier.
12846 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12849 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12851 * math/s_clog10.c (__clog10): Likewise.
12852 * math/s_clog10f.c (__clog10f): Likewise.
12853 * math/s_clog10l.c (__clog10l): Likewise.
12854 * math/s_clogf.c (__clogf): Likewise.
12855 * math/s_clogl.c (__clogl): Likewise.
12856 * math/Makefile (libm-calls): Add x2y2m1.
12857 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12858 (__x2y2m1): Likewise.
12859 (__x2y2m1l): Likewise.
12860 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12861 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12864 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12865 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12866 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12867 * sysdeps/i386/fpu/libm-test-ulps: Update.
12868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12871 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12872 int as type of variable DEPTH.
12873 (glob): Use size_t instead of int as type of variables NEWCOUNT
12876 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12878 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12879 Add s_sincosf-sse2.
12880 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12881 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12882 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12883 macros for using routine as __sincosf_ia32.
12884 Use macro for function declaration and weak_alias.
12885 * sysdeps/i386/fpu/libm-test-ulps: Update.
12887 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12890 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12891 subnormal argument.
12892 * math/s_cexpf.c (__cexpf): Likewise.
12893 * math/s_csinf.c (__csinf): Likewise.
12894 * math/s_csinhf.c (__csinhf): Likewise.
12895 * math/s_ctanf.c (__ctanf): Likewise.
12896 * math/s_ctanhf.c (__ctanhf): Likewise.
12897 * math/s_ccosh.c (__ccoshf): Likewise.
12898 * math/s_cexp.c (__cexpl): Likewise.
12899 * math/s_csin.c (__csin): Likewise.
12900 * math/s_csinh.c (__csinh): Likewise.
12901 * math/s_ctan.c (__ctan): Likewise.
12902 * math/s_ctanh.c (ctanh): Likewise.
12903 * math/s_ccoshl.c (__ccoshl): Likewise.
12904 * math/s_cexpl.c (__cexpl): Likewise.
12905 * math/s_csinl.c (__csinl): Likewise.
12906 * math/s_csinhl.c (__csinhl): Likewise.
12907 * math/s_ctanl.c (__ctanl): Likewise.
12908 * math/s_ctanhl.c (__ctanhl): Likewise.
12910 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12912 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12913 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12914 (_IO_off_t): Define to __off_t, not _G_off_t.
12915 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12916 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12917 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12918 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12919 type of __dummy and __dummy2 fields.
12920 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12921 (_G_ssize_t): Likewise.
12922 (_G_off_t): Likewise.
12923 (_G_pid_t): Likewise.
12924 (_G_uid_t): Likewise.
12925 (_G_wchar_t): Likewise.
12926 (_G_wint_t): Likewise.
12927 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12928 (_G_ssize_t): Likewise.
12929 (_G_off_t): Likewise.
12930 (_G_pid_t): Likewise.
12931 (_G_uid_t): Likewise.
12932 (_G_wchar_t): Likewise.
12933 (_G_wint_t): Likewise.
12934 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12935 (_G_ssize_t): Likewise.
12936 (_G_off_t): Likewise.
12937 (_G_pid_t): Likewise.
12938 (_G_uid_t): Likewise.
12939 (_G_wchar_t): Likewise.
12940 (_G_wint_t): Likewise.
12942 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12944 * malloc/arena.c: Include malloc-sysdep.h.
12945 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12946 is sufficient to shrink the heap or an unmap is needed.
12947 * sysdeps/generic/malloc-sysdep.h: New file. Define
12948 new function check_may_shrink_heap.
12949 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12950 new function check_may_shrink_heap.
12952 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12954 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12957 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12959 * catgets/test-gencat.sh: Add "set -e".
12960 * elf/tst-pathopt.sh: Likewise.
12961 * grp/tst_fgetgrent.sh: Likewise.
12962 * iconvdata/run-iconv-test.sh: Likewise.
12963 * intl/tst-gettext.sh: Likewise.
12964 * intl/tst-gettext2.sh: Likewise.
12965 * intl/tst-gettext4.sh: Likewise.
12966 * intl/tst-gettext6.sh: Likewise.
12967 * intl/tst-translit.sh: Likewise.
12968 * io/ftwtest-sh: Likewise.
12969 * libio/test-freopen.sh: Likewise.
12970 * malloc/tst-mtrace.sh: Likewise.
12971 * posix/globtest.sh: Likewise.
12972 * posix/tst-getconf.sh: Likewise.
12973 * posix/wordexp-tst.sh: Likewise.
12974 * stdio-common/tst-printf.sh: Likewise.
12975 * stdio-common/tst-unbputc.sh: Likewise.
12976 * stdlib/tst-fmtmsg.sh: Likewise.
12977 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12978 * catgets/Makefile: Do not specify -e option when running
12979 testsuite shell scripts.
12980 * elf/Makefile: Likewise.
12981 * grp/Makefile: Likewise.
12982 * iconvdata/Makefile: Likewise.
12983 * intl/Makefile: Likewise.
12984 * io/Makefile: Likewise.
12985 * libio/Makefile: Likewise.
12986 * malloc/Makefile: Likewise.
12987 * posix/Makefile: Likewise.
12988 * stdio-common/Makefile: Likewise.
12989 * stdlib/Makefile: Likewise.
12990 * sysdeps/x86_64/Makefile: Likewise.
12992 * io/ftwtest-sh: Add copyright header.
12993 * posix/globtest.sh: Likewise.
12994 * posix/tst-getconf.sh: Likewise.
12995 * posix/wordexp-tst.sh: Likewise.
12996 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12998 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13001 * Makeconfig (+link): Defined as $(+link-static) if
13002 $(build-shared) isn't yes.
13003 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13005 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13007 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13010 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13011 new chunk size with MALLOC_ALIGN_MASK.
13013 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13016 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13018 (__printf_fphex): Determine rounding using get_rounding_mode and
13020 * stdio-common/tst-printf-round.c (struct hex_test): New
13022 (hex_tests): New variable.
13023 (test_hex_in_one_mode): New function.
13024 (do_test): Also run tests for hex float output.
13026 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13028 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13029 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13030 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13031 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13032 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13033 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13034 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13035 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13037 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13039 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13040 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13041 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13042 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13044 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13047 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13049 * elf/tst-rtld-load-self.sh: New test.
13050 * elf/Makefile: Run it.
13052 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13054 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13055 (tst-writev-ENV): Remove.
13056 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13058 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13060 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13062 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13064 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13066 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13068 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13069 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13070 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13073 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13076 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13077 * config.make.in (have-cpp-asm-debuginfo): Removed.
13078 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13079 * configure: Regenerated.
13081 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13084 * stdio-common/printf_fp.c: Include <stdbool.h> and
13086 (___printf_fp): Determine rounding using get_rounding_mode and
13088 * stdio-common/tst-printf-round.c: New file.
13089 * stdio-common/Makefile (tests): Add tst-printf-round.
13090 (link-libm): New variable.
13091 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13093 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13096 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13097 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13099 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13102 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13104 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13105 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13106 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13107 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13109 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13112 * include/rounding-mode.h: New file.
13113 * sysdeps/generic/get-rounding-mode.h: Likewise.
13114 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13115 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13116 (MAX_VALUE): New macro.
13117 (MIN_VALUE): Likewise.
13118 (overflow_value): New function.
13119 (underflow_value): Likewise.
13120 (round_and_return): Use overflow_value and underflow_value to
13121 determine return values in overflow and underflow cases. Use
13122 round_away to determine rounding depending on rounding mode.
13123 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13124 determine return values in overflow and underflow cases.
13125 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13126 (struct test_results): New structure.
13127 (struct test): Use struct test_results to store expected results
13128 for all rounding modes.
13129 (TEST): Include expected results for all rounding modes.
13130 (test_in_one_mode): New function.
13131 (do_test): Use test_in_one_mode to compute and check results.
13132 Check results for all rounding modes.
13133 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13136 2012-12-09 Allan McRae <allan@archlinux.org>
13138 * sysdeps/i386/fpu/libm-test-ulps: Update
13140 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13142 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13143 (_G_int32_t): Likewise.
13144 (_G_uint16_t): Likewise.
13145 (_G_uint32_t): Likewise.
13146 (_G_HAVE_BOOL): Likewise.
13147 (_G_HAVE_ATEXIT): Likewise.
13148 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13149 (_G_HAVE_IO_FILE_OPEN): Likewise.
13150 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13151 (_G_int32_t): Likewise.
13152 (_G_uint16_t): Likewise.
13153 (_G_uint32_t): Likewise.
13154 (_G_HAVE_BOOL): Likewise.
13155 (_G_HAVE_ATEXIT): Likewise.
13156 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13157 (_G_HAVE_IO_FILE_OPEN): Likewise.
13158 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13159 (_G_int32_t): Likewise.
13160 (_G_uint16_t): Likewise.
13161 (_G_uint32_t): Likewise.
13162 (_G_HAVE_BOOL): Likewise.
13163 (_G_HAVE_ATEXIT): Likewise.
13164 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13165 (_G_HAVE_IO_FILE_OPEN): Likewise.
13167 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13169 * csu/libc-tls.c: Update copyright years.
13171 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13173 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13174 [!_G_USING_THUNKS]: Remove conditional code.
13175 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13176 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13178 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13179 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13180 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13181 (_G_VTABLE_LABEL_PREFIX): Likewise.
13182 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13183 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13184 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13185 (_G_VTABLE_LABEL_PREFIX): Likewise.
13186 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13187 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13188 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13189 (_G_VTABLE_LABEL_PREFIX): Likewise.
13190 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13192 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13194 * libio/Makefile: Include ../Makeconfig before tests.
13195 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13196 only if $(build-shared) is yes.
13198 * iconv/gconv_db.c: Update copyright years.
13200 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13202 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13203 unwind info if defined PIC. Fix special cases description.
13204 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13206 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13208 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13210 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13212 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13214 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13217 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13218 (LDLIBS-tst-chk4): This.
13219 (LDFLAGS-tst-chk5): Renamed to ...
13220 (LDLIBS-tst-chk5): This.
13221 (LDFLAGS-tst-chk6): Renamed to ...
13222 (LDLIBS-tst-chk6): This.
13223 (LDFLAGS-tst-lfschk4): Renamed to ...
13224 (LDLIBS-tst-lfschk4): This.
13225 (LDFLAGS-tst-lfschk5): Renamed to ...
13226 (LDLIBS-tst-lfschk5): This.
13227 (LDFLAGS-tst-lfschk6): Renamed to ...
13228 (LDLIBS-tst-lfschk6): This.
13230 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13231 on $(common-objpfx)soversions.mk.
13233 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13236 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13239 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13241 * malloc/arena.c (arena_get_retry): New function that gets
13242 another arena for the caller to try its request on.
13243 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13244 current arena cannot fulfill the request.
13245 (__libc_memalign): Likewise.
13246 (__libc_memalign): Likewise.
13247 (__libc_pvalloc): Likewise.
13248 (__libc_calloc): Likewise.
13250 2012-09-05 John Tobey <john.tobey@gmail.com>
13253 * manual/arith.texi (Operations on Complex): Fix description
13254 of carg branch cut.
13256 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13259 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13263 * manual/memory.texi (Memory): Make order of menu items match
13266 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13268 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13269 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13270 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13272 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13274 * csu/libc-tls.c (static_dtv): Renamed to ...
13275 (_dl_static_dtv): This. Make it global.
13276 (_dl_initial_dtv): Removed.
13277 (__libc_setup_tls): Updated.
13278 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13279 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13282 2012-09-06 Petr Machata <pmachata@redhat.com>
13284 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13285 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13286 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13287 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13289 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13292 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13293 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13296 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13299 * Makeconfig (link-static-before-libc): Replace $(+prector)
13301 (link-static-after-libc): Replace $(+postctor) with
13303 (link-bounded): Replace $(+prector)/$(+postctor) with
13304 $(+prectorT)/$(+postctorT).
13305 (+prectorT): New macro.
13306 (+postctorT): Likewise.
13308 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13310 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13311 (round_str): Handle values above the maximum for IBM long double
13313 * stdlib/tst-strtod-round.c (tests): Regenerated.
13315 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13317 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13319 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13320 zarch_nohighgprs around the zarch optimized routines.
13321 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13322 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13323 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13326 2012-09-05 David S. Miller <davem@davemloft.net>
13328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13330 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13331 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13332 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13333 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13336 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13338 * malloc/arena.c: Fold copyright years.
13339 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13341 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13343 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13345 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13347 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13349 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13351 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13352 change internal state upon failure.
13354 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13356 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13357 * malloc/memusage.c (mmap): Likewise.
13358 (mmap64, mremap): Likewise. Adjust name in comment.
13360 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13362 * libio/fileops.c: Fix typos in comments.
13363 * libio/oldfileops.c: Likewise.
13364 * libio/wfileops.c: Likewise.
13366 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13369 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13370 (tst-malloc-usable-ENV): Set environment for test case.
13371 * malloc/hooks.c (malloc_check_get_size): New function to get
13373 * malloc/malloc.c (musable): Use malloc_check_get_size.
13374 * malloc/tst-malloc-usable.c: New test case.
13376 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13378 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13380 2012-09-05 Allan McRae <allan@archlinux.org>
13383 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13384 determine header location.
13385 * configure: Regenerated.
13387 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13389 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13391 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13392 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13394 (test): Regenerate.
13396 2012-09-04 David S. Miller <davem@davemloft.net>
13398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13400 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13402 2012-09-04 Florian Weimer <fweimer@redhat.com>
13404 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13407 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13409 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13412 * libio/iogetdelim.c: Include <limits.h>.
13413 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13414 + len + 1 would overflow.
13416 2012-09-03 Andreas Jaeger <aj@suse.de>
13418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13419 * sysdeps/i386/fpu/libm-test-ulps: Update.
13421 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13423 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13424 Add s_sinf-sse2, s_conf-sse2.
13426 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13427 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13428 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13429 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13431 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13432 for using routine as __sinf_ia32.
13433 Use macro for function declaration and weak_alias.
13434 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13435 for using routine as __cosf_ia32.
13436 Use macro for function declaration and weak_alias.
13438 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13439 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13441 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13442 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13445 * math/libm-test.inc (cos_test): Add more test cases.
13446 (sin_test): Likewise.
13447 (sincos_test): Likewise.
13449 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13451 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13452 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13454 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13456 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13459 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13460 first element of the GOT.
13461 (elf_machine_load_address): Return the difference between
13462 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13464 2012-09-01 Allan McRae <allan@archlinux.org>
13467 * configure.in (AWK): Require gawk version 3.0 or later.
13468 * configure: Regenerated.
13470 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13472 * sysdeps/unix/sysv/linux/kernel-features.h
13473 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13475 [__NR_clock_getres]: Make code unconditional.
13476 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13477 (clock_getcpuclockid): Remove code left unreachable by removal of
13479 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13480 code unconditional.
13481 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13482 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13483 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13484 Make code unconditional.
13485 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13486 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13487 * sysdeps/unix/sysv/linux/clock_settime.c
13488 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13490 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13491 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13493 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13496 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13497 scripts/test-installation.pl.
13499 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13500 and $ld_so_version if it is set.
13502 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13506 failure if reading from procfs failed.
13507 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13509 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13511 * sysdeps/unix/sysv/linux/kernel-features.h
13512 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13513 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13514 Remove conditional code.
13515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13516 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13517 Remove conditional code.
13518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13519 * sysdeps/unix/sysv/linux/i386/fxstat.c
13520 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13522 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13523 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13525 * sysdeps/unix/sysv/linux/i386/lxstat.c
13526 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13528 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13529 Remove conditional code.
13530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13531 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13532 Remove conditional code.
13533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13534 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13535 <kernel-features.h>.
13536 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13538 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13539 Remove conditional code.
13540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13541 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13542 Remove conditional.
13544 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13547 * NEWS: Add fixed bug number.
13549 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13552 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13553 underflowing exponent in case of negative sign.
13554 * stdlib/tst-strtod-round-data: Add more tests.
13555 * stdlib/tst-strtod-round.c (tests): Regenerated.
13558 * stdlib/strtod_l.c (NDIG): Remove.
13559 (HEXNDIG): Likewise.
13560 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13561 smallest representable value.
13562 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13563 lie within an exact representation of 1/2 ulp of the result.
13564 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13566 (TENS_P9_IDX): Define unconditionally.
13567 (TENS_P9_SIZE): Likewise.
13568 (TENS_P10_IDX): Likewise.
13569 (TENS_P10_SIZE): Likewise.
13570 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13571 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13572 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13573 entries for 10^2^13 and 10^2^14.
13574 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13575 (TENS_P13_IDX): Define.
13576 (TENS_P13_SIZE): Likewise.
13577 (TENS_P14_IDX): Likewise.
13578 (TENS_P14_SIZE): Likewise.
13579 (_fpioconst_pow10): Change array size to
13580 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13582 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13583 1024]: Add entries for 10^2^13 and 10^2^14.
13584 [LAST_POW10 > _LAST_POW10]: Remove #error.
13585 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13586 (_fpioconst_pow10): Change array size to
13587 FPIOCONST_POW10_ARRAY_SIZE.
13588 * stdlib/gen-fpioconst.c: New file.
13589 * stdlib/gen-tst-strtod-round.c: Likewise.
13590 * stdlib/tst-strtod-round-data: Likewise.
13591 * stdlib/tst-strtod-round.c: Likewise.
13592 * stdlib/Makefile (tests): Add tst-strtod-round.
13595 * stdlib/strtod_l.c: Include <stdint.h>.
13596 (NDEBUG): Do not define.
13597 (round_and_return): Change EXPONENT parameter to type intmax_t.
13598 Rearrange calculations to avoid internal overflow possibilities.
13599 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13600 Rearrange calculations to avoid internal overflow possibilities.
13601 Assert that number fits inside MPNSIZE limbs.
13602 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13603 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13604 calculations and add assertions to avoid internal overflow
13605 possibilities. Add casts to avoid signed/unsigned operations.
13606 * stdlib/tst-strtod-overflow.c: New file.
13607 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13609 2012-08-25 Marek Polacek <polacek@redhat.com>
13611 * time/time.h: Fix some typos in comments.
13613 2012-08-23 Roland McGrath <roland@hack.frob.com>
13615 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13616 * posix/tst-rfc3484-2.c: Likewise.
13617 * posix/tst-rfc3484-3.c: Likewise.
13619 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13621 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13622 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13624 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13626 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13627 #include of fxstatat64.c.
13629 2012-08-22 Roland McGrath <roland@hack.frob.com>
13631 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13632 * shadow/getspent_r.c: Likewise.
13633 * shadow/getspnam.c: Likewise.
13634 * shadow/getspnam_r.c: Likewise.
13635 * gshadow/getsgent.c: Likewise.
13636 * gshadow/getsgent_r.c: Likewise.
13637 * gshadow/getsgnam.c: Likewise.
13638 * gshadow/getsgnam_r.c: Likewise.
13639 * inet/getnetbyad.c: Likewise.
13640 * inet/getnetbyad_r.c: Likewise.
13641 * inet/getnetbynm.c: Likewise.
13642 * inet/getnetbynm_r.c: Likewise.
13643 * inet/getnetent.c: Likewise.
13644 * inet/getnetent_r.c: Likewise.
13645 * inet/getproto.c: Likewise.
13646 * inet/getproto_r.c: Likewise.
13647 * inet/getprtent.c: Likewise.
13648 * inet/getprtent_r.c: Likewise.
13649 * inet/getprtname.c: Likewise.
13650 * inet/getprtname_r.c: Likewise.
13651 * inet/getrpcbyname.c: Likewise.
13652 * inet/getrpcbyname_r.c: Likewise.
13653 * inet/getrpcbynumber.c: Likewise.
13654 * inet/getrpcbynumber_r.c: Likewise.
13655 * inet/getrpcent.c: Likewise.
13656 * inet/getrpcent_r.c: Likewise.
13657 * inet/getaliasent.c: Likewise.
13658 * inet/getaliasent_r.c: Likewise.
13659 * inet/getaliasname.c: Likewise.
13660 * inet/getaliasname_r.c: Likewise.
13661 * nscd/getgrgid_r.c: Likewise.
13662 * nscd/getgrnam_r.c: Likewise.
13663 * nscd/gethstbyad_r.c: Likewise.
13664 * nscd/gethstbynm3_r.c: Likewise.
13665 * nscd/getpwnam_r.c: Likewise.
13666 * nscd/getpwuid_r.c: Likewise.
13667 * nscd/getsrvbynm_r.c: Likewise.
13668 * nscd/getsrvbypt_r.c: Likewise.
13669 * nscd/gai.c: Likewise.
13671 * configure.in (build_nscd): New substituted variable, set
13672 by --disable-build-nscd and defaults to $use_nscd.
13673 * configure: Regenerated.
13674 * config.make.in (build-nscd): New substituted variable.
13675 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13676 Change conditional to require [$(build-nscd) = yes] as well.
13677 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13680 * configure.in (use_nscd): New substituted variable, set by
13681 --disable-nscd. If enabled, define USE_NSCD.
13682 * configure: Regenerated.
13683 * config.h.in: Add USE_NSCD.
13684 * config.make.in (use-nscd): New substituted variable.
13685 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13686 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13687 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13688 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13689 (CFLAGS-getgrnam_r.c): Likewise.
13690 (CFLAGS-initgroups.c): Likewise.
13691 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13692 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13694 * inet/getnetgrent_r.c
13695 (nscd_setnetgrent): New function, broken out of ...
13696 (setnetgrent): ... here. Call it.
13697 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13698 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13699 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13700 * nscd/Makefile (routines, aux): Move definitions after include of
13701 Makeconfig. Conditionalize on [$(use-nscd) != no].
13702 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13703 Conditionalize on [USE_NSCD].
13704 (is_nscd, nscd_init_cb): Likewise.
13705 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13706 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13707 * nss/nss_db/db-init.c: Likewise.
13708 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13710 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13711 (make_request): Use it.
13712 (cache_valid_p): New function.
13713 (__check_pf): Use it.
13714 * NEWS: Add item for --disable-nscd.
13716 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13718 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13719 to support sed >= 4.2.1-20-ga9bf076.
13720 * configure: Regenerated.
13722 2012-08-22 Roland McGrath <roland@hack.frob.com>
13724 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13725 Conditionalize whole body on [IREL].
13727 2012-08-22 Jeff Law <law@redhat.com>
13730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13731 if the family is PF_UNSPEC.
13733 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13735 * Makerules (lib-version): Rename from V.
13736 (install-lib-nosubdir): Change V to lib-version.
13738 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13741 * powerpc32/power6/wcschr.c: New file.
13742 * powerpc32/power6/wcscpy.c: New file.
13743 * powerpc32/power6/wcsrchr.c: New file.
13744 * powerpc64/power6/wcschr.c: New file.
13745 * powerpc64/power6/wcscpy.c: New file.
13746 * powerpc64/power6/wcsrchr.c: New file.
13748 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13750 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13751 (two_way_short_needle): Use it.
13752 * string/strstr.c (AVAILABLE1_USES_J): Define.
13753 * string/strcasestr.c: Likewise.
13755 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13757 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13760 * NEWS: Add an entry.
13761 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13762 define their defaults.
13763 (two_way_short_needle): Detect end-of-string on-the-fly.
13764 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13765 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13766 * string/bug-strcasestr1.c: New test.
13767 * string/Makefile: Run it.
13769 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13772 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13773 the first character.
13775 2012-08-21 Roland McGrath <roland@hack.frob.com>
13777 * csu/elf-init.c (__libc_csu_irel): Function removed.
13778 * csu/libc-start.c (apply_irel): New function.
13779 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13781 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13783 * sysdeps/unix/sysv/linux/kernel-features.h
13784 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13785 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13786 <kernel-features.h>.
13787 [__NR_fadvise64_64]: Make code unconditional.
13788 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13789 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13790 !__NR_fadvise64_64)]: Likewise.
13791 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13792 !__NR_fadvise64_64))]: Likewise.
13793 [__NR_fadvise64]: Make code unconditional.
13794 [!__NR_fadvise64]: Remove conditional code.
13795 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13796 <kernel-features.h>.
13797 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13799 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13802 not include <kernel-features.h>.
13803 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13805 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13807 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13808 include <kernel-features.h>.
13809 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13811 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13814 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13817 slight instruction rearrangements per scrollpipe analysis.
13818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13820 2012-08-20 Roland McGrath <roland@hack.frob.com>
13822 * manual/syslog.texi (syslog; vsyslog, closelog):
13823 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13824 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13826 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13827 DSOCAPS to match condition on defining it.
13829 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13831 * sysdeps/unix/sysv/linux/kernel-features.h
13832 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13834 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13835 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13837 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13838 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13840 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13841 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13843 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13844 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13846 * sysdeps/unix/sysv/linux/kernel-features.h
13847 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13848 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13850 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13851 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13852 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13853 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13854 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13855 Make code unconditional.
13856 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13857 (__mmap64) [!__NR_mmap2]: Likewise.
13858 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13859 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13860 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13861 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13862 [__NR_mmap2]: Make code unconditional.
13863 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13864 (__mmap64) [!__NR_mmap2]: Likewise.
13866 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13868 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13870 2012-08-18 Andreas Jaeger <aj@suse.de>
13872 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13874 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13876 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13877 * include/unistd.h (__have_sock_cloexec): Likewise.
13878 (__have_pipe2): Likewise.
13879 (__have_dup3): Likewise.
13881 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13884 * include/unistd.h (__have_pipe2): Change define into an extern int.
13885 (__have_dup3): Likewise.
13886 * socket/have_sock_cloexec.c: Include fcntl.h.
13887 (__have_pipe2): New variable.
13888 (__have_dup3): Likewise.
13890 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13892 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13894 2012-08-17 Marek Polacek <polacek@redhat.com>
13896 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13897 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13899 2012-08-17 Roland McGrath <roland@hack.frob.com>
13901 * configure.in: Add AC_SUBST for sysheaders.
13902 * configure: Regenerated.
13903 * config.make.in (sysheaders): New substituted variable.
13905 * sysdeps/unix/mkfifo.c: Moved ...
13906 * sysdeps/posix/mkfifo.c: ... here.
13907 * sysdeps/unix/mkfifoat.c: Moved ...
13908 * sysdeps/posix/mkfifoat.c: ... here.
13910 * sysdeps/unix/utime.c: Moved ...
13911 * sysdeps/posix/utime.c: ... here.
13913 * sysdeps/unix/time.c: Moved ...
13914 * sysdeps/posix/time.c: ... here.
13915 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13916 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13918 * sysdeps/unix/nice.c: Moved ...
13919 * sysdeps/posix/nice.c: ... here.
13921 * sysdeps/unix/alarm.c: Moved ...
13922 * sysdeps/posix/alarm.c: ... here.
13924 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13926 2012-08-17 Jeff Law <law@redhat.com>
13928 * intl/Makefile (codeset_mo): New variable.
13929 ($(codeset_mo)): New target.
13930 (tst-codeset.out): Depend on that. Remove explicit rule.
13931 (tst-gettext3.out, tst-gettext5.out): Likewise.
13932 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13933 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13934 * intl/tst-codeset.sh: Remove.
13935 * intl/tst-gettext3.sh: Likewise.
13936 * intl/tst-gettext5.sh: Likewise.
13938 2012-08-17 Roland McGrath <roland@hack.frob.com>
13940 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13941 * sysdeps/unix/syscalls.list: ... here.
13943 * sysdeps/posix/getaddrinfo.c
13944 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13945 (gaiconf_init, gaiconf_reload): Use them.
13946 [!_STATBUF_ST_NSEC]
13947 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13948 Define using time_t rather than struct timespec.
13950 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13951 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13953 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13955 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13956 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13959 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13960 __libc_cleanup_push argument.
13962 * bits/param.h: New file.
13963 * misc/sys/param.h: New file.
13964 * include/sys/param.h: New file.
13965 * misc/Makefile (headers): Add bits/param.h.
13966 * sysdeps/generic/sys/param.h: File removed.
13967 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13968 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13969 * sysdeps/mach/hurd/bits/param.h: New file.
13970 * sysdeps/mach/hurd/sys/param.h: File removed.
13972 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13975 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13977 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13978 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13981 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13982 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13983 rather than -D_IO_MTSAFE_IO conditionally.
13984 * stdio-common/Makefile (CPPFLAGS): Likewise.
13985 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13986 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13987 Use $(libio-mtsafe).
13988 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13989 of -D_IO_MTSAFE_IO.
13990 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13991 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13992 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13993 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13994 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13995 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13996 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13997 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13998 (CFLAGS-fread_u_chk.c): Likewise.
13999 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14000 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14001 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14002 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14003 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14004 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14005 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14006 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14007 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14009 * libio/Makefile: Test [$(libc-reentrant) = yes]
14010 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14013 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14014 * sysdeps/pthread/configure: File removed.
14015 * sysdeps/pthread/Makeconfig: New file.
14016 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14017 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14019 2012-08-16 Gary Benson <gbenson@redhat.com>
14021 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14022 unmapping the first object in a namespace.
14024 2012-08-16 Roland McGrath <roland@hack.frob.com>
14026 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14027 (__internal_setnetgrent): ... this. Add internal_function to
14028 definition. Add libc_hidden_def.
14029 (setnetgrent): Update caller.
14030 (internal_endnetgrent): Renamed to ...
14031 (__internal_endnetgrent): ... this. Add internal_function to
14032 definition. Add libc_hidden_def.
14033 (endnetgrent): Update caller.
14034 (internal_getnetgrent_r): Renamed to ...
14035 (__internal_getnetgrent_r): ... this. Add internal_function to
14036 definition. Add libc_hidden_def.
14037 (__getnetgrent_r): Update caller.
14038 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14040 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14042 * stdlib/longlong.h: Update from GCC.
14044 2012-08-16 Roland McGrath <roland@hack.frob.com>
14046 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14047 on _QL, which is set by umul_ppmm but never used.
14048 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14049 variables, which are set by GMP macros but never used.
14050 * stdio-common/_itowa.c (_itowa): Likewise.
14051 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14052 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14054 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14056 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14057 struct La_sh_regs is not constant.
14058 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14059 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14060 and struct La_sparc64_regs are not constant.
14062 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14064 * sysdeps/unix/sysv/linux/kernel-features.h
14065 (__ASSUME_POSIX_TIMERS): Remove.
14066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14067 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14068 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14069 Make code unconditional.
14070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14071 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14072 Make code unconditional.
14073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14074 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14075 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14076 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14077 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14078 Make code unconditional.
14079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14080 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14081 (__libc_missing_posix_timers): Remove.
14083 2012-08-15 Roland McGrath <roland@hack.frob.com>
14085 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14086 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14088 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14090 * elf/dl-sym.c: Include <stdlib.h>.
14092 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14093 constants, which avoids warnings in 32-bit builds.
14095 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14096 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14098 * misc/lseek.c: File moved to ...
14099 * io/lseek.c: ... here.
14101 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14103 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14104 shifting LEN more than 31 bits at once.
14106 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14109 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14110 segmentation fault for a case of two empty input strings.
14111 * string/test-strncasecmp.c (check1): Renamed to...
14112 (bz12205): ...this.
14113 (bz14195): Add new testcase for two empty input strings and N > 0.
14114 (test_main): Call new testcase, adapt for renamed function.
14116 2012-08-15 Andreas Jaeger <aj@suse.de>
14119 * crypt/md5test2.c: New test, based on test supplied by Serge
14120 Belyshev <belyshev@depni.sinp.msu.ru>.
14121 * crypt/Makefile (xtests): Add md5test-giant..
14122 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14124 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14127 * crypt/md5.c (md5_process_block): Don't assume the buffer
14128 length is less than 2**32.
14129 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14130 length is less than 2**64.
14132 2012-08-15 Roland McGrath <roland@hack.frob.com>
14134 * string/str-two-way.h: Include <sys/param.h>.
14135 (MAX): Macro removed.
14137 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14138 Move #define and #undef of memmove to just before and after
14139 including <string.h>.
14141 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14142 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14143 and after including <string.h>. Move declarations of
14144 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14145 to before #include "string/memmove.c".
14147 * include/dirent.h: Declare __getdirentries.
14149 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14150 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14152 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14154 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14155 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14156 * sysdeps/i386/configure: Regenerated.
14157 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14158 STABS_CURRENT_FILE, and STABS_FUN.
14159 (END): Remove call to STABS_FUN_END.
14160 (STABS_CURRENT_FILE1): Delete.
14161 (STABS_CURRENT_FILE): Likewise.
14162 (STABS_FUN): Likewise.
14163 (STABS_FUN_END): Likewise.
14164 (STABS_FUN2): Likewise.
14165 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14166 * sysdeps/x86_64/configure: Regenerated.
14168 2012-08-14 Roland McGrath <roland@hack.frob.com>
14170 * elf/dl-open.c: Include <atomic.h>.
14171 * elf/dl-lookup.c: Likewise.
14173 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14175 * sysdeps/unix/sysv/linux/kernel-features.h
14176 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14177 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14179 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14181 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14182 condition on __ASSUME_CLONE_THREAD_FLAGS.
14184 2012-08-14 Andreas Jaeger <aj@suse.de>
14186 * sysdeps/i386/fpu/libm-test-ulps: Update.
14188 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14190 * include/atomic.h (atomic_exchange_and_add): Split into ...
14191 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14194 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14198 2012-08-13 Jeff Law <law@redhat.com>
14200 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14201 null byte in the output string.
14203 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14205 * sysdeps/unix/sysv/linux/kernel-features.h
14206 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14207 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14208 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14209 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14210 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14211 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14212 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14214 2012-08-09 Jeff Law <law@redhat.com>
14217 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14218 When avoid_arena is set, don't retry in the that arena. Pick the
14219 next one, whatever it might be.
14220 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14221 (arena_lock): Pass in new parameter to arena_get2.
14222 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14224 (__libc_malloc): Unify retrying after main arena failure with
14225 __libc_memalign version.
14226 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14228 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14232 to __redirect_strstr.
14233 (__strstr_sse42): Use typeof __redirect_strstr.
14234 (__strstr_ia32): Likewise.
14235 (__libc_strstr): New prototype.
14236 (strstr): Renamed to ...
14237 (__libc_strstr): This.
14238 (strstr): New strong alias of __libc_strstr.
14239 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14243 (__libc_time): New prototype.
14244 (time_ifunc): Replace time with __libc_time.
14245 (time): New strong alias and hidden definition of __libc_time.
14246 (__GI_time): Remove strong alias.
14247 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14248 Include <stddef.h>.
14249 (memmove): Redefined to __redirect_memmove.
14250 (__memmove_sse2): Use typeof __redirect_memmove.
14251 (__memmove_ssse3): Likewise.
14252 (__memmove_ssse3_back): Likewise.
14253 (__libc_memmove): New prototype.
14254 (memmove): Renamed to ...
14255 (__libc_memmove): This.
14256 (memmove): New strong alias of __libc_memmove.
14258 2012-08-08 Mark Salter <msalter@redhat.com>
14261 (R_MN10300_TLS_GD): Define.
14262 (R_MN10300_TLS_LD): Likewise.
14263 (R_MN10300_TLS_LDO): Likewise.
14264 (R_MN10300_TLS_GOTIE): Likewise.
14265 (R_MN10300_TLS_IE): Likewise.
14266 (R_MN10300_TLS_LE): Likewise.
14267 (R_MN10300_TLS_DTPMOD): Likewise.
14268 (R_MN10300_TLS_DTPOFF): Likewise.
14269 (R_MN10300_TLS_TPOFF): Likewise.
14270 (R_MN10300_SYM_DIFF): Likewise.
14271 (R_MN10300_ALIGN): Likewise.
14272 (R_MN10300_NUM): Update.
14274 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14279 2012-08-08 Roland McGrath <roland@hack.frob.com>
14281 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14283 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14284 sysdeps/unix -> sysdeps/posix move.
14285 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14287 2012-08-07 Allan McRae <allan@archlinux.org>
14290 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14291 (SUNOS_CPP): Likewise.
14292 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14294 (open_input): Call CPP using execvp.
14296 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14298 * sysdeps/unix/sysv/linux/kernel-features.h
14299 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14300 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14301 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14302 (__ASSUME_WAITID_SYSCALL): Likewise.
14303 * sysdeps/unix/sysv/linux/dl-execstack.c
14304 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14305 code unconditional.
14306 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14309 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14310 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14312 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14314 [__ASSUME_WAITID_SYSCALL]: Likewise.
14315 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14317 2012-08-07 Roland McGrath <roland@hack.frob.com>
14319 * sysdeps/unix/closedir.c: Renamed to ...
14320 * sysdeps/posix/closedir.c: ... here.
14321 * sysdeps/unix/dirfd.c: Renamed to ...
14322 * sysdeps/posix/dirfd.c: ... here.
14323 * sysdeps/unix/dirstream.h: Renamed to ...
14324 * sysdeps/posix/dirstream.h: ... here.
14325 * sysdeps/unix/fdopendir.c: Renamed to ...
14326 * sysdeps/posix/fdopendir.c: ... here.
14327 * sysdeps/unix/opendir.c: Renamed to ...
14328 * sysdeps/posix/opendir.c: ... here.
14329 * sysdeps/unix/readdir.c: Renamed to ...
14330 * sysdeps/posix/readdir.c: ... here.
14331 * sysdeps/unix/readdir_r.c: Renamed to ...
14332 * sysdeps/posix/readdir_r.c: ... here.
14333 * sysdeps/unix/rewinddir.c: Renamed to ...
14334 * sysdeps/posix/rewinddir.c: ... here.
14335 * sysdeps/unix/seekdir.c: Renamed to ...
14336 * sysdeps/posix/seekdir.c: ... here.
14337 * sysdeps/unix/telldir.c: Renamed to ...
14338 * sysdeps/posix/telldir.c: ... here.
14339 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14340 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14341 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14342 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14344 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14345 * bits/fcntl.h: ... here.
14347 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14349 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14350 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14351 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14352 (struct flock): Move l_start, l_len to the beginning.
14353 Use __pid_t for l_pid.
14354 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14355 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14356 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14357 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14358 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14359 [__USE_LARGEFILE64] (struct flock64): New type.
14360 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14362 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14363 * bits/dirent.h: ... here.
14365 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14366 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14368 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14371 Change from 2.6.0 to 2.6.16.
14372 * sysdeps/unix/sysv/linux/configure: Regenerated.
14373 * sysdeps/unix/sysv/linux/kernel-features.h
14374 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14375 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14377 (__ASSUME_UTIMES): Likewise.
14378 (__ASSUME_CLONE_STOPPED): Remove.
14379 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14380 architectures, not kernel version.
14381 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14382 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14383 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14384 (__ASSUME_WAITID_SYSCALL): Likewise.
14385 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14386 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14387 * README: State 2.6.16 as minimum Linux kernel version. Do not
14388 refer to older versions.
14390 2012-08-06 Roland McGrath <roland@hack.frob.com>
14392 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14393 Define alphasort64 as an alias.
14394 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14395 Define versionsort64 as an alias.
14396 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14397 Define scandir64 as an alias.
14398 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14399 Define scandirat64 as an alias.
14400 * dirent/alphasort64.c (alphasort64):
14401 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14402 * dirent/versionsort64.c: Likewise.
14403 * dirent/scandir64.c: Likewise.
14404 * dirent/scandirat64.c: Likewise.
14405 * sysdeps/wordsize-64/alphasort.c: File removed.
14406 * sysdeps/wordsize-64/alphasort64.c: File removed.
14407 * sysdeps/wordsize-64/scandir.c: File removed.
14408 * sysdeps/wordsize-64/scandir64.c: File removed.
14409 * sysdeps/wordsize-64/scandirat.c: File removed.
14410 * sysdeps/wordsize-64/scandirat64.c: File removed.
14411 * sysdeps/wordsize-64/versionsort.c: File removed.
14412 * sysdeps/wordsize-64/versionsort64.c: File removed.
14413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14414 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14415 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14416 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14419 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14420 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14422 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14424 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14426 [defined __arch64__ || defined __sparcv9]
14427 (__INO_T_MATCHES_INO64_T): New macro.
14428 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14429 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14430 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14431 * sysdeps/unix/sysv/linux/bits/dirent.h
14432 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14433 (_DIRENT_MATCHES_DIRENT64): New macro.
14435 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14436 Define lockf64 as an alias.
14437 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14438 Define fseeko64 as an alias.
14439 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14440 Define ftello64 as an alias.
14441 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14442 Define _IO_fgetpos64 and fgetpos64 as aliases.
14443 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14444 Define _IO_fsetpos64 and fsetpos64 as aliases.
14445 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14446 Conditionalize body on this.
14447 * libio/fseeko64.c: Likewise.
14448 * libio/ftello64.c: Likewise.
14449 * libio/iofgetpos64.c: Likewise.
14450 * libio/iofsetpos64.c: Likewise.
14451 * sysdeps/wordsize-64/lockf.c: File removed.
14452 * sysdeps/wordsize-64/lockf64.c: File removed.
14453 * sysdeps/wordsize-64/fseeko.c: File removed.
14454 * sysdeps/wordsize-64/fseeko64.c: File removed.
14455 * sysdeps/wordsize-64/ftello.c: File removed.
14456 * sysdeps/wordsize-64/ftello64.c: File removed.
14457 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14458 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14459 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14460 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14461 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14462 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14463 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14464 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14465 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14466 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14468 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14469 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14470 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14472 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14474 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14476 [defined __arch64__ || defined __sparcv9]
14477 (__OFF_T_MATCHES_OFF64_T): New macro.
14478 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14479 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14481 (__OFF_T_MATCHES_OFF64_T): New macro.
14483 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14485 * stdlib/secure-getenv.c (__secure_getenv): Replace
14486 GLIBC_2_16 with GLIBC_2_17.
14488 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14490 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14491 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14493 2012-08-03 David S. Miller <davem@davemloft.net>
14495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14497 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14501 (__ASSUME_CORRECT_SI_PID): Likewise.
14502 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14503 (__ASSUME_TMPFS_NAME): Likewise.
14504 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14505 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14506 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14507 (HAVE_AUX_SECURE): Make definition unconditional.
14508 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14509 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14511 2012-08-03 Roland McGrath <roland@hack.frob.com>
14513 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14514 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14515 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14516 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14517 __eloop_threshold instead of SYMLOOP_MAX.
14519 * sysdeps/generic/eloop-threshold.h: New file.
14520 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14522 * elf/chroot_canon.c (chroot_canon): Likewise.
14524 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14528 Change to 2.6.0 everywhere.
14529 * sysdeps/unix/sysv/linux/configure: Regenerated.
14530 * sysdeps/unix/sysv/linux/kernel-features.h
14531 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14532 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14534 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14535 (__ASSUME_FUTEX_REQUEUE): Remove.
14536 (__ASSUME_STATFS64): Define unconditionally.
14537 (__ASSUME_AT_SECURE): Likewise.
14538 (__ASSUME_CORRECT_SI_PID): Likewise.
14539 (__ASSUME_TGKILL): Define without depending on kernel version for
14541 (__ASSUME_UTIMES): Likewise.
14542 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14544 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14545 (__ASSUME_TMPFS_NAME): Likewise.
14546 * README: Update reference to Linux kernel versions.
14548 2012-08-02 Marek Polacek <polacek@redhat.com>
14551 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14552 libc_cv_asm_type_prefix with %.
14553 * configure: Regenerated.
14554 * include/libc-symbols.h: Remove comment about
14555 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14556 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14557 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14558 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14559 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14560 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14561 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14562 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14563 * elf/tst-unique2mod1.c: Likewise.
14564 * elf/tst-unique1mod2.c: Likewise.
14565 * elf/tst-unique1mod1.c: Likewise.
14566 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14567 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14568 Replace ASM_TYPE_DIRECTIVE with .type.
14569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14570 * sysdeps/i386/sysdep.h: Likewise.
14571 * sysdeps/x86_64/sysdep.h: Likewise.
14572 * sysdeps/sh/sysdep.h: Likewise.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14574 Do not define ASM_TYPE_DIRECTIVE.
14575 * sysdeps/powerpc/sysdep.h: Likewise.
14576 * sysdeps/powerpc/powerpc32/sysdep.h:
14577 Replace ASM_TYPE_DIRECTIVE with .type.
14578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14579 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14580 * sysdeps/i386/fpu/e_powf.S: Likewise.
14581 * sysdeps/i386/fpu/e_expl.S: Likewise.
14582 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14584 * sysdeps/i386/fpu/e_pow.S: Likewise.
14585 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14587 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14588 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14589 * sysdeps/i386/fpu/e_log2.S: Likewise.
14590 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14592 * sysdeps/i386/fpu/e_powl.S: Likewise.
14593 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14594 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14595 * sysdeps/i386/fpu/e_logl.S: Likewise.
14596 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14597 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14598 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14599 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14600 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14601 * sysdeps/i386/fpu/e_log.S: Likewise.
14602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14603 * sysdeps/i386/fpu/e_logf.S: Likewise.
14604 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14605 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14606 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14607 * sysdeps/i386/fpu/e_log10.S: Likewise.
14608 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14610 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14611 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14612 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14613 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14614 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14615 * sysdeps/i386/i686/strtok.S: Likewise.
14616 * sysdeps/i386/i386-mcount.S: Likewise.
14617 * sysdeps/i386/strtok.S: Likewise.
14618 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14621 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14622 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14623 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14624 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14625 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14626 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14627 * sysdeps/x86_64/_mcount.S: Likewise.
14628 * sysdeps/x86_64/strtok.S: Likewise.
14629 * sysdeps/sh/_mcount.S: Likewise.
14631 2012-08-01 Roland McGrath <roland@hack.frob.com>
14633 * libio/iofopen.c: Include <fcntl.h>.
14634 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14635 (_IO_fopen64, fopen64): Define as aliases.
14636 * libio/iofopen64.c: Include <fcntl.h>.
14637 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14638 Conditionalize body on this.
14639 * sysdeps/wordsize-64/iofopen.c: File removed.
14640 * sysdeps/wordsize-64/iofopen64.c: File removed.
14642 2012-08-01 Marek Polacek <polacek@redhat.com>
14644 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14645 Use dlfcn directly instead of a variable.
14646 (binfmt-subdir): Do not define.
14649 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14652 Remove all definitions.
14653 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14654 <kernel-features.h>.
14655 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14656 (miss_F_GETOWN_EX): Remove all definitions.
14657 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14659 [!__ASSUME_FCNTL64]: Remove conditional code.
14660 [__ASSUME_FCNTL64]: Make code unconditional.
14661 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14662 <kernel-features.h>.
14663 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14664 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14665 (lockf64) [__NR_fcntl64]: Make code unconditional.
14666 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14668 * sysdeps/unix/sysv/linux/kernel-features.h
14669 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14670 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14671 Make code unconditional.
14672 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14673 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14675 [__NR_vfork]: Make code unconditional.
14676 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14677 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14679 [__NR_vfork]: Make code unconditional.
14680 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14681 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14683 2012-08-01 Roland McGrath <roland@hack.frob.com>
14685 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14686 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14688 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14689 Define mkstemp64 as an alias.
14690 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14691 Define mkstemps64 as an alias.
14692 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14693 Define mkostemp64 as an alias.
14694 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14695 Define mkostemps64 as an alias.
14696 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14697 Conditionalize body on this.
14698 * misc/mkostemp64.c: Likewise.
14699 * misc/mkostemps64.c: Likewise.
14700 * misc/mkstemps64.c: Likewise.
14701 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14702 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14703 * sysdeps/wordsize-64/mkostemp.c: File removed.
14704 * sysdeps/wordsize-64/mkstemp.c: File removed.
14705 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14706 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14707 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14708 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14711 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14712 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14713 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14714 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14716 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14717 compat_symbol macros from <shlib-compat.h> rather than the underlying
14718 default_symbol_version and symbol_version macros, so that DEFAULT
14719 lines in shlib-versions are respected.
14720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14722 2012-08-01 Florian Weimer <fweimer@redhat.com>
14724 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14725 Declare with warn_unused_result.
14726 (setgid, setregid, setegid, setresgid): Likewise.
14727 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14729 * WUR-REPORT: Remove set*id functions.
14731 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14733 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14735 2012-07-31 Roland McGrath <roland@hack.frob.com>
14738 * include/sys/socket.h (__libc_accept, __libc_accept4):
14739 Add attribute_hidden.
14740 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14744 * inet/getnetgrent_r.c (setup): Likewise.
14746 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14748 2012-07-31 David S. Miller <davem@davemloft.net>
14750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14752 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14755 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14756 value between 1.0 and 2.0 and smaller part has absolute value less
14758 * math/s_clog10.c (__clog10): Likewise.
14759 * math/s_clog10f.c (__clog10f): Likewise.
14760 * math/s_clog10l.c (__clog10l): Likewise.
14761 * math/s_clogf.c (__clogf): Likewise.
14762 * math/s_clogl.c (__clogl): Likewise.
14763 * math/libm-test.inc (clog_test): Add more tests.
14764 (clog10_test): Likewise.
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768 2012-07-31 Florian Weimer <fweimer@redhat.com>
14770 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14771 Exit with zero in case no suitable GID is found, and write a
14772 message to standard error.
14774 2012-07-30 Roland McGrath <roland@hack.frob.com>
14776 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14778 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14779 (MAXPATHLEN): Removed.
14780 (NOGROUP, NODEV): New macros.
14781 (setbit, clrbit, isset, isclr): New macros.
14782 (howmany, roundup, powerof2): New macros.
14783 (DEV_BSIZE): New macro.
14785 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14786 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14788 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14789 definition on [!__NO_LONG_DOUBLE_MATH].
14791 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14792 PTR_MANGLE and PTR_DEMANGLE.
14794 * socket/accept4.c (accept4): Rename to __libc_accept4.
14795 Define accept4 as a weak alias.
14797 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14798 on [_DIRENT_HAVE_D_TYPE].
14799 * io/ftw.c (ftw_dir): Likewise.
14801 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14803 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14805 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14806 Use the BSD numbers rather than the arbitrary ones we had.
14807 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14808 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14809 (SIGXCPU, SIGXFSZ): New macros.
14812 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14813 initializer on [_LIBC_REENTRANT].
14815 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14816 definitions inside [_POSIX_MAPPED_FILES].
14818 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14820 * dirent/opendir.c: Include <fcntl.h>.
14822 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14823 (__libc_getspecific): Likewise.
14824 (__libc_key_create): Likewise.
14826 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14827 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14828 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14829 (tmpfile64): Define as alias.
14830 * sysdeps/wordsize-64/tmpfile.c: File removed.
14831 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14835 * stdio-common/vfscanf.c: Include <stdbool.h>.
14836 * nss/makedb.c: Likewise.
14837 * stdio-common/_i18n_number.h: Likewise.
14838 * argp/argp-help.c: Likewise.
14839 * posix/wordexp.c: Likewise.
14840 * sysdeps/posix/spawni.c: Likewise.
14841 * nss/nss_files/files-initgroups.c: Likewise.
14842 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14843 * nss/nss_files/files-initgroups.c: Likewise.
14844 * nss/nss_db/db-netgrp.c: Likewise.
14845 * nss/nss_db/db-initgroups.c: Likewise.
14846 * io/fchmodat.c: Include <sys/stat.h>.
14848 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14849 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14851 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14854 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14855 Add multiple inclusion protection.
14857 2012-07-27 David S. Miller <davem@davemloft.net>
14859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14861 2012-07-27 Gary Benson <gbenson@redhat.com>
14864 * elf/rtld.c: Include <stap-probe.h>.
14865 (dl_main): Added static probes "init_start" and "init_complete".
14866 * elf/dl-load.c: Include <stap-probe.h>.
14867 (lose): Take new parameter "nsid".
14868 Added static probe "map_failed".
14869 (_dl_map_object_from_fd): Pass namespace id to lose.
14870 Added static probe "map_start".
14871 (open_verify): Pass namespace id to lose.
14872 * elf/dl-open.c: Include <stap-probe.h>.
14873 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14874 and "reloc_complete".
14875 * elf/dl-close.c: Include <stap-probe.h>.
14876 (_dl_close_worker): Added static probes "unmap_start" and
14878 * elf/rtld-debugger-interface.txt: New file documenting the above.
14880 2012-07-26 Roland McGrath <roland@hack.frob.com>
14882 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14883 rather than a string variable.
14884 * sunrpc/rpc_main.c (h_output): Likewise.
14885 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14887 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14889 * inet/check_native.c: New file.
14891 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14894 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14895 if larger part has absolute value 1.0.
14896 * math/s_clog10.c (__clog10): Likewise.
14897 * math/s_clog10f.c (__clog10f): Likewise.
14898 * math/s_clog10l.c (__clog10l): Likewise.
14899 * math/s_clogf.c (__clogf): Likewise.
14900 * math/s_clogl.c (__clogl): Likewise.
14901 * math/libm-test.inc (clog_test): Add more tests.
14902 (clog10_test): Likewise.
14903 * sysdeps/i386/fpu/libm-test-ulps: Update.
14904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14906 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14907 (pltexit): Likewise.
14908 (La_regs): Likewise.
14909 (La_retval): Likewise.
14910 (int_retval): Likewise.
14911 Update #error for removed macros to refer only to definitions in
14913 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14915 (pltexit): Likewise.
14916 (La_regs): Likewise.
14917 (La_retval): Likewise.
14918 (int_retval): Likewise.
14919 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14921 (pltexit): Likewise.
14922 (La_regs): Likewise.
14923 (La_retval): Likewise.
14924 (int_retval): Likewise.
14925 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14927 (pltexit): Likewise.
14928 (La_regs): Likewise.
14929 (La_retval): Likewise.
14930 (int_retval): Likewise.
14931 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14933 (pltexit): Likewise.
14934 (La_regs): Likewise.
14935 (La_retval): Likewise.
14936 (int_retval): Likewise.
14937 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14939 (pltexit): Likewise.
14940 (La_regs): Likewise.
14941 (La_retval): Likewise.
14942 (int_retval): Likewise.
14943 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14945 (pltexit): Likewise.
14946 (La_regs): Likewise.
14947 (La_retval): Likewise.
14948 (int_retval): Likewise.
14949 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14950 macro definitions in tst-audit.h.
14951 * sysdeps/i386/tst-audit.h: New file.
14952 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14953 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14954 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14955 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14956 * sysdeps/sh/tst-audit.h: Likewise.
14957 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14958 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14959 * sysdeps/x86_64/tst-audit.h: Likewise.
14961 2012-07-26 Andreas Jaeger <aj@suse.de>
14963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14966 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14967 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14968 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14970 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14971 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14972 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14974 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14977 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14979 (si_call_addr, si_syscall, si_arch): Define new macro.
14980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14982 (si_call_addr, si_syscall, si_arch): Define new marcro.
14983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14985 (si_call_addr, si_syscall, si_arch): Define new macro.
14986 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14988 (si_call_addr, si_syscall, si_arch): Define new macro.
14990 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14994 Change to 2.4.21 where previously 2.4.1.
14995 * sysdeps/unix/sysv/linux/configure: Regenerated.
14996 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14997 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14998 Linux kernel version.
14999 (__ASSUME_STD_AUXV): Remove.
15000 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15002 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15003 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15004 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15005 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15006 (__ASSUME_NETLINK_SUPPORT): Likewise.
15007 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15008 (__no_netlink_support): Remove conditional definition.
15009 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15011 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15012 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15013 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15014 (if_nameindex_ioctl): Remove.
15015 (if_nameindex_netlink): Do not handle __no_netlink_support.
15016 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15018 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15019 Remove conditional code.
15020 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15022 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15024 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15025 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15026 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15028 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15029 [!__ASSUME_STD_AUXV]: Remove conditional code.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15031 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15032 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15034 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15035 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15037 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15039 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15040 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15042 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15044 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15047 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15050 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15051 code unconditional.
15052 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15054 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15056 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15059 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15061 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15064 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15065 code unconditional.
15066 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15068 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15070 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15073 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15074 code unconditional.
15075 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15077 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15079 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15082 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15084 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15085 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15086 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15087 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15088 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15089 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15090 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15091 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15092 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15093 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15094 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15095 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15096 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15097 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15098 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15100 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15101 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15102 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15104 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15105 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15106 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15108 2012-07-25 Florian Weimer <fweimer@redhat.com>
15110 * Versions.def: Add GLIBC_2.17.
15111 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15112 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15113 Introduce __libc_secure_getenv.
15114 * stdlib/Versions (2.17): Add secure_getenv
15115 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15116 * stdlib/secure-getenv.c: Rename __secure_getenv to
15117 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15118 symbol __secure_getenv for GLIBC_2.0.
15119 * stdlib/tst-secure-getenv.c: New.
15120 * stdlib/Makefile (tests): Add testcase.
15121 * manual/startup.texi (Environment Access): Document
15123 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15124 __libc_secure_getenv.
15125 * inet/ruserpass.c (ruserpass): Likewise.
15126 * malloc/mtrace.c (mtrace): Likewise.
15127 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15128 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15129 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15130 * sysdeps/posix/tempname.c: Likewise. Evaluate
15131 HAVE_SECURE_GETENV.
15132 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15133 __secure_getenv to __libc_secure_getenv.
15134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15147 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15149 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15150 (struct La_i86_retval): Likewise.
15151 (struct La_x86_64_regs): Likewise.
15152 (struct La_x86_64_retval): Likewise.
15153 (struct La_x32_regs): Likewise.
15154 (struct La_x32_retval): Likewise.
15155 (struct La_ppc32_regs): Likewise.
15156 (struct La_ppc32_retval): Likewise.
15157 (struct La_ppc64_regs): Likewise.
15158 (struct La_ppc64_retval): Likewise.
15159 (struct La_sh_regs): Likewise.
15160 (struct La_sh_retval): Likewise.
15161 (struct La_s390_32_regs): Likewise.
15162 (struct La_s390_32_retval): Likewise.
15163 (struct La_s390_64_regs): Likewise.
15164 (struct La_s390_64_retval): Likewise.
15165 (struct La_sparc32_regs): Likewise.
15166 (struct La_sparc32_retval): Likewise.
15167 (struct La_sparc64_regs): Likewise.
15168 (struct La_sparc64_retval): Likewise.
15169 (struct audit_ifaces): Remove architecture-specific pltenter and
15171 * sysdeps/i386/ldsodefs.h: New file.
15172 * sysdeps/powerpc/ldsodefs.h: Likewise.
15173 * sysdeps/s390/ldsodefs.h: Likewise.
15174 * sysdeps/sh/ldsodefs.h: Likewise.
15175 * sysdeps/sparc/ldsodefs.h: Likewise.
15176 * sysdeps/x86_64/ldsodefs.h: Likewise.
15178 2012-07-25 Marek Polacek <polacek@redhat.com>
15181 * math/libm-test.inc (yn_test): Add another test.
15182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15183 to ERANGE when the result is +-Inf.
15184 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15185 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15186 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15187 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15189 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15191 * conform/data/time.h-data (NULL): Use macro-constant. Require
15193 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15195 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15197 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15199 * configure.in <sysdeps resolving>: Correct printing
15201 * configure: Regenerate.
15203 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15205 * math/w_ilogb.c: Include <limits.h>.
15206 * math/w_ilogbl.c: Likewise.
15208 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15210 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15211 va_copy. Document allowing for unavailable va_copy only as
15212 pre-C99 compatibility.
15213 * manual/string.texi (Copying and Concatenation): Use va_copy
15214 instead of __va_copy in concat example.
15216 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15218 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15219 (__sendto): Use create_address_port. Initialize APORT and deallocate
15222 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15223 with O_NOLINK passed to __file_name_lookup.
15225 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15226 with O_NOLINK passed to __file_name_lookup.
15228 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15229 negative N or less than NGIDS.
15231 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15232 type to string_t. Set ERANGE as errno and return it if NAME is not big
15233 enough. Use memcpy instead of strncpy.
15235 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15237 * elf/Makefile (check-data): Remove.
15238 (localplt.data): New vpath directive.
15239 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15240 instead of $(check-data).
15241 * scripts/data/localplt-generic.data: Move to ...
15242 * sysdeps/generic/localplt.data: ... here.
15243 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15244 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15245 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15248 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15251 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15254 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15257 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15260 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15264 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15266 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15267 PPC32 and PPC64 files.
15268 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15269 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15271 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15273 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15274 __makecontext_ret to ...
15275 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15276 ... here and call exit if uc_link is NULL. New file.
15277 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15278 __makecontext_ret.S.
15279 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15280 __makecontext_ret to ...
15281 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15282 ... here and call exit if uc_link is NULL. New file.
15283 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15284 __makecontext_ret.S.
15286 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15288 * elf/elf.h (R_390_IRELATIVE): New definition.
15289 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15290 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15291 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15293 (elf_machine_lazy_rel): Likewise.
15294 * sysdeps/s390/dl-irel.h: New file.
15295 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15296 * sysdeps/s390/s390-64/memset.S: New asm code.
15297 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15298 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15299 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15300 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15301 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15302 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15304 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15305 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15306 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15307 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15308 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15309 * sysdeps/s390/s390-32/memset.S: New asm code.
15310 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15312 2012-07-17 Marek Polacek <polacek@redhat.com>
15315 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15316 * sysdeps/s390/s390-64/configure.in: Likewise.
15317 * sysdeps/sparc/configure.in: Likewise.
15318 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15319 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15320 * sysdeps/i386/configure.in: Likewise.
15321 * sysdeps/x86_64/configure.in: Likewise.
15322 * sysdeps/sh/configure.in: Likewise.
15323 * sysdeps/s390/s390-32/configure: Regenerated.
15324 * sysdeps/s390/s390-64/configure: Likewise.
15325 * sysdeps/x86_64/configure: Likewise.
15326 * sysdeps/sh/configure: Likewise.
15327 * sysdeps/powerpc/powerpc64/configure: Likewise.
15328 * sysdeps/powerpc/powerpc32/configure: Likewise.
15329 * sysdeps/sparc/configure: Likwise.
15330 * sysdeps/i386/configure: Likewise.
15332 * elf/dl-open.c: Comment fixes.
15334 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15336 * Makefile [CXX] (check-data): Remove.
15337 [CXX] (c++-types.data): New vpath directive.
15338 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15339 vpath. Do not allow for C++ type data being missing.
15340 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15341 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15342 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15343 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15344 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15345 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15346 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15349 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15352 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15355 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15358 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15361 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15364 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15367 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15370 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15371 definitions to architecture-specific files.
15372 (TLS_IE): Likewise.
15373 (TLS_LD): Likewise.
15374 (TLS_GD): Likewise.
15375 * sysdeps/i386/tls-macros.h: New file.
15376 * sysdeps/powerpc/tls-macros.h: Likewise.
15377 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15378 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15379 * sysdeps/sh/tls-macros.h: Likewise.
15380 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15381 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15382 * sysdeps/x86_64/tls-macros.h: Likewise.
15384 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15387 zero value for regular exit case.
15389 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15390 (__start_context): Preserve zero value for regular exit case.
15392 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15393 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15395 * manual/setjmp.texi (setcontext): Clarify normal process
15396 termination when uc_link is the null pointer.
15397 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15400 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15402 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15403 preprocessor. Test for each exception mask separately.
15405 2012-07-16 Andreas Jaeger <aj@suse.de>
15407 * po/ru.po: Update from translation team.
15409 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15411 * conform/data/string.h-data (NULL): Use macro-constant. Require
15413 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15414 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15415 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15416 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15419 2012-07-13 Andreas Jaeger <aj@suse.de>
15421 * po/fr.po: Update from translation team.
15423 2012-07-12 Marek Polacek <polacek@redhat.com>
15426 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15427 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15430 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15434 Change to 2.4.1 where previously 2.4.0.
15435 * sysdeps/unix/sysv/linux/configure: Regenerated.
15436 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15437 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15439 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15440 (__ASSUME_AT_CLKTCK): Remove.
15441 (__ASSUME_AT_PAGESIZE): Likewise.
15442 (__ASSUME_AT_XID): Likewise.
15443 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15444 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15445 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15447 (HAVE_AUX_PAGESIZE): Likewise.
15448 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15449 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15450 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15452 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15456 the temporary buffer used to invoke __gethostbyname2_r,
15457 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15458 host_data / struct gaih_addrtuple.
15459 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15460 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15461 header file nss/nsswitch.h.
15462 * nss/nsswitch.h (global scope): Add definition of implementation
15463 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15464 resolv/nss_dns/dns-host.c).
15466 2012-07-11 Andreas Jaeger <aj@suse.de>
15468 * po/fr.po: Update from translation team.
15470 * po/sv.po: Update from translation team
15471 * po/fr.po: Another update from translation team.
15473 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15475 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15476 for subnormals or multiply small sinh result by itself.
15477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15480 2012-07-11 David S. Miller <davem@davemloft.net>
15482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15484 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15487 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15488 (INTERNAL_MARK): Shift it here.
15490 2012-07-10 Marek Polacek <polacek@redhat.com>
15493 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15494 libc_cv_asm_global_directive with .globl.
15495 * configure: Regenerated.
15496 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15498 * sysdeps/i386/configure: Regenerated.
15499 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15501 * sysdeps/x86_64/configure: Regenerated.
15502 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15503 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15504 * elf/tst-unique2mod2.c: Likewise.
15505 * elf/tst-unique2mod1.c: Likewise.
15506 * elf/tst-unique1mod2.c: Likewise.
15507 * elf/tst-unique1mod1.c: Likewise.
15508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15509 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15511 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15512 * sysdeps/mach/sysdep.h: Likewise.
15513 * sysdeps/i386/sysdep.h: Likewise.
15514 * sysdeps/i386/i386-mcount.S: Likewise.
15515 * sysdeps/x86_64/_mcount.S: Likewise.
15516 * sysdeps/x86_64/sysdep.h: Likewise.
15517 * sysdeps/sh/_mcount.S: Likewise.
15518 * sysdeps/sh/sysdep.h: Likewise.
15519 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15520 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15521 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15522 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15523 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15524 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15525 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15526 * locale/localeinfo.h: Likewise.
15527 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15528 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15530 2012-07-09 Roland McGrath <roland@hack.frob.com>
15533 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15535 * manual/message.texi (The Uniforum approach): Likewise.
15536 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15537 (glibc iconv Implementation): Likewise.
15539 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15542 * math/s_clog.c (__clog): Avoid scaling a value down where that
15543 could result in underflow.
15544 * math/s_clog10.c (__clog10): Likewise.
15545 * math/s_clog10f.c (__clog10f): Likewise.
15546 * math/s_clog10l.c (__clog10l): Likewise.
15547 * math/s_clogf.c (__clogf): Likewise.
15548 * math/s_clogl.c (__clogl): Likewise.
15549 * math/libm-test.inc (clog_test): Add more tests.
15550 (clog10_test): Likewise.
15551 * sysdeps/i386/fpu/libm-test-ulps: Update.
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15554 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15557 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15558 by 7 not 8 to examine high bit of fractional part.
15561 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15562 for call to __mcount_internal.
15563 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15564 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15565 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15567 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15570 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15571 approximation for values within 0x1p-13f of an odd multiple of
15573 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15574 exception. Add more tests.
15575 * sysdeps/i386/fpu/libm-test-ulps: Update.
15578 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15579 inputs and return -1 for them. Do not check for +Inf in case not
15580 reachable for +Inf.
15581 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15582 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15583 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15584 and return -1 for them. Do not check for +Inf in case not
15585 reachable for +Inf.
15586 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15588 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15589 and return -1 for them. Do not check for +Inf in case not
15590 reachable for +Inf.
15591 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15592 spurious underflow.
15593 * sysdeps/i386/fpu/libm-test-ulps: Update.
15594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15596 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15598 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15600 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15604 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15605 could result in spurious underflow. Scale down values above
15606 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15607 * math/s_csqrtf.c (__csqrtf): Likewise.
15608 * math/s_csqrtl.c (__csqrtl): Likewise.
15609 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15610 spurious underflow.
15611 * sysdeps/i386/fpu/libm-test-ulps: Update.
15612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15614 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15616 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15618 * catgets/xopen-msg.awk: New file.
15619 * catgets/xopen-msg.sed: Removed.
15621 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15623 * intl/po2test.awk: New file.
15624 * intl/po2test.sed: Removed.
15626 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15629 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15630 or multiply small sinh result by itself.
15631 * math/s_ctanf.c (__ctanf): Likewise.
15632 * math/s_ctanh.c (__ctanh): Likewise.
15633 * math/s_ctanhf.c (__ctanhf): Likewise.
15634 * math/s_ctanhl.c (__ctanhl): Likewise.
15635 * math/s_ctanl.c (__ctanl): Likewise.
15636 * math/libm-test.inc (ctan_test_tonearest): New function.
15637 (ctan_test_towardzero): Likewise.
15638 (ctan_test_downward): Likewise.
15639 (ctan_test_upward): Likewise.
15640 (ctanh_test_tonearest): Likewise.
15641 (ctanh_test_towardzero): Likewise.
15642 (ctanh_test_downward): Likewise.
15643 (ctanh_test_upward): Likewise.
15644 (main): Call these new functions.
15645 * sysdeps/i386/fpu/libm-test-ulps: Update.
15646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15648 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15650 * .gitignore: Delete /ports entry.
15652 2012-07-03 Andreas Jaeger <aj@suse.de>
15654 * po/bg.po: Update from translation team.
15655 * po/cs.po: Likewise.
15656 * po/de.po: Likewise.
15657 * po/hr.po: Likewise.
15658 * po/nl.pl: Likewise.
15659 * po/pl.po: Likewise.
15660 * po/vi.po: Likewise.
15662 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15664 * Makeconfig [!+link] (+link-before-libc): New variable.
15665 [!+link] (+link-after-libc): Likewise.
15666 [!+link] (+link-tests): Likewise.
15667 [!+link] (+link): Define in terms of $(+link-before-libc) and
15668 $(+link-after-libc).
15669 [!+link-static] (+link-static-before-libc): New variable.
15670 [!+link-static] (+link-static-after-libc): Likewise.
15671 [!+link-static] (+link-static-tests): Likewise.
15672 [!+link-static] (+link-static): Define in terms of
15673 $(+link-static-before-libc) and $(+link-static-after-libc).
15674 [build-shared] (link-libc-before-gnulib): New variable.
15675 [build-shared] (link-libc-tests): Likewise.
15676 [build-shared] (link-libc): Define in terms of
15677 $(link-libc-before-gnulib).
15678 [!build-shared] (link-libc-tests): New variable.
15679 (link-libc-static-tests): New variable.
15680 [!gnulib] (gnulib-arch): New variable.
15681 [!gnulib] (gnulib-tests): Likewise.
15682 [!gnulib] (static-gnulib-arch): Likewise.
15683 [!gnulib] (static-gnulib-tests): Likewise.
15684 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15685 Define with "=" instead of ":=".
15686 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15687 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15688 * Rules (binaries-all-notests): New variable.
15689 (binaries-all-tests): Likewise.
15690 (binaries-static-notests): Likewise.
15691 (binaries-static-tests): Likewise.
15692 (binaries-all): Define using $(binaries-all-notests) and
15693 $(binaries-all-tests).
15694 (binaries-static): Define using $(binaries-static-notests) and
15695 $(binaries-static-tests).
15696 (binaries-shared-tests): New variable.
15697 (binaries-shared-notests): Likewise.
15698 (binaries-shared): Remove variable.
15699 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15700 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15701 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15702 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15703 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15704 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15705 * elf/Makefile (sln-modules): New variable.
15706 (extra-objs): Add $(sln-modules:=.o).
15707 (ldconfig-modules): Add static-stubs.
15708 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15709 * elf/static-stubs.c: New file.
15712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15713 by 7 not 8 to examine high bit of fractional part. Use volatile
15714 variables when splitting into final array of floats if
15715 __FLT_EVAL_METHOD__ != 0.
15716 * math/libm-test.inc (cos_test): Add another test.
15717 (sin_test): Likewise.
15718 * sysdeps/i386/fpu/libm-test-ulps: Update.
15721 * math/libm-test.inc (cosh_test): Add more tests.
15723 * version.h (RELEASE): Set to "development".
15724 (VERSION): Set to "2.16.90".
15726 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15728 * NEWS: Update copyright. Remove last-updated date.
15729 Mention math library bug fixes and timezone data changes.
15730 * README: Mention GNU/Hurd, x32, and HPPA support status.
15732 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15734 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15736 2012-06-27 Andreas Jaeger <aj@suse.de>
15738 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15740 2012-06-25 Andreas Jaeger <aj@suse.de>
15742 * sysdeps/s390/fpu/libm-test-ulps: Update.
15744 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15745 Thomas Schwinge <thomas@codesourcery.com>
15747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15748 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15752 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15754 * sysdeps/mach/start.c: Remove file.
15755 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15756 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15757 * sysdeps/sh/init-first.c: Likewise.
15759 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15760 registers for frame unwinding purposes, add CFI directives.
15761 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15762 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15763 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15766 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15767 __fortify_fail returning.
15768 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15770 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15771 sysdeps/sh/____longjmp_chk.S.
15772 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15773 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15774 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15775 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15777 * sysdeps/sh/abort-instr.h: New file.
15778 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15779 process in case exit returns.
15781 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15782 initialize the GOT register before use.
15784 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15785 calculation of ARGC > 4.
15787 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15788 meaningful names to some local labels.
15790 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15791 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15793 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15794 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15795 (__arch_compare_and_exchange_val_16_acq): Likewise.
15796 (__arch_compare_and_exchange_val_32_acq): Likewise.
15797 (atomic_exchange_and_add): Fix gUSA sequence.
15798 (atomic_add): Likewise.
15799 (atomic_add_negative): Likewise.
15800 (atomic_add_zero): Likewise.
15801 (atomic_bit_test_set): Likewise.
15803 2012-06-22 Andreas Schwab <schwab@redhat.com>
15806 * include/link.h (struct link_map): Add l_free_initfini.
15807 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15809 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15810 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15811 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15814 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15816 * configure.in: Use AC_LANG_SOURCE.
15817 * configure: Regenerate.
15819 2012-06-22 Roland McGrath <roland@hack.frob.com>
15821 * configure.in (libc_cv_localstatedir): New substituted variable.
15822 * configure: Regenerated.
15823 * config.make.in (localstatedir): New variable, substituted from
15824 libc_cv_localstatedir.
15825 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15826 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15827 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15828 * sysdeps/gnu/configure: Regenerated.
15830 2012-06-21 Jeff Law <law@redhat.com>
15833 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15834 free. Simplify list management for _LIBC case.
15836 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15840 Clear sign bit of 64-bit integer value before comparing against
15843 * sysdeps/mach/configure: Regenerated.
15845 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15848 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15850 2012-06-21 Jeff Law <law@redhat.com>
15853 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15854 uint16_t for elements in the "seen" array to avoid char overflows.
15855 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15856 * elf/dl-open.c (dl_open_worker): Likewise.
15858 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15860 * scripts/list-sources.sh: Scan PORTS for translations.
15861 * po/libc.pot: Regenerated.
15863 2012-06-21 Andreas Jaeger <aj@suse.de>
15866 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15868 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15869 * bits/byteswap-16.h (__bswap_16): Likewise.
15870 * bits/byteswap.h (__bswap_constant_16): Likewise.
15872 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15875 * sysdeps/i386/fpu_control.h: Removed.
15876 * sysdeps/x86_64/fpu_control.h: Moved to ...
15877 * sysdeps/x86/fpu_control.h: Here.
15879 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15880 (_FPU_SETCW): Likewise.
15882 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15885 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15886 * sysdeps/x86/fpu/bits/mathinline.h: This.
15887 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15891 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15892 functions if __x86_64__ is defined.
15894 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15896 * string/endian.h: Add !__ASSEMBLER__ condition for including
15897 conversion interfaces.
15899 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15903 of ABS(x) in calculating zero to negative powers other than odd
15905 * math/libm-test.inc (pow_test): Add more tests.
15907 2012-06-15 Andreas Jaeger <aj@suse.de>
15909 * manual/contrib.texi (Contributors): Update entry of Liubov
15910 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15913 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15915 * string/string.h: Add __wur to GNU version of strerror_r.
15917 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15920 * string/Makefile (tests): Add tst-strtok_r.
15921 * string/tst-strtok_r.c: New file.
15922 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15923 RAX_LP/RDX_LP on SAVE_PTR.
15925 2012-06-14 Roland McGrath <roland@hack.frob.com>
15927 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15929 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15931 * libm_test.inc (csqrt_test): Allow more spurious underflow
15933 (j0_test): Likewise.
15934 (j1_test): Likewise.
15935 (y0_test): Likewise.
15936 (y1_test): Likewise.
15938 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15940 * po/Makefile (libc.pot): Use UTF-8 charset.
15942 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15945 Suppress sign-conversion warning from FD_SET.
15946 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15947 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15948 not unsigned long int.
15949 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15951 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15955 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15956 __extern_always_inline instead of __extern_inline.
15957 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15958 (__signbit): Likewise.
15959 (__signbitl): Support C++ namespace.
15960 (lrintf): New inline function.
15962 (llrintf): Likewise.
15963 (llrint): Likewise.
15973 (floorf): Likewise.
15974 (nearbyint): Likewise.
15975 (nearbyintf): Likewise.
15977 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15979 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15980 non-default versions.
15982 2012-06-11 Roland McGrath <roland@hack.frob.com>
15985 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15987 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15989 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15990 (FE_UPWARD, FE_DOWNWARD): Don't define.
15991 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15992 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15994 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15996 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15997 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15999 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16001 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16003 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16004 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16006 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16009 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16010 * sysdeps/i386/fpu/Implies: New file.
16011 * sysdeps/x86_64/fpu/Implies: Likewise.
16012 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16013 * sysdeps/x86/fpu/bits/fenv.h: This.
16015 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16018 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16021 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16022 character 0xffff that matches the last element of the
16025 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16030 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16033 values higher than 25.6283.
16035 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16038 subnormal exponent extraction and add some __builtin_expect.
16039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16040 Fix for subnormal mantissa calculation.
16042 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16044 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16045 cpu2 is -1 and errno is not ENOSYS.
16047 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16050 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16051 * sysdeps/x86/bits/string.h: This.
16052 * sysdeps/x86_64/bits/string.h: Removed.
16054 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16055 if not compiling for x86-64, but compiling for >= i486.
16057 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16058 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16060 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16061 New macro from Linux kernel 3.4.0.
16062 (FP_XSTATE_MAGIC2): Likewise.
16063 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16064 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16065 (struct _fpx_sw_bytes): New struct.
16066 (struct _xsave_hdr): Likewise.
16067 (struct _ymmh_state): Likewise.
16068 (struct _xstate): Likewise.
16070 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16071 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16072 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16073 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16074 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16075 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16077 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16078 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16079 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16080 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16081 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16082 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16084 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16087 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16088 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16089 (sysdep_headers): Include sys/platform/ppc.h.
16090 * sysdeps/powerpc/test-gettimebase.c: Test for
16091 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16092 * manual/Makefile (appendices): Include platform.texi.
16093 * manual/contrib.texi (Contributors): Update @node pointers.
16094 * manual/maint.texi (Maintenance): Likewise.
16095 (Platform): New node.
16096 * manual/platform.texi: New file. Document the new features.
16098 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16099 Jakub Jelinek <jakub@redhat.com>
16102 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16103 where __builtin_expect is unavailable.
16105 2012-06-03 David S. Miller <davem@davemloft.net>
16107 * stdlib/longlong.h: Updated from GCC.
16109 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16112 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16113 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16116 (GLIBC_2.16): Likewise.
16118 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16120 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16122 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16125 (default-abi): New variable.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16127 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16129 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16131 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16133 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16136 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16137 definition. Document in comment.
16139 2012-06-01 David S. Miller <davem@davemloft.net>
16141 * stdlib/longlong.h: Updated from GCC.
16143 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16146 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16147 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16148 sys/debugreg.h sys/io.h here.
16149 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16150 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16152 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16153 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16154 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16155 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16156 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16157 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16159 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16160 Define only if __x86_64__ is defined.
16162 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16165 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16166 Use int64_t for variable i.
16167 * math/libm-test.inc (fmod_test): Add more tests.
16169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16170 z computation is not scheduled after fetestexcept.
16171 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16172 Use math_force_eval instead of asm to ensure calculation scheduled
16173 before exception test.
16174 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16175 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16177 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16180 computation is not scheduled after fetestexcept.
16182 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16185 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16188 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16190 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16191 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16193 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16196 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16198 (__WCHAR_MIN): Support __WORDSIZE == 64.
16199 (__WCHAR_MAX): Likewise.
16201 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16202 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16205 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16206 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16209 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16210 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16212 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16213 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16215 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16216 Defined to 1 if __x86_64__ isn't defined.
16217 (_STAT_VER_LINUX_OLD): New.
16218 (st_atime): Remove duplicate.
16219 (st_mtime): Likewise.
16220 (st_ctime): Likewise.
16222 2012-05-31 David S. Miller <davem@davemloft.net>
16224 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16227 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16229 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16233 * elf/dl-reloc.c: Include <_itoa.h>.
16234 (_dl_reloc_bad_type): Remove use of INTUSE.
16235 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16236 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16237 * stdio-common/psiginfo.c (psiginfo): Likewise.
16238 * stdio-common/psignal.c (psignal): Likewise.
16239 * string/strsignal.c (strsignal): Likewise.
16240 * include/signal.h (_sys_siglist): Declare hidden proto.
16241 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16242 INTVARDEF with libc_hidden_data_def.
16243 * stdio-common/itoa-udigits.c: Likewise.
16244 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16245 (_itoa_lower_digits_internal): Remove declaration.
16246 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16247 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16248 (_sys_sigabbrev_internal): Remove aliases.
16249 (_sys_siglist): Define hidden alias.
16251 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16256 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16259 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16260 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16262 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16263 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16264 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16265 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16267 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16269 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16270 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16271 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16273 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16281 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16282 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16283 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16285 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16286 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16287 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16288 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16289 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16290 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16292 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16293 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16295 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16296 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16302 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16303 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16305 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16307 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16308 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16309 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16311 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16313 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16315 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16317 * math/math.h (M_El): Use two more decimal places.
16318 (M_LOG2El): Likewise.
16319 (M_LOG10El): Likewise.
16320 (M_LN2l): Likewise.
16321 (M_LN10l): Likewise.
16323 (M_PI_2l): Likewise.
16324 (M_PI_4l): Likewise.
16325 (M_1_PIl): Likewise.
16326 (M_2_PIl): Likewise.
16327 (M_2_SQRTPIl): Likewise.
16328 (M_SQRT2l): Likewise.
16329 (M_SQRT1_2l): Likewise.
16331 2012-05-31 David S. Miller <davem@davemloft.net>
16333 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16334 values between float registers.
16335 * sysdeps/sparc/sparc64/memset.S: Likewise.
16336 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16338 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16340 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16341 -D_FORTIFY_SOURCE=1.
16342 (CPPFLAGS-tst-longjmp_chk.c): Define.
16343 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16344 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16345 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16346 CFLAGS-tst-wchar-h.c.
16348 2012-05-31 Marek Polacek <polacek@redhat.com>
16351 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16352 __endmntent_internal): Remove declaration.
16353 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16354 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16355 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16357 2012-05-30 David S. Miller <davem@davemloft.net>
16359 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16360 (___Q_simulate_exceptions): Use real FP ops rather than writing
16362 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16368 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16369 * sysdeps/x86/bits/xtitypes.h: This.
16371 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16372 * sysdeps/x86/bits/wordsize.h: This.
16374 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16375 * sysdeps/x86/bits/huge_vall.h: This.
16377 * sysdeps/i386/bits/select.h: Removed.
16378 * sysdeps/x86_64/bits/select.h: Renamed to ...
16379 * sysdeps/x86/bits/select.h: This.
16381 * sysdeps/i386/bits/setjmp.h: Removed.
16382 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16383 * sysdeps/x86/bits/setjmp.h: This.
16385 * sysdeps/i386/bits/mathdef.h: Removed.
16386 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16387 * sysdeps/x86/bits/mathdef.h: This.
16389 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16392 * include/sys/socket.h (__connect_internal)
16393 (__libc_sa_len_internal): Remove declaration.
16394 (__connect, __libc_sa_len): Declare hidden_proto.
16395 (SA_LEN): Remove use of INTUSE.
16396 * socket/connect.c: Add libc_hidden_def.
16397 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16398 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16399 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16401 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16402 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16403 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16404 of adding _internal alias.
16406 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16409 * sysdeps/i386/bits/link.h: Removed.
16410 * sysdeps/i386/bits/linkmap.h: Likewise.
16411 * sysdeps/x86_64/bits/link.h: Renamed to ...
16412 * sysdeps/x86/bits/link.h: This.
16413 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16414 * sysdeps/x86/bits/linkmap.h: This.
16416 * sysdeps/i386/bits/endian.h: Removed.
16417 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16418 * sysdeps/x86/bits/endian.h: This.
16420 * sysdeps/i386/bits/byteswap.h: Removed.
16421 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16422 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16423 * sysdeps/x86/bits/byteswap.h: This.
16424 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16425 * sysdeps/x86/bits/byteswap-16.h: This.
16426 * sysdeps/i386/Implies: Add x86.
16427 * sysdeps/x86_64/Implies: Likewise.
16429 2012-05-30 David S. Miller <davem@davemloft.net>
16431 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16432 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16433 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16434 (FP_TRAPPING_EXCEPTIONS): Define.
16435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16436 (FP_TRAPPING_EXCEPTIONS): Define.
16437 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16438 subnormals only when inexact has been signalled or underflow
16439 exceptions are enabled.
16440 (_FP_PACK_CANONICAL): Likewise.
16442 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16445 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16446 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16448 2012-05-30 Richard Henderson <rth@twiddle.net>
16450 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16451 with #ifndef NOT_IN_libc.
16453 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16454 marked to avoid plt entry.
16456 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16459 * Makeconfig (default-abi): New macro.
16460 (abi-includes): Likewise.
16461 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16462 $(abi-$(default-abi)-lib-soname) for soname if defined.
16463 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16465 * Makefile (installed-stubs): Likewise.
16466 * include/stubs-biarch.h: Removed.
16467 * scripts/lib-names.awk: Only handle one library at a time.
16468 * scripts/soversions.awk: Remove WORDSIZE support.
16469 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16471 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16473 (syscall-list-default-condition): Likewise.
16474 (syscall-list-default-condition): Likewise.
16475 (syscall-list-includes): Likewise.
16476 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16477 syscall-list-* with abi-*. Handle undefined abi-variants.
16478 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16479 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16480 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16481 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16482 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16483 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16485 (syscall-list-32-options): Likewise.
16486 (syscall-list-32-condition): Likewise.
16487 (syscall-list-64-options): Likewise.
16488 (syscall-list-64-condition): Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16491 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16494 (abi-64-ld-soname): New macro.
16495 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16496 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16499 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16500 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16502 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16504 * sysdeps/unix/sysv/linux/kernel-features.h
16505 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16506 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16507 include <kernel-features.h>.
16508 [!__NR_ftruncate64]: Remove conditional code.
16509 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16510 [__NR_ftruncate64]: Make code unconditional.
16511 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16512 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16513 include <kernel-features.h>.
16514 [!__NR_ftruncate64]: Remove conditional code.
16515 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16516 [__NR_ftruncate64]: Make code unconditional.
16517 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16519 include <kernel-features.h>.
16520 [!__NR_ftruncate64]: Remove conditional code.
16521 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16522 [__NR_ftruncate64]: Make code unconditional.
16523 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16525 include <kernel-features.h>.
16526 [!__NR_ftruncate64]: Remove conditional code.
16527 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16528 [__NR_ftruncate64]: Make code unconditional.
16529 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16531 * configure.in (libc_cv_fpie): Weaken to a compile test using
16532 LIBC_TRY_CC_OPTION.
16533 * configure: Regenerated.
16535 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16550 2012-05-27 David S. Miller <davem@davemloft.net>
16552 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16554 (__Q_simulate_exceptions): Return void. Change to simulate
16555 exceptions by writing into the %fsr.
16556 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16557 (__Qp_handle_exceptions): Likewise.
16559 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16560 __Qp_handle_exceptions.
16561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16562 __Qp_handle_exceptions.
16563 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16564 as unused and give dummy FP_RND_NEAREST initializer.
16565 (FP_INHIBIT_RESULTS): Define.
16566 (___Q_simulate_exceptions): Update declaration.
16567 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16570 as unused and give dummy FP_RND_NEAREST initializer.
16571 (__Qp_handle_exceptions): Update declaration.
16572 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16575 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16577 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16578 the temporary FPU control word.
16579 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16580 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16581 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16582 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16583 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16584 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16585 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16587 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16588 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16591 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16593 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16596 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16598 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16599 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16600 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16601 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16603 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16604 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16607 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16609 * po/h.po: Update from translation team.
16611 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16613 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16615 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16616 handling of denormals.
16617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16618 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16619 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16620 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16626 2012-05-26 Marek Polacek <polacek@redhat.com>
16629 * math/libm-test.inc (fma_test): Don't always expect underflow
16632 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16635 * elf/tst-execstack.c: Include stackinfo.h.
16636 (do_test): Adjust test case to ensure that pthread_getattr_np
16637 behaviour remains the same after marking stack executable.
16639 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16641 * sysdeps/unix/sysv/linux/kernel-features.h
16642 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16643 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16645 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16646 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16647 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16649 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16650 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16652 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16654 * configure.in: Define the default includes to being none.
16655 * configure: Regenerated.
16657 2012-05-25 Roland McGrath <roland@hack.frob.com>
16659 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16660 * sysdeps/x86_64/setjmp.S: Likewise.
16661 * sysdeps/i386/bsd-setjmp.S: Likewise.
16662 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16663 * sysdeps/i386/setjmp.S: Likewise.
16664 * sysdeps/i386/__longjmp.S: Likewise.
16665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16666 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16668 * include/stap-probe.h: New file.
16669 * configure.in: Handle --enable-systemtap.
16670 * configure: Regenerated.
16671 * config.h.in (USE_STAP_PROBE): New #undef.
16672 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16673 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16674 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16676 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16680 to 2.4.0 where earlier.
16681 * sysdeps/unix/sysv/linux/configure: Regenerated.
16682 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16683 <kernel-features.h>.
16684 [__ASSUME_32BITUIDS]: Make code unconditional.
16685 [!__ASSUME_32BITUIDS]: Remove conditional code.
16686 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16687 <kernel-features.h>.
16688 [__ASSUME_32BITUIDS]: Make code unconditional.
16689 [!__ASSUME_32BITUIDS]: Remove conditional code.
16690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16691 [__ASSUME_32BITUIDS]: Make code unconditional.
16692 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16693 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16694 <kernel-features.h>.
16695 [__ASSUME_32BITUIDS]: Make code unconditional.
16696 [!__ASSUME_32BITUIDS]: Remove conditional code.
16697 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16698 <kernel-features.h>.
16699 [__ASSUME_32BITUIDS]: Make code unconditional.
16700 [!__ASSUME_32BITUIDS]: Remove conditional code.
16701 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16702 <kernel-features.h>.
16703 [__ASSUME_32BITUIDS]: Make code unconditional.
16704 [!__ASSUME_32BITUIDS]: Remove conditional code.
16705 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16706 <kernel-features.h>.
16707 [__ASSUME_32BITUIDS]: Make code unconditional.
16708 [!__ASSUME_32BITUIDS]: Remove conditional code.
16709 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16710 <kernel-features.h>.
16711 [__ASSUME_32BITUIDS]: Make code unconditional.
16712 [!__ASSUME_32BITUIDS]: Remove conditional code.
16713 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16714 <kernel-features.h>.
16715 [__ASSUME_32BITUIDS]: Make code unconditional.
16716 [!__ASSUME_32BITUIDS]: Remove conditional code.
16717 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16718 <kernel-features.h>.
16719 [__ASSUME_32BITUIDS]: Make code unconditional.
16720 [!__ASSUME_32BITUIDS]: Remove conditional code.
16721 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16722 <kernel-features.h>.
16723 [__ASSUME_32BITUIDS]: Make code unconditional.
16724 [!__ASSUME_32BITUIDS]: Remove conditional code.
16725 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16726 <kernel-features.h>.
16727 [__ASSUME_32BITUIDS]: Make code unconditional.
16728 [!__ASSUME_32BITUIDS]: Remove conditional code.
16729 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16730 <kernel-features.h>.
16731 [__ASSUME_32BITUIDS]: Make code unconditional.
16732 [!__ASSUME_32BITUIDS]: Remove conditional code.
16733 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16734 <kernel-features.h>.
16735 [__NR_setresgid] (__setresgid): Do not declare.
16736 [__ASSUME_32BITUIDS]: Make code unconditional.
16737 [!__ASSUME_32BITUIDS]: Remove conditional code.
16738 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16739 <kernel-features.h>.
16740 [__NR_setresuid] (__setresuid): Do not declare.
16741 [__ASSUME_32BITUIDS]: Make code unconditional.
16742 [!__ASSUME_32BITUIDS]: Remove conditional code.
16743 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16744 <kernel-features.h>.
16745 [__ASSUME_32BITUIDS]: Make code unconditional.
16746 [!__ASSUME_32BITUIDS]: Remove conditional code.
16747 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16748 <kernel-features.h>.
16749 [__ASSUME_32BITUIDS]: Make code unconditional.
16750 [!__ASSUME_32BITUIDS]: Remove conditional code.
16751 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16752 <kernel-features.h>.
16753 [__ASSUME_32BITUIDS]: Make code unconditional.
16754 [!__ASSUME_32BITUIDS]: Remove conditional code.
16755 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16756 <kernel-features.h>.
16757 [__ASSUME_32BITUIDS]: Make code unconditional.
16758 [!__ASSUME_32BITUIDS]: Remove conditional code.
16759 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16760 <kernel-features.h>.
16761 [__ASSUME_32BITUIDS]: Make code unconditional.
16762 [!__ASSUME_32BITUIDS]: Remove conditional code.
16763 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16764 <kernel-features.h>.
16765 [__ASSUME_32BITUIDS]: Make code unconditional.
16766 [!__ASSUME_32BITUIDS]: Remove conditional code.
16767 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16768 <kernel-features.h>.
16769 [__ASSUME_32BITUIDS]: Make code unconditional.
16770 [!__ASSUME_32BITUIDS]: Remove conditional code.
16771 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16772 <kernel-features.h>.
16773 [__ASSUME_32BITUIDS]: Make code unconditional.
16774 [!__ASSUME_32BITUIDS]: Remove conditional code.
16775 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16776 <kernel-features.h>.
16777 [__ASSUME_32BITUIDS]: Make code unconditional.
16778 [!__ASSUME_32BITUIDS]: Remove conditional code.
16779 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16780 <kernel-features.h>.
16781 [__ASSUME_32BITUIDS]: Make code unconditional.
16782 [!__ASSUME_32BITUIDS]: Remove conditional code.
16783 * sysdeps/unix/sysv/linux/kernel-features.h
16784 (__ASSUME_SETRESUID_SYSCALL): Remove.
16785 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16786 (__ASSUME_32BITUIDS): Likewise.
16787 (__ASSUME_LDT_WORKS): Likewise.
16788 (__ASSUME_O_DIRECTORY): Likewise.
16789 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16790 architecture but not kernel version.
16791 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16792 (__ASSUME_MMAP2_SYSCALL): Likewise.
16793 (__ASSUME_STAT64_SYSCALL): Likewise.
16794 (__ASSUME_IPC64): Likewise.
16795 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16796 <kernel-features.h>.
16797 [__ASSUME_32BITUIDS]: Make code unconditional.
16798 [!__ASSUME_32BITUIDS]: Remove conditional code.
16799 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16800 <kernel-features.h>.
16801 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16802 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16803 132096]: Remove conditional code.
16804 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16805 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16806 <kernel-features.h>.
16807 [__ASSUME_32BITUIDS]: Make code unconditional.
16808 [!__ASSUME_32BITUIDS]: Remove conditional code.
16809 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16810 <kernel-features.h>.
16811 [__ASSUME_32BITUIDS]: Make code unconditional.
16812 [!__ASSUME_32BITUIDS]: Remove conditional code.
16813 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16814 <kernel-features.h>.
16815 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16817 (__setresgid): Do not declare.
16818 [__ASSUME_32BITUIDS]: Make code unconditional.
16819 [!__ASSUME_32BITUIDS]: Remove conditional code.
16820 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16821 <kernel-features.h>.
16822 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16824 (__setresuid): Do not declare.
16825 [__ASSUME_32BITUIDS]: Make code unconditional.
16826 [!__ASSUME_32BITUIDS]: Remove conditional code.
16827 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16828 <kernel-features.h>.
16829 [__ASSUME_32BITUIDS]: Make code unconditional.
16830 [!__ASSUME_32BITUIDS]: Remove conditional code.
16831 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16832 <kernel-features.h>.
16833 [__ASSUME_32BITUIDS]: Make code unconditional.
16834 [!__ASSUME_32BITUIDS]: Remove conditional code.
16836 2012-05-25 Richard Henderson <rth@twiddle.net>
16838 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16839 dl_hwcap to ifunc resolver.
16840 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16842 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16843 dl_hwcap to ifunc resolver.
16844 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16846 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16849 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16850 for |x| <= 2**-26, not 2**-57.
16851 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16854 2012-05-24 Jeff Law <law@redhat.com>
16856 * stdio-common/Makefile (tests): Add bug25.
16857 * stdio-common/bug25.c: New test.
16859 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16862 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16863 multiple of MALLOC_ALIGNMENT in size.
16864 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16866 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16868 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16870 (FILENAME_MAX): Use macro-int-constant.
16871 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16872 (_IOFBF): Use macro-int-constant.
16873 (_IOLBF): Likewise.
16874 (_IONBF): Likewise.
16875 (SEEK_CUR): Likewise.
16876 (SEEK_END): Likewise.
16877 (SEEK_SET): Likewise.
16878 (TMP_MAX): Likewise.
16879 (EOF): Use macro-int-constant. Require < 0.
16880 (NULL): Use macro-constant. Require == 0.
16881 (stdin): Require type to be FILE *.
16882 (stdout): Likewise.
16883 (stderr): Likewise.
16884 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16885 macro-int-constant.
16886 (EXIT_SUCCESS): Likewise.
16887 (NULL): Use macro-constant. Require == 0.
16888 (RAND_MAX): Use macro-int-constant.
16889 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16890 [C99-based standards] (strtof): Require function.
16891 [C99-based standards] (strtold): Likewise.
16892 [C99-based standards] (strtoll): Likewise.
16893 [C99-based standards] (strtoull): Likewise.
16894 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16895 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16896 [ISO || ISO99 || ISO11] (math.h): Likewise.
16897 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16898 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16899 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16901 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16904 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16905 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16906 * intl/dgettext.c (DCGETTEXT): Likewise.
16907 * intl/gettext.c (DCGETTEXT): Likewise.
16908 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16909 * posix/regex_internal.h (gettext): Likewise.
16910 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16911 Remove declaration.
16912 * include/argz.h (__argz_count_internal)
16913 (__argz_stringify_internal): Remove declaration.
16914 (__argz_count, __argz_stringify): Declare hidden proto.
16915 * intl/dcgettext.c: Remove use of INTDEF.
16916 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16917 * string/argz-stringify.c: Likewise.
16918 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16919 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16920 Declare hidden proto.
16921 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16922 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16923 Declare hidden proto.
16924 * include/stdio.h (__asprintf_internal): Don't declare.
16925 (__asprintf): Don't define as macro. Declare hidden proto.
16926 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16927 (__fsetlocking): Declare hidden proto.
16928 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16929 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16931 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16932 (_IO_setlinebuf): Remove use of INTUSE.
16933 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16934 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16935 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16936 Remove declaration.
16937 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16938 (_IO_do_flush): Remove use of INTUSE.
16939 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16940 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16941 (_IO_adjust_column, _IO_least_wmarker)
16942 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16943 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16944 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16945 (_IO_default_doallocate, _IO_wdefault_doallocate)
16946 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16947 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16948 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16949 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16950 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16951 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16952 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16953 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16954 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16955 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16956 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16957 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16958 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16960 (_IO_flush_all_internal, _IO_adjust_column_internal)
16961 (_IO_default_uflow_internal, _IO_default_finish_internal)
16962 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16963 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16964 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16965 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16966 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16967 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16968 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16969 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16970 (_IO_file_close_internal, _IO_file_close_it_internal)
16971 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16972 (_IO_file_init_internal, _IO_file_attach_internal)
16973 (_IO_file_fopen_internal, _IO_file_read_internal)
16974 (_IO_file_sync_internal, _IO_file_seek_internal)
16975 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16976 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16977 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16978 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16979 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16980 (_IO_list_all_internal, _IO_link_in_internal)
16981 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16982 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16983 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16984 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16985 (_IO_do_write_internal, _IO_padn_internal)
16986 (_IO_getline_info_internal, _IO_getline_internal)
16987 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16988 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16989 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16990 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16991 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16992 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16993 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16994 with libc_hidden_ver, remove use of INTUSE.
16995 * libio/genops.c: Likewise.
16996 * libio/freopen.c: Likewise.
16997 * libio/freopen64.c: Likewise.
16998 * libio/iofclose.c: Likewise.
16999 * libio/iofdopen.c: Likewise.
17000 * libio/iofflush.c: Likewise.
17001 * libio/iofflush_u.c: Likewise.
17002 * libio/iofgets.c: Likewise.
17003 * libio/iofgets_u.c: Likewise.
17004 * libio/iofopen.c: Likewise.
17005 * libio/iofopncook.c: Likewise.
17006 * libio/iofread.c: Likewise.
17007 * libio/iofread_u.c: Likewise.
17008 * libio/ioftell.c: Likewise.
17009 * libio/iofwrite.c: Likewise.
17010 * libio/iogetline.c: Likewise.
17011 * libio/iogets.c: Likewise.
17012 * libio/iogetwline.c: Likewise.
17013 * libio/iopadn.c: Likewise.
17014 * libio/iopopen.c: Likewise.
17015 * libio/ioseekoff.c: Likewise.
17016 * libio/ioseekpos.c: Likewise.
17017 * libio/iosetbuffer.c: Likewise.
17018 * libio/iosetvbuf.c: Likewise.
17019 * libio/ioungetc.c: Likewise.
17020 * libio/ioungetwc.c: Likewise.
17021 * libio/iovdprintf.c: Likewise.
17022 * libio/iovsprintf.c: Likewise.
17023 * libio/iovsscanf.c: Likewise.
17024 * libio/memstream.c: Likewise.
17025 * libio/obprintf.c: Likewise.
17026 * libio/oldfileops.c: Likewise.
17027 * libio/oldiofclose.c: Likewise.
17028 * libio/oldiofdopen.c: Likewise.
17029 * libio/oldiofopen.c: Likewise.
17030 * libio/oldiopopen.c: Likewise.
17031 * libio/oldstdfiles.c: Likewise.
17032 * libio/putc.c: Likewise.
17033 * libio/setbuf.c: Likewise.
17034 * libio/setlinebuf.c: Likewise.
17035 * libio/stdfiles.c: Likewise.
17036 * libio/strops.c: Likewise.
17037 * libio/vasprintf.c: Likewise.
17038 * libio/vscanf.c: Likewise.
17039 * libio/vsnprintf.c: Likewise.
17040 * libio/vswprintf.c: Likewise.
17041 * libio/wfiledoalloc.c: Likewise.
17042 * libio/wfileops.c: Likewise.
17043 * libio/wgenops.c: Likewise.
17044 * libio/wmemstream.c: Likewise.
17045 * libio/wstrops.c: Likewise.
17046 * libio/__fpurge.c: Likewise.
17047 * libio/__fsetlocking.c: Likewise.
17048 * assert/assert.c: Likewise.
17049 * debug/fgets_chk.c: Likewise.
17050 * debug/fgets_u_chk.c: Likewise.
17051 * debug/fread_chk.c: Likewise.
17052 * debug/fread_u_chk.c: Likewise.
17053 * debug/gets_chk.c: Likewise.
17054 * debug/obprintf_chk.c: Likewise.
17055 * debug/vasprintf_chk.c: Likewise.
17056 * debug/vdprintf_chk.c: Likewise.
17057 * debug/vsnprintf_chk.c: Likewise.
17058 * debug/vsprintf_chk.c: Likewise.
17059 * malloc/mtrace.c: Likewise.
17060 * misc/error.c: Likewise.
17061 * misc/syslog.c: Likewise.
17062 * stdio-common/asprintf.c: Likewise.
17063 * stdio-common/fxprintf.c: Likewise.
17064 * stdio-common/getw.c: Likewise.
17065 * stdio-common/isoc99_fscanf.c: Likewise.
17066 * stdio-common/isoc99_scanf.c: Likewise.
17067 * stdio-common/isoc99_vfscanf.c: Likewise.
17068 * stdio-common/isoc99_vscanf.c: Likewise.
17069 * stdio-common/isoc99_vsscanf.c: Likewise.
17070 * stdio-common/printf-prs.c: Likewise.
17071 * stdio-common/printf_fp.c: Likewise.
17072 * stdio-common/printf_fphex.c: Likewise.
17073 * stdio-common/printf_size.c: Likewise.
17074 * stdio-common/putw.c: Likewise.
17075 * stdio-common/scanf.c: Likewise.
17076 * stdio-common/sprintf.c: Likewise.
17077 * stdio-common/tmpfile.c: Likewise.
17078 * stdio-common/vfprintf.c: Likewise.
17079 * stdio-common/vfscanf.c: Likewise.
17080 * stdlib/strfmon_l.c: Likewise.
17081 * sunrpc/openchild.c: Likewise.
17082 * sunrpc/xdr_stdio.c: Likewise.
17083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17084 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17086 2012-05-24 Roland McGrath <roland@hack.frob.com>
17088 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17090 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17091 in the third column, to generate for the shared library an IFUNC
17092 that uses _dl_vdso_vsym.
17093 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17094 * Makeconfig (object-suffixes-noshared): New variable.
17096 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17097 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17098 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17099 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17102 * include/sys/time.h (__gettimeofday): Remove macro.
17103 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17104 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17106 (__gettimeofday): Add libc_hidden_def.
17107 (gettimeofday): Add libc_hidden_weak.
17108 * sysdeps/mach/gettimeofday.c: Likewise.
17109 * sysdeps/posix/gettimeofday.c: Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17111 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17113 (__gettimeofday_internal): Remove strong_alias.
17114 (__gettimeofday): Add libc_hidden_def.
17115 (gettimeofday): Add libc_hidden_weak.
17116 * sysdeps/unix/syscalls.list (gettimeofday):
17117 Remove __gettimeofday_internal alias.
17119 2012-05-24 Daniel Jacobowitz <drow@false.org>
17120 H.J. Lu <hongjiu.lu@intel.com>
17123 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17124 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17125 (largebin_index_32_big): New.
17126 (largebin_index): Use it for 16-byte alignment.
17127 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17128 correction with front_misalign.
17130 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17158 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17159 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17161 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17165 * math/libm-test.inc (exp_test): Add test from bug 14036.
17166 (pow_test): Add test from bug 10846.
17168 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17170 (special_function): Do not include flags in test name.
17171 (parse_args): Likewise.
17172 * sysdeps/i386/fpu/libm-test-ulps: Update.
17173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17174 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17175 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17178 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17180 * math/libm-test.inc ("Philosophy"): Update comment about
17182 (UNDERFLOW_EXCEPTION): New macro.
17183 (UNDERFLOW_EXCEPTION_OK): Likewise.
17184 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17185 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17186 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17187 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17188 (INVALID_EXCEPTION_OK): Update value.
17189 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17190 (OVERFLOW_EXCEPTION_OK): Likewise.
17191 (IGNORE_ZERO_INF_SIGN): Likewise.
17192 (test_exceptions): Handle underflow exceptions.
17193 (acos_test): Update for underflow exception expectations.
17194 (cexp_test): Likewise.
17195 (clog_test): Likewise.
17196 (clog10_test): Likewise.
17197 (csqrt_test): Likewise.
17198 (ctan_test): Likewise.
17199 (ctanh_test): Likewise.
17200 (exp_test): Likewise.
17201 (exp10_test): Likewise.
17202 (exp2_test): Likewise.
17203 (expm1_test): Likewise.
17204 (fma_test): Likewise.
17205 (j0_test): Likewise.
17206 (jn_test): Likewise.
17207 (nexttoward_test): Likewise.
17208 (pow_test): Likewise.
17209 (scalbn_test): Likewise.
17210 (scalbln_test): Likewise.
17211 (tan_test): Likewise.
17212 (y1_test): Likewise.
17213 * sysdeps/i386/fpu/libm-test-ulps: Update.
17214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17216 2012-05-23 David S. Miller <davem@davemloft.net>
17218 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17219 (__libc_sigaction): Remove unused local variables.
17221 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17223 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17225 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17227 mktime: avoid signed integer overflow
17228 * time/mktime.c (__mktime_internal): Do not mishandle the case
17229 where diff == INT_MIN.
17231 mktime: simplify computation of average
17232 * time/mktime.c (ranged_convert): Use new time_t_avg function
17233 instead of rolling our own (probably-slower) code.
17235 mktime: do not assume signed right shift propagates sign bit
17236 * time/mktime.c (isdst_differ): New static function.
17237 (__mktime_internal): No need to normalize tm_isdst now.
17238 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17241 mktime: merge another wrapv change from gnulib
17242 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17243 from some compilers.
17245 mktime: remove incorrect attempt at unusual arithmetics
17246 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17247 The code didn't really work on such machines anyway.
17248 (TYPE_MINIMUM): Assume two's complement.
17249 (twos_complement_arithmetic): Verify that long_int and time_t
17250 are two's complement (or unsigned, in the latter case).
17252 mktime: check signed shifts on long_int and time_t, too
17253 * time/mktime.c (SHR): Check that shifts work as desired
17254 on the types long_int and time_t too, as SHR is used on
17257 mktime: do not assume 'long' is wide enough
17258 * time/mktime.c (verify): Move decl up.
17259 (long_int): New type.
17260 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17261 to remove assumption in the code that 'long' is wide enough to
17262 store year values. This assumption is not true on x32 and on
17263 some non-glibc platforms.
17265 mktime: merge wrapv change from gnulib
17266 * time/mktime.c (WRAPV): New macro.
17267 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17268 (guess_time_tm, __mktime_internal): Do not assume that signed
17269 integer overflow wraps around; modern compilers generate code
17270 where this assumption is no longer valid.
17272 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17274 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17275 Replace "jmp L(pseudo_end)" with "ret".
17276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17279 2012-05-23 Andreas Jaeger <aj@suse.de>
17281 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17282 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17284 2012-05-23 Andreas Jaeger <aj@suse.de>
17285 Maximilian Attems <max@stro.at>
17287 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17290 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17292 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17293 code so that pseudo_end is just ret and the stack pointer is
17294 correct also for static library in error case.
17296 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17298 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17299 move to syscalls.list.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17305 * manual/install.texi (Running make install): Do not mention Linux
17306 kernel version for which pt_chown is not needed.
17307 (Linux): Do not mention problems with nscd with 2.0 kernels.
17308 * INSTALL: Regenerated.
17310 2012-05-23 Andreas Jaeger <aj@suse.de>
17312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17313 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17315 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17316 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17317 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17318 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17319 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17320 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17322 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17324 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17325 * sysdeps/unix/sysv/linux/bits/in.h
17326 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17328 2012-05-22 Roland McGrath <roland@hack.frob.com>
17330 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17331 (PREPARE_VERSION): Just use assert instead, it will be elided
17332 under [NDEBUG] anyway.
17334 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17336 * sysdeps/unix/sysv/linux/Makefile: Include
17337 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17338 (sysdep_routines): Remove sysctl.
17339 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17340 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17341 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17342 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17343 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17345 2012-05-22 Andreas Jaeger <aj@suse.de>
17347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17348 that pseudo_end is just ret and the stack pointer is correct also
17349 for static library in error case.
17351 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17354 * nss/nsswitch.c (defconfig_entries): New variable.
17355 (__nss_database_lookup): Don't leak defconfig entries.
17356 (nss_parse_service_list): Don't leak on error paths.
17357 (free_database_entries): New function.
17358 (free_defconfig): New function.
17359 (free_mem): Move common code to free_database_entries.
17361 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17363 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17365 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17367 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17368 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17371 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17372 (INTERNAL_SYSCALL_TYPES): Likewise.
17373 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17374 (LOAD_REGS_TYPES_[1-6]): Likewise.
17375 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17376 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17378 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17380 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17381 copysignl for GLIBC_2_0.
17382 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17383 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17385 logbl for GLIBC_2_0.
17386 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17387 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17389 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17392 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17394 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17397 * time/mktime.c: Update copyright years.
17399 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17401 mktime: merge comment-quoting-style change from gnulib
17402 * time/mktime.c: Quote 'like this' in comments.
17403 The GNU coding standards suggest that we no longer quote `like this',
17404 as "`" and "'" are typically rendered asymmetrically nowadays.
17405 The typical gnulib style is to quote 'like this' when quoting
17406 code, and "like this" when quoting English.
17408 * time/mktime.c (compile-command): Add "-I.".
17410 mktime: merge mktime-internal.h change from gnulib
17411 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17413 mktime: merge time_r change from gnulib
17414 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17416 mktime: merge DEBUG change from gnulib
17417 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17418 case system <time.h> has a #define.
17420 mktime: merge <sys/types.h> change from gnulib
17421 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17422 since <time.t> is now guaranteed to define time_t.
17424 mktime: merge HAVE_CONFIG_H change from gnulib
17425 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17427 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17432 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17434 (struct rusage): Use anonymous union to pad each field to
17437 2012-05-21 David S. Miller <davem@davemloft.net>
17439 * Makefules (o-iterator): Remove .s cases.
17440 (compile-command.s): Delete.
17441 (COMPILE.s): Delete.
17442 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17444 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17446 * configure.in (libc_cv_predef_stack_protector): Only consider
17447 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17448 * configure: Regenerated.
17450 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17453 New macro. Use R*LP on int and pointer.
17454 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17455 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17456 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17457 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17459 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17460 [__WORDSIZE_TIME64_COMPAT32] instead of
17461 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17462 (struct utmp): Likewise.
17463 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17464 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17466 (__WORDSIZE_TIME64_COMPAT32): This.
17467 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17468 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17469 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17470 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17471 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17472 (__WORDSIZE_TIME64_COMPAT32): New macro.
17474 2012-05-21 Andreas Jaeger <aj@suse.de>
17476 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17477 only if [SHARED]. Add prototype for __wcschr_ia32.
17479 2012-05-21 Roland McGrath <roland@hack.frob.com>
17481 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17482 of %rbp unmolested in the jmp_buf while mangling the low bits.
17483 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17484 unmolested high bits of %rbp while demangling the low bits.
17485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17487 2012-05-21 Andreas Jaeger <aj@suse.de>
17489 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17490 * sunrpc/svc_simple.c: Use it for registerrpc.
17491 * sunrpc/xcrypt.c: Use it for passwd2des.
17493 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17495 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17497 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17498 Don't define if [__SYSCALL_WORDSIZE != 32].
17499 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17502 2012-05-21 Bruno Haible <bruno@clisp.org>
17503 Andreas Jaeger <aj@suse.de>
17505 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17506 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17507 inptr and inend for must_buffer_ch.
17508 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17509 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17510 * stdio-common/Makefile (tests): Remove bug15.
17511 (bug15-ENV): Remove macro.
17512 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17515 2012-05-19 Andreas Jaeger <aj@suse.de>
17516 Roland McGrath <roland@hack.frob.com>
17518 * manual/contrib.texi: Completely rewritten. It contains now an
17519 alphabetical list of contributors and their contributions.
17521 2012-05-21 Richard Henderson <rth@twiddle.net>
17523 * misc/getauxval.c (__getauxval): Use unsigned long int.
17524 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17525 (getauxval): Use unsigned long int.
17527 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17529 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17531 2012-05-21 Roland McGrath <roland@hack.frob.com>
17533 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17534 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17535 __alignof__ (long double).
17537 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17541 2012-05-20 Richard Henderson <rth@twiddle.net>
17543 * misc/getauxval.c: New file.
17544 * misc/sys/auxv.h: New file.
17545 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17546 (routines): Add getauxval.
17547 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17548 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17549 * elf/dl-sysdep.c (_dl_auxv): Remove.
17550 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17551 * elf/dl-support.c (_dl_auxv): New variable.
17552 (_dl_aux_init): Initialize it.
17553 * manual/startup.texi (Auxiliary Vector): New node.
17554 * sysdeps/generic/bits/hwcap.h: New file.
17555 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17556 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17557 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17558 * sysdeps/sparc/sysdep.h: ... here. Include it.
17559 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17560 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17572 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17576 2012-05-19 David S. Miller <davem@davemloft.net>
17578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17580 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17583 * math/s_ccosh.c: Include <float.h>
17584 (__ccosh): Avoid internal overflow calculating sinh and cosh
17585 values before multiplying by sin and cos values.
17586 * math/s_ccoshf.c: Likewise.
17587 * math/s_ccoshl.c: Likewise.
17588 * math/s_csin.c: Likewise.
17589 * math/s_csinf.c: Likewise.
17590 * math/s_csinl.c: Likewise.
17591 * math/s_csinh.c: Likewise.
17592 * math/s_csinhf.c: Likewise.
17593 * math/s_csinhl.c: Likewise.
17594 * math/libm-test.inc (ccos_test): Add more tests.
17595 (ccosh_test): Likewise.
17596 (csin_test): Likewise.
17597 (csinh_test): Likewise.
17598 * sysdeps/i386/fpu/libm-test-ulps: Update.
17599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17601 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17603 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17604 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17606 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17608 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17610 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17611 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17612 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17613 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17614 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17615 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17616 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17617 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17618 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17619 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17620 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17621 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17622 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17623 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17624 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17625 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17626 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17627 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17628 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17629 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17630 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17631 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17632 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17633 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17634 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17635 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17636 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17637 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17638 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17639 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17640 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17642 2012-05-18 Andreas Jaeger <aj@suse.de>
17644 * csu/.gitignore: Delete.
17646 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17648 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17649 (timex): Use __syscall_slong_t.
17651 2012-05-18 Andreas Jaeger <aj@suse.de>
17652 Carlos O'Donell <carlos_odonell@mentor.com>
17654 * manual/install.texi (Configuring and compiling): Update
17655 description about files modified in the source directory.
17656 * INSTALL: Regenerated.
17658 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17660 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17661 value. Use "or" to set return value to -1.
17662 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17663 negate return value.
17665 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17667 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17668 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17669 failure if the compiler has Graphite support disabled.
17670 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17672 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17673 CFLAGS-memmove.c): Likewise.
17674 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17677 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17679 * sysdeps/x86_64/x32/_itoa.h: New file.
17681 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17682 getdents system call only if kernel and user dirents have the
17683 same d_ino and d_off.
17685 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17686 LLONG_MAX != LONG_MAX.
17687 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17688 (_fitoa_word): Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17692 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17693 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17694 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17697 include <bits/wordsize.h>. Check __x86_64__ instead of
17699 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17700 if __x86_64__ is defined. Use anonymous union on fpstate.
17702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17705 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17707 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17708 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17710 Refer to _rtld_local_ro instead of _rtld_global_ro.
17711 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17713 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17715 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17717 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17718 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17719 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17721 * sysdeps/powerpc/powerpc32/dl-machine.c
17722 (__elf_machine_runtime_setup) [PROF]: Don't reference
17725 2012-05-18 Andreas Jaeger <aj@suse.de>
17727 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17728 function only available for GCCs before 3.4 since GCC 3.4
17729 introduced a builtin.
17731 (llrintf): Likewise.
17732 (llrint): Likewise.
17739 (nearbyint): Likewise.
17740 (nearbyintf): Likewise.
17744 (floorf): Likewise.
17746 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17748 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17749 on both fields and cast pointer to __syscall_ulong_t.
17751 * bits/types.h (__fsword_t): New type.
17752 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17753 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17755 (__FSWORD_T_TYPE): Likewise.
17756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17757 (__FSWORD_T_TYPE): Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17759 (__FSWORD_T_TYPE): Likewise.
17760 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17761 (__FSWORD_T_TYPE): Likewise.
17762 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17763 __SWORD_TYPE with __fsword_t.
17764 (statfs64): Likewise.
17766 2012-05-17 David S. Miller <davem@davemloft.net>
17768 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17770 2012-05-17 Andreas Jaeger <aj@suse.de>
17772 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17775 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17777 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17779 2012-05-17 Andreas Jaeger <aj@suse.de>
17781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17784 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17786 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17788 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17790 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17791 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17793 2012-05-17 Andreas Jaeger <aj@suse.de>
17794 Carlos O'Donell <carlos_odonell@mentor.com>
17797 * sysdeps/x86_64/multiarch/init-arch.h
17798 (bit_YMM_Usable): Rename to...
17799 (bit_AVX_Usable): ... this.
17800 (bit_FMA4_Usable): New macro.
17801 (bit_XMM_state): New macro.
17802 (bit_YMM_state): New macro.
17803 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17804 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17805 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17806 (CPUID_OSXSAVE): New macro.
17807 (CPUID_AVX): New macro.
17808 (CPUID_FMA4): New macro.
17809 (index_YMM_Usable): Rename to...
17810 (index_AVX_Usable): ... this.
17811 (HAS_AVX): Use HAS_ARCH_FEATURE.
17812 (HAS_FMA4): Likewise.
17813 (HAS_YMM_USABLE): Remove.
17814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17815 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17817 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17818 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17819 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17820 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17821 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17823 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17825 * math/libm-test.c: Support platforms without multiple rounding modes.
17826 * math/bug-nextafter.c: Support platforms without FP exceptions.
17827 * math/bug-nexttoward.c: Likewise.
17828 * math/test-fenv.c: Likewise.
17829 * math/test-misc.c: Likewise.
17830 * stdlib/bug-getcontext.c: Likewise.
17832 2012-05-17 Andreas Jaeger <aj@suse.de>
17834 * manual/examples/search.c (critter_cmp): Change signature to
17836 * manual/string.texi (Collation Functions): Likewise.
17838 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17840 * bits/types.h: Fold copyright years.
17841 * bits/typesizes.h: Likewise.
17842 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17846 * time/time.h: Likewise.
17848 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17851 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17852 in instead of returning them. Return void.
17853 (__libc_mallinfo): Accumulate over all arenas.
17854 (__malloc_stats): Adjust for change in int_mallinfo interface.
17856 2012-05-16 Roland McGrath <roland@hack.frob.com>
17859 * configure.in (NM): Add AC_CHECK_TOOL for it.
17860 (libc_extra_cflags): New substituted variable.
17861 Check for -fstack-protector being used implicitly.
17862 * configure: Regenerated.
17863 * config.make.in (config-extra-cflags): New variable,
17864 gets @libc_extra_cflags@.
17865 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17868 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17869 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17870 * configure: Regenerated.
17871 * config.make.in (CPPUNDEFS): New substituted variable.
17872 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17873 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17874 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17876 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17878 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17879 (mq_attr): Use __syscall_slong_t.
17881 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17883 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17884 Check __x86_64__ instead of __WORDSIZE.
17885 (_STAT_VER_LINUX): Likewise.
17886 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17887 __syscall_ulong_t and __syscall_slong_t.
17888 (stat64): Likewise.
17890 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17894 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17896 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17898 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17900 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17903 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17904 include <bits/wordsize.h>. Check __x86_64__ instead of
17906 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17908 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17910 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17911 include <bits/wordsize.h>. Check __x86_64__ instead of
17913 (user_regs_struct): Use "__extension__ unsigned long long"
17914 instead of "unsigned long" if __x86_64__ is defined.
17915 (user): Likewise. Pad after pointer field if __ILP32__ is
17918 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17920 * configure.in (makeinfo): Require version 4.5 or later. Allow
17922 * configure: Regenerated.
17923 * manual/install.texi (texinfo): Increase version requirement to
17925 * INSTALL: Regenerated.
17927 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17929 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17931 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17933 * sysdeps/x86_64/x32/ffs.c: New file.
17935 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17937 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17938 defined. Use __syscall_ulong_t.
17939 (shminfo): Use __syscall_ulong_t.
17940 (shm_info): Likewise.
17942 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17945 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17947 (msgqnum_t): Use __syscall_ulong_t.
17948 (msglen_t): Likewise.
17949 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17952 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17953 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17955 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17957 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17958 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17960 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17963 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17964 include <bits/wordsize.h>. Check __x86_64__ instead of
17967 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17968 "unsigned long long int" if __x86_64__ is defined.
17969 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17972 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17973 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17975 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17977 (GET_PC): Cast to uintptr_t first.
17978 (GET_FRAME): Likewise.
17979 (GET_STACK): Likewise.
17981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17982 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17984 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17986 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17987 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17988 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17989 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17990 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17991 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17992 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17995 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17996 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17997 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17998 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17999 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18000 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18001 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18003 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18005 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18007 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18011 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18013 * Makerules (+depfiles): Also collect depfiles from .oS in
18015 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18016 .oS, $(libnldbl-routines)).
18018 * Makerules (native-compile-mkdep-flags): Define.
18019 * sunrpc/Makefile (extra-objs): Add $(addprefix
18020 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18021 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18022 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18023 calling $(make-target-directory).
18025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18027 * bits/types.h (__snseconds_t): Removed.
18028 * time/time.h (struct timespec): Replace __snseconds_t with
18030 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18031 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18034 (__SNSECONDS_T_TYPE): Likewise.
18035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18036 (__SNSECONDS_T_TYPE): Likewise.
18037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18038 (__SNSECONDS_T_TYPE): Likewise.
18040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18042 * sysdeps/mach/hurd/bits/typesizes.h
18043 (__SYSCALL_SLONG_TYPE): New macro.
18044 (__SYSCALL_ULONG_TYPE): Likewise.
18046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18048 * bits/types.h (__syscall_slong_t): New type.
18049 (__syscall_ulong_t): Likewise.
18051 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18052 (__SYSCALL_ULONG_TYPE): Likewise.
18053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18054 (__SYSCALL_SLONG_TYPE): Likewise.
18055 (__SYSCALL_ULONG_TYPE): Likewise.
18056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18057 (__SYSCALL_SLONG_TYPE): Likewise.
18058 (__SYSCALL_ULONG_TYPE): Likewise.
18059 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18060 (__SYSCALL_SLONG_TYPE): Likewise.
18061 (__SYSCALL_ULONG_TYPE): Likewise.
18063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18065 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18066 Add sigaltstack-offsets.sym.
18067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18068 <sigaltstack-offsets.h>.
18069 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18070 longjmp_msg pointer.
18071 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18072 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18074 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18076 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18078 * elf/stackguard-macros.h: Remove file.
18079 * sysdeps/generic/stackguard-macros.h: New file.
18080 * sysdeps/i386/stackguard-macros.h: Likewise.
18081 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18082 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18083 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18084 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18085 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18086 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18087 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18088 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18089 <elf/stackguard-macros.h>.
18092 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18093 __aligned__ in attribute.
18094 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18095 (gregset_t): Likewise.
18097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18099 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18100 * sysdeps/x86_64/64/Implies-after: Here. New file.
18101 * sysdeps/x86_64/x32/Implies-after: New file.
18103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18105 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18106 and access return value for _dl_profile_fixup. Use R10_LP to
18109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18111 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18115 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18116 * sysdeps/x86_64/x32/sysdep.h: New file.
18118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18120 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18121 * sysdeps/x86_64/setjmp.S: Likewise.
18123 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18125 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18126 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18127 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18128 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18129 remove unused global constant.
18131 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18133 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18134 include of <not-cancel.h>.
18136 2012-05-15 Roland McGrath <roland@hack.frob.com>
18138 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18140 2012-05-15 Jeff Law <law@redhat.com>
18141 Andreas Jaeger <aj@suse.de>
18144 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18146 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18147 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18148 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18149 code changing __hst_map_handle.map.
18151 2012-05-15 Roland McGrath <roland@hack.frob.com>
18153 * configure.in (sysnames): Look for Implies-before and Implies-after
18155 * configure: Regenerated.
18157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18159 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18160 8-byte data alignment with LP_SIZE alignment.
18162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18164 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18169 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18173 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18174 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18177 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18181 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18182 (stackinfo_sub_sp): Likewise.
18184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18201 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18205 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18206 into R11_LP and load __x86_64_shared_cache_size_half into
18209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18214 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18222 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18223 powerpc32/power7/fpu/s_logb.c via #include.
18224 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18225 powerpc32/power7/fpu/s_logbf.c via #include.
18226 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18227 powerpc32/power7/fpu/s_logbl.c via #include.
18229 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18231 * README.libm: Remove file.
18233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18235 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18236 count for x32. Use R*_LP and omit operand-size suffix.
18238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18240 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18241 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18242 * sysdeps/x86_64/x32/shlib-versions: New file.
18244 2012-05-14 Roland McGrath <roland@hack.frob.com>
18246 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18247 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18248 Use _dl_fatal_printf instead.
18250 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18252 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18253 set if not set by the user. Do not allow for being unset.
18254 * sysdeps/unix/sysv/linux/configure: Regenerated.
18256 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18258 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18259 the `q' suffix from lea and replace .quad with ASM_ADDR.
18261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18264 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18266 (PTR_DEMANGLE): Likewise.
18268 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18270 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18272 (ASM_ADDR): Likewise.
18273 (RAX_LP): Likewise.
18274 (RBP_LP): Likewise.
18275 (RBX_LP): Likewise.
18276 (RCX_LP): Likewise.
18277 (RDI_LP): Likewise.
18278 (RSI_LP): Likewise.
18279 (RSP_LP): Likewise.
18282 (R10_LP): Likewise.
18283 (R10_LP): Likewise.
18284 (R11_LP): Likewise.
18285 (R12_LP): Likewise.
18286 (R13_LP): Likewise.
18287 (R14_LP): Likewise.
18288 (R15_LP): Likewise.
18290 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18292 * sysdeps/x86_64/x32/dl-machine.h: New file.
18294 2012-05-14 Andreas Jaeger <aj@suse.de>
18296 * manual/Makefile (subdir): Remove export of subdir.
18297 (all): Remove target.
18298 (.PHONY): Remove all from list.
18299 (mkinstalldirs): Remove.
18300 (.PHONY): Remove installdirs from list.
18301 ($(inst_infodir)/libc.info): Use make-target-directory.
18302 (installdirs): Remove.
18303 (subdir_%): Remove.
18304 (glibc-targets): Remove.
18307 ($(objpfx)stubs ../po/manual.pot): Remove.
18308 ($(objpfx)stamp%): Remove.
18309 (make-target-directory): Remove.
18310 (subdir_install): Remove.
18311 (routines): Remove.
18318 * manual/.gitignore: Remove, it's not needed anymore.
18319 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18321 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18323 (texis): Renamed to $(objpfx)texis.
18324 (texis-path): New, contains path to generated files.
18325 (chapters.%): Use texis-path for complete path, add extra argument
18327 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18328 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18329 (summary,texi, stamp-summary): Use complete path of
18330 files. Generate files in build dir.
18331 (dir-add.texi): Build in build dir.
18332 (libm-err.texi,stamp-libm-err): Likewise.
18333 (version.texi, stamp-version): Likewise.
18334 (.%c.texi): Likewise.
18335 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18336 (mostlyclean): Remove target.
18337 (realclean): Remove target.
18338 (generated): Add new variable with contents from mostlyclean and
18339 realclean, remove entries duplicated in common-mostlyclean, add
18340 stamp-libm-err and stamp-version.
18341 (generated-dirs): Add libc directory.
18342 ($(inst_infodir)/libc.info): Install files from build dir.
18344 * manual/install.texi (Configuring and compiling): Adjust since
18345 the info files are not part of the tar ball anymore.
18347 2012-05-14 Andreas Jaeger <aj@suse.de>
18349 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18352 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18356 to 2.2.0 where earlier.
18357 * sysdeps/unix/sysv/linux/configure: Regenerated.
18358 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18359 Remove conditional code.
18360 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18361 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18362 Remove conditional code.
18363 [!__NR_lchown]: Likewise.
18364 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18365 [__NR_lchown]: Likewise.
18366 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18367 comment referencing __ASSUME_LCHOWN_SYSCALL.
18368 * sysdeps/unix/sysv/linux/i386/sigaction.c
18369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18371 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18372 Remove conditional code.
18373 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18374 (__protocol_available): Remove #if 0 code.
18375 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18377 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18378 * sysdeps/unix/sysv/linux/kernel-features.h
18379 (__ASSUME_GETCWD_SYSCALL): Don't define.
18380 (__ASSUME_REALTIME_SIGNALS): Likewise.
18381 (__ASSUME_PREAD_SYSCALL): Likewise.
18382 (__ASSUME_PWRITE_SYSCALL): Likewise.
18383 (__ASSUME_POLL_SYSCALL): Likewise.
18384 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18385 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18387 (__ASSUME_SIOCGIFNAME): Don't define.
18388 (__ASSUME_MSG_NOSIGNAL): Likewise.
18389 (__ASSUME_SENDFILE): Define unconditionally.
18390 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18391 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18393 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18394 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18395 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18396 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18397 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18398 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18399 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18404 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18413 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18416 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18419 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18422 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18424 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18425 Remove conditional code.
18426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18427 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18428 Remove conditional code.
18429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18430 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18431 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18432 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18433 Remove conditional code.
18434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18435 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18436 Remove conditional code.
18437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18438 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18439 Remove conditional code.
18440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18441 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18442 Remove conditional code.
18443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18444 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18445 Remove conditional code.
18446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18447 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18448 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18449 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18450 * sysdeps/unix/sysv/linux/sigaction.c
18451 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18452 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18453 * sysdeps/unix/sysv/linux/sigpending.c
18454 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18455 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18456 * sysdeps/unix/sysv/linux/sigprocmask.c
18457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18459 * sysdeps/unix/sysv/linux/sigsuspend.c
18460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18462 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18463 (__libc_missing_rt_sigs): Remove.
18464 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18465 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18466 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18467 Remove conditional code.
18468 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18469 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18472 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18474 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18476 2012-05-14 Andreas Jaeger <aj@suse.de>
18478 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18479 it's not used in glibc.
18480 (__coshm1): Likewise.
18481 (__acosh1p): Likewise.
18484 * manual/string.texi (Copying and Concatenation): Add missing
18485 variable in concat example.
18486 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18492 __builtin_clzl with __builtin_clzll.
18494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18497 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18500 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18502 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18503 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18504 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18505 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18507 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18509 * NEWS: Update ia64 info.
18511 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18513 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18516 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18518 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18519 * sysdeps/unix/syscalls.list (dup3): Likewise.
18520 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18521 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18523 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18525 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18526 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18528 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18530 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18532 (TLS_IE): Use mov/add instead of movq/addq to load thread
18534 (TLS_GD_PREFIX): New.
18537 2012-05-11 David S. Miller <davem@davemloft.net>
18539 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18540 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18541 (_FPU_SETCW): Likewise.
18543 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18545 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18546 is 32-byte aligned.
18548 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18551 * iconvdata/gb18030.c: Update tables.
18552 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18553 characters specially.
18554 (BODY for TO_LOOP): Add encoding of missing ranges.
18556 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18559 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18560 * sysdeps/mach/hurd/dup3.c: Likewise.
18561 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18562 * sysdeps/powerpc/memmove.c:: Likewise.
18564 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18567 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18569 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18571 * elf/elf.h (R_X86_64_RELATIVE64): New.
18572 (R_X86_64_NUM): Updated.
18573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18574 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18575 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18576 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18577 tst-quad1pie tst-quad2pie
18578 (modules-names): Add tst-quadmod1 tst-quadmod2.
18579 ($(objpfx)tst-quad1): New dependency.
18580 ($(objpfx)tst-quad2): Likewise.
18581 ($(objpfx)tst-quad1pie): Likewise.
18582 ($(objpfx)tst-quad2pie): Likewise.
18583 * sysdeps/x86_64/tst-quad1.c: New file.
18584 * sysdeps/x86_64/tst-quad1pie.c: New file.
18585 * sysdeps/x86_64/tst-quad2.c: Likewise.
18586 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18587 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18588 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18589 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18590 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18594 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18595 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18596 * streams/stropts.h (t_scalar_t): Define type.
18598 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18599 (_PATH_PRESERVE): Set to "/var/lib".
18600 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18602 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18605 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18606 if __dir_mkfile succeeded.
18608 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18609 checking for _hurd_dtablesize. Unlock it right after having
18610 finished _hurd_dtable allocation.
18612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18614 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18615 * sysdeps/mach/hurd/configure: Regenerated.
18616 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18617 special-casing to...
18618 * sysdeps/gnu/configure.in: ... this new file.
18619 * sysdeps/unix/sysv/linux/configure: Regenerated.
18620 * sysdeps/gnu/configure: New generated file.
18622 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18623 for Linux: use nsec instead of usec, as well as:
18624 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18625 members of type struct timespec.
18626 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18628 (struct stat64): Likewise.
18629 (_STATBUF_ST_NSEC): New macro.
18630 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18632 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18633 __strtoul_internal rather than strtoul.
18635 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18637 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18642 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18643 which preserves existing values.
18644 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18646 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18648 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18649 TIMEOUT values. Return EINVAL for NFDS values either negative or
18650 greater than FD_SETSIZE.
18652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18654 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18655 allocated, call __vm_protect to finish enabling the existing space, and
18656 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18657 allocate the remainder.
18659 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18661 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18662 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18666 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18667 sysdeps/mach/hurd/readlink.c.
18669 * posix/tst-sysconf.c (posix_options): Only use
18670 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18671 _POSIX_SYNCHRONIZED_IO when they are defined
18672 * sysdeps/mach/hurd/bits/posix_opt.h:
18673 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18674 (_XOPEN_REALTIME): Undefine macro.
18675 (_XOPEN_REALTIME_THREADS): Undefine macro.
18676 (_XOPEN_SHM): Undefine macro.
18677 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18679 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18681 (_POSIX_ASYNC_IO): Undefine macro.
18682 (_POSIX_PRIORITIZED_IO): Undefine macro.
18683 (_POSIX_SPIN_LOCKS): Define macro to -1.
18685 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18686 SA_NODEFER, SA_RESETHAND.
18687 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18688 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18693 * elf/Makefile (pldd-modules): Define unconditionally.
18695 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18697 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18701 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18702 Return ENOENT when name is empty.
18703 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18707 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18709 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18713 Fix mlock in all cases except non-readable pages.
18714 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18715 instead of VM_PROT_ALL as parameter to __vm_wire function.
18717 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18718 (__mkdir): When path is `/', just fail with EEXIST.
18719 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18723 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18724 <sys/uio.h> (for writev).
18725 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18726 and <sys/param.h> (for MIN).
18728 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18730 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18731 REQUESTED_TIME. Properly set the remaining time and return EINTR
18734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18736 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18737 Depend on against $(link-rpcuserlibs).
18739 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18741 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18742 (__libc_stack_end): Do not use attribute_relro.
18743 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18744 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18745 to libthread-provided value.
18746 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18749 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18752 * bits/libc-lock.h (__libc_once_get): New macro.
18753 * sysdeps/mach/bits/libc-lock.h: Likewise.
18754 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18756 instead of using implementation details.
18758 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18759 * libio/freopen.c: Likewise.
18760 * libio/freopen64.c: Likewise.
18761 * misc/syslog.c: Likewise.
18762 * nscd/connections.c: Likewise.
18763 * nscd/netgroupcache.c: Likewise.
18764 * sysdeps/posix/getcwd.c: Likewise.
18766 2012-05-10 Roland McGrath <roland@hack.frob.com>
18768 * math/w_ilogbf.c: Add #include <limits.h>.
18770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18772 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18773 path instead of returning without unlocking.
18775 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18776 immediate-write ioctls.
18777 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18781 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18782 __builtin_frame_address instead of making assumptions about the
18783 location of the return address relative to DATA. Force early load of
18784 the return address.
18785 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18786 __builtin_frame_address.
18789 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18790 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18791 implement dup3 and do some further code clean-ups.
18792 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18793 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18797 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18799 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18800 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18801 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18802 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18803 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18806 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18807 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18808 when handler == SIG_ERR, not when handler != SIG_ERR.
18810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18812 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18813 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18816 accept4 for GNU Hurd.
18817 * include/sys/socket.h (__libc_accept4): New prototype.
18818 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18819 to implement __libc_accept4.
18820 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18822 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18824 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18825 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18826 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18827 signal-defines.sym.
18829 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18831 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18833 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18835 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18836 assertion on O_CLOEXEC flag.
18837 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18838 * hurd/intern-fd.c: Likewise.
18839 * hurd/port2fd.c: Likewise.
18841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18844 * bits/in.h (IPV6_PKTINFO): Define new macro.
18845 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18847 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18852 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18854 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18855 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18858 * math/libm-test.inc (logb_test) : Additional logb tests.
18860 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18861 Andreas Jaeger <aj@suse.de>
18863 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18864 * configure: Regenerated.
18865 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18866 * config.make.in (link-obsolete-rpc): New substituted variable.
18867 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18868 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18869 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18870 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18871 so that libc.a contains the symbols.
18872 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18873 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18874 * sunrpc/auth_none.c: Likewise.
18875 * sunrpc/auth_unix.c: Likewise.
18876 * sunrpc/authdes_prot.c: Likewise.
18877 * sunrpc/authuxprot.c: Likewise.
18878 * sunrpc/clnt_gen.c: Likewise.
18879 * sunrpc/clnt_perr.c: Likewise.
18880 * sunrpc/clnt_raw.c: Likewise.
18881 * sunrpc/clnt_simp.c: Likewise.
18882 * sunrpc/clnt_tcp.c: Likewise.
18883 * sunrpc/clnt_udp.c: Likewise.
18884 * sunrpc/clnt_unix.c: Likewise.
18885 * sunrpc/des_crypt.c: Likewise.
18886 * sunrpc/des_soft.c: Likewise.
18887 * sunrpc/get_myaddr.c: Likewise.
18888 * sunrpc/key_call.c: Likewise.
18889 * sunrpc/key_prot.c: Likewise.
18890 * sunrpc/netname.c: Likewise.
18891 * sunrpc/pm_getmaps.c: Likewise.
18892 * sunrpc/pm_getport.c: Likewise.
18893 * sunrpc/pmap_clnt.c: Likewise.
18894 * sunrpc/pmap_prot.c: Likewise.
18895 * sunrpc/pmap_prot2.c: Likewise.
18896 * sunrpc/pmap_rmt.c: Likewise.
18897 * sunrpc/publickey.c: Likewise.
18898 * sunrpc/rpc_cmsg.c: Likewise.
18899 * sunrpc/rpc_common.c: Likewise.
18900 * sunrpc/rpc_dtable.c: Likewise.
18901 * sunrpc/rpc_prot.c: Likewise.
18902 * sunrpc/rpc_thread.c: Likewise.
18903 * sunrpc/rtime.c: Likewise.
18904 * sunrpc/svc.c: Likewise.
18905 * sunrpc/svc_auth.c: Likewise.
18906 * sunrpc/svc_raw.c: Likewise.
18907 * sunrpc/svc_run.c: Likewise.
18908 * sunrpc/svc_tcp.c: Likewise.
18909 * sunrpc/svc_udp.c: Likewise.
18910 * sunrpc/svc_unix.c: Likewise.
18911 * sunrpc/svcauth_des.c: Likewise.
18912 * sunrpc/xcrypt.c: Likewise.
18913 * sunrpc/xdr.c: Likewise.
18914 * sunrpc/xdr_array.c: Likewise.
18915 * sunrpc/xdr_float.c: Likewise.
18916 * sunrpc/xdr_intXX_t.c: Likewise.
18917 * sunrpc/xdr_mem.c: Likewise.
18918 * sunrpc/xdr_rec.c: Likewise.
18919 * sunrpc/xdr_ref.c: Likewise.
18920 * sunrpc/xdr_sizeof.c: Likewise.
18921 * sunrpc/xdr_stdio.c: Likewise.
18923 2012-05-10 Roland McGrath <roland@hack.frob.com>
18925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18926 change. Update copyright years.
18928 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18930 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18932 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18933 Joseph Myers <joseph@codesourcery.com>
18934 Paul Pluzhnikov <ppluzhnikov@google.com>
18937 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18939 [cross-compiling] (extra-libs): Likewise.
18940 [cross-compiling] (extra-libs-others): Likewise.
18941 [cross-compiling] (librpcsvc-routines): Likewise.
18942 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18943 [cross-compiling] (omit-deps): Likewise.
18944 (sunrpc-CPPFLAGS): New variable.
18945 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18946 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18947 (cross-rpcgen-objs): New variable.
18948 (extra-objs): Append $(cross-rpcgen-objs).
18949 ($(cross-rpcgen-objs)): New rule.
18950 ($(objpfx)cross-rpcgen): Likewise.
18951 (rpcgen-cmd): Define to use $(built-program-file). Expand
18953 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18954 ($(objpfx)x%.stmp): Likewise.
18955 * sunrpc/proto.h [IS_IN_build] (_): Define.
18956 [IS_IN_build] (_libc_intl_domainname): Likewise.
18958 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18961 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18962 and R_X86_64_TPOFF64.
18964 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18966 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18967 sysdeps/unix/sysv/syscalls.list.
18970 * sysdeps/unix/sysv/syscalls.list: Remove file.
18972 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18975 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18976 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18977 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18978 (__LC_IDENTIFICATION): Make these macros useful in #if
18979 expressions, as required by C99.
18981 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18983 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18984 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18987 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18989 * stdlib/longlong.h: Updated from GCC.
18991 2012-05-09 Andreas Jaeger <aj@suse.de>
18993 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18994 default is first entry.
18995 (run_mode): Set type.
18996 (main): Remove informal message about syslog.
18997 (options): Fix typo.
19000 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19003 (llrintf): Likewise.
19004 (llrint): Likewise.
19007 (nearbyint): Likewise.
19008 (nearbyintf): Likewise.
19010 2012-05-09 Andreas Jaeger <aj@suse.de>
19011 Pedro Alves <palves@redhat.com>
19013 * nscd/nscd.c (run_mode): Use enum.
19014 (main): Cleanup coding style issue.
19016 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19017 Andreas Jaeger <aj@suse.de>
19019 * nscd/nscd.c (go_background): Replaced with...
19020 (run_mode): ... this.
19021 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19022 (options): Add -F --foreground.
19023 (main): Implement it.
19024 (parse_opt): Parse it.
19026 2012-05-09 Andreas Jaeger <aj@suse.de>
19029 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19030 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19031 -Wconversion warning.
19032 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19035 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19037 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19039 (LC_ALL): Use macro-int-constant.
19040 (LC_COLLATE): Likewise.
19041 (LC_CTYPE): Likewise.
19042 (LC_MESSAGES): Likewise.
19043 (LC_MONETARY): Likewise.
19044 (LC_NUMERIC): Likewise.
19045 (LC_TIME): Likewise.
19046 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19047 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19049 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19051 [C99-based standards] (float_t): Expect type.
19052 [C99-based standards] (double_t): Expect type.
19053 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19055 [C99-based standards] (HUGE_VALL): Likewise.
19056 [C99-based standards] (INFINITY): Likewise.
19057 [C99-based standards] (NAN): Likewise.
19058 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19059 [C99-based standards] (FP_NAN): Likewise.
19060 [C99-based standards] (FP_NORMAL): Likewise.
19061 [C99-based standards] (FP_SUBNORMAL): Likewise.
19062 [C99-based standards] (FP_ZERO): Likewise.
19063 [C99-based standards] (FP_FAST_FMA): Use
19064 optional-macro-int-constant. Specify type. Require == 1.
19065 [C99-based standards] (FP_FAST_FMAF): Likewise.
19066 [C99-based standards] (FP_FAST_FMAL): Likewise.
19067 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19068 [C99-based standards] (FP_ILOGBNAN): Likewise.
19069 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19071 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19072 [C99-based standards] (math_errhandling): Specify type.
19073 [ISO99 || ISO11] (signgam): Do not allow.
19074 [non-C99-based standards] (copysignf): Do not allow.
19075 [non-C99-based standards] (exp2f): Likewise.
19076 [non-C99-based standards] (log2f): Likewise.
19077 [non-C99-based standards] (modff): Allow.
19078 [non-C99-based standards] (erff): Do not allow.
19079 [non-C99-based standards] (erfcf): Likewise.
19080 [non-C99-based standards] (gammaf): Likewise.
19081 [non-C99-based standards] (hypotf): Likewise.
19082 [non-C99-based standards] (j0f): Likewise.
19083 [non-C99-based standards] (j1f): Likewise.
19084 [non-C99-based standards] (jnf): Likewise.
19085 [non-C99-based standards] (lgammaf): Likewise.
19086 [non-C99-based standards] (tgammaf): Likewise.
19087 [non-C99-based standards] (y0f): Likewise.
19088 [non-C99-based standards] (y1f): Likewise.
19089 [non-C99-based standards] (ynf): Likewise.
19090 [non-C99-based standards] (isnanf): Likewise.
19091 [non-C99-based standards] (acoshf): Likewise.
19092 [non-C99-based standards] (asinhf): Likewise.
19093 [non-C99-based standards] (atanhf): Likewise.
19094 [non-C99-based standards] (cbrtf): Likewise.
19095 [non-C99-based standards] (expm1f): Likewise.
19096 [non-C99-based standards] (ilogbf): Likewise.
19097 [non-C99-based standards] (log1pf): Likewise.
19098 [non-C99-based standards] (logbf): Likewise.
19099 [non-C99-based standards] (nextafterf): Likewise.
19100 [non-C99-based standards] (remainderf): Likewise.
19101 [non-C99-based standards] (rintf): Likewise.
19102 [non-C99-based standards] (scalbf): Likewise.
19103 [non-C99-based standards] (copysignl): Likewise.
19104 [non-C99-based standards] (exp2l): Likewise.
19105 [non-C99-based standards] (log2l): Likewise.
19106 [non-C99-based standards] (modfl): Allow.
19107 [non-C99-based standards] (erfl): Do not allow.
19108 [non-C99-based standards] (erfcl): Likewise.
19109 [non-C99-based standards] (gammal): Likewise.
19110 [non-C99-based standards] (hypotl): Likewise.
19111 [non-C99-based standards] (j0l): Likewise.
19112 [non-C99-based standards] (j1l): Likewise.
19113 [non-C99-based standards] (jnl): Likewise.
19114 [non-C99-based standards] (lgammal): Likewise.
19115 [non-C99-based standards] (tgammal): Likewise.
19116 [non-C99-based standards] (y0l): Likewise.
19117 [non-C99-based standards] (y1l): Likewise.
19118 [non-C99-based standards] (ynl): Likewise.
19119 [non-C99-based standards] (isnanl): Likewise.
19120 [non-C99-based standards] (acoshl): Likewise.
19121 [non-C99-based standards] (asinhl): Likewise.
19122 [non-C99-based standards] (atanhl): Likewise.
19123 [non-C99-based standards] (cbrtl): Likewise.
19124 [non-C99-based standards] (expm1l): Likewise.
19125 [non-C99-based standards] (ilogbl): Likewise.
19126 [non-C99-based standards] (log1pl): Likewise.
19127 [non-C99-based standards] (logbl): Likewise.
19128 [non-C99-based standards] (nextafterl): Likewise.
19129 [non-C99-based standards] (remainderl): Likewise.
19130 [non-C99-based standards] (rintl): Likewise.
19131 [non-C99-based standards] (scalbl): Likewise.
19132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19133 [non-C99-based standards] (FP_*): Do not allow.
19134 [C99-based standards] (FP_*): Change to
19135 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19136 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19138 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19139 (SIG_ERR): Likewise.
19140 [X/Open-based standards] (SIG_HOLD): Likewise.
19141 (SIG_IGN): Likewise.
19142 (SIGABRT): Use macro-int-constant. Specify type. Require
19144 (SIGFPE): Likewise.
19145 (SIGILL): Likewise.
19146 (SIGINT): Likewise.
19147 (SIGSEGV): Likewise.
19148 (SIGTER): Likewise.
19149 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19150 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19151 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19152 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19153 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19154 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19155 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19156 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19157 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19158 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19159 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19160 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19161 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19162 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19163 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19164 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19165 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19166 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19167 [X/Open-based standards] (SIGTRAP): Likewise.
19168 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19169 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19170 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19171 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19172 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19175 2012-05-08 Ian Wienand <ianw@vmware.com>
19178 * time/tzset.c (__tzset_parse_tz): Update default rules for
19179 daylight time changes in the Energy Policy Act of 2005.
19181 2012-05-09 Andreas Jaeger <aj@suse.de>
19184 * elf/ldconfig.c (parse_conf): Change string to make clear that
19185 ldconfig only issued a warning if ld.so.conf does not exist.
19187 2012-05-08 David S. Miller <davem@davemloft.net>
19189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19190 movxtod instead of popping the value on the stack.
19192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19194 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19196 * config.h.in: Add HAVE_ARM_PCS_VFP.
19198 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19201 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19202 checking but the checks are disabled for any reason.
19204 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19206 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19207 and ELF64_R_TYPE with ELFW(R_TYPE).
19209 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19211 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19212 (ulimit): Likewise.
19214 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19215 (settimeofday): Likewise.
19217 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19219 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19220 a struct th_u2 inside the union, and move tu_block/tu_code into
19221 a new th_u3 union of tu_block/tu_code inside of that. Move
19222 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19223 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19224 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19225 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19226 (th_stuff): Change to th_u1.tu_stuff.
19228 (th_msg): Change to th_u1.th_u2.tu_data.
19230 2012-05-07 David S. Miller <davem@davemloft.net>
19232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19235 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19236 (SETUP_PIC_REG): Use it.
19237 (SETUP_PIC_REG_LEAF): Use it.
19239 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19243 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19245 (EXPL_FINITE): Likewise.
19246 (FLDLOG): Likewise.
19247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19248 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19250 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19252 (EXPL_FINITE): Likewise.
19253 (FLDLOG): Likewise.
19254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19255 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19257 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19258 test of -max_value argument for long double.
19259 * sysdeps/i386/fpu/libm-test-ulps: Update.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262 2012-05-06 David S. Miller <davem@davemloft.net>
19264 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19265 quad soft-float symbols whose references which are compiler
19267 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19269 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19275 (EXPL_FINITE): Likewise.
19276 (FLDLOG): Likewise.
19279 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19280 Adjust comments for base varying.
19281 (__expl_finite): Change alias to EXPL_FINITE.
19282 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19284 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19285 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19287 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19288 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19290 (EXPL_FINITE): Likewise.
19291 (FLDLOG): Likewise.
19294 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19295 Adjust comments for base varying.
19296 (__expl_finite): Change alias to EXPL_FINITE.
19297 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19302 * math/libm-test.inc (check_float_internal): Correct ulp
19303 calculation for subnormal expected results.
19305 2012-05-06 Andreas Jaeger <aj@suse.de>
19307 * Makeconfig (+math-flags): New, set to -frounding-math.
19308 (+cflags): Add +math-flags so that all of glibc gets compiled with
19311 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19313 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19315 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19321 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19322 (__ieee754_expl): Allow for and saturate large arguments.
19323 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19324 (u_threshold): Likewise.
19325 (__exp): Call __ieee754_exp before checking for overflow and
19327 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19328 (u_threshold): Likewise.
19329 (__expf): Call __ieee754_expf before checking for overflow and
19331 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19332 (u_threshold): Likewise.
19333 (__expl): Call __ieee754_expl before checking for overflow and
19335 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19336 (__ieee754_expl): Allow for and saturate large arguments.
19337 * math/libm-test.inc (exp_test): Add another test. Do not allow
19338 missing overflow exception on overflow.
19339 (expm1_test): Do not allow missing overflow exception on overflow.
19341 * sysdeps/i386/fpu/e_expl.c: Move to ...
19342 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19343 rather than using inline asm.
19344 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19345 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19346 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19348 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19351 (signal): Likewise.
19355 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19357 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19358 sysdeps/unix/common/syscalls.list.
19359 (fchmod): Likewise.
19360 (fchown): Likewise.
19361 (ftruncate): Likewise.
19362 (getrusage): Likewise.
19363 (gettimeofday): Likewise.
19364 (setpgid): Likewise.
19365 (setregid): Likewise.
19366 (setreuid): Likewise.
19367 (sigaction): Likewise.
19368 (truncate): Likewise.
19369 (vhangup): Likewise.
19370 * sysdeps/unix/common/syscalls.list: Remove file.
19371 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19372 * sysdeps/unix/sysv/linux/Implies: Likewise.
19374 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19376 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19378 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19382 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19385 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19388 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19391 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19394 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19397 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19400 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19404 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19408 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19411 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19415 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19419 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19421 * sysdeps/unix/common/bits/dirent.h: Remove file.
19422 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19424 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19425 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19426 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19427 * sysdeps/unix/bsd/isatty.c: Likewise.
19428 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19429 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19430 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19432 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19436 long double comparison inaccuracies.
19437 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19440 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19442 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19445 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19449 nonzero digits before rounding a hex value.
19450 * stdlib/tst-strtod.c (tests): Add another test.
19452 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19454 * sysdeps/s390/fpu/libm-test-ulps: Update.
19456 2012-05-03 Andreas Jaeger <aj@suse.de>
19458 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19459 does not get optimized out.
19460 (malloc_opt_barrier): New.
19462 2012-05-03 Andreas Jaeger <aj@suse.de>
19463 Roland McGrath <roland@hack.frob.com>
19465 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19466 intermediate file deletion.
19467 (generated): Add .symlist files.
19469 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19472 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19473 Redirect under this condition.
19474 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19475 [__USE_GNU] (__dprintf_chk): Not under this condition.
19476 [__USE_GNU] (__vdprintf_chk): Likewise.
19477 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19478 under this condition.
19479 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19480 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19481 [__USE_XOPEN2K8] (vdprintf): Likewise.
19482 [__USE_GNU] (__dprintf_chk): Not under this condition.
19483 [__USE_GNU] (__vdprintf_chk): Likewise.
19484 [__USE_GNU] (dprintf): Likewise.
19485 [__USE_GNU] (vdprintf): Likewise.
19487 2012-05-03 Roland McGrath <roland@hack.frob.com>
19489 * elf/Makefile (common-generated): Set this instead of generated for
19490 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19491 $(all-built-dso)-derived lists.
19493 2012-05-03 Andreas Jaeger <aj@suse.de>
19495 * sysdeps/i386/fpu/libm-test-ulps: Update.
19498 * FAQ.in: Likewise.
19499 * scripts/gen-FAQ.pl: Likewise.
19500 * manual/install.texi (Installation): Point to online location of
19502 * Makefile (files-for-dist): Remove FAQ.
19505 2012-05-02 Allan McRae <allan@archlinux.org>
19507 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19508 (LDFLAGS-reldepmod5.so): Likewise.
19509 (LDFLAGS-reldep6mod1.so): Likewise.
19510 (LDFLAGS-reldep6mod4.so): Likewise.
19511 (LDFLAGS-reldep8mod3.so): Likewise.
19512 (LDFLAGS-unload4mod1.so): Likewise.
19513 (LDFLAGS-unload4mod2.so): Likewise.
19514 (LDFLAGS-tst-initorder): Likewise.
19515 (LDFLAGS-tst-initordera2.so): Likewise.
19516 (LDFLAGS-tst-initordera3.so): Likewise.
19517 (LDFLAGS-tst-initordera4.so): Likewise.
19518 (LDFLAGS-tst-initorderb2.so): Likewise.
19519 (LDFLAGS-noload): Likewise.
19520 (LDFLAGS-next): Likewise.
19521 (LDFLAGS-order2mod1.so): Likewise.
19522 (LDFLAGS-order2mod2.so): Likewise.
19523 (LDFLAGS-tst-initorder2): Likewise.
19524 (LDFLAGS-tst-initorder2a.so): Likewise.
19525 (LDFLAGS-tst-initorder2b.so): Likewise.
19526 (LDFLAGS-tst-initorder2c.so): Likewise.
19527 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19529 2012-05-02 David S. Miller <davem@davemloft.net>
19531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19533 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19536 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19538 2012-05-02 Andreas Jaeger <aj@suse.de>
19540 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19541 since we manipulate rounding mode.
19542 (CPPFLAGS-test-idouble.c): Likewise.
19543 (CPPFLAGS-test-ifloat.c): Likewise.
19544 (CFLAGS-test-ldouble.c): Likewise.
19545 (CFLAGS-test-double.c): Likewise.
19546 (CFLAGS-test-float.c): Likewise.
19547 (CFLAGS-test-misc.c): Likewise.
19548 (CFLAGS-test-test-fenv.c): Likewise.
19550 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19555 comparisons to determine direction to adjust input.
19557 2012-05-01 Roland McGrath <roland@hack.frob.com>
19559 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19560 output to the target.
19562 * scripts/localplt.awk: New file.
19563 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19564 (check-localplt-CFLAGS): Variable removed.
19565 ($(all-built-dso:=.jmprel)): New static pattern rule.
19566 (generated): Add those targets.
19567 (localplt-built-dso): New variable.
19568 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19570 * elf/check-localplt.c: File removed.
19572 * scripts/check-execstack.awk: New file.
19573 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19574 (check-execstack-CFLAGS): Variable removed.
19575 ($(objpfx)check-execstack.h): Target removed.
19576 ($(objpfx)execstack-default): New target.
19577 (generated): Add that instead of check-execstack.h.
19578 ($(all-built-dso:=.phdr)): New static pattern rule.
19579 (generated): Add those targets.
19580 * elf/check-execstack.c: File removed.
19582 * scripts/check-textrel.awk: New file.
19583 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19584 (check-textrel-CFLAGS): Variable removed.
19585 (all-built-dso): Use := to define.o
19586 ($(all-built-dso:=.dyn)): New static pattern rule.
19587 (generated): Add those targets.
19588 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19589 * config.make.in (READELF): New substituted variable.
19590 * elf/check-textrel.c: File removed.
19592 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19594 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19596 * conform/data/ctype.h-data [C99-based standards] (isblank):
19598 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19599 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19601 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19602 Specify type. Require positive value.
19603 (EILSEQ): Likewise.
19604 (ERANGE): Likewise.
19605 [ISO || POSIX] (EILSEQ): Do not expect.
19606 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19607 Specify type. Require positive value.
19608 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19609 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19610 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19611 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19612 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19613 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19614 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19615 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19616 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19617 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19618 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19619 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19620 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19621 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19622 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19623 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19624 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19625 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19626 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19627 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19628 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19629 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19630 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19631 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19632 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19633 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19634 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19635 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19636 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19637 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19638 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19639 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19640 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19641 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19642 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19643 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19644 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19645 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19646 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19647 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19648 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19649 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19650 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19651 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19652 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19653 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19654 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19655 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19656 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19657 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19658 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19659 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19660 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19661 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19662 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19663 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19664 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19665 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19666 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19667 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19668 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19669 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19670 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19671 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19672 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19673 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19674 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19675 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19676 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19677 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19678 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19679 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19680 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19681 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19682 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19683 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19684 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19686 (FLT_ROUNDS): Expect as macro, not constant.
19687 (FLT_MANT_DIG): Use macro-int-constant.
19688 (DBL_MANT_DIG): Likewise.
19689 (LDBL_MANT_DIG): Likewise.
19690 (FLT_DIG): Likewise.
19691 (DBL_DIG): Likewise.
19692 (LDBL_DIG): Likewise.
19693 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19694 (DBL_MIN_EXP): Likewise.
19695 (LDBL_MIN_EXP): Likewise.
19696 (FLT_MAX_EXP): Use macro-int-constant.
19697 (DBL_MAX_EXP): Likewise.
19698 (LDBL_MAX_EXP): Likewise.
19699 (FLT_MAX_10_EXP): Likewise.
19700 (DBL_MAX_10_EXP): Likewise.
19701 (LDBL_MAX_10_EXP): Likewise.
19702 (FLT_MAX): Use macro-constant.
19703 (DBL_MAX): Likewise.
19704 (LDBL_MAX): Likewise.
19705 (FLT_EPSILON): Use macro-constant. Give upper bound.
19706 (DBL_EPSILON): Likewise.
19707 (LDBL_EPSILON): Likewise.
19708 (FLT_MIN): Likewise.
19709 (DBL_MIN): Likewise.
19710 (LDBL_MIN): Likewise.
19711 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19712 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19713 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19714 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19715 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19716 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19717 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19718 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19719 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19720 [ISO11] (FLT_TRUE_MIN): Likewise.
19721 [ISO11] (LDBL_TRUE_MIN): Likewise.
19722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19723 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19724 (SCHAR_MIN): Use macro-int-constant. Specify type.
19725 (SCHAR_MAX): Likewise.
19726 (UCHAR_MAX): Likewise.
19727 (CHAR_MIN): Likewise.
19728 (CHAR_MAX): Likewise.
19729 (MB_LEN_MAX): Use macro-int-constant.
19730 (SHRT_MIN): Use macro-int-constant. Specify type.
19731 (SHRT_MAX): Likewise.
19732 (USHRT_MAX): Likewise.
19733 (INT_MAX): Likewise.
19734 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19736 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19738 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19740 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19741 bound negative. Suffix upper bound with "L".
19742 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19744 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19746 [C99-based standards] (LLONG_MAX): Likewise.
19747 [C99-based standards] (ULLONG_MAX): Likewise.
19748 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19750 [ISO11] (max_align_t): Require type.
19751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19753 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19754 from $CFLAGS, without defining away __attribute__ calls.
19755 (checknamespace): Use $CFLAGS_namespace.
19757 * conform/conformtest.pl (@keywords): Only include C99 keywords
19758 for standards based on C99 or C11.
19760 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19762 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19765 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19766 usability of symbols in #if.
19768 * conform/conformtest.pl: If macro or constant types start
19769 "promoted:", expect the symbol to be of the following type
19770 promoted by the integer promotions.
19772 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19773 in one place. Also handle "macro-constant".
19775 * conform/conformtest.pl: Only accept expected macro values with
19776 "==". Parse all "macro" lines in one place.
19777 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19779 * conform/conformtest.pl: Handle braced types on "constant" lines
19780 instead of handling "typed-constant".
19781 * conform/data/signal.h-data: Use "constant" instead of
19784 * conform/conformtest.pl: Handle "optional-" at start of lines in
19785 one place rather than duplicating several cases. Handle each
19786 format of "macro" line with initial "optional-".
19788 * conform/conformtest.pl: Only accept expected constant or
19789 optional-constant values with "==". Parse all "constant" lines in
19790 one place. Parse all "optional-constant" lines in one place.
19791 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19792 * conform/data/fmtmsg.h-data: Likewise.
19793 * conform/data/netinet/in.h-data: Likewise.
19794 * conform/data/tar.h-data: Likewise.
19795 * conform/data/limits.h-data: Use "==" form on "constant" and
19796 "optional-constant" lines.
19798 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19799 Use -std=c99 for XOPEN2K.
19800 (@knownproblems): Remove.
19801 (newtoken): Don't check %isknown.
19803 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19804 Do not expect macro.
19805 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19817 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19818 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19835 [XPG3] (acosh): Likewise.
19836 [XPG3] (asinh): Likewise.
19837 [XPG3] (atanh): Likewise.
19838 [XPG3] (cbrt): Likewise.
19839 [XPG3] (expm1): Likewise.
19840 [XPG3] (ilogb): Likewise.
19841 [XPG3] (log1p): Likewise.
19842 [XPG3] (logb): Likewise.
19843 [XPG3] (nextafter): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19846 [XPG3] (remainder): Likewise.
19847 [XPG3] (rint): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19855 [UNIX98 || XOPEN2K] (scalb): Expect.
19856 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19857 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19910 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19911 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19914 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19915 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19916 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19917 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19919 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19920 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19921 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19922 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19923 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19924 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19927 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19928 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19932 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19933 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19936 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19937 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19938 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19943 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19944 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19945 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19946 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19947 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19948 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19949 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19952 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19953 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19954 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19962 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19963 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19964 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19965 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19966 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19967 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19968 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19969 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19970 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19971 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19972 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19973 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19974 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19975 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19976 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19977 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19978 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19979 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19980 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19981 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19982 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19983 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19984 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19985 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19986 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19987 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19988 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19989 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19990 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19991 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19992 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19994 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19995 _XOPEN_SOURCE_EXTENDED for XPG4.
19997 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19999 * Makeconfig (localtime): Remove variable.
20000 (inst_localtime-file): Likewise.
20002 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20023 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20027 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20028 comparisons to determine direction to adjust input.
20029 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20030 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20033 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20035 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20037 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20038 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20040 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20042 * math/libm-test.inc (nexttoward_test): Add more tests.
20044 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20047 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20048 in version GLIBC_2.1, not GLIBC_2.0.
20049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20052 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20055 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20057 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20058 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20059 * math/libm-test.inc (acos_test): Add more tests.
20060 (asin_test): Likewise.
20061 * sysdeps/i386/fpu/libm-test-ulps: Update.
20062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20065 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20067 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20068 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20069 * math/libm-test.inc (acos_test_tonearest): New function.
20070 (acos_test_towardzero): Likewise.
20071 (acos_test_downward): Likewise.
20072 (acos_test_upward): Likewise.
20073 (asin_test_tonearest): Likewise.
20074 (asin_test_towardzero): Likewise.
20075 (asin_test_downward): Likewise.
20076 (asin_test_upward): Likewise.
20077 (main): Call the new functions.
20078 * sysdeps/i386/fpu/libm-test-ulps: Update.
20079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20083 * math/e_exp10.c: Include <float.h>.
20084 (__ieee754_exp10): Handle underflow here rather than multiplying
20085 large negative argument by M_LN10.
20086 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20088 * math/e_exp10l.c: Include <float.h>.
20089 (__ieee754_exp10l): Handle underflow here rather than multiplying
20090 large negative argument by M_LN10l.
20091 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20092 spurious overflow exception on underflow.
20094 2012-04-29 Marek Polacek <polacek@redhat.com>
20096 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20097 (__fortify_function): New macro.
20098 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20099 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20100 __extern_always_inline.
20101 * libio/bits/stdio2.h: Likewise.
20102 * libio/bits/stdio.h: Likewise.
20103 * string/string.h: Likewise.
20104 * string/bits/string3.h: Likewise.
20105 * include/stdio.h: Likewise.
20106 * stdlib/bits/stdlib.h: Likewise.
20107 * stdlib/stdlib.h: Likewise.
20108 * rt/bits/mqueue2.h: Likewise.
20109 * rt/mqueue.h: Likewise.
20110 * posix/bits/unistd.h: Likewise.
20111 * posix/unistd.h: Likewise.
20112 * io/bits/poll2.h: Likewise.
20113 * io/bits/fcntl2.h: Likewise.
20114 * io/fcntl.h: Likewise.
20115 * io/sys/poll.h: Likewise.
20116 * misc/bits/syslog.h: Likewise.
20117 * misc/bits/syslog-ldbl.h: Likewise.
20118 * misc/sys/syslog.h: Likewise.
20119 * socket/bits/socket2.h: Likewise.
20120 * socket/sys/socket.h: Likewise.
20121 * debug/tst-chk1.c: Likewise.
20122 * wcsmbs/bits/wchar2.h: Likewise.
20123 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20124 * wcsmbs/wchar.h: Likewise.
20126 2012-04-29 Andreas Jaeger <aj@suse.de>
20128 * Makerules (tests): Remove enable-check-abi protection.
20129 (check-abi-warn): Remove.
20130 (check-abi-%): Remove check-abi-warn usage.
20132 * configure.in: Remove check-abi configure option.
20133 * configure: Regenerated.
20134 * config.make.in (enable-check-abi): Remove.
20136 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20139 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20140 double functions to double *_finite functions.
20143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20144 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20146 * stdio-common/Makefile (tests): Add tst-sprintf3.
20147 * stdio-common/tst-sprintf3.c: New file.
20149 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20150 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20152 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20154 * conform/conformtest.pl: Remove duplicate typed-constant
20157 2012-04-28 David S. Miller <davem@davemloft.net>
20159 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20160 (check-abi-%): Remove AWK script prerequisite and explicit
20162 (check-abi): Rewrite to just diff the symlist with the abilist.
20163 (config-tls, config-abi-config): Delete, no longer used.
20164 (update-abi-%): Remove AWK script and explicit abilist directory.
20165 (update-abi): Rewrite to simply compare and conditionally copy the
20166 symlist and the sysdep abilist file. Remove update-abi-config
20168 * abilist/ld.abilist: Remove.
20169 * abilist/libBrokenLocale.abilist: Remove.
20170 * abilist/libanl.abilist: Remove.
20171 * abilist/libcrypt.abilist: Remove.
20172 * abilist/libdl.abilist: Remove.
20173 * abilist/librt.abilist: Remove.
20174 * abilist/libthread_db.abilist: Remove.
20175 * abilist/libutil.abilist: Remove.
20176 * scripts/extract-abilist.awk: Remove.
20177 * scripts/merge-abilist.awk: Remove.
20178 * sysdeps/generic/libcidn.abilist: New file.
20179 * sysdeps/generic/libnss_compat.abilist: New file.
20180 * sysdeps/generic/libnss_db.abilist: New file.
20181 * sysdeps/generic/libnss_dns.abilist: New file.
20182 * sysdeps/generic/libnss_files.abilist: New file.
20183 * sysdeps/generic/libnss_hesiod.abilist: New file.
20184 * sysdeps/generic/libnss_nis.abilist: New file.
20185 * sysdeps/generic/libnss_nisplus.abilist: New file.
20186 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20187 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20188 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20191 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20192 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20193 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20194 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20195 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20196 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20197 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20198 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20200 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20201 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20202 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20203 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20205 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20206 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20208 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20210 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20213 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20214 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20216 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20319 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20320 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20321 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20324 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20325 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20326 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20327 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20328 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20329 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20330 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20331 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20332 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20384 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20386 * conform/conformtest.pl: Fix typo in handling typed-constant from
20389 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20391 * README: Cut down references to pre-2.6 Linux kernels and
20392 Linuxthreads. Update lists of configurations in libc and ports
20393 and sort alphabetically. Say "or newer" with Linux kernel version
20396 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20398 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20401 * math/libm-test.inc (logb_test_downward): New test to expose
20402 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20405 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20408 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20410 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20411 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20413 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20415 * sysdeps/unix/i386/brk.S: Remove file.
20416 * sysdeps/unix/i386/dl-brk.S: Likewise.
20417 * sysdeps/unix/i386/pipe.S: Likewise.
20418 * sysdeps/unix/i386/sigreturn.S: Likewise.
20419 * sysdeps/unix/i386/syscall.S: Likewise.
20420 * sysdeps/unix/i386/vfork.S: Likewise.
20421 * sysdeps/unix/i386/wait.S: Likewise.
20423 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20424 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20426 * configure.in (arm*-none*): Do not allow without
20427 --enable-hacker-mode.
20428 (netbsd*): Remove case setting base_os.
20429 (386bsd*): Likewise.
20430 (freebsd*): Likewise.
20433 (sunos*): Likewise.
20434 (ultrix*): Likewise.
20435 (newsos*): Likewise.
20436 (dynix*): Likewise.
20442 (minix*): Likewise.
20443 (irix4*): Likewise.
20444 (irix6*): Likewise.
20445 (solaris[2-9]*): Likewise.
20447 * configure: Regenerated.
20449 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20453 overflow or cancellation in calculating denominator.
20454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20456 down expression to avoid unexpected rounding in newer GCCs.
20457 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20459 2012-04-26 David S. Miller <davem@davemloft.net>
20461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20462 long-double compat symbols.
20463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20477 2012-04-25 David S. Miller <davem@davemloft.net>
20479 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20480 HWCAP_* values only after the memory barriers have been defined.
20481 (atomic_full_barrier): Define.
20482 (atomic_read_barrier): Define.
20483 (atomic_write_barrier): Define.
20485 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20487 * shlib-versions: Add libgcc_s version information.
20488 * sysdeps/generic/libgcc_s.h: Remove.
20489 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20491 * sysdeps/gnu/unwind-resume.c: Likewise.
20492 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20494 2012-04-25 David S. Miller <davem@davemloft.net>
20496 * sysdeps/unix/sparc/brk.S: Delete.
20497 * sysdeps/unix/sparc/dl-brk.S: Delete.
20498 * sysdeps/unix/sparc/pipe.S: Delete.
20499 * sysdeps/unix/sparc/sysdep.S: Delete.
20500 * sysdeps/unix/sparc/sysdep.h: Delete.
20501 * sysdeps/unix/sparc/vfork.S: Delete.
20502 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20503 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20504 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20505 ret_ERRVAL, r0, r1, MOVE): Define.
20506 (JUMPTARGET): Remove.
20507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20508 sysdeps/unix/sparc/sysdep.h
20509 (ENTRY, END): Remove.
20510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20512 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20514 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20515 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20518 * timezone/README: Update upstream location and email address for
20520 * timezone/zdump.c: Update from tzcode 2012b.
20521 * timezone/zic.c: Likewise.
20523 * configure.in (libc_cv_as_needed): Remove test.
20524 * configure: Regenerated.
20525 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20526 conditional definition.
20527 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20528 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20529 * config.make.in (have-as-needed): Remove variable.
20531 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20532 Paul Pluzhnikov <ppluzhnikov@google.com>
20534 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20537 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20539 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20540 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20541 * sysdeps/sh/strlen.S: Likewise.
20543 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20545 * sysdeps/unix/fork.S: Remove file.
20546 * sysdeps/unix/i386/fork.S: Likewise.
20547 * sysdeps/unix/sparc/fork.S: Likewise.
20549 * sysdeps/unix/system.c: Remove file.
20550 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20552 * sysdeps/unix/getegid.S: Remove file.
20553 * sysdeps/unix/geteuid.S: Likewise.
20555 2012-04-24 Roland McGrath <roland@hack.frob.com>
20557 * scripts/check-localplt.awk: New file.
20558 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20560 * scripts/data/localplt-generic.data: Add a comment.
20562 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20563 NODE when __dir_mkfile failed.
20564 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20565 Reported by Ludovic Courtès <ludo@gnu.org>.
20567 2012-04-24 Andreas Jaeger <aj@suse.de>
20569 * Makerules (common-clean): Also remove gen-as-const-headers
20572 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20574 * Makerules (native-compile): Do not change working directory for
20575 build. Use $(OUTPUT_OPTION) in command.
20576 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20578 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20581 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20582 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20583 * math/libm-test.inc (floor_test): Add more tests.
20584 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20586 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20588 * sysdeps/unix/getdents.c: Remove file.
20589 * sysdeps/unix/sysv/getdents.c: Likewise.
20590 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20592 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20593 sysdeps/unix/mman/syscalls.list.
20595 (mprotect): Likewise.
20597 (munmap): Likewise.
20598 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20599 * sysdeps/unix/mman/syscalls.list: Remove.
20600 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20602 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20603 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20604 * configure: Regenerated.
20605 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20606 $(libgcc_s_suffix).
20607 * config.make.in (libgcc_s_suffix): Remove variable.
20609 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20611 * sysdeps/unix/sysv/gethostname.c: Move to ...
20612 * sysdeps/posix/gethostname.c: ... here.
20614 * sysdeps/unix/execve.S: Remove file.
20616 * sysdeps/unix/_exit.S: Remove file.
20618 2012-04-23 Andreas Jaeger <aj@suse.de>
20621 * manual/Makefile: Remove make dist support, there's no
20622 need for a stand-alone documentation tar ball.
20623 (TEXI2DVI): Define always, it's not in Makeconfig.
20626 (edition): Removed.
20627 (glibc-doc-$(edition).tar): Removed
20631 (ETAGS): Remove, it's in Makeconfig.
20632 (move-if-change): Remove, it's in Makeconfig.
20634 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20637 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20638 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20639 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20640 (strtod_l, strtof_l, strtold_l): Remove __wur.
20641 It is not necessarily an error to ignore strtol's return value.
20642 One can reliably look at the stored endptr to decide whether
20643 the number had valid syntax.
20645 2012-04-21 Andreas Jaeger <aj@suse.de>
20648 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20650 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20652 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20653 * sysdeps/unix/sysv/Versions: Remove file.
20655 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20660 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20664 version from __vm86.
20666 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20668 * sysdeps/unix/common/lxstat.c: Remove file.
20669 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20671 * sysdeps/unix/sysv/Makefile: Remove file.
20673 * sysdeps/unix/sysv/direct.h: Remove file.
20675 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20676 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20677 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20678 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20679 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20680 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20681 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20683 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20685 * sysdeps/unix/xmknod.c: Remove file.
20686 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20688 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20690 * sysdeps/unix/sysv/i386/time.S: Remove file.
20692 * sysdeps/unix/fxstat.c: Remove file.
20693 * sysdeps/unix/xstat.c: Likewise.
20694 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20696 * sysdeps/unix/sysv/sigaction.c: Remove file.
20698 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20699 (sysdep_headers): Remove variable.
20700 [termio.h not in sysdep_headers] (generated): Likewise.
20701 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20702 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20703 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20704 * sysdeps/unix/sysv/tcflow.c: Likewise.
20705 * sysdeps/unix/sysv/tcflush.c: Likewise.
20706 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20707 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20708 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20709 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20710 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20712 * sysdeps/unix/siglist.c: Remove file.
20714 * sysdeps/unix/getppid.S: Remove file.
20716 * sysdeps/unix/mkdir.c: Remove file.
20717 * sysdeps/unix/rmdir.c: Likewise.
20719 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20721 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20723 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20724 errlist-compat value.
20726 2012-04-18 David S. Miller <davem@davemloft.net>
20728 * sysdeps/generic/memcopy.h (reg_char): Delete.
20729 * debug/strcat_chk.c: Use char, not reg_char.
20730 * debug/strcpy_chk.c: Likewise.
20731 * debug/strncat_chk.c: Likewise.
20732 * debug/strncpy_chk.c: Likewise.
20733 * string/memchr.c: Likewise.
20734 * string/memrchr.c: Likewise.
20735 * string/rawmemchr.c: Likewise.
20736 * string/strcat.c: Likewise.
20737 * string/strchr.c: Likewise.
20738 * string/strchrnul.c: Likewise.
20739 * string/strcmp.c: Likewise.
20740 * string/strcpy.c: Likewise.
20741 * string/strncat.c: Likewise.
20742 * string/strncmp.c: Likewise.
20743 * string/strncpy.c: Likewise.
20745 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20747 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20748 __builtin_memcopy is called when src and dest ranges are known to not
20751 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20753 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20754 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20755 fwd_align_merge macro call.
20756 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20757 bwd_align_merge macro call.
20758 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20760 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20762 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20763 bwd_align_merge macros.
20764 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20765 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20766 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20768 2012-04-18 David S. Miller <davem@davemloft.net>
20770 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20772 2012-04-18 Andreas Jaeger <aj@suse.de>
20775 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20776 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20777 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20780 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20781 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20783 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20784 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20785 Adjust for changed ldbl-128 files.
20787 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20788 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20789 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20791 2012-04-17 David S. Miller <davem@davemloft.net>
20793 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20795 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20797 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20798 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20799 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20800 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20802 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20804 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20807 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20808 * math/libm-test.inc: Add ilogb errno and exception tests.
20809 * math/w_ilogb.c: New file: ilogb wrapper.
20810 * math/w_ilogbf.c: New file: ilogbf wrapper.
20811 * math/w_ilogbl.c: New file: ilogbl wrapper.
20812 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20813 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20814 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20815 exception being thrown with 0.0 as argument.
20816 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20817 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20818 exception being thrown with 0.0 as argument.
20819 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20820 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20821 exception being thrown with 0.0 as argument.
20822 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20823 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20824 exception being thrown with 0.0 as argument.
20825 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20826 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20827 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20828 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20829 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20830 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20831 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20832 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20833 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20835 2012-04-17 Petr Baudis <pasky@ucw.cz>
20837 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20840 2012-04-16 Marek Polacek <polacek@redhat.com>
20842 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20844 2012-04-16 Marek Polacek <polacek@redhat.com>
20846 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20847 operands of fdivp instruction.
20849 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20851 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20852 * elf/tst-auditmod3b.c: Likewise.
20853 * elf/tst-auditmod4b.c: Likewise.
20854 * elf/tst-auditmod5b.c: Likewise.
20855 * elf/tst-auditmod6b.c: Likewise.
20856 * elf/tst-auditmod6c.c: Likewise.
20857 * elf/tst-auditmod7b.c: Likewise.
20858 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20859 * sysdeps/x86_64/preconfigure.in: Likewise.
20860 * sysdeps/x86_64/preconfigure: Regenerated.
20862 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20864 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20867 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20870 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20872 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20875 * locale/iso-639.def: Fix gl language name. Spotted by
20878 2012-04-12 Roland McGrath <roland@hack.frob.com>
20881 * libio/libio.h (__io_write_fn): Update comment.
20883 2012-04-12 Petr Baudis <pasky@ucw.cz>
20886 * stdio.texi (Hook Functions): The user provided writer function
20887 is not allowed to return -1.
20889 2012-04-11 David S. Miller <davem@davemloft.net>
20891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20893 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20895 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20896 Add a leading slash to rtkaio.
20898 2012-04-11 Jim Meyering <meyering@redhat.com>
20901 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20902 It is not necessarily an error to ignore fwrite's return
20903 value. One can reliably use ferror to test for errors after
20906 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20908 * bits/types.h (__snseconds_t): New type.
20909 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20911 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20913 (__SNSECONDS_T_TYPE): Likewise.
20914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20915 (__SNSECONDS_T_TYPE): Likewise.
20916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20917 (__SNSECONDS_T_TYPE): Likewise.
20919 2012-04-10 Andreas Jaeger <aj@suse.de>
20922 * manual/time.texi (Processor Time): Return type of times is
20923 elapsed real time since an arbitrary point in the past.
20924 (CPU Time): Move CLK_TCK from here...
20925 (Processor Time): ...to here. Correct description.
20926 * manual/conf.texi (Constants for Sysconf): Correct description of
20929 2012-04-10 David S. Miller <davem@davemloft.net>
20932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20933 where the is a gap between DT_REL(A) and DT_JMPREL.
20935 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20937 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20938 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20939 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20941 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20943 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20944 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20945 (dl_main): Handle --inhibit-cache.
20946 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20948 * elf/dl-load.c (_dl_map_object): Use it.
20949 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20951 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20954 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20955 (__ieee754_powl): Saturate large exponents rather than testing for
20956 overflow of y*log2(x).
20957 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20958 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20962 * math/s_ctan.c: Include <float.h>.
20963 (__ctan): Avoid internal overflow or cancellation in calculating
20965 * math/s_ctanf.c: Likewise.
20966 * math/s_ctanl.c: Likewise.
20967 * math/s_ctanh.c: Likewise.
20968 * math/s_ctanhf.c: Likewise.
20969 * math/s_ctanhl.c: Likewise.
20970 * math/libm-test.inc (ctan_test): Add more tests.
20971 (ctanh_test): Likewise.
20972 * sysdeps/i386/fpu/libm-test-ulps: Update.
20973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20975 2012-04-09 Andreas Jaeger <aj@suse.de>
20978 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20979 is an optional BSD extension.
20982 * manual/stdio.texi (Opening Streams): Document additional fopen
20985 2012-04-09 Roland McGrath <roland@hack.frob.com>
20987 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20988 %eax without telling the compiler.
20990 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20993 * manual/install.texi: Use sourceware.org.
20995 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20998 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20999 (__ieee754_pow): Generate overflow and underflow using huge*huge
21000 and tiny*tiny rather than just returning constant infinity or zero
21001 for large exponents.
21002 * math/libm-test.inc (pow_test): Require overflow exceptions for
21003 applicable cases of large exponents.
21006 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21007 (__ieee754_pow): Use iterative multiplication algorithm only for
21008 integer exponents with absolute value below 1024. Check for odd
21009 integer exponents when using algorithm for real exponents.
21010 * math/libm-test.inc (pow_test): Add more tests.
21011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21013 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21016 * math/libm-test.inc (exp_test): Do not allow overflow exception
21019 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21022 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21023 instead of __kernel_standard_f.
21025 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21027 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21028 * sysdeps/x86_64/memset_chk.S: Likewise.
21030 2012-04-08 Andreas Jaeger <aj@suse.de>
21033 * manual/startup.texi (Environment Access): Describe return value
21034 for putenv and setenv.
21037 * manual/filesys.texi (Directory Entries): Add description for
21041 * manual/filesys.texi (Directory Entries): Clarify that it's file
21042 system not operating system in the description of DT_UNKNOWN.
21045 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21047 2012-04-08 Stephen Compall <s11@member.fsf.org>
21050 * manual/llio.texi (Opening and Closing Files): Add cross
21051 reference to explain mode argument.
21053 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21055 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21056 * sysdeps/x86_64/memset_chk.S: Likewise.
21058 2012-04-07 David S. Miller <davem@davemloft.net>
21060 * elf/elf.h (R_SPARC_WDISP10): Define.
21061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21064 R_SPARC_SIZE64 and R_SPARC_H34.
21066 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21069 conditions and remove no longer applicable assertion.
21071 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21073 * bits/byteswap.h: Include <features.h>.
21074 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21075 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21077 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21079 * bits/byteswap.h (__bswap_16): Removed.
21080 Include <bits/byteswap-16.h> to get __bswap_16.
21081 * sysdeps/i386/bits/byteswap.h: Likewise.
21082 * sysdeps/s390/bits/byteswap.h: Likewise.
21083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21084 * bits/byteswap-16.h: New file.
21085 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21086 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21087 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21088 * string/Makefile (headers): Add bits/byteswap-16.h.
21090 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21093 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21095 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21096 * nss/tst-nss-static.c: New.
21098 2012-04-06 Robert Millan <rmh@gnu.org>
21101 * manual/llio.texi (File Position Primitive): lseek
21102 refers to WHENCE when it really means OFFSET.
21104 2012-04-06 Andreas Jaeger <aj@suse.de>
21106 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21107 strncmp declarations.
21109 * abilist/libc.abilist: Add __poll and __ppoll.
21111 2012-04-05 David S. Miller <davem@davemloft.net>
21113 * scripts/check-local-headers.sh: Accept a host triplet in the
21114 path matched by the exclude regexp.
21116 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21118 * sysdeps/powerpc/powerpc32/dl-machine.h
21119 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21120 * sysdeps/s390/s390-32/dl-machine.h
21121 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21122 * sysdeps/sparc/sparc32/dl-machine.h
21123 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21124 * sysdeps/sparc/sparc64/dl-machine.h
21125 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21127 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21129 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21130 undefined symbol errors.
21132 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21135 2012-04-05 Michael Matz <matz@suse.de>
21138 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21140 2012-04-05 Andreas Jaeger <aj@suse.de>
21143 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21146 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21148 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21149 which ROUND is no valid rounding mode.
21151 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21155 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21157 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21159 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21160 an exception using FPU order intentionally.
21162 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21164 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21165 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21166 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21167 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21169 2012-04-05 Simon Josefsson <simon@josefsson.org>
21172 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21173 EINVAL when BUFLEN is too smal.
21175 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21178 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21179 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21181 2012-04-03 Andreas Jaeger <aj@suse.de>
21184 * manual/setjmp.texi (System V contexts): Fix sentence.
21187 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21188 New macro for this case.
21189 [!__GNUC__] (__bswap_64): New inline function for this case.
21190 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21191 * bits/byteswap.h: Likewise.
21192 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21193 ull, guard with __GLIBC_HAVE_LONG_LONG.
21195 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21196 __GLIBC_HAVE_LONG_LONG.
21198 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21199 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21201 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21204 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21205 inptr and inend, rather than using last_ch.
21207 2012-04-02 David S. Miller <davem@davemloft.net>
21209 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21210 * stdio-common/printf-parse.h (read_int): Change return type to
21211 'int', return -1 on INT_MAX overflow.
21212 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21213 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21214 overflows INT_MAX. Check for overflow of in-format-string precision
21215 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21216 SIZE_MAX not INT_MAX for integer overflow test.
21217 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21218 skip the construct in the format string but do not record anything.
21219 * stdio-common/bug22.c: Adjust to test both width/prevision
21220 INT_MAX overflow as well as total length INT_MAX overflow. Check
21221 explicitly for proper errno values.
21223 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21225 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21227 * string/test-strcmp.c [! WIDE]: Likewise.
21228 * time/tst-mktime2.c: Likewise for INT_MAX.
21229 * string/test-string.h: #include <sys/param.h> for MIN.
21231 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21232 * sysdeps/i386/init-first.c (init): Likewise.
21233 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21234 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21235 * sysdeps/sh/init-first.c (init): Likewise.
21237 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21239 * po/ru.po: Update from translation team.
21240 * po/vi.po: Likewise.
21242 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21244 * resolv/nss_dns/dns-host.c: Merge copyright years.
21246 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21248 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21249 Optimize memcpy with prefetch if
21250 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21251 src, dst pointers have unequal 16 byte alignments.
21253 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21256 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21257 from a CNAME entry and return the minimum ttl for the query.
21258 (gaih_getanswer_slice): Likewise.
21260 2012-03-30 Jeff Law <law@redhat.com>
21262 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21264 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21265 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21267 * resolv/nss_dns/dns-host.c: Update copyright year.
21269 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21271 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21272 requests to save a system call. Fix check that all bytes are sent.
21274 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21275 comments for sendmmsg.
21277 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21280 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21281 with only 1 character between 0x0041 and 0x01b0.
21282 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21283 * wcsmbs/tst-mbsnrtowcs.c: New file.
21285 2012-03-29 David S. Miller <davem@davemloft.net>
21287 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21288 small copies by hand.
21290 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21293 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21294 _nss_compat_initgroups_dyn): Fall back to malloc/free
21295 for large group memberships.
21297 2012-03-28 David S. Miller <davem@davemloft.net>
21299 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21300 that branches into memcpy.
21301 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21304 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21307 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21308 implementation too.
21309 * sysdeps/sparc/mempcpy.S: New file.
21311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21312 the IFUNC routine in the libc case.
21313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21315 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21316 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21317 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21318 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21319 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21320 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21321 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21322 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21324 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21325 loop to 256 bytes instead of 64 bytes and fix test signedness.
21327 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21328 * sysdeps/sparc/sparc32/Makefile: rather than here...
21329 * sysdeps/sparc/sparc64/Makefile: and here.
21331 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21333 * malloc/mallocbug.c: Avoid warnings about unused variables.
21335 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21338 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21339 in the right place. Discard and retry query if response is
21340 larger than input buffer size.
21342 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21347 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21348 x for large integer exponent.
21349 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21350 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21351 sign of result as needed afterwards.
21352 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21353 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21354 result for underflowing pow the same as for overflow.
21355 (__kernel_standard_l): Handle powl overflow and underflow here
21356 rather than calling __kernel_standard.
21357 * math/libm-test.inc (pow_test): Add more tests.
21372 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21373 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21374 (__kernel_standard_l): New function.
21375 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21377 * math/w_acosl.c (__acosl): Likewise.
21378 * math/w_asinl.c (__asinl): Likewise.
21379 * math/w_atan2l.c (__atan2l): Likewise.
21380 * math/w_atanhl.c (__atanhl): Likewise.
21381 * math/w_coshl.c (__coshl): Likewise.
21382 * math/w_exp10l.c (__exp10l): Likewise.
21383 * math/w_exp2l.c (__exp2l): Likewise.
21384 * math/w_fmodl.c (__fmodl): Likewise.
21385 * math/w_hypotl.c (__hypotl): Likewise.
21386 * math/w_j0l.c (__j0l, __y0l): Likewise.
21387 * math/w_j1l.c (__j1l, __y1l): Likewise.
21388 * math/w_jnl.c (__jnl, __ynl): Likewise.
21389 * math/w_lgammal.c (__lgammal): Likewise.
21390 * math/w_log10l.c (__log10l): Likewise.
21391 * math/w_log2l.c (__log2l): Likewise.
21392 * math/w_logl.c (__logl): Likewise.
21393 * math/w_powl.c (__powl): Likewise.
21394 * math/w_remainderl.c (__remainderl): Likewise.
21395 * math/w_scalbl.c (sysv_scalbl): Likewise.
21396 * math/w_sinhl.c (__sinhl): Likewise.
21397 * math/w_sqrtl.c (__sqrtl): Likewise.
21398 * math/w_tgammal.c (__tgammal): Likewise.
21399 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21400 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21401 * math/libm-test.inc (acos_test): Add more tests.
21402 (acosh_test): Likewise.
21403 (asin_test): Likewise.
21404 (atanh_test): Likewise.
21405 (exp_test): Likewise.
21406 (exp10_test): Likewise.
21407 (exp2_test): Likewise.
21408 (expm1_test): Likewise.
21409 (lgamma_test): Likewise.
21410 (log_test): Likewise.
21411 (log10_test): Likewise.
21412 (log1p_test): Likewise.
21413 (log2_test): Likewise.
21414 (pow_test): Do not allow some spurious overflow exceptions.
21415 (sqrt_test): Add more tests.
21416 (tgamma_test): Likewise.
21417 (y0_test): Likewise.
21418 (y1_test): Likewise.
21419 (yn_test): Likewise.
21421 2012-03-27 Anton Blanchard <anton@samba.org>
21423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21425 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21426 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21429 2012-03-27 David S. Miller <davem@davemloft.net>
21431 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21433 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21434 have-as-vis3 check.
21436 2012-03-27 Andreas Jaeger <aj@suse.de>
21438 * sysdeps/x86_64/elf/configure.in: Moved to ...
21439 * sysdeps/x86_64/configure.in: ... here.
21440 * sysdeps/x86_64/elf/start.S: Moved to ...
21441 * sysdeps/x86_64/start.S: ... here.
21442 * sysdeps/x86_64/elf/configure: Delete.
21444 * sysdeps/x86_64/configure.in: Merge contents from
21445 sysdeps/i386/configure.in (without i686 check).
21447 * sysdeps/i386/elf/Versions: Merge into ...
21448 * sysdeps/i386/Versions: ... this.
21449 * sysdeps/i386/elf/Versions: Delete file.
21450 * sysdeps/i386/elf/start.S: Moved to ...
21451 * sysdeps/i386/start.S: ...here.
21452 * sysdeps/i386/elf/configure.in: Merge into...
21453 * sysdeps/i386/configure.in: ...here.
21454 * sysdeps/i386/elf/configure.in: Delete file.
21455 * sysdeps/i386/elf/configure: Delete file.
21457 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21458 * debug/backtracesyms.c: ... here.
21459 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21460 * debug/backtracesymsfd.c: ... here.
21461 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21462 * sysdeps/generic/ifunc-sel.h: ... here.
21464 * sysdeps/unix/i386/start.c: Delete file.
21465 * sysdeps/unix/sparc/start.c: Delete file.
21466 * sysdeps/unix/start.c: Delete file.
21468 * sysdeps/sh/elf/configure.in: Moved to ...
21469 * sysdeps/sh/configure.in: ... here.
21470 * sysdeps/sh/elf/start.S: Moved to ...
21471 * sysdeps/sh/start.S: ... here.
21472 * sysdeps/sh/elf/configure: Delete file.
21474 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21475 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21476 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21477 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21478 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21479 * sysdeps/powerpc/powerpc64/start.S: here.
21480 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21481 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21482 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21483 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21484 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21486 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21487 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21488 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21489 * sysdeps/powerpc/powerpc32/start.S: ... here.
21490 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21491 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21492 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21494 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21495 * sysdeps/powerpc/ifunc-sel.h: ... here.
21496 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21497 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21499 * sysdeps/sparc/elf/configure.in: Moved to ...
21500 * sysdeps/sparc/configure.in: ... here.
21501 * sysdeps/sparc/elf/configure: Delete file.
21502 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21503 * sysdeps/sparc/sparc32/start.S: ... here.
21504 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21505 * sysdeps/sparc/sparc64/start.S: ... here.
21506 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21507 * sysdeps/sparc/sparc32/Makefile: ... this.
21508 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21509 * sysdeps/sparc/sparc64/Makefile: ... this.
21511 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21512 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21513 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21514 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21515 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21516 * sysdeps/s390/s390-32/setjmp.S: ... here.
21517 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21518 * sysdeps/s390/s390-32/configure.in: ... here.
21519 * sysdeps/s390/s390-32/elf/configure: Delete file.
21520 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21521 * sysdeps/s390/s390-32/start.S: ... here.
21523 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21524 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21525 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21526 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21527 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21528 * sysdeps/s390/s390-64/setjmp.S: ... here.
21529 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21530 * sysdeps/s390/s390-64/configure.in: ... here
21531 * sysdeps/s390/s390-64/elf/configure: Delete file.
21532 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21533 * sysdeps/s390/s390-64/start.S: ... here.
21534 * sysdeps/s390/s390-64/elf/configure: Delete.
21536 * configure.in: Remove support for elf directories in sysdeps.
21538 * configure: Regenerated.
21539 * sysdeps/i386/configure: Regenerated.
21540 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21541 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21542 * sysdeps/s390/s390-32/configure: Regenerated.
21543 * sysdeps/s390/s390-64/configure: Regenerated.
21544 * sysdeps/sh/configure: Regenerated.
21545 * sysdeps/sparc/configure: Regenerated.
21546 * sysdeps/x86_64/configure: Regenerated.
21548 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21553 denormal result into account.
21555 2012-03-25 Roland McGrath <roland@hack.frob.com>
21557 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21558 Reported by Allan McRae <allan@archlinux.org>.
21560 2012-03-23 Jeff Law <law@redhat.com>
21562 * nss/getnssent.c (__nss_getent): Fix typo.
21564 2012-03-23 David S. Miller <davem@davemloft.net>
21566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21568 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21570 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21571 to pad to uint64_t for each field.
21572 (dl_tls_index): Replace unsigned long with uint64_t.
21574 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21575 Paul Pluzhnikov <ppluzhnikov@google.com>
21578 * grp/Makefile (otherlibs): Don't set it.
21579 * inet/Makefile (otherlibs): Likewise.
21580 * login/Makefile (otherlibs): Likewise.
21581 * nscd/Makefile (otherlibs): Likewise.
21582 * posix/Makefile (otherlibs): Likewise.
21583 * pwd/Makefile (otherlibs): Likewise.
21584 * rt/Makefile (otherlibs): Likewise.
21585 * sunrpc/Makefile (otherlibs): Likewise.
21586 * nss/Makefile (otherlibs): Likewise.
21587 Add libnss_files to routines and static-only-routines.
21588 ($(objpfx)getent): Remove rule.
21589 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21590 static-only-routines.
21592 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21595 * math/s_cexp.c: Include <float.h>.
21596 (__cexp): Handle exp result overflowing not necessarily
21597 overflowing both real and imaginary parts of result.
21598 * math/s_cexpf.c: Likewise.
21599 * math/s_cexpl.c: Likewise.
21600 * math/libm-test.inc (cexp_test): Add more tests.
21601 * sysdeps/i386/fpu/libm-test-ulps: Update.
21602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21606 * include/link.h (ELFW): New macro.
21607 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21608 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21610 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21612 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21615 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21617 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21619 (struct La_x32_retval): Likewise.
21621 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21623 * sysdeps/x86_64/preconfigure.in: New file.
21624 * sysdeps/x86_64/preconfigure: New generated file.
21626 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21629 * math/e_exp2l.c: Include <float.h>.
21630 (__ieee754_exp2l): Handle overflow and underflow cases
21631 separately. Only pass fractional part of argument to
21633 * math/libm-test.inc (exp2_test): Add more tests.
21635 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21636 negating x to take absolute value.
21637 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21639 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21640 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21642 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21643 computing low part if x was negated.
21644 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21646 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21648 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21649 la_x32_gnu_pltexit.
21650 (pltexit): Cast int_retval to ptrdiff_t.
21651 * elf/tst-auditmod3b.c: Likewise.
21652 * elf/tst-auditmod4b.c: Likewise.
21653 * elf/tst-auditmod5b.c: Likewise.
21654 * elf/tst-auditmod6b.c: Likewise.
21655 * elf/tst-auditmod6c.c: Likewise.
21656 * elf/tst-auditmod7b.c: Likewise.
21658 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21659 and x32_gnu_pltexit.
21661 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21662 __ELF_NATIVE_CLASS.
21663 (La_x32_regs): New macro.
21664 (La_x32_retval): Likewise.
21665 (la_x32_gnu_pltenter): New function prototype.
21666 (la_x32_gnu_pltexit): Likewise.
21668 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21675 * configure.in (libc_cv_cc_nofma): Check for option to disable
21676 generation of FMA instructions.
21677 * configure: Regenerate.
21678 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21679 * sysdeps/ieee754/dbl-64/Makefile: New file.
21680 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21681 Remove brandred-fma4.
21682 (CFLAGS-brandred-fma4.c): Remove.
21683 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21684 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21686 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21689 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21691 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21692 LLONG_MAX != LONG_MAX.
21693 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21694 (_fitoa_word): Likewise.
21695 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21696 LLONG_MAX != LONG_MAX.
21697 * stdio-common/_itowa.h: Include <_itoa.h>.
21698 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21699 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21700 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21701 only if not defined.
21702 (_ITOA_WORD_TYPE): Likewise.
21703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21704 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21706 2012-03-21 David S. Miller <davem@davemloft.net>
21708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21710 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21712 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21713 of x86_64 when setting libc_cv_slibdir, libdir and
21715 * sysdeps/unix/sysv/linux/configure: Regenerated.
21717 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21719 * manual/lang.texi (Old Varargs): Remove section.
21720 (How Variadic): Update menu.
21721 (va_start): Do not mention varargs.h.
21723 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21724 Joseph Myers <joseph@codesourcery.com>
21726 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21728 * configure: Regenerated.
21730 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21732 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21733 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21736 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21739 * Makefile (files-for-dist): Remove NOTES.
21740 (NOTES): Remove rule.
21741 * README: Don't refer to NOTES.
21742 * manual/creature.texi: Don't include macros.texi.
21743 * manual/intro.texi (creature.texi): Remove comment referring to
21746 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21747 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21748 * configure: Regenerated.
21749 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21750 LIBC_TRY_CC_OPTION.
21751 (libc_cv_as_i686): Likewise.
21752 (libc_cv_cc_avx): Likewise.
21753 (libc_cv_cc_sse2avx): Likewise.
21754 (libc_cv_cc_fma4): Likewise.
21755 (libc_cv_cc_novzeroupper): Likewise.
21756 * sysdeps/i386/configure: Regenerated.
21759 * sysdeps/i386/fpu/s_cexp.S: Remove.
21760 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21761 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21762 * math/libm-test.inc (cexp_test): Add more tests.
21763 * sysdeps/i386/fpu/libm-test-ulps: Update.
21764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21766 2012-03-21 Allan McRae <allan@archlinux.org>
21768 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21770 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21773 * math/w_exp2.c: Do not include <float.h>.
21774 (o_threshold, u_threshold): Remove.
21775 (__exp2): Calculate result before checking finiteness and calling
21777 * math/w_exp2f.c: Likewise.
21778 * math/w_exp2l.c: Likewise.
21779 * math/libm-test.inc (exp2_test): Require overflow exception for
21783 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21784 range of signed 64-bit integers before using fistpll. Remove
21785 checks for whether integers fit in mantissa bits.
21786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21787 the range of signed 32-bit integers before using fistpl. Remove
21788 checks for whether integers fit in mantissa bits.
21789 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21790 (__ieee754_powl): Test for y outside the range of signed 64-bit
21791 integers before using fistpll. Reduce 64-bit values to 63-bit
21793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21794 divide-by-zero is raised for zero to large negative powers.
21795 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21796 (__ieee754_powl): Test for y outside the range of signed 64-bit
21797 integers before using fistpll. Reduce 64-bit values to 63-bit
21799 * math/libm-test.inc (pow_test): Add more tests.
21801 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21803 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21804 <stdio-common/_itoa.h>.
21805 * debug/segfault.c: Likewise.
21806 * elf/dl-cache.c: Likewise.
21807 * elf/dl-minimal.c: Likewise.
21808 * elf/dl-misc.c: Likewise.
21809 * elf/dl-sysdep.c: Likewise.
21810 * elf/dl-version.c: Likewise.
21811 * elf/rtld.c: Likewise.
21812 * hurd/hurdsock.c: Likewise.
21813 * hurd/lookup-retry.c: Likewise.
21814 * malloc/malloc.c: Likewise.
21815 * malloc/mtrace.c: Likewise.
21816 * nscd/nscd_getgr_r.c: Likewise.
21817 * nscd/nscd_getpw_r.c: Likewise.
21818 * nscd/nscd_getserv_r.c: Likewise.
21819 * posix/getopt_init.c: Likewise.
21820 * posix/wordexp.c: Likewise.
21821 * stdio-common/_itoa.c: Likewise.
21822 * stdio-common/printf_fphex.c: Likewise.
21823 * stdio-common/vfprintf.c: Likewise.
21824 * string/_strerror.c: Likewise.
21825 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21826 * sysdeps/i386/i686/hp-timing.h: Likewise.
21827 * sysdeps/mach/_strerror.c: Likewise.
21828 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21829 * sysdeps/mach/hurd/sethostid.c: Likewise.
21830 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21831 * sysdeps/mach/xpg-strerror.c: Likewise.
21832 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21834 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21835 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21836 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21837 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21838 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21839 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21840 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21841 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21842 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21843 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21844 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21845 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21846 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21847 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21848 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21849 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21850 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21851 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21852 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21854 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21856 * stdio-common/_itoa.h: Moved to ...
21857 * sysdeps/generic/_itoa.h: Here.
21859 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21861 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21862 instead of "_itoa.h" and "_itowa.h".
21863 * stdio-common/vfprintf.: Likewise.
21865 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21867 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21869 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21870 (__signbit): Likwise.
21871 (llrintf): Likwise.
21874 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21876 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21879 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21881 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21882 OVERFLOW_EXCEPTION_OK.
21883 * math/libm-test.inc ("Philosophy"): Update comment about
21885 (OVERFLOW_EXCEPTION): Define.
21886 (OVERFLOW_EXCEPTION_OK): Likewise.
21887 (INVALID_EXCEPTION_OK): Renumber.
21888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21889 (IGNORE_ZERO_INF_SIGN): Likewise.
21890 (test_exceptions): Handle FE_OVERFLOW.
21891 (exp10_test): Expect overflow exceptions.
21892 (exp2_test): Likewise.
21893 (expm1_test): Likewise.
21894 (nextafter_test): Likewise.
21895 (pow_test): Likewise.
21896 (scalbn_test): Likewise.
21897 (scalbln_test): Likewise.
21899 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21901 * sysdeps/x86_64/bits/atomic.h
21902 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21904 (atomic_exchange_acq): Likewise.
21905 (__arch_exchange_and_add_body): Likewise.
21906 (__arch_add_body): Likewise.
21907 (atomic_add_negative): Likewise.
21908 (atomic_add_zero): Likewise.
21910 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21912 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21913 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21917 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21918 Check __x86_64__ instead of __WORDSIZE.
21920 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21922 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21924 2012-03-19 David S. Miller <davem@davemloft.net>
21926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21928 * sysdeps/sparc/fpu/fenv_private.h: New file.
21929 * sysdeps/sparc/fpu/math_private.h: Use it.
21930 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21932 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21933 (libc_feholdexcept_setroundl): Remove.
21934 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21936 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21937 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21939 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21941 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21942 int64_t instead of long int.
21943 (INSERT_WORDS64): Likwise.
21945 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21947 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21948 _Unwind_GetCFA return to _Unwind_Ptr first.
21950 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21953 * math/s_clog.c: Include <float.h>.
21954 (__clog): Scale large or subnormal inputs.
21955 * math/s_clogf.c: Likewise.
21956 * math/s_clogl.c: Likewise.
21957 * math/s_clog10.c: Include <float.h>.
21958 (M_LOG10_2): Define.
21959 (__clog10): Scale large or subnormal inputs.
21960 * math/s_clog10f.c: Likewise.
21961 * math/s_clog10l.c: Likewise.
21962 * math/libm-test.inc (clog_test): Add more tests.
21963 (clog10_test): Likewise.
21964 * sysdeps/i386/fpu/libm-test-ulps: Update.
21965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21968 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21970 * math/libm-test.inc (atan2_test): Add another test.
21972 * Makerules (common-objdir-compile): Remove.
21973 * sysdeps/unix/Makefile (config-generated): Do not add
21974 $(unix-generated) to variable.
21975 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21976 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21978 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21980 [generic bits/local_lim.h] (before-compile): Do not append to
21982 [generic bits/local_lim.h] (common-generated): Likewise.
21983 [generic sys/param.h] (before-compile): Do not append to variable.
21984 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21985 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21986 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21987 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21989 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21990 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21991 [generic sys/param.h] ($(addprefix
21992 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21993 [generic sys/param.h] (common-generated): Do not append to
21995 [generic sys/param.h] (sysdep_headers): Likewise.
21996 [generic bits/errno.h] (before-compile): Do not append to
21998 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22000 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22001 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22002 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22003 [generic bits/errno.h] (common-generated): Do not append to
22005 [generic bits/ioctls.h] (before-compile): Do not append to
22007 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22009 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22010 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22011 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22013 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22014 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22015 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22016 [generic bits/ioctls.h] (common-generated): Do not append to
22018 [generic sys/syscall.h] (syscall.h): Remove variable.
22019 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22021 [generic sys/syscall.h] (before-compile): Do not append to
22023 [generic sys/syscall.h] (common-generated): Likewise.
22024 * sysdeps/unix/errnos-tmpl.c: Remove file.
22025 * sysdeps/unix/errnos.awk: Likewise.
22026 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22027 * sysdeps/unix/ioctls.awk: Likewise.
22028 * sysdeps/unix/mk-local_lim.c: Likewise.
22029 * sysdeps/unix/snarf-ioctls: Likewise.
22031 2012-03-19 Richard Henderson <rth@twiddle.net>
22033 * sysdeps/i386/fpu/fenv_private.h: New file.
22034 * sysdeps/i386/fpu/math_private.h: Use it.
22035 (math_opt_barrier, math_force_eval): Remove.
22036 (libc_feholdexcept_setround_53bit): Remove.
22037 (libc_feupdateenv_53bit): Remove.
22038 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22039 (math_opt_barrier, math_force_eval): Remove.
22040 (libc_feholdexcept): Remove.
22041 (libc_feholdexcept_setround): Remove.
22042 (libc_fetestexcept, libc_fesetenv): Remove.
22043 (libc_feupdateenv_test): Remove.
22044 (libc_feupdateenv, libc_feholdsetround): Remove.
22045 (libc_feresetround): Remove.
22047 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22048 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22050 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22051 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22052 (libc_feupdateenv_testl): New.
22053 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22054 (libc_feupdateenv_testf): New.
22055 (libc_feupdateenv): Use libc_feupdateenv_test.
22056 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22059 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22060 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22061 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22062 (libc_feresetround_noex): New.
22063 (libc_feresetround_noexf): New.
22064 (libc_feresetround_noexl): New.
22065 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22066 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22067 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22068 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22073 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22074 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22075 SET_RESTORE_ROUND_NOEX.
22076 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22077 SET_RESTORE_ROUND_NOEXF.
22078 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22079 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22080 (libc_feholdsetroundf): New.
22081 (libc_feresetround, libc_feresetroundf): New.
22083 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22084 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22085 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22087 * sysdeps/generic/math_private.h: Include <fenv.h>.
22088 (default_libc_feholdexcept): New.
22089 (default_libc_feholdexcept_setround): New.
22090 (default_libc_fesetenv, default_libc_feupdateenv): New.
22091 (libc_feholdexcept): Only define if undefined.
22092 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22093 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22094 (libc_feholdexcept_setroundl): Likewise.
22095 (libc_feholdexcept_setround_53bit): Likewise.
22096 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22097 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22098 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22099 (libc_feupdateenv_53bit): Likewise.
22100 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22101 (libc_feholdexcept): Convert from macro to inline function.
22102 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22103 (libc_fesetenv, libc_feupdateenv): Likewise.
22105 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22106 not previously defined.
22107 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22108 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22109 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22110 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22111 * sysdeps/ieee754/flt-32/math_private.h: New file.
22112 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22113 math_private.h below SET_FLOAT_WORD.
22114 (__isnan, __isinf_ns, __finite): Remove.
22115 (__isnanf, __isinf_nsf, __finitef): Remove.
22117 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22121 2012-03-17 David S. Miller <davem@davemloft.net>
22124 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22127 2012-03-16 David S. Miller <davem@davemloft.net>
22129 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22133 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22135 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22136 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22137 sysdep_routines when subdir is sysvipc.
22138 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22139 __getshmlba helper.
22141 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22143 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22145 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22148 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22150 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22151 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22152 (__lround): Renamed to ...
22153 (__llround): This. Replace long int with long long int.
22154 Define lround functions as aliases of llround functions.
22155 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22157 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22159 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22160 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22161 adresses to uintptr_t. Replace "long int" and "unsigned long
22162 int" with "greg_t" on va_arg.
22164 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22166 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22167 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22169 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22170 Move e_machine check before EI_CLASS check. Handle x32
22171 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22172 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22173 SKIP_EM_IA_64 and include
22174 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22176 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22177 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22178 (add_system_dir): New macro.
22180 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22181 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22183 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22194 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22196 * math/w_j0f.c (j0f): Likewise.
22198 * math/w_j0l.c (__j0l): Likewise.
22200 * math/w_j1.c (j1): Likewise.
22202 * math/w_j1f.c (j1f): Likewise.
22204 * math/w_j1l.c (__j1l): Likewise.
22206 * math/w_jn.c (jn): Likewise.
22208 * math/w_jnf.c (jnf): Likewise.
22210 * math/w_jnl.c (__jnl): Likewise.
22212 * math/libm-test.inc (j0_test): Add more tests.
22213 (j1_test): Likewise.
22214 (jn_test): Likewise. Add trailing semicolon to existing test.
22215 (y0_test): Likewise.
22216 (y1_test): Likewise.
22217 * sysdeps/i386/fpu/libm-test-ulps: Update.
22218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22222 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22223 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22224 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22226 (__tanl): Set errno for infinite argument.
22227 * sysdeps/i386/fpu/mptan.c: Remove.
22228 * sysdeps/i386/fpu/s_tan.S: Likewise.
22229 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22230 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22231 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22232 * math/libm-test.inc (tan_test): Add more tests and enable more
22233 tests for double and long double.
22234 * sysdeps/i386/fpu/libm-test-ulps: Update.
22235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22239 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22240 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22242 2012-03-16 Roland McGrath <roland@hack.frob.com>
22244 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22245 * configure.in: Use it for both main tree and add-ons.
22246 * configure: Regenerated.
22248 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22250 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22252 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22254 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22258 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22259 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22264 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22266 != 0 for prec == 2.
22267 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22268 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22269 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22270 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22271 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22272 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22273 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22274 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22275 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22276 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22277 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22278 * math/libm-test.inc (cos_test): Add more tests and enable more
22279 tests for long double.
22280 (sin_test): Likewise.
22281 (sincos_test): Likewise.
22282 * sysdeps/i386/fpu/libm-test-ulps: Update.
22283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22285 2012-03-16 David S. Miller <davem@davemloft.net>
22287 * sysdeps/sparc/fpu/math_private.h: New file.
22289 2012-03-15 David S. Miller <davem@davemloft.net>
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22305 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22306 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22308 * sysdeps/sparc/sparc-ifunc.h: New file.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22354 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22356 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22360 2012-03-15 Andreas Jaeger <aj@suse.de>
22363 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22364 ieee754/flt-32 implementation for sin, cos and sincos.
22365 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22366 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22367 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22368 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22369 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22370 ieee754/flt-32 implementation for tan.
22372 * math/libm-test.inc (cos_test): Enable some large input tests for
22374 (sin_test): Likewise.
22375 (sincos_test): Likewise.
22376 (tan_test): Add tests for large input.
22378 * sysdeps/i386/fpu/libm-test-ulps: Update.
22380 2012-03-15 Andreas Jaeger <aj@suse.de>
22383 * math/libm-test.inc (cos_test): Add more test cases.
22384 (sin_test): Likewise.
22385 (sincos_test): Likewise.
22387 2012-03-15 Andreas Jaeger <aj@suse.de>
22390 * math/libm-test.inc (cos_test): Add a test case for large input
22392 (sin_test): Likewise.
22393 (sincos_test): Likewise.
22395 2012-03-15 Andreas Jaeger <aj@suse.de>,
22396 Joseph Myers <joseph@codesourcery.com>
22399 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22400 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22401 * sysdeps/i386/fpu/branred.c: Likewise.
22402 * sysdeps/i386/fpu/dosincos.c: Likewise.
22403 * sysdeps/i386/fpu/mpa.c: Likewise.
22404 * sysdeps/i386/fpu/s_cos.S: Likewise.
22405 * sysdeps/i386/fpu/s_sin.S: Likewise.
22406 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22407 * sysdeps/i386/fpu/sincos32.c: Likewise.
22409 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22411 (libc_feupdateenv_53bit): Define.
22412 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22414 (libc_feupdateenv_53bit): Define.
22416 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22417 53 bit (without extend i386 double precision).
22419 * math/libm-test.inc (sincos_test): Add tests for large input.
22423 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22425 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22429 2012-03-15 David S. Miller <davem@davemloft.net>
22431 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22432 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22433 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22434 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22459 fmin/fmax sysdep routines.
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22462 2012-03-14 David S. Miller <davem@davemloft.net>
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22487 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22541 * sysdeps/sparc/configure.in: New file.
22542 * sysdeps/sparc/configure: Generate.
22543 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22544 * configure: Regenerate.
22545 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22546 * config.make.in (have-as-vis3): New.
22547 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22548 available use -Av9d instead of -Av9a.
22549 * sysdeps/sparc/sparc64/Makefile: Likewise.
22550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22565 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22566 fzeros/fnegs to load 0x80000000 into a float register instead of
22568 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22570 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22574 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22575 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22576 ($(inst_includedir)/bits/syscall.h): Remove rule.
22577 ($(objpfx)bits/syscall.d): Include instead of
22578 $(objpfx)syscall-list.d.
22579 (generated): Change syscall-list.h and syscall-list.d to
22580 bits/syscall.h and bits/syscall.d.
22582 2012-03-14 Roland McGrath <roland@hack.frob.com>
22585 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22587 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22590 * math/s_csqrt.c: Include <float.h>.
22591 (__csqrt): Scale large or subnormal inputs.
22592 * math/s_csqrtf.c: Likewise.
22593 * math/s_csqrtl.c: Likewise.
22594 * math/libm-test.inc (csqrt_test): Add more tests.
22595 * sysdeps/i386/fpu/libm-test-ulps: Update.
22596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22599 * math/libm-test.inc (hypot_test): Add more tests.
22601 2012-03-13 David S. Miller <davem@davemloft.net>
22604 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22605 double-precision for the calculation instead of scaling.
22607 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22609 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22610 manipulate bits before adding and subtracting TWO52[sx].
22611 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22612 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22614 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22616 2012-03-13 David S. Miller <davem@davemloft.net>
22618 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22619 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22621 rtld-global-offsets.h
22622 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22627 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22629 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22630 'err' in the ifdef scope in which it is actually used.
22632 * nss/nss_db/db-init.c: Include string.h
22634 2012-03-12 David S. Miller <davem@davemloft.net>
22636 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22637 masking out of the most significant byte of random value used.
22638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22639 Fix coding style in previous change.
22641 * sysdeps/unix/sysv/linux/kernel-features.h
22642 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22643 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22645 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22648 2012-03-11 David S. Miller <davem@davemloft.net>
22650 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22651 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22652 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22653 for 'resultvar' otherwise things get truncated on 64-bit.
22655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22656 Fix masking out of the most significant byte of random value used.
22658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22660 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22664 2012-03-09 David S. Miller <davem@davemloft.net>
22666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22667 variables with appropriate CPP guards.
22668 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22669 frame pointer, not the stack pointer. Correct layout comments. Fix test
22670 on resulting framesize and the management of the outregs buffer for pltexit.
22671 Preserve floating point return values across _dl_call_pltexit call.
22672 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22673 framesize and the management of the outregs buffer for pltexit.
22674 Preserve floating point return values across _dl_call_pltexit
22676 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22677 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22678 (print_exit): Fix format string for return register value.
22680 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22682 * sunrpc/Makefile (others): Add rpcgen.
22683 ($(objpfx)rpcgen): Remove special build rule and dependency on
22685 * sunrpc/rpcgen.c: New file.
22687 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22690 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22691 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22692 * sysdeps/i386/crti.S: Likewise.
22693 * sysdeps/i386/crtn.S: Likewise.
22694 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22695 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22696 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22697 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22698 * sysdeps/sh/crti.S: Likewise.
22699 * sysdeps/sh/crtn.S: Likewise.
22700 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22703 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22705 * locale/programs/locfile-kw.gperf: Likewise.
22706 * locale/programs/charmap-kw.h: Regenerated.
22707 * locale/programs/locfile-kw.h: Likewise.
22710 * intl/plural.y: Replace FSF snail mail address with URL.
22711 * intl/plural.c: Regenerated.
22713 2012-03-09 Richard Henderson <rth@twiddle.net>
22715 * include/math_private.h: Remove file.
22716 * math/math_private.h: Move file ...
22717 * sysdeps/generic/math_private.h: ... here.
22719 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22720 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22721 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22723 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22724 and <math_private.h>.
22725 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22726 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22727 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22728 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22729 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22788 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22789 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22813 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22814 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22815 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22816 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22818 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22819 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22820 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22822 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22823 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22825 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22826 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22827 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22828 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22829 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22830 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22831 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22832 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22833 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22835 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22836 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22837 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22838 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22839 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22842 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22844 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22845 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22846 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22847 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22848 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22852 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22853 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22854 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22855 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22856 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22857 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22858 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22859 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22860 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22861 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22862 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22863 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22864 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22865 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22866 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22867 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22868 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22869 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22870 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22871 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22872 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22873 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22874 * sysdeps/ieee754/k_standard.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22918 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22921 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22923 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22926 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22927 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22932 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22933 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22942 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22948 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22952 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22954 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22955 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22956 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22957 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22960 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22963 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22965 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22966 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22968 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22969 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22976 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22990 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22997 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23024 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23035 * sysdeps/ieee754/s_lib_version.c: Likewise.
23036 * sysdeps/ieee754/s_matherr.c: Likewise.
23037 * sysdeps/ieee754/s_signgam.c: Likewise.
23038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23040 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23041 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23042 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23043 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23044 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23045 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23046 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23047 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23048 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23049 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23050 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23051 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23052 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23053 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23054 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23055 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23056 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23060 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23062 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23063 * sunrpc/rpc_main.c: Likewise.
23064 * sunrpc/rpc_svcout.c: Likewise.
23066 2012-03-09 David S. Miller <davem@davemloft.net>
23068 * include/math_private.h: New file.
23070 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23072 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23073 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23074 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23075 from <bits/socket_type.h>.
23076 (enum __socket_type): Don't define here.
23077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23079 bits/socket_type.h.
23082 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23083 checking __USE_GNU.
23085 * Makerules ($(inst_includedir)/%.h): New rule.
23086 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23087 (install-others): Remove variable setting.
23088 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23090 2012-03-08 Richard Henderson <rth@twiddle.net>
23092 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23093 from macro to inline function; merge with the
23094 !__LIBC_INTERNAL_MATH_INLINES version.
23095 (__ieee754_sqrtf): Likewise.
23097 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23098 to inline function.
23099 (__rintf, __floor, __floorf): Likewise.
23101 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23102 macro to inline function.
23103 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23106 not <math/math_private.h>.
23108 2012-03-08 David S. Miller <davem@davemloft.net>
23110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23112 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23114 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23116 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23118 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23119 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23121 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23123 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23124 be defined individually, they must be defined as a block. Define
23125 S for printing a string instead of hidint the different by using a
23126 macro for adding the 'l'.
23127 * stdio-common/tst-fphex-wide.c: Adjust.
23129 2012-03-07 Marek Polacek <polacek@redhat.com>
23131 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23133 2012-03-08 Marek Polacek <polacek@redhat.com>
23136 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23137 * stdio-common/tst-fphex.c: Define a few macros to make the
23138 test reusable. Use them.
23139 * stdio-common/tst-fphex-wide.c: New file.
23141 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23144 * manual/macros.texi (gnusystems): New macro.
23145 (nongnusystems): Likewise.
23146 (gnulinuxhurdsystems): Likewise.
23147 (gnuhurdsystems): Likewise..
23148 (gnulinuxsystems): Likewise.
23149 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23150 variants of the GNU system, not "GNU system".
23151 * manual/conf.texi: Likewise.
23152 * manual/errno.texi: Likewise. Update example of errno macro
23154 * manual/filesys.texi: Likewise.
23155 (getumask): Document as specific to GNU/Hurd.
23156 * manual/install.texi: Likewise. Reword some references to
23158 * manual/intro.texi: Likewise.
23159 * manual/io.texi: Likewise.
23160 (File Name Portability): Detail which constraints are inapplicable
23161 to all GNU systems and which are only inapplicable to GNU/Hurd.
23162 * manual/job.texi: Likewise.
23163 * manual/llio.texi: Likewise.
23164 (O_NOCTTY): Document as present on GNU/Linux.
23165 * manual/maint.texi: Likewise.
23166 * manual/memory.texi: Likewise.
23167 * manual/pattern.texi: Likewise.
23168 * manual/pipe.texi: Likewise.
23169 * manual/process.texi: Likewise.
23170 * manual/resource.texi: Likewise.
23171 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23173 * manual/setjmp.texi: Likewise.
23174 * manual/signal.texi: Likewise.
23175 * manual/startup.texi: Likewise.
23176 * manual/stdio.texi: Likewise.
23177 * manual/terminal.texi: Likewise.
23178 (ONLCR): Document as POSIX.
23179 (OXTABS): Document availability on GNU/Linux as XTABS.
23180 (ONOEOT): Document availability separately from other bits.
23181 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23182 * manual/time.texi: Likewise.
23183 * manual/users.texi: Likewise.
23184 * INSTALL: Regenerated.
23185 * sysdeps/gnu/errlist.c: Regenerated.
23187 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23188 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23189 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23191 * configure: Regenerated.
23193 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23195 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23196 default includes instead of AC_HEADER_CHECK.
23197 * sysdeps/i386/configure: Regenerated.
23200 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23201 * math/s_cacoshf.c (__cacoshf): Likewise.
23202 * math/s_cacoshl.c (__cacoshl): Likewise.
23203 * math/s_casinh.c (__casinh): Set signs of result from argument.
23204 * math/s_casinhf.c (__casinhf): Likewise.
23205 * math/s_casinhl.c (__casinhl): Likewise.
23206 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23207 (casinh_test): Add more tests.
23208 * sysdeps/i386/fpu/libm-test-ulps: Update.
23209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23211 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23213 * po/zh_TW.po: Update from translation team.
23215 * login/Makefile (distribute): Remove variable.
23216 * catgets/Makefile: Likewise.
23217 * mach/Makefile: Likewise.
23218 * malloc/Makefile: Likewise.
23219 * misc/Makefile: Likewise.
23220 * iconv/Makefile: Likewise.
23221 * nscd/Makefile: Likewise.
23222 * hurd/Makefile: Likewise.
23223 * manual/Makefile: Likewise.
23224 * locale/Makefile: Likewise.
23225 * intl/Makefile: Likewise.
23226 * conform/Makefile: Likewise.
23227 * nss/Makefile: Likewise.
23228 * time/Makefile: Likewise.
23229 * soft-fp/Makefile: Likewise.
23230 * dirent/Makefile: Likewise.
23231 * gmon/Makefile: Likewise.
23232 * po/Makefile: Likewise.
23233 * rt/Makefile: Likewise.
23234 * socket/Makefile: Likewise.
23235 * math/Makefile: Likewise.
23236 * signal/Makefile: Likewise.
23237 * debug/Makefile: Likewise.
23238 * elf/Makefile: Likewise.
23239 * timezone/Makefile: Likewise.
23240 * stdlib/Makefile: Likewise.
23241 * iconvdata/Makefile: Likewise.
23242 * sunrpc/Makefile: Likewise.
23243 * io/Makefile: Likewise.
23244 * argp/Makefile: Likewise.
23245 * inet/Makefile: Likewise.
23246 * hesiod/Makefile: Likewise.
23247 * grp/Makefile: Likewise.
23248 * csu/Makefile: Likewise.
23249 * wctype/Makefile: Likewise.
23250 * crypt/Makefile: Likewise.
23251 * libio/Makefile: Likewise.
23252 * string/Makefile: Likewise.
23253 * nis/Makefile: Likewise.
23254 * resolv/Makefile: Likewise.
23255 * stdio-common/Makefile: Likewise.
23256 * wcsmbs/Makefile: Likewise.
23257 * dlfcn/Makefile: Likewise.
23258 * posix/Makefile: Likewise.
23261 * timezone/Makefile: Don't install timezone files, just the programs
23264 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23266 * nss/databases.def: Add missing gshadow entry.
23268 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23270 2012-03-06 Marek Polacek <polacek@redhat.com>
23273 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23274 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23275 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23276 * stdio-common/tst-long-dbl-fphex.c: New file.
23278 2012-03-06 David S. Miller <davem@davemloft.net>
23280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23281 (set_obp_int): New function.
23282 (get_obp_int): New function.
23283 (__get_clockfreq_via_dev_openprom): Likewise.
23284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23285 Avoid unused variable warnings on 'val' and use builtin_expect.
23286 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23288 (INLINE_CLONE_SYSCALL): Likewise.
23290 2012-03-05 David S. Miller <davem@davemloft.net>
23292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23294 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23299 only for |x| >= 40.
23300 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23302 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23305 Replace gettimeofday with __vdso_gettimeofday.
23307 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23308 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23309 __vdso_clock_gettime and __vdso_getcpu.
23311 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23312 time with __vdso_time.
23314 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23316 * manual/lang.texi (size_t): Note types to which size_t may be
23317 equivalent with the GNU C Library, but do not describe when
23318 differences between them are significant.
23320 2012-03-05 Andreas Jaeger <aj@suse.de>
23322 * sysdeps/i386/fpu/libm-test-ulps: Update.
23324 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23327 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23328 (__ieee754_pow): Save and restore rounding mode and use
23329 round-to-nearest for main computations.
23330 * math/libm-test.inc (pow_test_tonearest): New function.
23331 (pow_test_towardzero): Likewise.
23332 (pow_test_downward): Likewise.
23333 (pow_test_upward): Likewise.
23334 (main): Call the new functions.
23335 * sysdeps/i386/fpu/libm-test-ulps: Update.
23336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23339 * math/libm-test.inc (cosh_test_tonearest): New function.
23340 (cosh_test_towardzero): Likewise.
23341 (cosh_test_downward): Likewise.
23342 (cosh_test_upward): Likewise.
23343 (sinh_test_tonearest): Likewise.
23344 (sinh_test_towardzero): Likewise.
23345 (sinh_test_downward): Likewise.
23346 (sinh_test_upward): Likewise.
23347 (main): Call the new functions.
23348 * sysdeps/i386/fpu/libm-test-ulps: Update.
23349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351 2012-03-05 Tom de Vries <tom@codesourcery.com>
23353 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23354 default stack guard is set in last bytes.
23355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23357 2012-03-05 Kees Cook <keescook@chromium.org>
23359 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23362 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23363 possibly allocate from heap instead of stack.
23364 * stdio-common/bug-vfprintf-nargs.c: New file.
23365 * stdio-common/Makefile (tests): Add nargs overflow test.
23367 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23371 2012-03-03 Marek Polacek <polacek@redhat.com>
23373 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23374 * math/math_private.h: Likewise.
23375 * stdlib/tst-strtod.c: Likewise.
23376 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23377 * sysdeps/x86_64/bits/atomic.h: Likewise.
23379 2012-03-02 David S. Miller <davem@davemloft.net>
23381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23385 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23386 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23387 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23388 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23390 2012-03-02 Roland McGrath <roland@hack.frob.com>
23393 * manual/examples/README: New file, says the example source files
23394 can be used under GPL>=2.
23395 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23396 line containing just "*/".
23397 * manual/examples/add.c: Add copyright header (GPL>=2).
23398 * manual/examples/argp-ex1.c: Likewise.
23399 * manual/examples/argp-ex2.c: Likewise.
23400 * manual/examples/argp-ex3.c: Likewise.
23401 * manual/examples/argp-ex4.c: Likewise.
23402 * manual/examples/atexit.c: Likewise.
23403 * manual/examples/db.c: Likewise.
23404 * manual/examples/dir.c: Likewise.
23405 * manual/examples/dir2.c: Likewise.
23406 * manual/examples/execinfo.c: Likewise.
23407 * manual/examples/filecli.c: Likewise.
23408 * manual/examples/filesrv.c: Likewise.
23409 * manual/examples/fmtmsgexpl.c: Likewise.
23410 * manual/examples/genpass.c: Likewise.
23411 * manual/examples/inetcli.c: Likewise.
23412 * manual/examples/inetsrv.c: Likewise.
23413 * manual/examples/isockad.c: Likewise.
23414 * manual/examples/longopt.c: Likewise.
23415 * manual/examples/memopen.c: Likewise.
23416 * manual/examples/memstrm.c: Likewise.
23417 * manual/examples/mkfsock.c: Likewise.
23418 * manual/examples/mkisock.c: Likewise.
23419 * manual/examples/mygetpass.c: Likewise.
23420 * manual/examples/pipe.c: Likewise.
23421 * manual/examples/popen.c: Likewise.
23422 * manual/examples/rprintf.c: Likewise.
23423 * manual/examples/search.c: Likewise.
23424 * manual/examples/select.c: Likewise.
23425 * manual/examples/setjmp.c: Likewise.
23426 * manual/examples/sigh1.c: Likewise.
23427 * manual/examples/sigusr.c: Likewise.
23428 * manual/examples/stpcpy.c: Likewise.
23429 * manual/examples/strdupa.c: Likewise.
23430 * manual/examples/strftim.c: Likewise.
23431 * manual/examples/strncat.c: Likewise.
23432 * manual/examples/subopt.c: Likewise.
23433 * manual/examples/swapcontext.c: Likewise.
23434 * manual/examples/termios.c: Likewise.
23435 * manual/examples/testopt.c: Likewise.
23436 * manual/examples/testpass.c: Likewise.
23437 * manual/examples/timeval_subtract.c: Likewise.
23440 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23442 * manual/timeval_subtract.c.texi: ... here, new file.
23444 2012-03-02 David S. Miller <davem@davemloft.net>
23446 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23448 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23451 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23452 (__sin): Save and restore rounding mode and use round-to-nearest
23453 for all computations.
23454 (__cos): Save and restore rounding mode and use round-to-nearest
23455 for all computations.
23456 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23458 (tan): Save and restore rounding mode and use round-to-nearest for
23460 * math/libm-test.inc (cos_test_tonearest): New function.
23461 (cos_test_towardzero): Likewise.
23462 (cos_test_downward): Likewise.
23463 (cos_test_upward): Likewise.
23464 (sin_test_tonearest): Likewise.
23465 (sin_test_towardzero): Likewise.
23466 (sin_test_downward): Likewise.
23467 (sin_test_upward): Likewise.
23468 (tan_test_tonearest): Likewise.
23469 (tan_test_towardzero): Likewise.
23470 (tan_test_downward): Likewise.
23471 (tan_test_upward): Likewise.
23472 (main): Call the new functions.
23473 * sysdeps/i386/fpu/libm-test-ulps: Update.
23474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23477 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23478 small n, then large n, before computing and testing k+n.
23479 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23484 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23485 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23491 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23492 * math/libm-test.inc (scalbn_test): Add more tests.
23493 (scalbln_test): Likewise.
23495 * manual/filesys.texi (mode_t): Describe constraints on size and
23496 signedness, not exact equivalence to a particular type.
23498 (ino64_t): Likewise.
23500 (nlink_t): Likewise.
23501 (blkcnt_t): Likewise.
23502 (blkcnt64_t): Likewise.
23503 * manual/llio.texi (off_t): Likewise.
23506 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23507 (__ieee754_exp): Save and restore rounding mode and use
23508 round-to-nearest for all computations.
23509 * math/libm-test.inc (exp_test_tonearest): New function.
23510 (exp_test_towardzero): Likewise.
23511 (exp_test_downward): Likewise.
23512 (exp_test_upward): Likewise.
23513 (main): Call the new functions.
23514 * sysdeps/i386/fpu/libm-test-ulps: Update.
23515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23517 2012-03-01 Chris Demetriou <cgd@google.com>
23519 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23520 have predictable order.
23522 2012-03-01 David S. Miller <davem@davemloft.net>
23524 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23526 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23527 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23528 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23529 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23531 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23532 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23533 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23535 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23536 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23537 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23538 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23539 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23543 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23544 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23547 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23548 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23549 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23550 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23551 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23552 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23553 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23554 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23555 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23557 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23563 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23564 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23565 * sysdeps/sparc/elf/configure: Regenerated.
23567 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23569 * configure.in (AS, LD): Require binutils 2.20 or later.
23570 * configure: Regenerated.
23571 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23572 as required minimum version.
23573 * INSTALL: Regenerated.
23577 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23578 before squaring exponent.
23579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23580 bottom long double and 27 bits of top long double before squaring
23582 * math/libm-test.inc (erfc_test): Add more tests.
23583 * sysdeps/i386/fpu/libm-test-ulps: Update.
23584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23587 2012-03-01 Kai Tietz <ktietz@redhat.com>
23589 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23590 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23591 containing bit-fields.
23592 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23593 * soft-fp/single.h (_FP_UNION_S): Likewise.
23594 * soft-fp/double.h (_FP_UNION_D): Likewise.
23596 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23600 not include ../strcmp.S.
23601 [USE_AS_STRNCASECMP_L]: Likewise.
23602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23603 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23604 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23605 (__strncasecmp_l_ia32): Define as alias to
23606 __strncasecmp_l_nonascii.
23609 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23610 * sysdeps/i386/fpu/libm-test-ulps: Update.
23611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23613 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23616 2012-02-29 Jeff Law <law@redhat.com>
23618 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23619 out of bounds read.
23621 2012-02-29 Marek Polacek <polacek@redhat.com>
23624 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23625 * elf/Makefile: Add rules to run tst-unused-dep.out.
23627 2012-02-28 David S. Miller <davem@davemloft.net>
23629 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23630 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23636 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23638 * math/libm-test.inc (llround_test): Move one test from
23639 lround_test. Use TEST_f_L in moved test.
23640 (lround_test): Move misplaced test to llround_test. Add testcase
23643 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23645 * sysdeps/x86_64/fpu/e_expf.S: New file.
23646 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23648 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23651 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23652 of remain_len that may cause incomplete multi-byte character and
23654 * posix/bug-regex33.c: New file.
23655 * posix/Makefile (tests): Add bug-regex33.
23657 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23659 * manual/macros.texi: New file.
23660 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23661 * manual/libc.texinfo: Include macros.texi.
23662 * manual/creatute.texi: Likewise.
23663 * manual/install.texi: Likewise.
23664 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23665 @glibcadj{} in references to the GNU C Library.
23666 * manual/charset.texi: Likewise.
23667 * manual/conf.texi: Likewise.
23668 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23669 when not using those macros.
23670 * manual/creature.texi: Likewise.
23671 * manual/crypt.texi: Likewise.
23672 * manual/errno.texi: Likewise.
23673 * manual/filesys.texi: Likewise.
23674 * manual/header.texi: Likewise.
23675 * manual/install.texi: Likewise.
23676 * manual/intro.texi: Likewise.
23677 * manual/io.texi: Likewise.
23678 * manual/job.texi: Likewise.
23679 * manual/lang.texi: Likewise.
23680 * manual/libc.texiinfo: Likewise.
23681 * manual/llio.texi: Likewise.
23682 * manual/locale.texi: Likewise.
23683 * manual/maint.texi: Likewise.
23684 * manual/math.texi: Likewise.
23685 * manual/memory.texi: Likewise.
23686 * manual/message.texi: Likewise.
23687 * manual/nss.texi: Likewise.
23688 * manual/pattern.texi: Likewise.
23689 * manual/process.texi: Likewise.
23690 * manual/resource.texi: Likewise.
23691 * manual/search.texi: Likewise.
23692 * manual/setjmp.texi: Likewise.
23693 * manual/signal.texi: Likewise.
23694 * manual/socket.texi: Likewise.
23695 * manual/startup.texi: Likewise.
23696 * manual/stdio.texi: Likewise.
23697 * manual/string.texi: Likewise.
23698 * manual/sysinfo.texi: Likewise.
23699 * manual/syslog.texi: Likewise.
23700 * manual/terminal.texi: Likewise.
23701 * manual/time.texi: Likewise.
23702 * manual/users.texi: Likewise.
23703 * INSTALL: Regenerated.
23704 * NOTES: Regenerated.
23705 * sysdeps/gnu/errlist.c: Regenerated.
23707 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23709 * include/dirent.h: Include <dirstream.h> before
23712 2012-02-28 David S. Miller <davem@davemloft.net>
23714 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23715 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23716 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23717 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23719 2012-02-27 David S. Miller <davem@davemloft.net>
23721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23723 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23724 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23727 frame pointer instead of stack pointer relative arg slot.
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23729 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23730 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23732 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23735 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23737 2012-02-27 David S. Miller <davem@davemloft.net>
23739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23743 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23744 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23745 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23746 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23748 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23750 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23751 later. Allow versions 5-9.
23752 * configure: Regenerated.
23753 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23754 required minimum version and 4.6 as recommended version. Do not
23755 mention bugs in GCC 2.7 and 2.8.
23756 * INSTALL: Regenerated.
23758 2012-02-27 David S. Miller <davem@davemloft.net>
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23764 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23765 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23766 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23767 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23770 manipulate bits before adding and subtracting TWO112[sx].
23771 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23773 2012-02-27 Roland McGrath <roland@hack.frob.com>
23776 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23777 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23778 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23779 being in POSIX, because they are in 1003.1-2008.
23781 * rt/tst-aio.c: Include <fcntl.h>.
23782 * rt/tst-aio7.c: Likewise.
23783 * rt/tst-aio64.c: Likewise.
23785 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23787 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23789 * manual/install.texi (--with-headers): Describe headers as
23790 interface headers, not private headers.
23791 (Specific advice for GNU/Linux systems): Describe use of headers
23792 from "make headers_install", not private headers from older
23794 * INSTALL: Regenerated.
23795 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23797 * sysdeps/unix/sysv/linux/configure: Regenerated.
23799 * manual/llio.texi (fclean): Remove documentation.
23801 * manual/Makefile (libc-texi-generated): New variable. Include
23803 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23804 $(libc-texi-generated), not duplicated list of files.
23805 (version.texi, stamp-version): New rules.
23806 (realclean): Remove $(libc-texi-generated), not individual files
23807 from that list. Do not remove dir-add.texinfo.
23808 * manual/libc.texinfo: Comment out uses of edition numbers and
23809 references to printed manual. Remove last-updated dates.
23810 (EDITION): Comment out.
23812 (VERSION, UPDATED): Remove.
23813 (version.texi): Include.
23815 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23817 * sysdeps/posix/spawni.c: Include <signal.h>.
23818 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23819 * sysdeps/pthread/aio_fsync.c: Likewise.
23821 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23823 * conform/Makefile (tests): Run only when not cross-compiling and
23824 when fast-check is not defined.
23826 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23827 * conform/data/limits.h-data: Fixes for POSIX2008.
23828 * conform/run-conformtest.sh: Run all tests.
23829 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23831 * include/bits/dlfcn.h: Likewise.
23832 * include/langinfo.h: Likewise.
23833 * include/monetary.h: Likewise.
23834 * include/sys/poll.h: Likewise.
23836 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23838 * posix/spawn.h: Define __need_sigset_t.
23839 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23840 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23841 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23842 to get sigevent_t only.
23843 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23844 only for __USE_GNU.
23845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23846 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23847 process_vm_writev only for __USE_GNU.
23848 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23850 * conform/Makefile: For now ignore errors from run-conformtest.
23851 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23852 POSIX to avoid namespace pollution. Don't prepend headers.
23853 * conform/data/aio.h-data: Fixes for POSIX testing.
23854 * conform/data/fcntl.h-data: Likewise.
23855 * conform/data/glob.h-data: Likewise.
23856 * conform/data/grp.h-data: Likewise.
23857 * conform/data/pthread.h-data: Likewise.
23858 * conform/data/pwd.h-data: Likewise.
23859 * conform/data/signal.h-data: Likewise.
23860 * conform/data/spawn.h-data: Likewise.
23861 * conform/data/stdio.h-data: Likewise.
23862 * conform/data/stdlib.h-data: Likewise.
23863 * conform/data/stropts.h-data: Likewise.
23864 * conform/data/sys/mman.h-data: Likewise.
23865 * conform/data/sys/stat.h-data: Likewise.
23866 * conform/data/sys/types.h-data: Likewise.
23867 * conform/data/sys/wait.h-data: Likewise.
23868 * conform/data/time.h-data: Likewise.
23869 * conform/data/unistd.h-data: Likewise.
23870 * conform/data/utime.h-data: Likewise.
23872 * io/sys/stat.h: fchmod was always in POSIX.
23873 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23874 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23875 * rt/aio.h: Define __need_timespec before including <time.h>.
23876 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23877 struct. Add forward declaration of pthread_attr_t and use it in
23879 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23881 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23882 always remove CLK_TCK definition.
23884 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23886 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23888 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23890 * conform/run-conformtest.sh: New file.
23891 * conform/Makefile: Run run-conformtest for tests.
23892 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23895 * conform/data/uchar.h-data: New file.
23896 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23897 * conform/data/arpa/inet.h-data: Likewise.
23898 * conform/data/assert.h-data: Likewise.
23899 * conform/data/complex.h-data: Likewise.
23900 * conform/data/cpio.h-data: Likewise.
23901 * conform/data/ctype.h-data: Likewise.
23902 * conform/data/dirent.h-data: Likewise.
23903 * conform/data/dlfcn.h-data: Likewise.
23904 * conform/data/errno.h-data: Likewise.
23905 * conform/data/fcntl.h-data: Likewise.
23906 * conform/data/float.h-data: Likewise.
23907 * conform/data/fmtmsg.h-data: Likewise.
23908 * conform/data/fnmatch.h-data: Likewise.
23909 * conform/data/ftw.h-data: Likewise.
23910 * conform/data/glob.h-data: Likewise.
23911 * conform/data/grp.h-data: Likewise.
23912 * conform/data/iconv.h-data: Likewise.
23913 * conform/data/inttypes.h-data: Likewise.
23914 * conform/data/langinfo.h-data: Likewise.
23915 * conform/data/libgen.h-data: Likewise.
23916 * conform/data/limits.h-data: Likewise.
23917 * conform/data/locale.h-data: Likewise.
23918 * conform/data/math.h-data: Likewise.
23919 * conform/data/monetary.h-data: Likewise.
23920 * conform/data/mqueue.h-data: Likewise.
23921 * conform/data/ndbm.h-data: Likewise.
23922 * conform/data/net/if.h-data: Likewise.
23923 * conform/data/netdb.h-data: Likewise.
23924 * conform/data/netinet/in.h-data: Likewise.
23925 * conform/data/nl_types.h-data: Likewise.
23926 * conform/data/poll.h-data: Likewise.
23927 * conform/data/pthread.h-data: Likewise.
23928 * conform/data/pwd.h-data: Likewise.
23929 * conform/data/regex.h-data: Likewise.
23930 * conform/data/sched.h-data: Likewise.
23931 * conform/data/search.h-data: Likewise.
23932 * conform/data/semaphore.h-data: Likewise.
23933 * conform/data/setjmp.h-data: Likewise.
23934 * conform/data/signal.h-data: Likewise.
23935 * conform/data/spawn.h-data: Likewise.
23936 * conform/data/stdarg.h-data: Likewise.
23937 * conform/data/stdio.h-data: Likewise.
23938 * conform/data/stdlib.h-data: Likewise.
23939 * conform/data/string.h-data: Likewise.
23940 * conform/data/strings.h-data: Likewise.
23941 * conform/data/stropts.h-data: Likewise.
23942 * conform/data/sys/ipc.h-data: Likewise.
23943 * conform/data/sys/mman.h-data: Likewise.
23944 * conform/data/sys/msg.h-data: Likewise.
23945 * conform/data/sys/resource.h-data: Likewise.
23946 * conform/data/sys/select.h-data: Likewise.
23947 * conform/data/sys/sem.h-data: Likewise.
23948 * conform/data/sys/shm.h-data: Likewise.
23949 * conform/data/sys/socket.h-data: Likewise.
23950 * conform/data/sys/stat.h-data: Likewise.
23951 * conform/data/sys/statvfs.h-data: Likewise.
23952 * conform/data/sys/time.h-data: Likewise.
23953 * conform/data/sys/timeb.h-data: Likewise.
23954 * conform/data/sys/times.h-data: Likewise.
23955 * conform/data/sys/types.h-data: Likewise.
23956 * conform/data/sys/uio.h-data: Likewise.
23957 * conform/data/sys/un.h-data: Likewise.
23958 * conform/data/sys/utsname.h-data: Likewise.
23959 * conform/data/sys/wait.h-data: Likewise.
23960 * conform/data/syslog.h-data: Likewise.
23961 * conform/data/tar.h-data: Likewise.
23962 * conform/data/termios.h-data: Likewise.
23963 * conform/data/utime.h-data: Likewise.
23964 * conform/data/utmpx.h-data: Likewise.
23965 * conform/data/varargs.h-data: Likewise.
23966 * conform/data/wchar.h-data: Likewise.
23967 * conform/data/wctype.h-data: Likewise.
23968 * conform/data/wordexp.h-data: Likewise.
23970 * include/stropts.h: New file.
23971 * include/uchar.h: New file.
23972 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23973 * include/assert.h: Likewise.
23974 * include/ctype.h: Likewise.
23975 * include/dirent.h: Likewise.
23976 * include/dlfcn.h: Likewise.
23977 * include/fcntl.h: Likewise.
23978 * include/fnmatch.h: Likewise.
23979 * include/glob.h: Likewise.
23980 * include/grp.h: Likewise.
23981 * include/libio.h: Likewise.
23982 * include/locale.h: Likewise.
23983 * include/math.h: Likewise.
23984 * include/net/if.h: Likewise.
23985 * include/netdb.h: Likewise.
23986 * include/netinet/in.h: Likewise.
23987 * include/pthread.h: Likewise.
23988 * include/pwd.h: Likewise.
23989 * include/regex.h: Likewise.
23990 * include/sched.h: Likewise.
23991 * include/search.h: Likewise.
23992 * include/setjmp.h: Likewise.
23993 * include/signal.h: Likewise.
23994 * include/stdio.h: Likewise.
23995 * include/stdlib.h: Likewise.
23996 * include/string.h: Likewise.
23997 * include/sys/cdefs.h: Likewise.
23998 * include/sys/mman.h: Likewise.
23999 * include/sys/msg.h: Likewise.
24000 * include/sys/resource.h: Likewise.
24001 * include/sys/select.h: Likewise.
24002 * include/sys/socket.h: Likewise.
24003 * include/sys/stat.h: Likewise.
24004 * include/sys/statvfs.h: Likewise.
24005 * include/sys/time.h: Likewise.
24006 * include/sys/times.h: Likewise.
24007 * include/sys/uio.h: Likewise.
24008 * include/sys/utsname.h: Likewise.
24009 * include/sys/wait.h: Likewise.
24010 * include/termios.h: Likewise.
24011 * include/time.h: Likewise.
24012 * include/ulimit.h: Likewise.
24013 * include/unistd.h: Likewise.
24014 * include/utime.h: Likewise.
24015 * include/wchar.h: Likewise.
24016 * include/wctype.h: Likewise.
24017 * include/wordexp.h: Likewise.
24019 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24021 * time/time.h: TIME_UTC must be a macro.
24022 Make timespec_get available for ISO C11 only as well.
24024 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24026 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24027 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24029 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24031 * configure.in: Use -o not -a in test for unsupported multi-arch.
24033 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24035 * manual/texinfo.tex: Update to version 2012-01-19.16.
24037 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24039 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24041 2012-02-24 Roland McGrath <roland@hack.frob.com>
24044 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24045 * manual/fdl-1.3.texi: New file.
24046 * manual/fdl-1.1.texi: File removed.
24049 * manual/libc.texinfo (FDL_VERSION): New @set.
24050 Use it for mention of FDL in cover text.
24051 (Documentation License): Use it in @include file name.
24053 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24054 Roland McGrath <roland@hack.frob.com>
24057 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24058 not LONG_LONG_MAX and LONG_LONG_MIN.
24059 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24060 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24062 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24064 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24068 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24069 manipulate bits before adding and subtracting TWO23[sx].
24070 * math/libm-test.inc (nearbyint_test): Add more tests.
24072 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24075 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24076 bits before adding and subtracting TWO23[sx].
24077 * math/libm-test.inc (rint_test): Add more tests.
24078 (rint_test_tonearest): Likewise.
24079 (rint_test_towardzero): Likewise.
24080 (rint_test_downward): Likewise.
24081 (rint_test_upward: Likewise.
24083 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24086 * include/stdc-predef.h: New file. Extracted from features.h.
24087 * include/features.h: Include stdc-predef.h.
24088 * Makefile (headers): Add stdc-predef.h.
24089 * CONFORMANCE (Compiler limitations): Update.
24091 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24093 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24095 2012-02-21 David S. Miller <davem@davemloft.net>
24097 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24098 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24100 2012-02-20 David S. Miller <davem@davemloft.net>
24102 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24103 using a normal save/restore sequence, rather than allocating a
24104 dummy stack frame just to store a frame pointer and restore.
24105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24107 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24109 * manual/install.texi: Fix stray word in line-wrapped comment.
24111 2012-02-20 David S. Miller <davem@davemloft.net>
24113 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24114 both binutils and gcc support GOTDATA.
24116 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24117 "rd %pc" in the PIC register setup sequences.
24119 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24120 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24121 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24122 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24123 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24125 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24128 (SYSCALL_ERROR_HANDLER): Likewise.
24129 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24132 (SYSCALL_ERROR_HANDLER): Likewise.
24134 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24135 (HAVE_GCC_GOTDATA): New.
24136 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24137 relocation support in both binutils and gcc.
24138 * sysdeps/sparc/elf/configure: Regenerate.
24140 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24141 * sysdeps/sparc/sparc32/elf/configure: Delete.
24142 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24143 * sysdeps/sparc/sparc64/elf/configure: Delete.
24144 * sysdeps/sparc/elf/configure.in: New file.
24145 * sysdeps/sparc/elf/configure: Generate.
24147 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24148 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24150 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24151 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24153 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24155 * manual/install.texi: Do not mention specific glibc version
24157 * manual/libc.texinfo (VERSION, UPDATED): Update.
24158 (@copying): Use @copyright{} and range of years.
24160 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24163 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24164 [crti.S not in sysdirs] (generated): Do not append.
24165 [crti.S not in sysdirs] (omit-deps): Likewise.
24166 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24167 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24168 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24169 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24170 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24172 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24173 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24174 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24175 * csu/defs.awk: Remove file.
24176 * sysdeps/generic/initfini.c: Likewise.
24177 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24179 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24182 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24185 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24186 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24189 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24191 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24192 (__EPOLL_PACKED): Define to empty if not defined by
24194 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24198 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24200 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24201 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24203 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24205 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24209 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24211 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24213 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24214 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24215 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24218 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24221 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24223 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24225 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24226 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24228 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24230 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24233 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24235 * math/w_acos.c: Use non-signaling floating-point comparisons.
24236 * math/w_acosf.c: Likewise.
24237 * math/w_acosh.c: Likewise.
24238 * math/w_acoshf.c: Likewise.
24239 * math/w_acoshl.c: Likewise.
24240 * math/w_acosl.c: Likewise.
24241 * math/w_asin.c: Likewise.
24242 * math/w_asinf.c: Likewise.
24243 * math/w_asinl.c: Likewise.
24244 * math/w_atanh.c: Likewise.
24245 * math/w_atanhf.c: Likewise.
24246 * math/w_atanhl.c: Likewise.
24247 * math/w_exp2.c: Likewise.
24248 * math/w_exp2f.c: Likewise.
24249 * math/w_exp2l.c: Likewise.
24250 * math/w_j0.c: Likewise.
24251 * math/w_j0f.c: Likewise.
24252 * math/w_j0l.c: Likewise.
24253 * math/w_j1.c: Likewise.
24254 * math/w_j1f.c: Likewise.
24255 * math/w_j1l.c: Likewise.
24256 * math/w_jn.c: Likewise.
24257 * math/w_jnf.c: Likewise.
24258 * math/w_log.c: Likewise.
24259 * math/w_log10.c: Likewise.
24260 * math/w_log10f.c: Likewise.
24261 * math/w_log10l.c: Likewise.
24262 * math/w_log2.c: Likewise.
24263 * math/w_log2f.c: Likewise.
24264 * math/w_log2l.c: Likewise.
24265 * math/w_logf.c: Likewise.
24266 * math/w_logl.c: Likewise.
24267 * math/w_sqrt.c: Likewise.
24268 * math/w_sqrtf.c: Likewise.
24269 * math/w_sqrtl.c: Likewise.
24270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24271 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24272 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24273 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24276 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24279 * manual/string.texi (strnlen): Use correct parameter name in
24280 equivalent expression.
24282 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24285 * manual/users.texi (seteuid): Consistently use neweuid for
24288 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24291 * manual/nss.texi (Services in the NSS configuration): Correct
24292 list of services in example configuration file.
24294 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24297 * manual/arith.texi: Remove statements about negative zero
24298 behaving identically to zero.
24300 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24303 * manual/install.texi: Do not document upgrading from libc5.
24305 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24308 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24310 2012-02-18 David S. Miller <davem@davemloft.net>
24312 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24313 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24314 %o7 across the call.
24315 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24318 SETUP_PIC_REG_LEAF.
24319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24320 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24321 * sysdeps/sparc/crtn.S: Likewise.
24323 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24325 * aout/Makefile: Remove.
24327 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24330 * manual/examples/argp-ex1.c (main): Format definition in GNU
24332 * manual/examples/argp-ex2.c (main): Likewise.
24333 * manual/examples/argp-ex3.c (main): Likewise.
24334 * manual/examples/argp-ex4.c (main): Likewise.
24335 * manual/examples/longopt.c (main): Use new-style prototype
24337 * manual/examples/strncat.c (main): Specify return type and use
24338 (void) for arguments.
24339 * manual/examples/subopt.c (main): Use char **argv argument.
24341 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24344 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24347 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24350 * manual/string.texi (strchr): Change when strchrnul is
24353 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24356 * manual/locale.texi (setlocale): Document LOCPATH.
24358 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24361 * manual/process.texi (execle): Move @dots{} before last argument.
24363 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24366 * manual/charset.texi (Generic Charset Conversion): Fix typo
24367 (LC_TYPE -> LC_CTYPE).
24369 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24372 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24373 (scalbnf): Likewise.
24374 (scalbnl): Likewise.
24375 (scalbln): Likewise.
24376 (scalblnf): Likewise.
24377 (scalblnl): Likewise.
24378 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24379 (vwarnx): Likewise.
24382 * manual/filesys.texi (telldir): Use braces around return type.
24383 * manual/llio.texi (mmap): Add space after comma.
24384 (mmap64): Likewise.
24385 * manual/math.texi (jn): Use @var{} on parameter names.
24391 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24393 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24395 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24396 (sched_get_priority_max): Likewise.
24397 * manual/signal.texi (sigvec): Add space after comma.
24398 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24400 (if_indextoname): Likewise.
24401 (if_freenameindex): Likewise.
24402 (sendto): Use ',' instead of '.' in prototype.
24403 * manual/startup.texi (syscall): Use @dots{} instead of literal
24405 * manual/stdio.texi (__fpending): Separate initial words of
24406 paragraph from @deftypefun line.
24407 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24409 (vsyslog): Use @var{} on parameter names.
24410 * manual/terminal.texi (stty): Use @var{} on parameter names.
24411 * manual/users.texi (getutmp): Use @var{} on parameter names.
24412 (getutmpx): Likewise.
24414 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24417 * manual/stdio.texi (fopen): Fix typos in description of
24420 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24423 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24424 get clock_id definition.
24426 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24429 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24430 (madvise): Cast every argument to void on its own.
24432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24435 * manual/startup.texi (Exit Status): Fix typo.
24437 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24440 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24441 * manual/examples/argp-ex2.c: Likewise.
24442 * manual/examples/argp-ex3.c: Likewise.
24444 2012-02-16 Richard Henderson <rth@redhat.com>
24446 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24447 * sysdeps/s390/s390-32/initfini.c: Remove.
24448 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24449 * sysdeps/s390/s390-64/initfini.c: Remove.
24451 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24453 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24454 compiler output for sysdeps/generic/initfini.c.
24455 * sysdeps/sh/elf/initfini.c: Remove file.
24457 2012-02-16 David S. Miller <davem@davemloft.net>
24460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24462 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24463 * sysdeps/sparc/crti.S: New file.
24464 * sysdeps/sparc/crtn.S: New file.
24465 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24466 * sysdeps/sparc/sparc64/Makefile: Likewise.
24468 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24471 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24473 2012-02-15 Roland McGrath <roland@hack.frob.com>
24476 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24478 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24479 (write, read, close): Likewise.
24480 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24482 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24484 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24485 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24486 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24487 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24489 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24493 2012-02-14 Marek Polacek <polacek@redhat.com>
24495 * sysdeps/x86_64/crti.S: New file.
24496 * sysdeps/x86_64/crtn.S: New file.
24497 * sysdeps/x86_64/elf/initfini.c: Remove file.
24499 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24501 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24502 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24503 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24504 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24506 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24510 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24512 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24513 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24514 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24515 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24517 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24521 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24523 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24524 __feraiseexcept instead of feraiseexcept.
24526 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24527 nanosleep invocations.
24528 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24529 strings, and add error checking for a nanosleep invocations.
24531 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24533 Replace FSF snail mail address with URLs, as per GNU coding standards.
24534 Most of the snail mail addresses were wrong anyway, and omitting
24535 them makes the source code easier to maintain. Almost all of the
24536 changes are to license notices and to locale LC_IDENTIFICATION
24537 addresses, except for this one:
24538 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24539 not its snail mail address.
24541 2012-02-09 Richard Henderson <rth@twiddle.net>
24543 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24544 of kernel-features.h.
24546 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24548 2012-02-08 Marek Polacek <polacek@redhat.com>
24550 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24551 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24552 * sysdeps/gnu/_G_config.h: Likewise.
24553 * sysdeps/generic/_G_config.h: Likewise.
24555 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24557 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24561 * sysdeps/powerpc/powerpc32/crti.S: New file.
24562 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24563 * sysdeps/powerpc/powerpc64/crti.S: New file.
24564 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24566 * Makeconfig (have-initfini): Don't set.
24567 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24568 * configure.in (nopic_initfini): Don't substitute.
24569 * config.h.in (HAVE_INITFINI): Don't #undef.
24570 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24571 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24573 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24575 Support crti.S and crtn.S provided directly by architectures.
24576 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24577 [crti.S in sysdirs] (omit-deps): Likewise.
24578 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24579 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24580 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24581 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24582 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24583 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24584 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24585 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24586 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24587 compiler output for sysdeps/generic/initfini.c.
24588 * sysdeps/i386/elf/Makefile: Remove file.
24589 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24591 2012-02-07 Marek Polacek <polacek@redhat.com>
24593 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24594 * sysdeps/gnu/_G_config.h: Likewise.
24595 * sysdeps/mach/hurd/_G_config.h: Likewise.
24597 2012-02-07 Marek Polacek <polacek@redhat.com>
24599 * math/Makefile (tests): Add tst-CMPLX2.
24600 * math/tst-CMPLX2.c: New file.
24602 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24604 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24606 * math/libm-test.inc (jn_test): Add missing L suffix.
24608 2012-02-06 Marek Polacek <polacek@redhat.com>
24610 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24611 * sysdeps/i386/fpu/e_powf.S: Likewise.
24612 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24613 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24615 * sysdeps/i386/fpu/e_pow.S: Likewise.
24616 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24617 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24618 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24619 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24620 * sysdeps/i386/fpu/e_log2.S: Likewise.
24621 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24623 * sysdeps/i386/fpu/e_powl.S: Likewise.
24624 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24626 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24627 * sysdeps/i386/fpu/e_logl.S: Likewise.
24628 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24629 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24630 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24631 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24632 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24633 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24634 * sysdeps/i386/fpu/e_log.S: Likewise.
24635 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24637 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24638 * sysdeps/i386/fpu/e_logf.S: Likewise.
24639 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24640 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24641 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24642 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24643 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24644 * sysdeps/i386/fpu/e_log10.S: Likewise.
24645 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24646 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24647 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24648 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24649 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24650 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24651 * sysdeps/i386/asm-syntax.h: Likewise.
24652 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24655 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24656 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24657 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24658 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24659 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24660 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24661 * sysdeps/powerpc/sysdep.h: Likewise.
24662 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24663 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24665 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24668 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24670 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24672 * sysdeps/i386/sysdep.h: Include <features.h>.
24673 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24676 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24678 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24680 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24683 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24685 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24686 (SETUP_PIC_REG): Use GET_PC_THUNK.
24687 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24690 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24692 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24693 for non-PIC compilation.
24694 (SETUP_PIC_REG): Add .p2align directive.
24695 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24696 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24700 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24702 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24703 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24704 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24705 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24706 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24708 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24709 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24710 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24711 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24712 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24713 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24714 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24715 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24716 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24717 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24718 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24719 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24723 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24724 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24725 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24726 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24727 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24728 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24729 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24730 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24731 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24732 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24733 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24734 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24735 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24737 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24739 * math/tst-CMPLX.c: Include <stdio.h>.
24741 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24743 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24745 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24746 * sysdeps/sparc/bits/mathdef.h: Likewise.
24748 2012-01-31 Marek Polacek <polacek@redhat.com>
24750 * libio/libio.h: Don't define _PARAMS.
24751 * locale/programs/config.h: Don't define PARAMS.
24752 * stdlib/strtol_l.c: Likewise.
24753 (__strtol_l): Remove PARAMS from the prototype.
24755 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24757 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24758 names. Just use the correct names. Remove unnecessary wrapper
24760 * malloc/arena.c: Likewise.
24761 * malloc/hooks.c: Likewise.
24763 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24764 ARENA_TEST says not to. Simplify test for creation of a new arena.
24765 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24767 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24769 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24771 (update_get_addr): New function.
24772 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24773 GET_ADDR_MODULE parameter.
24775 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24777 * crypt/cert.c: Remove __STDC__ conditionals.
24778 * crypt/crypt-entry.c: Likewise.
24779 * crypt/crypt_util.c: Likewise.
24780 * libio/filedoalloc.c: Likewise.
24781 * libio/fileops.c: Likewise.
24782 * libio/genops.c: Likewise.
24783 * libio/iofclose.c: Likewise.
24784 * libio/iofdopen.c: Likewise.
24785 * libio/iofopen.c: Likewise.
24786 * libio/iofopen64.c: Likewise.
24787 * libio/iogetdelim.c: Likewise.
24788 * libio/iopopen.c: Likewise.
24789 * libio/obprintf.c: Likewise.
24790 * libio/oldfileops.c: Likewise.
24791 * libio/oldiofclose.c: Likewise.
24792 * libio/oldiofdopen.c: Likewise.
24793 * libio/oldiofopen.c: Likewise.
24794 * libio/oldiopopen.c: Likewise.
24795 * libio/wfiledoalloc.c: Likewise.
24796 * libio/wgenops.c: Likewise.
24797 * locale/programs/xmalloc.c: Likewise.
24798 * misc/syslog.c: Likewise.
24799 * stdio-common/xbug.c: Likewise.
24800 * string/memchr.c: Likewise.
24801 * string/memcmp.c: Likewise.
24802 * string/memrchr.c: Likewise.
24803 * string/rawmemchr.c: Likewise.
24804 * sysdeps/posix/getcwd.c: Likewise.
24805 * time/strftime_l.c: Likewise.
24807 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24809 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24810 * config.make.in (config-cflags-sse2avx): Define.
24811 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24814 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24816 * scripts/config.guess: Update from upstream config git repository.
24817 * scripts/config.sub: Likewise.
24819 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24821 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24823 (R_TILEPRO_*, R_TILEGX_*): New macros.
24825 * scripts/firstversions.awk: Fix bug in version range handling.
24827 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24829 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24831 * include/sys/epoll.h: New file.
24832 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24835 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24837 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24838 Avoid unnecessary __WORDSIZE == 64 test.
24839 (fmaxf): Use VEX format if possible.
24844 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24845 * math/math_private.h: Remove libc_fegetround* and
24847 * sysdeps/i386/configure.in: Check for -msse2avx.
24848 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24849 also if SSE2AVX is defined.
24850 Remove libc_fegetround* and libc_fesetround*.
24851 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24852 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24861 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24863 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24865 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24867 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24869 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24872 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24874 * Makeconfig (libm): Define.
24875 * elf/Makefile: Add rules to build and run tst-relsort1.
24876 * elf/tst-relsort1.c: New file.
24877 * elf/tst-relsort1mod1.c: New file.
24878 * elf/tst-relsort1mod2.c: New file.
24880 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24882 * math/s_ldexp.c: Remove __STDC__ conditionals.
24883 * math/s_ldexpf.c: Likewise.
24884 * math/s_ldexpl.c: Likewise.
24885 * math/s_nextafter.c: Likewise.
24886 * math/s_nexttowardf.c: Likewise.
24887 * math/s_significand.c: Likewise.
24888 * math/s_significandf.c: Likewise.
24889 * math/s_significandl.c: Likewise.
24890 * math/w_jnl.c: Likewise.
24891 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24892 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24893 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24894 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24895 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24897 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24898 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24900 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24902 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24903 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24904 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24905 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24906 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24907 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24908 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24910 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24911 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24912 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24913 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24914 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24915 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24916 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24917 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24918 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24919 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24920 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24921 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24922 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24925 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24926 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24927 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24928 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24929 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24930 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24931 * sysdeps/ieee754/k_standard.c: Likewise.
24932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24933 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24934 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24938 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24939 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24940 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24941 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24942 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24943 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24944 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24945 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24946 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24948 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24951 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24952 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24953 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24954 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24955 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24956 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24957 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24962 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24963 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24964 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24965 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24967 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24968 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24969 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24972 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24973 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24975 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24986 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24989 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24992 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24993 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24996 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24998 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24999 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25000 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25001 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25002 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25004 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25006 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25007 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25008 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25010 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25011 * sysdeps/ieee754/s_matherr.c: Likewise.
25012 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25013 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25015 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25017 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25019 * crypt/md5.h: Remove __STDC__ conditionals.
25020 * libio/libioP.h: Likewise.
25021 * locale/programs/config.h: Likewise.
25022 * sysdeps/generic/sysdep.h: Likewise.
25023 * sysdeps/i386/asm-syntax.h: Likewise.
25024 * sysdeps/s390/asm-syntax.h: Likewise.
25025 * sysdeps/unix/sysdep.h: Likewise.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25029 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25031 * libio/libio.h: Remove __STDC__ conditionals.
25032 * malloc/obstack.h: Likewise.
25033 * math/complex.h: Likewise.
25034 * math/math.h: Likewise.
25035 * sysdeps/generic/_G_config.h: Likewise.
25036 * sysdeps/gnu/_G_config.h: Likewise.
25037 * sysdeps/mach/hurd/_G_config.h: Likewise.
25038 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25039 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25040 * sysdeps/sparc/bits/mathdef.h: Likewise.
25042 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25045 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25046 Clean up HAS_* macros.
25047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25048 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25058 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25060 * elf/tst-unique3.cc (gets): Remove declaration.
25061 * elf/tst-unique3lib.cc (gets): Likewise.
25062 * elf/tst-unique3lib2.cc (gets): Likewise.
25063 * elf/tst-unique4.cc (gets): Likewise.
25065 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25067 * include/stdio.h: Add C++ protection. Add gets declarations and
25069 * debug/tst-chk1.c: Don't declare gets here.
25070 * stdio-common/tst-gets.c: Likewise.
25072 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25074 * posix/glob: Remove directory.
25076 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25078 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25080 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25082 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25083 of the non-standard EPFNOSUPPORT.
25085 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25087 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25088 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25089 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25091 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25093 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25095 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25097 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25099 * nscd/grpcache.c (cache_addgr): Likewise.
25100 * nscd/hstcache.c (cache_addhst): Likewise.
25101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25102 * nscd/pwdcache.c (cache_addpw): Likewise.
25103 * nscd/servicescache.c (cache_addserv): Likewise.
25105 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25107 * malloc/malloc.c: Various cleanups.
25108 * malloc/hooks.c: Likewise.
25110 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25111 * stdlib/bug-fmtmsg1.c: New file.
25113 * stdlib/fmtmsg.c (init): Add missing unlock.
25114 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25116 2012-01-12 Marek Polacek <polacek@redhat.com>
25118 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25121 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25123 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25124 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25125 macro to ensure uniqueness of label name.
25126 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25127 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25129 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25131 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25134 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25135 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25138 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25140 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25142 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25143 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25144 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25146 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25148 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25149 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25150 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25153 * math/bits/math-finite.h: Add ldexp support.
25155 2012-01-10 Marek Polacek <polacek@redhat.com>
25157 * locale/programs/localedef.h (show_archive_content): Add noreturn
25160 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25162 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25164 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25166 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25168 * io/Makefile (headers): Add bits/poll2.h.
25170 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25173 typo #include statement.
25175 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25177 * include/sys/cdefs.h: Define __attribute_alloc_size.
25178 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25179 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25180 * elf/pldd.c: Likewise.
25181 * iconv/iconv_charmap.c: Likewise.
25182 * iconv/iconvconfig.c: Likewise.
25183 * iconv/strtab.c: Likewise.
25184 * locale/programs/locale.c: Likewise.
25185 * locale/programs/localedef.h: Likewise.
25186 * locale/programs/simple-hash.c: Likewise.
25187 * nscd/nscd.h: Likewise.
25188 * nss/makedb.c: Likewise.
25189 * sysdeps/generic/ldconfig.h: Likewise.
25190 * locale/programs/localedef.c: Remove xmalloc prototype.
25191 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25193 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25195 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25198 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25200 * math/Makefile (tests): Add tst-CMPLX.
25201 * math/tst-CMPLX.c: New file.
25203 * math/complex.h (CMPLXL): Fix typo.
25205 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25206 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25208 * debug/tst-chk1.c: Add poll and ppoll tests.
25209 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25210 * include/sys/poll.h: Add hidden proto for ppoll.
25211 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25212 * sysdeps/mach/hurd/ppoll.c: Likewise.
25213 * io/ppoll.c: Likewise.
25214 * debug/poll_chk.c: New file.
25215 * debug/ppoll_chk.c: New file.
25216 * include/bits/poll2.h: New file.
25217 * io/bits/poll2.h: New file.
25220 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25222 * configure.in: static is always set to yes. Remove.
25223 * config.make.in: Don't set build-static.
25224 * Makeconfig: Remove use of build-static.
25225 * dlfcn/Makefile: Likewise.
25226 * elf/Makefile: Likewise.
25227 * math/Makefile: Likewise.
25228 * misc/Makefile: Likewise.
25229 * nptl/Makefile: Likewise.
25230 * sysdeps/mach/hurd/Makefile: Likewise.
25232 * configure.in: PWD_P is not used anymore.
25233 * config.make.in: Remove PWD_P entry.
25235 * configure.in: Remove last remnants of RANLIB.
25236 No need to check for signed size_t anymore.
25237 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25239 Remove __builtin_expect test because we require at least gcc 3.4.
25240 * aclocal.m4: Likewise.
25242 * wcsmbs/mbrtoc16.c: Implement using towc function.
25243 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25244 * wcsmbs/wcsmbsload.c: Likewise.
25245 * iconv/gconv_simple.c: Likewise.
25246 * iconv/gconv_int.h: Likewise.
25247 * iconv/gconv_builtin.h: Likewise.
25248 * iconv/iconv_prog.c: Remove CHAR16 handling.
25250 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25252 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25254 * configure.in: Remove --with-elf and --enable-bounded options.
25255 Dont set base_machine for ia64. More non-ELF conditions removed.
25256 Remove testing and setting of leading underscore information.
25257 * config.make.in (build-bounded): Set to no.
25258 * config.h.in: Remove NO_UNDERSCORES entry.
25259 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25261 * csu/start.c: Remove !NO_UNDERSCORE code.
25262 * locale/localeinfo.h: Likewise.
25263 * sysdeps/generic/machine-gmon.h: Likewise.
25264 * sysdeps/generic/sysdep.h: Likewise.
25265 * sysdeps/i386/sysdep.h: Likewise.
25266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25267 * sysdeps/mach/sysdep.h: Likewise.
25268 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25270 * sysdeps/sh/sysdep.h: Likewise.
25271 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25272 * sysdeps/unix/i386/sysdep.S: Likewise.
25273 * sysdeps/unix/sparc/start.c: Likewise.
25274 * sysdeps/unix/sparc/sysdep.S: Likewise.
25275 * sysdeps/unix/sparc/sysdep.h: Likewise.
25276 * sysdeps/unix/start.c: Likewise.
25277 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25278 * sysdeps/x86_64/sysdep.h: Likewise.
25280 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25283 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25285 * argp/argp-fmtstream.h: Use const instead __const.
25286 * argp/argp.h: Likewise.
25287 * assert/assert.h: Likewise.
25288 * bits/fenv.h: Likewise.
25289 * bits/sched.h: Likewise.
25290 * bits/sigset.h: Likewise.
25291 * bits/sigthread.h: Likewise.
25292 * catgets/nl_types.h: Likewise.
25293 * conform/data/pthread.h-data: Likewise.
25294 * crypt/crypt-private.h: Likewise.
25295 * crypt/crypt.h: Likewise.
25296 * crypt/crypt_util.c: Likewise.
25297 * ctype/ctype.h: Likewise.
25298 * debug/execinfo.h: Likewise.
25299 * debug/mbsnrtowcs_chk.c: Likewise.
25300 * debug/mbsrtowcs_chk.c: Likewise.
25301 * debug/wcsnrtombs_chk.c: Likewise.
25302 * debug/wcsrtombs_chk.c: Likewise.
25303 * debug/wcstombs_chk.c: Likewise.
25304 * dirent/dirent.h: Likewise.
25305 * dlfcn/dlfcn.h: Likewise.
25306 * elf/neededtest4.c: Likewise.
25307 * grp/grp.h: Likewise.
25308 * gshadow/gshadow.h: Likewise.
25309 * iconv/gconv.h: Likewise.
25310 * iconv/gconv_int.h: Likewise.
25311 * iconv/gconv_simple.c: Likewise.
25312 * iconv/iconv.h: Likewise.
25313 * iconv/loop.c: Likewise.
25314 * iconv/skeleton.c: Likewise.
25315 * include/aio.h: Likewise.
25316 * include/aliases.h: Likewise.
25317 * include/argz.h: Likewise.
25318 * include/arpa/inet.h: Likewise.
25319 * include/assert.h: Likewise.
25320 * include/dirent.h: Likewise.
25321 * include/dlfcn.h: Likewise.
25322 * include/execinfo.h: Likewise.
25323 * include/fcntl.h: Likewise.
25324 * include/fenv.h: Likewise.
25325 * include/glob.h: Likewise.
25326 * include/grp.h: Likewise.
25327 * include/libintl.h: Likewise.
25328 * include/mntent.h: Likewise.
25329 * include/netdb.h: Likewise.
25330 * include/pwd.h: Likewise.
25331 * include/rpc/netdb.h: Likewise.
25332 * include/sched.h: Likewise.
25333 * include/search.h: Likewise.
25334 * include/shadow.h: Likewise.
25335 * include/signal.h: Likewise.
25336 * include/stdio.h: Likewise.
25337 * include/stdlib.h: Likewise.
25338 * include/string.h: Likewise.
25339 * include/sys/socket.h: Likewise.
25340 * include/sys/stat.h: Likewise.
25341 * include/sys/statfs.h: Likewise.
25342 * include/sys/statvfs.h: Likewise.
25343 * include/sys/syslog.h: Likewise.
25344 * include/sys/time.h: Likewise.
25345 * include/sys/uio.h: Likewise.
25346 * include/time.h: Likewise.
25347 * include/unistd.h: Likewise.
25348 * include/utmp.h: Likewise.
25349 * include/wchar.h: Likewise.
25350 * include/wctype.h: Likewise.
25351 * inet/aliases.h: Likewise.
25352 * inet/arpa/inet.h: Likewise.
25353 * inet/netinet/ether.h: Likewise.
25354 * inet/netinet/in.h: Likewise.
25355 * intl/libintl.h: Likewise.
25356 * io/bits/fcntl2.h: Likewise.
25357 * io/fcntl.h: Likewise.
25358 * io/ftw.h: Likewise.
25359 * io/sys/poll.h: Likewise.
25360 * io/sys/stat.h: Likewise.
25361 * io/sys/statfs.h: Likewise.
25362 * io/sys/statvfs.h: Likewise.
25363 * io/utime.h: Likewise.
25364 * libio/bits/stdio.h: Likewise.
25365 * libio/bits/stdio2.h: Likewise.
25366 * libio/libio.h: Likewise.
25367 * libio/libioP.h: Likewise.
25368 * libio/stdio.h: Likewise.
25369 * locale/lc-ctype.c: Likewise.
25370 * locale/locale.h: Likewise.
25371 * login/utmp.h: Likewise.
25372 * malloc/arena.c: Likewise.
25373 * malloc/malloc.c: Likewise.
25374 * malloc/malloc.h: Likewise.
25375 * malloc/mcheck.c: Likewise.
25376 * malloc/mtrace.c: Likewise.
25377 * math/bits/mathcalls.h: Likewise.
25378 * math/fenv.h: Likewise.
25379 * math/math_private.h: Likewise.
25380 * misc/bits/error.h: Likewise.
25381 * misc/bits/syslog.h: Likewise.
25382 * misc/err.h: Likewise.
25383 * misc/error.h: Likewise.
25384 * misc/fstab.h: Likewise.
25385 * misc/mntent.h: Likewise.
25386 * misc/regexp.h: Likewise.
25387 * misc/search.h: Likewise.
25388 * misc/sgtty.h: Likewise.
25389 * misc/sys/mman.h: Likewise.
25390 * misc/sys/syslog.h: Likewise.
25391 * misc/sys/uio.h: Likewise.
25392 * misc/sys/xattr.h: Likewise.
25393 * misc/ttyent.h: Likewise.
25394 * nis/rpcsvc/ypclnt.h: Likewise.
25395 * nss/nss.h: Likewise.
25396 * posix/bits/unistd.h: Likewise.
25397 * posix/fnmatch.h: Likewise.
25398 * posix/glob.h: Likewise.
25399 * posix/sched.h: Likewise.
25400 * posix/spawn.h: Likewise.
25401 * posix/sys/wait.h: Likewise.
25402 * posix/unistd.h: Likewise.
25403 * posix/wordexp.h: Likewise.
25404 * pwd/pwd.h: Likewise.
25405 * resolv/netdb.h: Likewise.
25406 * resource/sys/resource.h: Likewise.
25407 * rt/aio.h: Likewise.
25408 * rt/bits/mqueue2.h: Likewise.
25409 * rt/mqueue.h: Likewise.
25410 * shadow/shadow.h: Likewise.
25411 * signal/signal.h: Likewise.
25412 * socket/send.c: Likewise.
25413 * socket/sendto.c: Likewise.
25414 * socket/sys/socket.h: Likewise.
25415 * stdio-common/printf.h: Likewise.
25416 * stdlib/bits/stdlib.h: Likewise.
25417 * stdlib/fmtmsg.h: Likewise.
25418 * stdlib/monetary.h: Likewise.
25419 * stdlib/stdlib.h: Likewise.
25420 * stdlib/ucontext.h: Likewise.
25421 * streams/stropts.h: Likewise.
25422 * string/argz.h: Likewise.
25423 * string/bits/string2.h: Likewise.
25424 * string/string.h: Likewise.
25425 * string/strings.h: Likewise.
25426 * sunrpc/rpc/auth.h: Likewise.
25427 * sunrpc/rpc/auth_des.h: Likewise.
25428 * sunrpc/rpc/clnt.h: Likewise.
25429 * sunrpc/rpc/netdb.h: Likewise.
25430 * sunrpc/rpc/pmap_clnt.h: Likewise.
25431 * sunrpc/rpc/xdr.h: Likewise.
25432 * sysdeps/generic/inttypes.h: Likewise.
25433 * sysdeps/generic/net/if.h: Likewise.
25434 * sysdeps/generic/sys/swap.h: Likewise.
25435 * sysdeps/gnu/net/if.h: Likewise.
25436 * sysdeps/gnu/utmpx.h: Likewise.
25437 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25438 * sysdeps/i386/i486/bits/string.h: Likewise.
25439 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25440 * sysdeps/s390/bits/string.h: Likewise.
25441 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25442 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25443 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25444 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25445 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25446 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25447 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25448 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25449 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25450 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25451 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25452 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25453 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25454 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25455 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25456 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25457 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25460 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25462 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25463 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25464 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25465 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25466 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25467 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25469 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25470 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25471 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25472 * sysvipc/sys/ipc.h: Likewise.
25473 * sysvipc/sys/msg.h: Likewise.
25474 * sysvipc/sys/sem.h: Likewise.
25475 * sysvipc/sys/shm.h: Likewise.
25476 * termios/termios.h: Likewise.
25477 * time/sys/time.h: Likewise.
25478 * time/time.h: Likewise.
25479 * wcsmbs/bits/wchar2.h: Likewise.
25480 * wcsmbs/uchar.h: Likewise.
25481 * wcsmbs/wchar.h: Likewise.
25482 * wctype/wctype.h: Likewise.
25485 * Makeconfig: Remove all but ELF support including AIX support.
25486 * Makerules: Likewise.
25487 * config.h.in: Likewise.
25488 * config.make.in: Likewise.
25489 * configure: Likewise.
25490 * configure.in: Likewise.
25491 * csu/Makefile: Likewise.
25492 * csu/version.c: Likewise.
25493 * debug/Makefile: Likewise.
25494 * dlfcn/Makefile: Likewise.
25495 * elf/Makefile: Likewise.
25496 * extra-lib.mk: Likewise.
25497 * iconv/Makefile: Likewise.
25498 * include/libc-symbols.h: Likewise.
25499 * include/shlib-compat.h: Likewise.
25500 * resolv/Makefile: Likewise.
25501 * resolv/res_libc.c: Likewise.
25502 * rt/Makefile: Likewise.
25503 * sysdeps/i386/asm-syntax.h: Likewise.
25504 * sysdeps/i386/sysdep.h: Likewise.
25505 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25506 * sysdeps/mach/sysdep.h: Likewise.
25507 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25508 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25509 * sysdeps/s390/asm-syntax.h: Likewise.
25510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25512 * sysdeps/sh/sysdep.h: Likewise.
25513 * sysdeps/unix/sparc/sysdep.h: Likewise.
25514 * sysdeps/wordsize-32/divdi3.c: Likewise.
25515 * sysdeps/x86_64/sysdep.h: Likewise.
25517 * argp/Versions: Remove _argp_unlock_xxx.
25520 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25521 * abilist/libBrokenLocale.abilist: Likewise.
25522 * abilist/libanl.abilist: Likewise.
25523 * abilist/libc.abilist: Likewise.
25524 * abilist/libcrypt.abilist: Likewise.
25525 * abilist/libdl.abilist: Likewise.
25526 * abilist/libm.abilist: Likewise.
25527 * abilist/libnsl.abilist: Likewise.
25528 * abilist/libpthread.abilist: Likewise.
25529 * abilist/libresolv.abilist: Likewise.
25530 * abilist/librt.abilist: Likewise.
25531 * abilist/libthread_db.abilist: Likewise.
25532 * abilist/libutil.abilist: Likewise.
25533 * abilist/libnss_db.abilist: New file.
25535 * scripts/abilist.awk: Add support for indirect functions.
25537 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25539 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25541 * shlib-versions: Remove entries for ports architectures.
25543 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25545 * elf/stackguard-macros.h: Remove support for IA-64.
25546 * elf/tst-auditmod1.c: Likewise.
25547 * sysdeps/generic/ldsodefs.h: Likewise.
25549 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25550 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25554 * configure.in: Remove --enable-omitfp support.
25556 * config.make.in: Likewise.
25557 * Makeconfig: Likewise.
25558 * manual/install.texi: Likewise.
25560 In case anyone cares, the IA-64 architecture could move to ports.
25561 * sysdeps/ia64/*: Removed.
25562 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25563 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25566 * configure.in: Remove entries for unsupported architectures.
25569 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25570 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25572 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25573 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25574 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25575 fall back to using wcrtomb.
25576 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25577 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25579 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25580 * wcsmbs/tst-c16c32-1.c: New file.
25582 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25585 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25587 * elf/tst-unique3.cc: Add explicit declaration of gets.
25588 * elf/tst-unique3lib.cc: Likewise.
25589 * elf/tst-unique3lib2.cc: Likewise.
25590 * elf/tst-unique4.cc: Likewise.
25592 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25594 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25597 * assert/assert.h (static_assert): Don't define for C++.
25598 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25599 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25601 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25603 * iconv/loop.c (single loop): Fix assertion in storing of
25606 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25608 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25610 * posix/getconf.c: Update copyright year.
25611 * nss/getent.c: Likewise.
25612 * nss/makedb.c: Likewise.
25613 * iconv/iconvconfig.c: Likewise.
25614 * iconv/iconv_prog.c: Likewise.
25615 * elf/ldconfig.c: Likewise.
25616 * elf/pldd.c: Likewise.
25617 * elf/sotruss.ksh: Likewise.
25618 * catgets/gencat.c: Likewise.
25619 * csu/version.c: Likewise.
25620 * elf/ldd.bash.in: Likewise.
25621 * elf/sprof.c (print_version): Likewise.
25622 * locale/programs/locale.c: Likewise.
25623 * locale/programs/localedef.c: Likewise.
25624 * login/programs/pt_chown.c: Likewise.
25625 * nscd/nscd.c (print_version): Likewise.
25626 * debug/xtrace.sh: Likewise.
25627 * malloc/memusage.sh: Likewise.
25628 * malloc/mtrace.pl: Likewise.
25629 * debug/catchsegv.sh: Likewise.
25631 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25633 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25636 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25639 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25640 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25642 * iconv/gconv_int.h: Likewise.
25643 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25644 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25645 from libc for GLIBC_2.16.
25646 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25647 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25648 * wcsmbs/uchar.h: Really define mbstate_t.
25649 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25650 * wcsmbs/c16rtomb.c: New file.
25651 * wcsmbs/mbrtoc16.c: New file.
25652 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25653 for C/POSIX locale.
25654 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25655 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25657 * wcsmbs/wchar.h: Add missing __restrict.
25659 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25662 * time/Makefile (routines): Add timespec_get.
25663 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25664 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25665 timespec for ISO C11.
25666 * time/timespec_get.c: New file.
25667 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25668 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25671 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25672 * stdlib/stdlib.h: Declare aligned_alloc.
25673 * Versions.def: Add GLIBC_2.16 for libc.
25674 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25677 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25680 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25684 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25687 * assert/assert.h (static_assert): Define.
25689 * version.h: Update for 2.16 development version.
25692 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25695 * version.h (RELEASE): Bump for 2.15 release.
25696 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25698 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25699 Patch by Marek Polacek <mpolacek@redhat.com>.
25701 * bits/byteswap.h: Protect long long constants with __extension__.
25702 * sysdeps/i386/bits/byteswap.h: Likewise.
25703 * sysdeps/ia64/bits/byteswap.h: Likewise.
25704 * sysdeps/s390/bits/byteswap.h: Likewise.
25705 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25707 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25711 destination buffer.
25712 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25714 2011-12-23 Marek Polacek <polacek@redhat.com>
25716 * elf/dl-addr.c (determine_info): Add inline keyword.
25717 * elf/tst-auditmod4b.c (check_avx): Likewise.
25718 * elf/tst-auditmod6b.c (check_avx): Likewise.
25719 * elf/tst-auditmod6c.c (check_avx): Likewise.
25720 * elf/tst-auditmod7b.c (check_avx): Likewise.
25722 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25724 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25727 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25730 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25731 processing for last bytes.
25733 2011-08-06 Bruno Haible <bruno@clisp.org>
25736 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25737 U+0385, not to U+1FEE.
25740 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25741 entry for U+00A5 U+0301.
25743 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25746 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25747 buffer for the output is too small.
25749 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25753 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25754 SSE flags if possible.
25756 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25760 processing for last bytes.
25762 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25764 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25765 (syscall-list-default-options, syscall-list-default-condition)
25766 (syscall-list-includes): Define.
25767 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25768 list of ABIs and options and #if conditions for each ABI. Do not
25769 handle common syscalls between ABIs specially.
25770 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25772 (syscall-list-variants, syscall-list-32bit-options)
25773 (syscall-list-32bit-condition, syscall-list-64bit-options)
25774 (syscall-list-64bit-condition): Define.
25775 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25776 (syscall-list-variants, syscall-list-32bit-options)
25777 (syscall-list-32bit-condition, syscall-list-64bit-options)
25778 (syscall-list-64bit-condition): Define.
25779 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25781 (syscall-list-variants, syscall-list-32bit-options)
25782 (syscall-list-32bit-condition, syscall-list-64bit-options)
25783 (syscall-list-64bit-condition): Define.
25784 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25786 (syscall-list-variants, syscall-list-32bit-options)
25787 (syscall-list-32bit-condition, syscall-list-64bit-options)
25788 (syscall-list-64bit-condition): Define.
25790 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25792 * locale/iso-639.def: Add brx entry.
25795 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25796 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25798 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25799 __feraiseexcept_renamed.
25801 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25804 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25805 EPOLLET with unsigned values.
25806 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25809 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25810 to large cancellation.
25811 * math/s_cacoshf.c: Likewise.
25812 * math/s_cacoshl.c: Likewise.
25814 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25818 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25819 * math/s_cacoshf.c: Likewise.
25820 * math/s_cacoshl.c: Likewise.
25822 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25825 * iconv/gconv.h: Define __GCONV_SWAP.
25826 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25827 * iconvdata/utf-16.c: Likewise.
25828 * iconvdata/utf-32.c: Likewise.
25830 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25834 numerator after shifting it by one limb.
25836 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25838 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25839 under [__USE_EXTERN_INLINES].
25841 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25844 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25846 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25848 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25849 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25851 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25852 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25853 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25854 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25855 for strncasecmp/strncasecmp_l compilation.
25856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25857 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25859 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25862 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25865 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25868 * time/tzfile.c (__tzfile_read): Check values from file header.
25870 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25872 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25873 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25874 * powerpc/powerpc32/dl-start.S: Likewise.
25875 * powerpc/powerpc32/elf/start.S: Likewise.
25876 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25877 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25878 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25879 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25880 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25881 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25882 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25883 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25884 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25885 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25886 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25887 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25888 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25889 * powerpc/powerpc32/memset.S: Likewise.
25890 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25891 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25892 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25893 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25894 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25895 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25896 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25897 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25898 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25899 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25900 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25901 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25902 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25904 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25906 * math/libm-test.inc: Added more nearbyint tests.
25907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25908 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25912 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25914 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25917 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25919 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25920 Add wcscpy-ssse3 wcscpy-c.
25921 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25922 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25923 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25924 * sysdeps/x86_64/wcschr.S: New file.
25925 * sysdeps/x86_64/wcsrchr.S: New file.
25926 * string/test-strcmp.c: Remove checking of wcscmp function for
25928 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25929 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25930 wcsrchr-sse2 wcsrchr-c.
25931 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25932 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25933 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25934 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25935 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25936 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25937 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25938 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25939 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25940 * wcsmbc/wcschr.c (WCSCHR): New macro.
25942 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25944 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25945 * wcsmbs/test-wcsrchr.c: New file.
25946 * string/test-strrchr.c: Add wcsrchr support.
25948 * wcsmbs/test-wcscpy.c: New file.
25949 * string/test-strcpy.c: Add wcscpy support.
25952 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25954 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25957 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25960 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25962 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25964 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25965 Minor optimizations.
25967 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25968 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25969 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25971 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25973 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25974 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25975 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25976 for gcc to avoid warnings.
25977 * inet/Makefile (tests): Add tst-checks.
25978 * inet/tst-checks.c: New file.
25980 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25983 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25986 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25987 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25989 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25991 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25993 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25996 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25998 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26000 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26001 conditional on GCC version.
26002 (__arch_compare_and_exchange_val_8_acq)
26003 (__arch_compare_and_exchange_val_16_acq)
26004 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26005 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26006 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26008 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26010 * sysdeps/sh/backtrace.c: New file.
26012 2011-12-02 Andreas Schwab <schwab@redhat.com>
26014 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26017 2011-12-01 Andreas Schwab <schwab@redhat.com>
26019 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26020 falling back to utime.
26022 2011-11-30 Andreas Schwab <schwab@redhat.com>
26024 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26025 expectations for float.
26027 2011-11-29 Andreas Schwab <schwab@redhat.com>
26029 * locale/weight.h (findidx): Add parameter len.
26030 * locale/weightwc.h (findidx): Likewise.
26031 * posix/fnmatch_loop.c (FCT): Adjust caller.
26032 * posix/regcomp.c (build_equiv_class): Likewise.
26033 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26034 * posix/regexec.c (check_node_accept_bytes): Likewise.
26035 * string/strcoll_l.c (STRCOLL): Likewise.
26036 * string/strxfrm_l.c (STRXFRM): Likewise.
26038 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26040 * Makefile.in: Remove CVSOPT handling.
26041 * configure.in: Remove use of AC_REVISION.
26042 * iconvdata/Makefile (distribute): No need to filter out CVS.
26043 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26046 2011-11-16 Andreas Schwab <schwab@redhat.com>
26048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26049 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26050 [USE_AS_STRNCASECMP_L]: Likewise.
26051 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26052 NO_TLS_DIRECT_SEG_REFS.
26053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26054 Fix argument offsets for non-PIC.
26055 [USE_AS_STRNCASECMP_L]: Likewise.
26056 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26057 NO_TLS_DIRECT_SEG_REFS.
26059 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26061 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26063 * locale/loadlocale.c (_nl_load_locale): Likewise.
26065 2011-11-15 Andreas Schwab <schwab@redhat.com>
26067 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26068 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26070 (SYSCALL_GETTIME): Set errno on error.
26072 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26073 count references to noai6ai_cached.
26075 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26077 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26079 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26080 FD_CLOEXEC for /proc/self/maps.
26082 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26083 FD_CLOEXEC for /proc/meminfo.
26085 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26088 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26089 FD_CLOEXEC for given file.
26091 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26093 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26094 FD_CLOEXEC for /etc/hosts.
26095 (_gethtent): Likewise.
26097 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26099 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26100 cancellation and set FD_CLOEXEC for /etc/netgroup.
26102 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26103 reading /etc/publickey.
26105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26106 allow cancellation when reading /etc/group.
26108 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26110 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26112 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26113 when using data file.
26115 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26117 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26118 (write_nis_obj): Use "c" and "e" in fopen.
26120 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26122 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26124 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26126 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26128 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26131 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26133 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26135 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26137 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26138 file parsing and set FD_CLOEXEC.
26140 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26142 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26144 2011-11-14 Andreas Schwab <schwab@redhat.com>
26146 * malloc/arena.c (arena_get2): Don't call reused_arena when
26147 _int_new_arena failed.
26149 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26151 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26152 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26153 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26154 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26155 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26157 to compile strcasecmp and strncasecmp.
26158 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26159 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26161 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26163 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26165 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26166 locale-defines.sym to gen-as-const-headers.
26167 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26168 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26170 to compile strcasecmp and strncasecmp.
26171 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26172 strcasecmp_l and strncasecmp_l.
26173 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26174 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26175 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26176 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26177 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26178 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26179 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26180 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26181 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26182 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26183 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26185 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26187 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26188 result of SYSDEP_GETTIME_CPU to retval.
26189 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26190 parameter list to macro. Remove trailing semicolon. Adjust users.
26192 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26195 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26197 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26199 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26200 from unused variable.
26202 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26204 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26207 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26210 * sunrpc/rpc_prot.c (rejected): Fix case value.
26212 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26213 unsigned long long int to avoid warnings in shift.
26215 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26217 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26220 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26221 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26222 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26224 * nis/nis_table.c (nis_list): Use variable of correct type for
26225 result of __follow_path call.
26227 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26229 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26230 of math functions ceil, trunc, floor, round, and sqrt, when
26231 avaliable on the platform.
26232 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26235 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26236 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26238 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26240 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26243 2011-11-11 Roland McGrath <roland@hack.frob.com>
26245 * include/unistd.h: Fix __readlink return type.
26246 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26248 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26250 * stdlib/ucontext.h: Undo last change for makecontext.
26252 2011-11-11 Andreas Schwab <schwab@redhat.com>
26254 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26256 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26257 * setjmp/setjmp.h: Mark functions as non-leaf.
26258 * setjmp/bits/setjmp2.h: Likewise.
26259 * stdlib/ucontext.h: Likewise.
26261 2011-11-10 Andreas Schwab <schwab@redhat.com>
26263 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26264 (reused_arena): Don't check arena limit.
26265 (arena_get2): Atomically check arena limit.
26267 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26269 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26270 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26275 2011-11-07 Andreas Schwab <schwab@redhat.com>
26277 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26278 handler when locking.
26280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26281 Fix size of allocated buffer.
26283 2011-11-04 Andreas Schwab <schwab@redhat.com>
26286 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26287 declarations for long double functions.
26288 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26290 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26292 2011-11-03 Andreas Schwab <schwab@redhat.com>
26294 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26297 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26300 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26302 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26304 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26306 * include/alloca.h (stackinfo_alloca_round): Define.
26307 (extend_alloca): Use it.
26308 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26309 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26312 * scripts/check-local-headers.sh: Ignore libaudit.h.
26314 * nscd/Makefile (extra-objs): Make recursively expanded.
26316 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26318 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26321 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26322 * posix/tst-rfc3484-2.c: Likewise.
26323 * posix/tst-rfc3484-3.c: Likewise.
26325 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26327 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26329 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26330 process_vm_writev from libc using GLIBC_2.15 version.
26332 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26334 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26336 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26339 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26342 * nss/getent.c (initgroups_keys): Show error message in case no group
26345 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26346 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26347 __bump_nl_timestamp.
26348 * nscd/connections (nscd_init): When host database is served open
26349 netlink socket and request notification about configuration changes.
26350 (main_loop_poll): Track netlink file descriptor and bump timestamp
26351 in case data becomes available.
26352 (main_loop_epoll): Likewise.
26353 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26354 (database_pers_head): Add extra_data fileds.
26355 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26356 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26357 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26359 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26360 in6ai data, call __free_in6ai.
26361 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26362 Add -DHAVE_NETLINK.
26363 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26364 interface information. Reuse previous data if netlink timestamp
26366 (__bump_nl_timestamp): New function.
26367 (__free_in6ai): New function.
26369 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26372 close_not_cancel_no_status here.
26373 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26375 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26378 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26381 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26382 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26383 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26385 2011-07-03 Andreas Jaeger <aj@suse.de>
26388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26389 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26390 * math/libm-test.inc (sin_test): Add test case.
26392 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26395 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26396 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26398 * elf/chroot_canon.c (chroot_canon): Cleanups.
26400 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26403 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26404 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26406 * string/test-strchr.c: Make usable for strchrnul testing.
26407 * string/test-strchrnul.c: New file.
26408 * string/Makefile (strop-tests): Add strchrnul.
26410 * po/it.po: Update from translation team.
26411 * po/es.po: Likewise.
26413 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26416 the three constants needed as parameters. Drop the others.
26417 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26418 __m128i_strloadu_tolower.
26419 Create and initialize variable zero and use it in all the places
26420 where _mm_setzero_si128 was used.
26422 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26423 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26424 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26425 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26427 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26428 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26429 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26430 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26431 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26432 __mpranred, __mptan.
26433 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26434 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26435 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26436 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26437 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26438 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26439 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26440 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26441 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26443 2011-10-28 Andreas Schwab <schwab@redhat.com>
26445 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26446 redefine if SHARED.
26447 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26450 wide char related routines to wcsmbs subdir.
26452 2011-10-27 Andreas Schwab <schwab@redhat.com>
26455 * misc/sys/cdefs.h (__THROWNL): Define.
26456 * posix/unistd.h: Use __THREADNL instead of __THREAD
26457 for memory synchronization functions.
26459 2011-10-26 Roland McGrath <roland@hack.frob.com>
26462 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26464 * manual/stdio.texi (Obstack Streams): Node removed.
26466 2011-10-26 Andreas Schwab <schwab@redhat.com>
26468 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26469 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26470 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26472 * math/math_private.h (math_force_eval): Allow non-addressable
26474 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26476 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26479 file is not needed.
26481 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26488 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26490 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26491 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26492 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26493 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26494 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26495 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26496 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26497 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26498 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26499 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26500 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26501 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26504 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26505 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26506 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26507 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26508 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26510 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26511 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26514 place. Use VEX encoding when compiling for AVX.
26516 2011-10-25 Andreas Schwab <schwab@redhat.com>
26518 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26519 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26521 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26523 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26525 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26526 useless if() expression.
26527 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26536 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26537 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26538 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26539 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26540 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26541 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26542 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26544 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26545 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26547 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26549 2011-10-25 Andreas Schwab <schwab@redhat.com>
26551 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26553 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26555 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26557 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26558 .text section. Avoid duplicate constants.
26559 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26569 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26571 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26574 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26576 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26582 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26583 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26584 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26585 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26586 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26587 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26588 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26590 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26591 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26592 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26593 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26594 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26595 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26597 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26598 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26600 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26601 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26602 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26603 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26605 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26607 * sysdeps/x86_64/dla.h: Move to ...
26608 * sysdeps/x86_64/fpu/dla.h: ...here.
26609 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26610 situations. Use __builtin_fma only for gcc 4.6 and up.
26612 * config.make.in: Add have-mfma4 entry.
26613 * configure.in: Substitute libc_cv_cc_fma4.
26614 * math/Makefile (dbl-only-routines): Add sincostab.
26615 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26616 Use __sincostab not sincos.
26617 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26624 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26625 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26626 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26627 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26629 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26630 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26632 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26633 define aliases when function name is a macro.
26634 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26635 sysdeps/ieee754/dbl-64/sincos.tbl.
26636 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26637 fma4-enabled routines.
26638 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26639 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26640 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26641 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26642 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26643 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26645 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26648 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26649 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26650 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26651 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26652 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26653 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26654 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26655 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26656 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26657 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26658 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26659 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26661 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26664 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26665 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26666 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26667 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26669 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26680 2011-10-24 Andreas Schwab <schwab@redhat.com>
26682 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26684 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26686 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26688 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26690 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26692 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26693 Remove unused variable magic_bits.
26694 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26696 * string/strnlen.c: Define and use STRNLEN macro.
26697 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26698 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26700 * wcsmbs/wcslen.c: Define and use WCSLEN.
26701 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26702 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26703 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26704 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26705 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26706 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26707 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26709 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26712 strnlen-sse2-no-bsf.
26713 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26715 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26716 Add strnlen support.
26717 (USE_AS_STRNLEN): New macro.
26718 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26719 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26720 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26721 * sysdeps/x86_64/wcslen.S: New file.
26723 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26725 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26726 XMM-moves are used for copying on small sizes.
26728 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26730 * wcsmbs/Makefile (strop-tests): Add wcschr.
26731 * wcsmbs/test-wcschr.c: New file.
26732 * string/test-strchr.c: Update.
26733 Add wcschr support.
26736 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26738 * wcsmbs/Makefile (strop-tests): Add wcslen.
26739 * wcsmbs/test-wcslen.c: New file.
26740 * string/test-strlen.c: Update.
26741 Add wcslen support.
26744 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26746 * po/it.po: Update from translation team.
26748 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26750 * sysdeps/x86_64/wcscmp.S: Update.
26751 Fix wrong comparison semantics.
26752 wcscmp shall use signed comparison not unsigned.
26753 Don't use substraction to avoid overflow bug.
26754 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26755 * wcsmbc/wcscmp.c: Likewise.
26756 * string/test-strcmp.c: Likewise.
26757 Add new tests to check cases with negative values.
26759 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26761 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26762 * sysdeps/x86_64/dla.h: ...here. New file.
26763 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26773 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26776 __ynl_finite aliases.
26778 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26782 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26784 [DLA_FMA] (EMULV): Use DLA_FMA.
26785 [DLA_FMA] (MUL12): Use EMULV.
26786 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26787 that are not needed.
26788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26796 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26798 * math/s_nan.c: Undef __nan.
26799 * math/s_nanf.c: Undef __nanf.
26800 * math/s_nanl.c: Undef __nanl.
26801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26804 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26806 * math/s_catan.c: Add branch predictions.
26807 * math/s_catanf.c: Likewise.
26808 * math/s_catanh.c: Likewise.
26809 * math/s_catanhf.c: Likewise.
26810 * math/s_catanhl.c: Likewise.
26811 * math/s_catanl.c: Likewise.
26812 * math/s_cexp.c: Likewise.
26813 * math/s_cexpf.c: Likewise.
26814 * math/s_cexpl.c: Likewise.
26815 * math/s_clog.c: Likewise.
26816 * math/s_clog10.c: Likewise.
26817 * math/s_clog10f.c: Likewise.
26818 * math/s_clog10l.c: Likewise.
26819 * math/s_clogf.c: Likewise.
26820 * math/s_clogl.c: Likewise.
26821 * math/s_csqrt.c: Likewise.
26822 * math/s_csqrtf.c: Likewise.
26823 * math/s_csqrtl.c: Likewise.
26824 * math/s_ctanf.c: Likewise.
26825 * math/s_ctanh.c: Likewise.
26826 * math/s_ctanhf.c: Likewise.
26827 * math/s_ctanhl.c: Likewise.
26828 * math/s_ctanl.c: Likewise.
26830 * math/math_private.h: Define __nan, __nanf, __nanl.
26831 * math/s_cacosh.c: Include <math_private.h>.
26832 * math/s_cacoshl.c: Likewise.
26833 * math/s_casinh.c: Likewise.
26834 * math/s_casinhf.c: Likewise.
26835 * math/s_casinhl.c: Likewise.
26836 * math/s_ccos.c: Rely entire on ccosh.
26837 * math/s_ccosf.c: Rely entire on ccoshf.
26838 * math/s_ccosl.c: Rely entirely on ccoshl.
26839 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26840 Remove tests for FE_INVALID.
26841 * math/s_ccoshf.c: Likewise.
26842 * math/s_ccoshl.c: Likewise.
26843 * math/s_csin.c: Likewise.
26844 * math/s_csinf.c: Likewise.
26845 * math/s_csinh.c Likewise.
26846 * math/s_csinhf.c: Likewise.
26847 * math/s_csinhl.c: Likewise.
26848 * math/s_csinl.c: Likewise.
26849 * math/s_ctan.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26851 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26852 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26854 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26857 compilation problems.
26859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26862 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26864 * sysdeps/i386/configure.in: Test for -mfma4 option.
26865 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26866 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26867 COMMON_CPUID_INDEX_80000001.
26868 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26869 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26870 use it if FMA3 is not supported.
26871 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26873 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26874 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26876 2011-10-20 Andreas Schwab <schwab@redhat.com>
26879 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26880 it would create a cycle with a link time dependency.
26882 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26884 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26886 * string/Makefile (strop-tests): Add rawmemchr.
26887 * string/test-rawmemchr.c: New file.
26889 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26891 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26892 when compiling str{,n}casecmp and when AVX is available. Hook up
26893 new optimized code in initializers.
26895 2011-10-19 Andreas Schwab <schwab@redhat.com>
26897 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26898 __feraiseexcept instead of feraiseexcept.
26900 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26902 * math/math_private.h: Define defaults for libc_fetestexcept and
26904 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26905 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26906 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26907 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26908 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26909 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26910 libc_fetestexcept and libc_feupdateenv.
26912 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26913 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26914 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26915 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26916 libc_feholdexcept_setround.
26918 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26919 Add s_nearbyint-c and s_nearbyintf-c.
26920 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26921 nearbyintf inlines.
26922 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26923 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26924 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26925 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26927 * math/math_private.h: Define defaults for libc_fegetround,
26928 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26929 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26930 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26931 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26932 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26933 standard functions.
26934 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26935 Remove comments and hacks for old compiler versions.
26936 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26937 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26938 libc_feholdexceptl.
26940 2011-10-18 Andreas Schwab <schwab@redhat.com>
26942 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26943 (__feraiseexcept_renamed): Add __NTH.
26944 (feraiseexcept): Add __NTH. Rename local variables to fix
26945 namespace violations.
26947 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26949 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26953 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26954 recently added interfaces.
26955 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26957 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26958 about macro parameter expansion.
26960 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26961 __NO_MATH_INLINES is defined. Cleanups.
26963 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26964 and __floorf is target has SSE4.1.
26965 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26966 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26967 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26968 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26970 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26972 (floorf): Likewise.
26974 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26976 2011-10-17 Andreas Schwab <schwab@redhat.com>
26978 * misc/sys/cdefs.h: Fix last change.
26980 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26983 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26985 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26987 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26993 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26994 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26995 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26996 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26997 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26998 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26999 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27000 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27001 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27002 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27003 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27004 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27005 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27006 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27007 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27008 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27010 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27011 ceil, ceilf, floor, floorf.
27013 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27014 Perform IRELATIVE relocations last.
27016 * elf/do-rel.h: Add another parameter nrelative, replacing the
27017 local variable with the same name. Change name of the function
27018 to end in Rel or Rela (uppercase).
27019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27020 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27021 elf_dynamic_do_##reloc function.
27023 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27025 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27026 is sufficient, at least on modern CPUs.
27028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27030 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27031 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27033 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27035 * math/bits/math-finite.h: Add entries for exp.
27036 * math/e_expl.c: Add __*_finite alias.
27037 * sysdeps/i386/fpu/e_exp.S: Likewise.
27038 * sysdeps/i386/fpu/e_expf.S: Likewise.
27039 * sysdeps/i386/fpu/e_expl.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27041 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27045 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27046 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27048 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27049 is sufficient, at least on modern CPUs.
27051 * ctype/ctype-info.c (__ctype_init): Define.
27052 * include/ctype.h (__ctype_init): Declare.
27053 (__ctype_b_loc): The variable is always initialized.
27054 (__ctype_toupper_loc): Likewise.
27055 (__ctype_tolower_loc): Likewise.
27056 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27057 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27059 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27061 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27063 * configure.in: Also look in $cxxmachine/include for C++ system
27066 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27068 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27069 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27070 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27071 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27072 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27073 (USE_AS_WMEMCMP): New macro.
27075 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27076 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27077 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27078 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27080 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27081 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27082 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27083 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27084 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27085 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27086 (USE_AS_WMEMCMP): New macro.
27087 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27088 * sysdeps/string/test-memcmp.c: Update.
27089 Fix simple_wmemcmp.
27091 * wcsmbs/wmemcmp.c: Update.
27092 (WMEMCMP): New macro.
27095 2011-10-12 Andreas Jaeger <aj@suse.de>
27098 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27100 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27102 * libio/iofwide.c (do_length): Avoid warning.
27104 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27106 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27108 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27110 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27111 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27112 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27113 * sysdeps/i386/i686/fpu/e_log.S: New file.
27114 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27115 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27117 * ctype/ctype.h: Add support for inlined isXXX functions when
27118 compiling C++ code.
27120 2011-10-14 Andreas Schwab <schwab@redhat.com>
27122 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27124 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27126 2011-10-13 Roland McGrath <roland@hack.frob.com>
27129 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27131 2011-10-13 Andreas Schwab <schwab@redhat.com>
27133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27134 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27137 * sysdeps/x86_64/memrchr.S: Check for zero size.
27139 * string/stratcliff.c: Add memrchr tests.
27141 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27144 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27145 rawmemchr-sse2 rawmemchr-sse2-bsf.
27146 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27147 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27148 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27149 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27150 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27151 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27152 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27153 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27154 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27155 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27156 * string/memrchr.c (MEMRCHR): New macro.
27158 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27160 Add integration with gcc's -ffinite-math-only and optimize wrapper
27162 * Versions.def: Define GLIBC_2.15 version for libm.
27163 * math/Makefile (headers): Add bits/math-finite.h.
27164 * math/bits/math-finite.h: New file.
27165 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27166 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27167 * math/e_acoshl.c: Add __*_finite alias.
27168 * math/e_acosl.c: Likewise.
27169 * math/e_asinl.c: Likewise.
27170 * math/e_atan2l.c: Likewise.
27171 * math/e_atanhl.c: Likewise.
27172 * math/e_coshl.c: Likewise.
27173 * math/e_exp10.c: Likewise.
27174 * math/e_exp10f.c: Likewise.
27175 * math/e_exp10l.c: Likewise.
27176 * math/e_exp2l.c: Likewise.
27177 * math/e_fmodl.c: Likewise.
27178 * math/e_gammal_r.c: Likewise.
27179 * math/e_hypotl.c: Likewise.
27180 * math/e_j0l.c: Likewise.
27181 * math/e_j1l.c: Likewise.
27182 * math/e_jnl.c: Likewise.
27183 * math/e_lgammal_r.c: Likewise.
27184 * math/e_log10l.c: Likewise.
27185 * math/e_log2l.c: Likewise.
27186 * math/e_logl.c: Likewise.
27187 * math/e_powl.c: Likewise.
27188 * math/e_sinhl.c: Likewise.
27189 * math/e_sqrtl.c: Likewise.
27190 * math/e_scalb.c: Completely rewritten and optimized.
27191 * math/e_scalbf.c: Likewise.
27192 * math/e_scalbl.c: Likewise.
27193 * math/w_acos.c: Likewise.
27194 * math/w_acosf.c: Likewise.
27195 * math/w_acosl.c: Likewise.
27196 * math/w_acosh.c: Likewise.
27197 * math/w_acoshf.c: Likewise.
27198 * math/w_acoshl.c: Likewise.
27199 * math/w_asin.c: Likewise.
27200 * math/w_asinf.c: Likewise.
27201 * math/w_asinl.c: Likewise.
27202 * math/w_atan2.c: Likewise.
27203 * math/w_atan2f.c: Likewise.
27204 * math/w_atan2l.c: Likewise.
27205 * math/w_atanh.c: Likewise.
27206 * math/w_atanhf.c: Likewise.
27207 * math/w_atanhl.c: Likewise.
27208 * math/w_exp10.c: Likewise.
27209 * math/w_exp10f.c: Likewise.
27210 * math/w_exp10l.c: Likewise.
27211 * math/w_fmod.c: Likewise.
27212 * math/w_fmodf.c: Likewise.
27213 * math/w_fmodl.c: Likewise.
27214 * math/w_j0.c: Likewise.
27215 * math/w_j0f.c: Likewise.
27216 * math/w_j0l.c: Likewise.
27217 * math/w_j1.c: Likewise.
27218 * math/w_j1f.c: Likewise.
27219 * math/w_j1l.c: Likewise.
27220 * math/w_jn.c: Likewise.
27221 * math/w_jnf.c: Likewise.
27222 * math/w_log.c: Likewise.
27223 * math/w_logf.c: Likewise.
27224 * math/w_logl.c: Likewise.
27225 * math/w_log10.c: Likewise.
27226 * math/w_log10f.c: Likewise.
27227 * math/w_log10l.c: Likewise.
27228 * math/w_log2.c: Likewise.
27229 * math/w_log2f.c: Likewise.
27230 * math/w_log2l.c: Likewise.
27231 * math/w_pow.c: Likewise.
27232 * math/w_powf.c: Likewise.
27233 * math/w_powl.c: Likewise.
27234 * math/w_remainder.c: Likewise.
27235 * math/w_remainderf.c: Likewise.
27236 * math/w_remainderl.c: Likewise.
27237 * math/w_scalb.c: Likewise.
27238 * math/w_scalbf.c: Likewise.
27239 * math/w_scalbl.c: Likewise.
27240 * math/w_sqrt.c: Likewise.
27241 * math/w_sqrtf.c: Likewise.
27242 * math/w_sqrtl.c: Likewise.
27243 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27244 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27246 * math/math_private.h: Declare __kernel_standard_f.
27247 * math/w_cosh.c: Remove cruft and optimize a bit.
27248 * math/w_coshf.c: Likewise.
27249 * math/w_coshl.c: Likewise.
27250 * math/w_exp2.c: Likewise.
27251 * math/w_exp2f.c: Likewise.
27252 * math/w_exp2l.c: Likewise.
27253 * math/w_hypot.c: Likewise.
27254 * math/w_hypotf.c: Likewise.
27255 * math/w_hypotl.c: Likewise.
27256 * math/w_lgamma.c: Likewise.
27257 * math/w_lgamma_r.c: Likewise.
27258 * math/w_lgammaf.c: Likewise.
27259 * math/w_lgammaf_r.c: Likewise.
27260 * math/w_lgammal.c: Likewise.
27261 * math/w_lgammal_r.c: Likewise.
27262 * math/w_sinh.c: Likewise.
27263 * math/w_sinhf.c: Likewise.
27264 * math/w_sinhl.c: Likewise.
27265 * math/w_tgamma.c: Likewise.
27266 * math/w_tgammaf.c: Likewise.
27267 * math/w_tgammal.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27270 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27271 Minor optimizations. Pretty printing. Remove cruft.
27272 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27273 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27274 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27275 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27276 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27277 * sysdeps/i386/fpu/e_asin.S: Likewise.
27278 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27279 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27280 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27281 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27282 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27283 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27284 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27285 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27286 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27287 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27288 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27289 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27290 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27291 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27292 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27293 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27294 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27295 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27296 * sysdeps/i386/fpu/e_log.S: Likewise.
27297 * sysdeps/i386/fpu/e_log10.S: Likewise.
27298 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27300 * sysdeps/i386/fpu/e_log2.S: Likewise.
27301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27302 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27303 * sysdeps/i386/fpu/e_logf.S: Likewise.
27304 * sysdeps/i386/fpu/e_logl.S: Likewise.
27305 * sysdeps/i386/fpu/e_pow.S: Likewise.
27306 * sysdeps/i386/fpu/e_powf.S: Likewise.
27307 * sysdeps/i386/fpu/e_powl.S: Likewise.
27308 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27309 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27310 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27311 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27312 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27313 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27314 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27315 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27316 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27325 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27326 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27327 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27328 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27330 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27331 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27338 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27340 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27341 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27342 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27343 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27344 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27345 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27346 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27347 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27348 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27349 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27350 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27351 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27352 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27353 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27354 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27355 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27356 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27357 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27358 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27369 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27370 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27371 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27372 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27373 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27374 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27377 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27385 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27394 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27398 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27400 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27402 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27403 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27405 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27408 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27409 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27410 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27411 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27412 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27413 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27414 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27415 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27416 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27417 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27418 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27419 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27420 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27422 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27424 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27425 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27426 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27427 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27428 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27429 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27430 (__isnanf): Likewise.
27431 (__isinf_ns): Likewise.
27432 (__isinf_nsf): Likewise.
27433 (__finite): Likewise.
27434 (__finitef): Likewise.
27435 (__ieee754_sqrt): Define as macro.
27436 (__ieee754_sqrtf): Define as macro.
27437 (__ieee754_sqrtl): Define as macro.
27438 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27440 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27441 __FINITE_MATH_ONLY__ consistent.
27442 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27444 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27446 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27449 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27451 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27453 * po/ja.po: Update from translation team.
27455 2011-10-08 Roland McGrath <roland@hack.frob.com>
27457 * locale/programs/locarchive.c (prepare_address_space): New function.
27458 (create_archive, enlarge_archive, open_archive): Use it.
27460 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27461 inside [SHARED], where it is used.
27463 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27465 * nss/getent.c (netgroup_keys): Remove unused variable.
27466 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27468 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27470 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27471 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27473 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27474 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27475 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27476 * math/Makefile (libm-calls): Add s_isinf_ns.
27477 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27478 * math/multc3.c: Likewise.
27479 * math/s_casin.c: Likewise.
27480 * math/s_casinf.c: Likewise.
27481 * math/s_casinl.c: Likewise.
27482 * math/s_ccos.c: Likewise.
27483 * math/s_ccosf.c: Likewise.
27484 * math/s_ccosl.c: Likewise.
27485 * math/s_ctan.c: Likewise.
27486 * math/s_ctanf.c: Likewise.
27487 * math/s_ctanh.c: Likewise.
27488 * math/s_ctanhf.c: Likewise.
27489 * math/s_ctanhl.c: Likewise.
27490 * math/s_ctanl.c: Likewise.
27491 * math/w_fmod.c: Likewise.
27492 * math/w_fmodf.c: Likewise.
27493 * math/w_fmodl.c: Likewise.
27494 * math/w_remainder.c: Likewise.
27495 * math/w_remainderf.c: Likewise.
27496 * math/w_remainderl.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27498 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27501 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27502 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27503 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27504 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27506 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27508 * stdio-common/printf_fphex.c: Likewise.
27509 * stdio-common/printf_size.c: Likewise.
27511 * math/e_exp10.c: Include math_private.h using <...> not "...".
27512 * math/e_exp10f.c: Likewise.
27513 * math/e_exp10l.c: Likewise.
27514 * math/e_exp2l.c: Likewise.
27515 * math/e_j0l.c: Likewise.
27516 * math/e_j1l.c: Likewise.
27517 * math/e_jnl.c: Likewise.
27518 * math/e_lgammal_r.c: Likewise.
27519 * math/e_rem_pio2l.c: Likewise.
27520 * math/e_scalb.c: Likewise.
27521 * math/e_scalbf.c: Likewise.
27522 * math/e_scalbl.c: Likewise.
27523 * math/k_cosl.c: Likewise.
27524 * math/k_sinl.c: Likewise.
27525 * math/k_tanl.c: Likewise.
27526 * math/s_cacoshf.c: Likewise.
27527 * math/s_catan.c: Likewise.
27528 * math/s_catanf.c: Likewise.
27529 * math/s_catanh.c: Likewise.
27530 * math/s_catanhf.c: Likewise.
27531 * math/s_catanhl.c: Likewise.
27532 * math/s_catanl.c: Likewise.
27533 * math/s_ccosh.c: Likewise.
27534 * math/s_ccoshf.c: Likewise.
27535 * math/s_ccoshl.c: Likewise.
27536 * math/s_cexp.c: Likewise.
27537 * math/s_cexpf.c: Likewise.
27538 * math/s_cexpl.c: Likewise.
27539 * math/s_clog.c: Likewise.
27540 * math/s_clog10.c: Likewise.
27541 * math/s_clog10f.c: Likewise.
27542 * math/s_clog10l.c: Likewise.
27543 * math/s_clogf.c: Likewise.
27544 * math/s_clogl.c: Likewise.
27545 * math/s_csin.c: Likewise.
27546 * math/s_csinf.c: Likewise.
27547 * math/s_csinh.c: Likewise.
27548 * math/s_csinhf.c: Likewise.
27549 * math/s_csinhl.c: Likewise.
27550 * math/s_csinl.c: Likewise.
27551 * math/s_csqrt.c: Likewise.
27552 * math/s_csqrtf.c: Likewise.
27553 * math/s_csqrtl.c: Likewise.
27554 * math/s_ctan.c: Likewise.
27555 * math/s_ctanf.c: Likewise.
27556 * math/s_ctanh.c: Likewise.
27557 * math/s_ctanhf.c: Likewise.
27558 * math/s_ctanhl.c: Likewise.
27559 * math/s_ctanl.c: Likewise.
27560 * math/s_ldexp.c: Likewise.
27561 * math/s_ldexpf.c: Likewise.
27562 * math/s_ldexpl.c: Likewise.
27563 * math/s_significand.c: Likewise.
27564 * math/s_significandf.c: Likewise.
27565 * math/s_significandl.c: Likewise.
27566 * math/w_acos.c: Likewise.
27567 * math/w_acosf.c: Likewise.
27568 * math/w_acosh.c: Likewise.
27569 * math/w_acoshf.c: Likewise.
27570 * math/w_acoshl.c: Likewise.
27571 * math/w_acosl.c: Likewise.
27572 * math/w_asin.c: Likewise.
27573 * math/w_asinf.c: Likewise.
27574 * math/w_asinl.c: Likewise.
27575 * math/w_atan2.c: Likewise.
27576 * math/w_atan2f.c: Likewise.
27577 * math/w_atan2l.c: Likewise.
27578 * math/w_atanh.c: Likewise.
27579 * math/w_atanhf.c: Likewise.
27580 * math/w_atanhl.c: Likewise.
27581 * math/w_cosh.c: Likewise.
27582 * math/w_coshf.c: Likewise.
27583 * math/w_coshl.c: Likewise.
27584 * math/w_dremf.c: Likewise.
27585 * math/w_exp10.c: Likewise.
27586 * math/w_exp10f.c: Likewise.
27587 * math/w_exp10l.c: Likewise.
27588 * math/w_exp2.c: Likewise.
27589 * math/w_exp2f.c: Likewise.
27590 * math/w_fmod.c: Likewise.
27591 * math/w_fmodf.c: Likewise.
27592 * math/w_fmodl.c: Likewise.
27593 * math/w_hypot.c: Likewise.
27594 * math/w_hypotf.c: Likewise.
27595 * math/w_hypotl.c: Likewise.
27596 * math/w_j0.c: Likewise.
27597 * math/w_j0f.c: Likewise.
27598 * math/w_j0l.c: Likewise.
27599 * math/w_j1.c: Likewise.
27600 * math/w_j1f.c: Likewise.
27601 * math/w_j1l.c: Likewise.
27602 * math/w_jn.c: Likewise.
27603 * math/w_jnf.c: Likewise.
27604 * math/w_jnl.c: Likewise.
27605 * math/w_lgamma.c: Likewise.
27606 * math/w_lgamma_r.c: Likewise.
27607 * math/w_lgammaf.c: Likewise.
27608 * math/w_lgammaf_r.c: Likewise.
27609 * math/w_lgammal.c: Likewise.
27610 * math/w_lgammal_r.c: Likewise.
27611 * math/w_log.c: Likewise.
27612 * math/w_log10.c: Likewise.
27613 * math/w_log10f.c: Likewise.
27614 * math/w_log10l.c: Likewise.
27615 * math/w_log2.c: Likewise.
27616 * math/w_log2f.c: Likewise.
27617 * math/w_log2l.c: Likewise.
27618 * math/w_logf.c: Likewise.
27619 * math/w_logl.c: Likewise.
27620 * math/w_pow.c: Likewise.
27621 * math/w_powf.c: Likewise.
27622 * math/w_powl.c: Likewise.
27623 * math/w_remainder.c: Likewise.
27624 * math/w_remainderf.c: Likewise.
27625 * math/w_remainderl.c: Likewise.
27626 * math/w_scalb.c: Likewise.
27627 * math/w_scalbf.c: Likewise.
27628 * math/w_scalbl.c: Likewise.
27629 * math/w_sinh.c: Likewise.
27630 * math/w_sinhf.c: Likewise.
27631 * math/w_sinhl.c: Likewise.
27632 * math/w_sqrt.c: Likewise.
27633 * math/w_sqrtf.c: Likewise.
27634 * math/w_sqrtl.c: Likewise.
27635 * math/w_tgamma.c: Likewise.
27636 * math/w_tgammaf.c: Likewise.
27637 * math/w_tgammal.c: Likewise.
27639 * po/ja.po: Update from translation team.
27641 2011-09-29 Andreas Jaeger <aj@suse.de>
27644 * sunrpc/netname.c (netname2host): Fix logic.
27648 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27650 * math/w_remainder.c (__remainder): Likewise.
27651 * math/w_remainderf.c (__remainderf): Likewise.
27652 * math/libm-test.inc (remainder_test): Add test cases.
27654 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27656 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27659 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27661 * string/test-memcmp.c: Avoid unncessary #defines.
27662 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27664 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27666 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27667 Use new sse2 version for core i3 - i7 as it's faster
27668 than sse42 version.
27669 (bit_Prefer_PMINUB_for_stringop): New.
27670 * sysdeps/x86_64/rawmemchr.S: Update.
27671 Replace with faster SSE2 version.
27672 * sysdeps/x86_64/memrchr.S: New file.
27673 * sysdeps/x86_64/memchr.S: Update.
27674 Replace with faster SSE2 version.
27676 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27678 * elf/dl-load.c (lose): Add cast to avoid warning.
27680 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27682 * po/ca.po: Update from translation team.
27684 * inet/getnetgrent_r.c: Hook up nscd.
27685 * nscd/Makefile (routines): Add nscd_netgroup.
27686 (nscd-modules): Add netgroupcache.
27687 (CFLAGS-netgroupcache.c): Define.
27688 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27689 (cache_search): Add const to second parameter.
27690 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27692 (dbs): Add netgrdb entry.
27693 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27694 (verify_persistent_db): Handle netgrdb.
27695 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27696 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27698 (netgroup_response_header): Define.
27699 (innetgroup_response_header): Define.
27700 (datahead): Add netgroup_response_header and innetgroup_response_header
27702 * nscd/nscd.conf: Add entries for netgroup cache.
27703 * nscd/nscd.h (dbtype): Add netgrdb.
27704 (_PATH_NSCD_NETGROUP_DB): Define.
27705 (netgroup_iov_disabled): Declare.
27706 (xmalloc, xcalloc, xrealloc): Move declarations here.
27707 (cache_search): Adjust prototype.
27708 Add netgroup-related prototypes.
27709 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27710 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27711 (__nscd_innetgr): Declare.
27712 * nscd/selinux.c (perms): Use access_vector_t as element type and
27713 add netgroup-related initializers.
27714 * nscd/netgroupcache.c: New file.
27715 * nscd/nscd_netgroup.c: New file.
27716 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27717 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27718 For four parameters use innetgr.
27719 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27720 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27721 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27722 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27724 * nscd/connections.c (register_traced_file): Don't register file
27725 for disabled databases.
27727 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27729 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27731 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27732 from tree and freeing node.
27734 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27736 * nss/nsswitch.c (__nss_database_lookup): Handle
27737 nss_parse_service_list out of memory case.
27739 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27741 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27742 out of memory case.
27744 2011-10-04 Andreas Schwab <schwab@redhat.com>
27746 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27747 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27749 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27750 elf_machine_rela, elf_machine_lazy_rel.
27751 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27752 (ELF_DYNAMIC_DO_REL): Likewise.
27753 (ELF_DYNAMIC_DO_RELA): Likewise.
27754 (ELF_DYNAMIC_RELOCATE): Likewise.
27755 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27756 to ELF_DYNAMIC_DO_REL.
27757 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27758 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27759 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27762 skip_ifunc, don't call ifunc function if non-zero.
27763 (elf_machine_rela): Likewise.
27764 (elf_machine_lazy_rel): Likewise.
27765 (elf_machine_lazy_rela): Likewise.
27766 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27767 (elf_machine_lazy_rel): Likewise.
27768 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27770 (elf_machine_lazy_rel): Likewise.
27771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27773 (elf_machine_lazy_rel): Likewise.
27774 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27775 (elf_machine_lazy_rel): Likewise.
27776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27777 (elf_machine_lazy_rel): Likewise.
27778 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27779 (elf_machine_lazy_rel): Likewise.
27780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27781 (elf_machine_lazy_rel): Likewise.
27782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27783 (elf_machine_lazy_rel): Likewise.
27784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27785 (elf_machine_lazy_rel): Likewise.
27787 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27789 * nss/nss_files/files-init.c (_nss_files_init): Use static
27790 initialization for all the *_traced_file variables.
27792 2011-09-28 Andreas Schwab <schwab@redhat.com>
27794 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27796 2011-09-27 Roland McGrath <roland@hack.frob.com>
27799 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27801 2011-09-27 Andreas Schwab <schwab@redhat.com>
27803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27804 Reread the line before reparsing it.
27806 2011-09-26 Andreas Schwab <schwab@redhat.com>
27808 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27810 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27811 Maxim Kuvyrkov <maxim@codesourcery.com>
27812 Joseph Myers <joseph@codesourcery.com>
27814 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27815 if needed for __stack_chk_guard.
27817 2011-09-19 Roland McGrath <roland@hack.frob.com>
27819 * sysdeps/posix/spawni.c (script_execute): Always define it.
27820 It will be optimized away if unused.
27821 (maybe_script_execute): New function.
27822 (__spawni): Call it.
27824 * Makerules: Don't include tls.make.
27825 (config-tls): Always set to thread.
27826 * tls.make.c: File removed.
27828 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27830 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27831 * config.make.in (CPPFLAGS-config): New substituted variable.
27833 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27838 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27839 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27841 2011-09-15 Roland McGrath <roland@hack.frob.com>
27843 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27844 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27846 (CALL_FAIL): Likewise.
27847 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27848 (CALL_FAIL): Macro removed.
27849 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27851 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27853 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27854 for __FINITE_MATH_ONLY__ == 1.
27856 2011-09-15 Andreas Schwab <schwab@redhat.com>
27858 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27859 __ieee754_sqrt instead of sqrt.
27860 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27861 __ieee754_sqrtf instead of sqrtf.
27862 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27863 __floorf instead of floorf.
27864 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27865 __floorf, __truncf instead of floorf, truncf.
27867 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27869 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27871 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27872 __extern_always_inline.
27873 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27876 2011-09-14 Andreas Schwab <schwab@redhat.com>
27878 * elf/rtld.c (dl_main): Also relocate in dependency order when
27879 doing symbol dependency testing.
27881 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27884 Always define `refsym'.
27886 2011-09-13 Andreas Schwab <schwab@redhat.com>
27888 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27889 (__FD_ELT): Renamed from __FDELT.
27890 * misc/bits/select2.h (__FD_ELT): Likewise.
27891 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27892 __FD_MASK instead of __FDELT, __FDMASK.
27893 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27895 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27898 * elf/Makefile (gen-ldd): Fix pattern.
27900 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27901 (init_tls): Likewise.
27903 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27907 2011-09-12 Andreas Schwab <schwab@redhat.com>
27909 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27910 `struct cmsghdr *' instead of `void *'.
27911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27914 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27916 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27918 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27919 ldd_rewrite_script.
27921 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27923 * configure.in: Remove --with-tls option.
27924 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27925 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27926 out in case it is missing.
27927 * sysdeps/ia64/elf/configure.in: Likewise.
27928 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27929 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27930 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27931 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27932 * sysdeps/sh/elf/configure.in: Likewise.
27933 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27934 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27935 * sysdeps/x86_64/elf/configure.in: Likewise.
27936 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27937 * sysdeps/mach/hurd/tls.h: Likewise.
27940 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27943 * configure.in: Fix use of AC_INIT.
27945 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27947 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27949 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27951 * malloc/hooks.c: Likewise.
27954 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27955 variables statically.
27956 (narenas): Initialize.
27957 (list_lock): Initialize.
27958 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27959 initializtion of main_arena and list_lock. Small cleanups.
27960 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27961 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27962 Add initializers to main_arena and mp_.
27963 (malloc_state): Remove pagesize member. Change all users to use
27966 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27967 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27968 is always initialized.
27970 * malloc/malloc.c: Removed unused configurations and dead code.
27971 * malloc/arena.c: Likewise.
27972 * malloc/hooks.c: Likewise.
27973 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27975 * include/tls.h: Removed. USE___THREAD must always be defined.
27976 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27977 * elf/dl-libc.c: Likewise.
27978 * elf/dl-tsd.c: Likewise.
27979 * include/errno.h: Likewise.
27980 * include/netdb.h: Likewise.
27981 * include/resolv.h: Likewise.
27982 * inet/herrno-loc.c: Likewise.
27983 * inet/herrno.c: Likewise.
27984 * malloc/arena.c: Likewise.
27985 * malloc/hooks.c: Likewise.
27986 * malloc/malloc.c: Likewise.
27987 * resolv/res-state.c: Likewise.
27988 * resolv/res_libc.c: Likewise.
27989 * sysdeps/i386/dl-machine.h: Likewise.
27990 * sysdeps/ia64/dl-machine.h: Likewise.
27991 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27992 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27993 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27994 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27995 * sysdeps/sh/dl-machine.h: Likewise.
27996 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27997 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27998 * sysdeps/unix/i386/sysdep.S: Likewise.
27999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28000 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28002 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28005 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28009 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28010 * sysdeps/x86_64/dl-machine.h: Likewise.
28011 * tls.make.c: Likewise.
28013 * configure.in: Remove --with-__thread option. Make tests for
28014 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28015 tls_model attribute fail if no support is available. Remove
28017 * Makeconfig: Adjust for dropped configure option. All features are
28019 * Makerules: Likewise.
28020 * Versions.def: Likewise.
28021 * argp/argp-fmtstream.c: Likewise.
28022 * argp/argp-fmtstream.h: Likewise.
28023 * argp/argp-help.c: Likewise.
28024 * assert/assert.c: Likewise.
28025 * config.h.in: Likewise.
28026 * config.make.in: Likewise.
28027 * configure: Likewise.
28028 * configure.in: Likewise.
28029 * csu/Versions: Likewise.
28030 * csu/init.c: Likewise.
28031 * elf/tst-audit2.c: Likewise.
28032 * elf/tst-tls10.c: Likewise.
28033 * elf/tst-tls10.h: Likewise.
28034 * elf/tst-tls11.c: Likewise.
28035 * elf/tst-tls12.c: Likewise.
28036 * elf/tst-tls14.c: Likewise.
28037 * elf/tst-tlsmod11.c: Likewise.
28038 * elf/tst-tlsmod12.c: Likewise.
28039 * elf/tst-tlsmod13.c: Likewise.
28040 * elf/tst-tlsmod13a.c: Likewise.
28041 * elf/tst-tlsmod14a.c: Likewise.
28042 * elf/tst-tlsmod15b.c: Likewise.
28043 * elf/tst-tlsmod16a.c: Likewise.
28044 * elf/tst-tlsmod16b.c: Likewise.
28045 * elf/tst-tlsmod7.c: Likewise.
28046 * elf/tst-tlsmod8.c: Likewise.
28047 * elf/tst-tlsmod9.c: Likewise.
28048 * gmon/gmon.c: Likewise.
28049 * grp/fgetgrent_r.c: Likewise.
28050 * grp/putgrent.c: Likewise.
28051 * hurd/fopenport.c: Likewise.
28052 * include/libc-symbols.h: Likewise.
28053 * include/tls.h: Likewise.
28054 * intl/gettextP.h: Likewise.
28055 * intl/loadinfo.h: Likewise.
28056 * locale/global-locale.c: Likewise.
28057 * locale/localeinfo.h: Likewise.
28058 * mach/devstream.c: Likewise.
28059 * malloc/arena.c: Likewise.
28060 * malloc/set-freeres.c: Likewise.
28061 * misc/err.c: Likewise.
28062 * misc/getttyent.c: Likewise.
28063 * misc/mntent_r.c: Likewise.
28064 * posix/getopt.c: Likewise.
28065 * posix/wordexp.c: Likewise.
28066 * pwd/fgetpwent_r.c: Likewise.
28067 * resolv/Versions: Likewise.
28068 * resolv/res_hconf.c: Likewise.
28069 * shadow/fgetspent_r.c: Likewise.
28070 * shadow/putspent.c: Likewise.
28071 * stdio-common/printf_fphex.c: Likewise.
28072 * stdio-common/tmpfile.c: Likewise.
28073 * stdlib/abort.c: Likewise.
28074 * stdlib/fmtmsg.c: Likewise.
28075 * sunrpc/auth_unix.c: Likewise.
28076 * sunrpc/clnt_perr.c: Likewise.
28077 * sunrpc/clnt_tcp.c: Likewise.
28078 * sunrpc/clnt_udp.c: Likewise.
28079 * sunrpc/clnt_unix.c: Likewise.
28080 * sunrpc/openchild.c: Likewise.
28081 * sunrpc/svc_simple.c: Likewise.
28082 * sunrpc/svc_tcp.c: Likewise.
28083 * sunrpc/svc_udp.c: Likewise.
28084 * sunrpc/svc_unix.c: Likewise.
28085 * sunrpc/xdr.c: Likewise.
28086 * sunrpc/xdr_array.c: Likewise.
28087 * sunrpc/xdr_rec.c: Likewise.
28088 * sunrpc/xdr_ref.c: Likewise.
28089 * sunrpc/xdr_stdio.c: Likewise.
28091 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28093 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28095 2011-07-03 Andreas Jaeger <aj@suse.de>
28097 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28098 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28099 regenerate with gen-libm-tests.pl.
28101 2010-05-12 Petr Baudis <pasky@suse.cz>
28104 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28105 around j0() zero points by switching to j1().
28106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28111 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28113 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28115 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28118 Patch in part by Pavel Roskin <proski@gnu.org>.
28121 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28123 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28124 Free memory block if necessary.
28127 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28128 be NULL. Don't lock in this case.
28130 2011-09-09 Roland McGrath <roland@hack.frob.com>
28132 * elf/elf.h (ELFOSABI_GNU): New macro.
28133 (ELFOSABI_LINUX): Define to that.
28135 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28137 * string/strncat.c (strncat): Undef the symbol in case it has been
28138 defined in bits/string.h.
28140 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28142 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28144 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28147 2011-08-17 Andreas Jaeger <aj@suse.de>
28149 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28151 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28152 Ian Lance Taylor <iant@google.com>
28154 * math/libm-test.inc (lround_test): New testcase.
28155 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28157 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28159 * Makefile: Remove support for automatic cvs check-ins.
28160 * Makerules: Likewise.
28161 * config.make.in: Likewise.
28162 * configure.in: Likewise.
28163 * intl/Makefile: Likewise.
28164 * locale/Makefile: Likewise.
28165 * po/Makefile: Likewise.
28166 * posix/Makefile: Likewise.
28167 * sysdeps/gnu/Makefile: Likewise.
28168 * sysdeps/mach/hurd/Makefile: Likewise.
28169 * sysdeps/sparc/sparc32/Makefile: Likewise.
28172 * posix/Makefile (bug-regex32-ENV): Define.
28173 Patch by John Stanley <jpsinthemix@verizon.net>.
28175 * misc/Makefile (headers): Add bits/select2.h.
28176 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28177 * misc/bits/select2.h: New file.
28178 * include/bits/select2.h: New file.
28179 * debug/Makefile (routines): Add fdelt_chk.
28180 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28181 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28183 * debug/fdelt_chk.c: New file.
28185 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28186 * wcsmbs/test-wmemcmp.c: Likewise.
28187 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28188 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28190 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28192 * string/Makefile (strop-tests): Add memcmp.
28193 * string/test-wmemcmp.c: New file.
28194 * string/test-memcmp.c: Add wmemcmp support.
28196 2011-09-08 Roland McGrath <roland@hack.frob.com>
28199 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28202 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28203 garbage value in a __mach_port_mod_refs call in the cases of the
28204 task-self and thread-self ports.
28206 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28208 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28210 2011-09-08 Andreas Schwab <schwab@redhat.com>
28212 * elf/dl-load.c (lose): Check for non-null L.
28214 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28216 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28218 * elf/dl-libc.c (dlerror_run): Pass back error code from
28222 * elf/dl-load.c (lose): Free l_origin if it is valid.
28224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28226 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28227 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28228 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28230 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28231 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28233 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28235 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28236 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28238 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28239 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28240 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28241 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28242 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28243 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28244 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28246 2011-08-15 Alan Modra <amodra@gmail.com>
28249 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28250 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28251 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28252 ppc_mcount to static-only-routines.
28253 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28255 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28256 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28258 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28260 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28261 for finite and infinity parameters.
28263 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28266 and add nop instructions for throughput optimization.
28267 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28269 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28271 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28272 aligned copy for power7 with vector-scalar instructions.
28273 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28275 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28280 2011-09-07 Andreas Schwab <schwab@redhat.com>
28283 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28286 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28288 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28289 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28290 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28291 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28294 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28297 Forgot to demangle the pointer.
28299 * sysdeps/i386/sysdep.h: Define atom_text_section.
28300 * sysdeps/x86_64/sysdep.h: Likewise.
28301 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28302 section with atom_text_section.
28303 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28304 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28305 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28307 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28310 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28311 already be defined. Change to take two parameters and don't assign
28312 result to variable. Adjust all users.
28313 Define INTERNAL_GETTIME if not already defined.
28314 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28317 HAVE_CLOCK_GETTIME_VSYSCALL.
28318 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28320 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28321 gettimeofday vsyscall, just use time.
28323 2011-09-06 Andreas Schwab <schwab@redhat.com>
28325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28328 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28330 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28334 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28336 syscall if possible.
28338 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28340 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28341 e_ident. Don't pass to find_mapsXX.
28342 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28344 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28347 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28348 * sysdeps/x86_64/multiarch/strchr.S: Update.
28349 Check bit_slow_BSF bit.
28350 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28351 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28352 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28354 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28357 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28359 (tryshell): Define.
28360 (__spawni): Change last parameter to be flag. Test
28361 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28362 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28363 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28364 * posix/spawni.c: Likewise.
28365 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28366 * posix/spawnp.c: Likewise. Change normal version to use
28367 SPAWN_XFLAGS_USE_PATH.
28368 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28369 SPAWN_XFLAGS_TRY_SHELL.
28372 * posix/glob.h: Remove gcc 1.x support.
28375 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28377 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28380 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28382 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28383 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28384 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28385 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28386 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28387 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28389 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28391 * sysdeps/x86_64/wcscmp.S: New file.
28393 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28394 wcscmp-c wcscmp-sse2
28395 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28396 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28397 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28398 * wcsmbs/wcscmp.c: Allow renaming.
28400 2011-09-05 David S. Miller <davem@davemloft.net>
28402 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28403 stack slot, rather than the struct return pointer slot.
28404 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28405 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28407 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28409 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28411 * po/ja.po: Update from translation team.
28414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28415 kernel in 64-bit binaries.
28417 2011-09-01 David S. Miller <davem@davemloft.net>
28419 * elf/elf.h (HWCAP_SPARC_*): Move to..
28420 * sysdeps/sparc/sysdep.h: this new file and add new values.
28421 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28422 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28423 _DL_HWCAP_COUNT to 24.
28424 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28426 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28427 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28428 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28430 instead of magic constants.
28431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28433 2011-08-31 David S. Miller <davem@davemloft.net>
28435 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28437 Reimplement to do errno handling inline.
28438 (SYSCALL_ERROR_HANDLER): New macro.
28439 (__SYSCALL_STRING): Do not do errno handling in asm.
28440 (__CLONE_SYSCALL_STRING): Delete.
28441 (__INTERNAL_SYSCALL_STRING): Delete.
28442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28443 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28444 (PSEUDO): Reimplement to do errno handling inline.
28445 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28446 (SYSCALL_ERROR_HANDLER): New macro.
28447 (__SYSCALL_STRING): Do not do errno handling in asm.
28448 (__CLONE_SYSCALL_STRING): Delete.
28449 (__INTERNAL_SYSCALL_STRING): Delete.
28450 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28451 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28453 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28454 (inline_syscall*): Add 'err' argument.
28455 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28456 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28457 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28458 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28460 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28461 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28463 2011-08-30 Andreas Schwab <schwab@redhat.com>
28465 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28467 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28469 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28472 2011-08-24 David S. Miller <davem@davemloft.net>
28474 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28476 2011-08-24 Andreas Schwab <schwab@redhat.com>
28478 * elf/Makefile: Add rules to build and run unload8 test.
28479 * elf/unload8.c: New file.
28480 * elf/unload8mod1.c: New file.
28481 * elf/unload8mod1x.c: New file.
28482 * elf/unload8mod2.c: New file.
28483 * elf/unload8mod3.c: New file.
28485 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28488 2011-08-23 David S. Miller <davem@davemloft.net>
28490 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28491 subtract stack bias.
28492 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28493 %sp not %fp in calculations.
28494 (_JMPBUF_UNWINDS_ADJ): Likewise.
28496 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28497 (aio_suspend): Call it to force an exception region around the
28498 AIO_MISC_WAIT() invocation.
28500 2011-08-23 Andreas Schwab <schwab@redhat.com>
28502 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28505 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28507 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28509 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28510 and <dl-machine.h>.
28511 (Elf64_FuncDesc): Remove.
28513 2011-08-22 David S. Miller <davem@davemloft.net>
28515 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28516 sigaltstack check, add missing cfi directives.
28517 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28518 missing cfi directives, and sigaltstack handling.
28520 2011-08-16 Andreas Schwab <schwab@redhat.com>
28523 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28524 object is seen twice.
28525 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28527 * elf/Makefile (distribute): Add tst-initorder2.c.
28528 (tests): Add tst-initorder2.
28529 (modules-names): Add tst-initorder2a tst-initorder2b
28530 tst-initorder2c tst-initorder2d. Add rules to build them.
28531 ($(objpfx)tst-initorder2.out): New rule.
28532 * elf/tst-initorder2.c: New file.
28533 * elf/tst-initorder2.exp: New file.
28535 2011-08-22 Andreas Schwab <schwab@redhat.com>
28537 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28539 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28540 dependencies back to end of function.
28542 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28543 $(elfobjdir)/ld.so.
28545 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28548 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28550 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28551 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28552 of __vdso_gettimeofday.
28553 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28554 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28556 (_libc_vdso_platform_setup): Remove initialization of
28557 __vdso_gettimeofday and __vdso_time.
28559 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28561 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28562 and fgetc_unlocked.
28563 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28566 * elf/dl-open.c (add_to_global): Report additions to the global scope
28567 for LD_DEBUG=scopes.
28568 (dl_open_worker): Also print scope of newly loaded dependencies.
28569 (_dl_show_scope): Indicate if there is no scope.
28572 * stdio-common/Makefile (tests): Add bug24.
28573 * stdio-common/bug24.c: New file.
28575 2011-08-19 Andreas Jaeger <aj@suse.de>
28578 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28579 non-existant file when using close-on-exec mode.
28581 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28584 the very first instruction.
28586 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28587 the CFI state in the end.
28588 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28589 inclusion of dl-trampoline.h.
28590 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28592 2011-08-19 Andreas Schwab <schwab@redhat.com>
28594 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28595 expectations for long double.
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28598 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28600 2011-08-14 David S. Miller <davem@davemloft.net>
28602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28603 artificual limit depends upon the system page size.
28605 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28607 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28608 * resolv/Makefile: Define CFLAGS-libresolv.
28610 2011-08-17 Andreas Schwab <schwab@redhat.com>
28612 * nss/makedb.c (compute_tables): Make variables used in nested
28615 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28617 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28618 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28619 if buffer was too small.
28621 * elf/pldd.c (main): Attach to all threads in the process.
28622 Rewrite /proc handling to use *at functions.
28624 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28626 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28627 specifies first scope to show.
28628 (dl_open_worker): Update callers. Move printing scope of new
28629 object to before the relocation.
28630 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28631 * sysdeps/generic/ldsodefs.h: Update declaration.
28633 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28634 string for the scope number.
28636 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28638 * nscd/servicescache.c (cache_addserv): Make sure written is always
28641 2011-08-14 Roland McGrath <roland@hack.frob.com>
28643 * sysdeps/i386/i486/bits/atomic.h
28644 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28645 statement expression, so as to suppress "set but not used" warning.
28646 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28648 * string/strncat.c (STRNCAT): Use prototype definition.
28650 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28651 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28653 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28654 (localedef-modules): Add localedef.
28655 (locale-modules): Add locale.
28657 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28658 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28659 to avoid a warning.
28661 2011-08-14 David S. Miller <davem@davemloft.net>
28663 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28664 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28666 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28668 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28669 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28670 * elf/rtld.c (dl_main): Set l_name of vDSO.
28671 Call _dl_show_scope when DL_DEBUG_SCOPES.
28672 (process_dl_debug): Recognize scopes flag and also set it for all.
28673 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28674 Declare _dl_show_scope.
28676 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28677 (do_dlopen): Pass caller_dlopen to dl_open.
28678 (__libc_dlopen_mode): Initialize caller_dlopen.
28680 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28681 of libc. Make tolower call locale-independent. Optimize a bit by
28682 using isdigit instead of isalnum.
28683 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28685 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28687 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28688 was a dependency or dynamically loaded.
28690 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28692 * intl/l10nflist.c: Allow architecture-specific pop function.
28693 * sysdeps/x86_64/l10nflist.c: New file.
28695 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28698 2011-08-10 Andreas Schwab <schwab@redhat.com>
28700 * include/dirent.h: Add libc_hidden_proto for scandirat and
28701 scandirat64. Don't declare __scandirat64.
28702 * dirent/scandirat.c: Add libc_hidden_def.
28703 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28704 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28706 2011-08-10 David S. Miller <davem@davemloft.net>
28708 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28714 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28716 * Versions.def [libc]: Add GLIBC_2.15.
28717 * dirent/Makefile (routines): Add scandirat and scandirat64.
28718 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28720 * dirent/dirent.h: Declare scandirat and scandirat64.
28721 * dirent/scandirat.c: New file.
28722 * dirent/scandirat64.c: New file.
28723 * sysdeps/wordsize-64/scandirat.c: New file.
28724 * sysdeps/wordsize-64/scandirat64.c: New file.
28725 * dirent/opendir.c: Define opendirat.
28726 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28728 * dirent/scandir64.c: Adjust for scandir.c change.
28729 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28730 __scandirat64, and __scandir_cancel_handler.
28731 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28732 additional parameter and use openat instead of open (outside of ld.so).
28733 Add new __opendir as wrapper around __opendirat.
28734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28735 here without requiring old scandirat implementation.
28737 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28739 * dirent/scandir.c (cancel_handler): Renamed to
28740 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28741 defined. Adjust users.
28742 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28745 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28747 * string/test-string.h (IMPL): Use __STRING to expand name and then
28750 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28753 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28755 * string/Makefile: Update.
28756 (strop-tests): Append strncat.
28757 * string/test-wcscmp.c: New file.
28758 New comprehensive test for wcscmp.
28759 * string/test-strcmp.c: Update.
28760 (WIDE): New define.
28762 2011-07-22 Andreas Schwab <schwab@redhat.com>
28764 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28767 2011-07-26 Andreas Schwab <schwab@redhat.com>
28769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28770 encoding to ACE if AI_IDN.
28772 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28775 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28777 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28780 Fix overflow bug in strncat.
28781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28783 * string/test-strncat.c: Update.
28784 Add new tests for checking overflow bugs.
28786 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28789 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28790 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28791 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28792 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28793 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28794 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28795 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28796 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28798 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28799 (USE_AS_STRCAT): Define.
28800 Add strcat and strncat support.
28801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28803 2011-07-25 Andreas Schwab <schwab@redhat.com>
28805 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28806 __n bigger than INT_MAX+1.
28807 (__strncmp_g): Likewise.
28809 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28811 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28812 * libio/stido.h: Likewise.
28814 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28819 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28826 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28831 (_dl_x86_64_save_sse): Likewise.
28833 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28837 (_dl_x86_64_save_sse): Likewise.
28839 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28841 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28843 2011-07-21 Andreas Schwab <schwab@redhat.com>
28845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28847 (_dl_x86_64_save_sse): Use correct AVX check.
28849 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28851 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28852 bug in strncpy/strncat.
28853 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28855 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28857 * string/tester.c (test_strcat): Add tests for different alignments
28858 of source and destination.
28859 (test_strncat): Likewise.
28861 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28864 * posix/glob.c (glob): Check passed in values before using them in
28865 expressions to avoid some overflows.
28866 (glob_in_dir): Likewise.
28869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28870 check for AVX enablement so that we don't crash with old kernels and
28872 * elf/tst-audit4.c: Add same checks here.
28873 * elf/tst-audit6.c: Likewise.
28875 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28877 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28879 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28881 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28883 * po/cs.po: Update from translation team.
28884 * po/bg.po: Likewise.
28886 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28888 * misc/sys/cdefs.h: Add support for const attribute.
28889 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28890 to gnu_dev_{major,minor,makedev} functions.
28892 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28894 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28896 2011-07-20 Andreas Schwab <schwab@redhat.com>
28898 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28901 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28904 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28905 register in order to avoid conflicts with the soft frame pointer
28906 being held in r11 when necessary.
28907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28908 (INTERNAL_VSYSCALL_NCS): Likewise.
28910 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28912 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28913 * elf/dl-fini.c (_dl_fini): Adjust caller.
28914 * elf/dl-close.c (_dl_close_worker): Likewise.
28915 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28917 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28919 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28920 "aux_cache->nlibs < 0".
28922 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28923 in the reload-count case.
28925 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28928 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28929 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28930 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28931 * sysdeps/x86_64/multiarch/strcat.S: New file.
28932 * sysdeps/x86_64/multiarch/strncat.S: New file.
28933 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28935 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28936 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28938 (USE_AS_STRCAT): Define.
28939 Add strcat and strncat support.
28940 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28942 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28943 * string/strncat.c: Update.
28944 (USE_AS_STRNCAT): Define.
28945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28946 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28948 * sysdeps/x86_64/multiarch/init-arch.h
28949 (bit_Prefer_PMINUB_for_stringop): New.
28950 (index_Prefer_PMINUB_for_stringop): Likewise.
28951 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28952 bit_Prefer_PMINUB_for_stringop.
28954 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28956 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28958 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28959 of casting of buffer.
28960 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28961 buffer32 and buffer64.
28962 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28963 writes instead of casting of buffer.
28964 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28966 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28969 2011-07-19 Andreas Schwab <schwab@redhat.com>
28971 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28973 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28975 * nscd/nscd.c (termination_handler): Don't do anything for a database
28976 if it has not yet been initialized.
28978 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28982 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28984 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28986 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28988 * po/nl.po: Update from translation team.
28989 * po/sv.po: Likewise.
28991 2011-07-16 Roland McGrath <roland@hack.frob.com>
28993 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28994 now disallowed by GCC.
28996 * configure.in (use-default-link): Default to yes if a test -shared
28997 link meets our qualifications.
28998 * configure: Regenerated.
29000 * config.make.in (output-format): New variable.
29001 * configure.in: Check for ld --print-output-format support.
29002 * configure: Regenerated.
29003 * Makerules ($(common-objpfx)format.lds)
29004 [$(output-format) != unknown]: Just use $(output-format),
29005 instead of the linker-script munging.
29007 2011-07-14 Roland McGrath <roland@hack.frob.com>
29009 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29010 of $(common-objpfx)shlib.lds.
29011 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29013 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29014 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29016 * configure.in (-z relro check): Adjust test code to add a large
29017 writable data section after it.
29018 * configure: Regenerated.
29020 2011-07-11 Roland McGrath <roland@hack.frob.com>
29022 * configure.in (-z relro check): Fix test code to make the variable
29024 * configure: Regenerated.
29026 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29028 * nscd/nscd.h (struct traced_file): Define.
29029 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29030 elements. Add traced_files.
29031 (inotify_fd): Declare.
29032 (register_traced_file): Declare.
29033 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29034 (inotify_fd): Export.
29035 (resolv_conf_descr): Remove.
29036 (nscd_init): Move inotify descriptor creation to main.
29037 Don't register files for notification here.
29038 (register_traced_file): New function.
29039 (invalidate_cache): Don't use reset_res to determine whether to call
29040 res_init, go through the list of registered files.
29041 (main_loop_poll): The inotify descriptors are now stored in the
29042 structures for the traced files.
29043 (main_loop_epoll): Likewise
29044 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29045 to __nss_disable_nscd.
29046 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29047 for a database anymore. Check the records for all the registered
29049 * nss/Makefile (libnss_files-routines): Add files-init.
29050 (libnss_db-routines): Add db-init.
29051 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29052 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29053 * nss/nss_db/db-init.c: New file.
29054 * nss/nss_files/files-init.c: New file.
29055 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29056 __nss_lookup_function.
29057 (__nss_lookup_function): Call nss_load_library.
29058 (nss_load_all_libraries): New function.
29059 (__nss_disable_nscd): Take parameter with callback function for files
29060 to register. Set is_nscd. Load all the DSOs for the NSS modules
29061 used for the cached services.
29062 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29063 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29064 options for features to all the files in nscd.
29066 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29068 2011-07-10 Roland McGrath <roland@hack.frob.com>
29070 * csu/elf-init.c (__libc_csu_init): Comment typo.
29072 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29074 * po/pl.po: Update from translation team.
29075 * po/ja.po: Likewise.
29076 * po/ru.po: Likewise.
29077 * po/ko.po: Likewise.
29078 * po/fr.po: Likewise.
29080 2011-07-09 Roland McGrath <roland@hack.frob.com>
29082 * configure.in (.ctors/.dtors header and trailer check):
29083 Use an empirical test on a built program.
29084 * configure: Regenerated.
29086 * configure.in (-z relro check): Use an empirical test on a built DSO.
29087 Detect, but do not require, on ia64.
29088 * configure: Regenerated.
29090 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29091 Update tests that use readelf to use $READELF instead.
29092 * configure: Regenerated.
29094 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29096 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29097 if the result is not used.
29099 2011-07-05 Andreas Jaeger <aj@suse.de>
29102 * stdlib/tst-strtod.c: Add testcase.
29104 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29106 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29107 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29108 The latter has a higher limit. Take additional parameter to pass to
29110 (__pathconf): Pass file to __statfs_link_max.
29111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29113 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29117 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29121 (__statfs_filesize_max): Likewise.
29122 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29124 2011-07-05 Andreas Jaeger <aj@suse.de>
29126 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29128 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29130 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29132 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29135 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29137 * Makefile (strop-tests): Add strncat.
29138 * string/test-strncat.c: New file.
29140 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29142 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29144 2011-06-21 Andreas Jaeger <aj@suse.de>
29146 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29147 Copy rule from iconvdata/Makefile.
29149 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29152 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29153 but no long options are defined, just return 'W'.
29155 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29158 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29160 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29162 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29164 (innetgr): Likewise.
29166 2011-07-05 Roland McGrath <roland@hack.frob.com>
29168 * config.make.in (install_root): Default to $(DESTDIR).
29170 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29172 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29174 2011-07-02 Roland McGrath <roland@hack.frob.com>
29176 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29178 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29179 containing directory rather than embedding absolute directory names.
29181 * scripts/check-local-headers.sh: Rewritten using awk.
29182 Match by word, not by line. Print error messages for matches.
29183 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29185 * Makerules [shlib-lds-flags empty]:
29186 ($(common-objpfx)libc_pic.opts): New target.
29187 ($(common-objpfx)libc_pic.os.clean): New target.
29188 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29190 * config.make.in (OBJCOPY): New variable.
29191 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29192 * configure: Regenerated.
29194 * config.make.in (use-default-link): New variable.
29195 * configure.in (use_default_link): Grok --with-default-link to set it.
29196 * configure: Regenerated.
29197 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29198 (shlib-lds, shlib-lds-flags): Define to empty.
29200 * Makerules (shlib-lds): New variable.
29201 (shlib-lds-flags): New variable.
29202 (build-shlib, build-moduile, build-module-asneeded): Use it.
29203 ($(common-objpfx)libc.so): Use $(shlib-lds).
29204 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29205 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29207 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29208 DT_FLAGS/DT_FLAGS_1 with zero flags.
29210 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29211 linker script munging.
29213 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29215 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29217 * crypt/sha512.c (sha512_process_block): Perform total addition using
29218 128-bit if possible.
29219 (__sha512_finish_ctx): Likewise.
29220 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29222 * crypt/sha256.c (SWAP64): Define.
29223 (sha256_process_block): Perform total addition using 64-bit if
29225 (__sha256_finish_ctx): Likewise.
29227 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29229 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29231 * nscd/hstcache.c (cache_addhst): Likewise.
29232 * nscd/grpcache.c (cache_addgr): Likewise.
29233 * nscd/aicache.c (addhstaiX): Likewise
29234 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29236 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29238 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29240 * nscd/hstcache.c (cache_addhst): Likewise.
29241 * nscd/grpcache.c (cache_addgr): Likewise.
29242 * nscd/aicache.c (addhstaiX): Likewise
29244 2011-07-01 Andreas Schwab <schwab@redhat.com>
29246 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29247 domain only when needed.
29249 2011-06-30 Andreas Schwab <schwab@redhat.com>
29251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29252 is always restored.
29254 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29256 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29257 are re-adding the entry.
29258 * nscd/servicescache.c (cache_addserv): Likewise.
29260 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29262 * sysdeps/generic/dl-irel.h: fix protection against multiple
29264 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29266 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29269 * malloc/memusage.sh: Fix quoting in message.
29270 * debug/xtrace.sh: Likewise.
29272 * configure.in: Remove support for --experimental-malloc option, make
29274 * config.make.in: Likewise.
29275 * malloc/Makefile: Likewise.
29277 2011-06-27 Andreas Schwab <schwab@redhat.com>
29279 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29280 two-byte characters.
29282 2011-06-27 Roland McGrath <roland@hack.frob.com>
29284 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29285 AC_CACHE_CHECK invocation.
29286 * configure: Regenerated.
29288 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29290 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29293 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29294 bit from old_res_options.
29296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29298 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29299 value type for setfct.
29301 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29304 __gettimeofday instead of gettimeofday.
29306 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29308 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29310 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29314 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29317 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29320 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29321 strcpy-sse2-unaligned strncpy-sse2-unaligned
29322 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29323 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29324 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29325 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29326 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29329 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29330 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29331 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29332 (STRCPY): Support SSE2 and SSSE3 versions.
29334 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29338 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29339 kernels which artificially limit size of requests.
29341 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29344 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29345 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29346 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29347 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29348 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29349 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29350 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29351 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29353 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29354 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29355 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29356 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29357 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29359 Enable unaligned load optimization for Intel Core i3, i5 and i7
29361 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29363 (index_Fast_Unaligned_Load): Define.
29364 (HAS_FAST_UNALIGNED_LOAD): Define.
29366 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29368 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29370 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29374 until it is clear that the information is realy needed.
29375 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29377 2011-06-22 Andreas Schwab <schwab@redhat.com>
29379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29381 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29384 /sys/devices/system/cpu/online if it is usable.
29386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29387 reading the information from the /proc filesystem to once a second.
29389 2011-06-21 Andreas Jaeger <aj@suse.de>
29391 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29392 NULL after inclusion of kernel headers.
29394 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29396 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29397 calls to internal_setent.
29400 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29401 addresses using gethostbyname4_r ignore IPv4 addresses.
29403 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29404 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29406 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29408 2011-06-20 David S. Miller <davem@davemloft.net>
29410 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29412 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29414 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29415 (elf_irel): Use it.
29416 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29417 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29418 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29419 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29420 * sysdeps/x86_64/dl-irel.h: Likewise.
29422 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29423 * elf/dl-sym.c: Likewise.
29425 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29427 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29428 need to dereference resplen2.
29430 2011-06-14 Andreas Schwab <schwab@redhat.com>
29432 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29434 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29436 * Makeconfig: Define vardbdir and inst_vardbdir.
29437 * nss/Makefile: Add rules to install db-Makefile.
29439 * nss/nss_db/db-XXX.c: Cleanup.
29441 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29442 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29444 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29445 * nss/makedb.c: Implement -g option to specify that value strings
29446 are generated and should not be added to table iterated over for
29448 * nss/nss_db/db-initgroups.c: New file.
29450 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29453 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29454 (internal_getgrouplist): Adjust to name change.
29455 Update use_initgroups_entry if this is not the first call.
29456 * nss/databases.def: Add initgroups entry.
29458 * nss/makedb.c (compute_tables): Check result of multiple hash table
29459 sizes to minimize maximum chain length.
29461 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29463 * Versions.def: Add entry for libnss_db.
29464 * shlib-versions: Likewise.
29465 * nss/Makefile: Add rules to build libnss_db.
29466 * nss/Versions: Add libnss_db information. Organize libnss_files
29468 * nss/db-Makefile: Add gshadow support. Change rules for the new
29469 makedb progra. Some minor improvements to generate smaller files.
29470 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29472 * nss/makedb.c: ...here.
29473 Improve database format to be smaller and require less memory at
29475 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29477 * nss/nss_db/db-netgrp.c: Likewise.
29478 * nss/nss_db/db-open.c: Likewise.
29479 * nss/nss_files/flies-XXX.x: Adjust comments.
29480 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29481 * nss/nss_files/files-grp.c: Likewise.
29482 * nss/nss_files/files-hosts.c: Likewise.
29483 * nss/nss_files/files-network.c: Likewise.
29484 * nss/nss_files/files-proto.c: Likewise.
29485 * nss/nss_files/files-pwd.c: Likewise.
29486 * nss/nss_files/files-rpc.c: Likewise.
29487 * nss/nss_files/files-service.c: Likewise.
29488 * nss/nss_files/files-sgrp.c: Likewise.
29489 * nss/nss_files/files-spwd.c: Likewise.
29490 * nss/nss_db/db-alias.c: Removed.
29491 * nss/nss_db/dummy-db.h: Removed.
29493 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29495 * nss/makedb.c: Rewritten to not use database library.
29496 * nss/Makefile: Update to build new makedb program.
29498 2011-06-14 Andreas Jaeger <aj@suse.de>
29500 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29501 memset declaration.
29503 2011-06-10 Andreas Schwab <schwab@redhat.com>
29505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29508 2011-06-10 Roland McGrath <roland@hack.frob.com>
29510 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29511 * elf/Makefile ($(objpfx)ld.so): Likewise.
29513 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29514 Don't list ld.so twice in dependencies.
29516 * posix/bug-regex31.c: Include <stdlib.h>.
29518 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29520 * nis/nss_compat/compat-spwd.c
29521 (getspent_next_nss_netgr): Remove unused variable.
29522 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29524 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29525 nonmembers" output to use the right array.
29527 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29529 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29531 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29532 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29533 * catgets/gencat.c (read_input_file): Likewise.
29534 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29536 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29537 variable definition inside #if's controlling its use.
29539 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29541 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29543 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29545 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29548 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29550 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29551 * configure: Regenerated.
29553 * Makerules: Revert last change.
29554 * elf/Makefile: Likewise.
29556 2011-06-09 Roland McGrath <roland@hack.frob.com>
29558 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29559 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29560 (reloc-link): Likewise.
29562 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29564 * elf/Makefile: Add rules to build pldd.
29565 * elf/pldd.c: New file.
29566 * elf/pldd-xx.c: New file.
29568 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29570 * version.h: Update for 2.15 development version.
29572 2011-06-07 David S. Miller <davem@davemloft.net>
29574 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29576 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29577 elf_machine_lazy_rel): Likewise.
29578 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29580 elf_machine_lazy_rel): Likewise.
29581 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29582 dl_hwcap via passed in argument.
29583 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29586 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29588 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29590 2011-06-06 Roland McGrath <roland@hack.frob.com>
29593 * manual/fdl-1.1.texi: New file, verbatim from:
29594 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29595 * manual/lgpl-2.1.texi: New file, verbatim from:
29596 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29597 * manual/Makefile (licenses): New variable, list those new file names.
29599 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29601 * manual/fdl.texi: File removed.
29602 * manual/lesser.texi: File removed.
29603 * manual/libc.texinfo (Copying, Documentation License):
29604 Use new @include file names, put @appendix directive before @include.
29606 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29609 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29610 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29611 (mq_open): Add __NTH.
29613 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29616 Assume Intel Core i3/i5/i7 processor if AVX is available.
29618 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29623 2011-05-31 Andreas Schwab <schwab@redhat.com>
29625 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29626 memory. Use alloca_account. Fix memory leak when retrying.
29628 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29630 * version.h (RELEASE): Bump for 2.14 release.
29631 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29633 * config.make.in (RANLIB): Remove entry.
29635 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29637 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29638 (libc.pot): Work around missing support for .ksh extension in xgettext.
29641 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29642 if both request failed.
29643 (send_dg): In case of server errors clear resplen or *resplen2.
29646 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29647 when there are multiple maps.
29648 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29649 (_dl_fini): Remove test here.
29651 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29653 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29656 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29657 bit from old_res_options.
29658 (gaih_inet): Likewise.
29661 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29664 * resolv/res_init.c (res_setoptions): Make the code more compact.
29667 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29671 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29673 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29676 * malloc/malloc.h: Declare malloc hook variables as volatile.
29678 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29682 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29683 raise in the comment.
29684 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29685 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29686 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29688 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29691 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29692 grow the buffers more if it already has to be sufficient.
29693 (build_wcs_upper_buffer): Likewise.
29694 * posix/regexec.c (check_matching): Likewise.
29695 (clean_state_log_if_needed): Likewise.
29696 (extend_buffers): Don't enlarge buffers beyond size of the input
29698 Patches mostly by Emil Wojak <emil@wojak.eu>.
29699 * posix/bug-regex32.c: New file.
29700 * posix/Makefile (tests): Add bug-regex32.
29702 * locale/findlocale.c (_nl_find_locale): Return right away if
29703 _nl_explode_name failed.
29704 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29706 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29708 * debug/xtrace.sh: Unify messages.
29709 * malloc/memusage.sh: Likewise.
29712 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29713 time symbol from vDSO. Substitute with vsyscall if not available.
29714 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29717 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29718 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29719 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29720 Add sendmmsg and internal_sendmmsg.
29721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29722 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29723 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29725 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29726 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29729 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29732 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29733 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29739 * iconvdata/Makefile (tests): Add bug-iconv9.
29740 * iconvdata/bug-iconv9.c: New file.
29742 2011-05-27 Andreas Schwab <schwab@redhat.com>
29745 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29747 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29749 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29750 (struct user_regs_struct): Change intcs field back to cs.
29752 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29754 * po/ja.po: Update from translation team.
29756 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29759 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29762 2011-05-20 Andreas Schwab <schwab@redhat.com>
29764 * stdlib/longlong.h: Update from GCC.
29766 2011-05-23 Andreas Schwab <schwab@redhat.com>
29768 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29770 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29771 Add parameter name.
29772 (__sysconf): Pass it down.
29774 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29777 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29780 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29781 add in in __libc_use_alloca calls. Adjust callers.
29782 (glob): Use malloc in some situations.
29784 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29785 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29788 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29790 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29791 and CLOCK_BOOTTIME_ALARM.
29794 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29797 * string/_strerror.c (__strerror_r): Print negative errors as signed
29801 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29802 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29803 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29805 * configure.in: Fix typo in redirection and correct removal of test
29806 files in two cases.
29809 * locale/setlocale.c (new_composite_name): Fix test to check for
29810 identical name of all categories.
29813 * libio/filedoalloc.c (local_isatty): New function.
29814 (_IO_file_doallocate): Use local_isatty.
29815 * stdio-common/perror.c (perror): In case a new stream is used
29816 forward the stream error.
29817 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29820 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29825 * include/alloca.h (extend_alloca_account): Define.
29828 * posix/regex.h: Fix comments with documentation of user-accessible
29829 fields after compilation and describe correct free'ing of pattern
29830 after re_compile_pattern.
29831 Patch by Reuben Thomas <rrt@sc3d.org>.
29833 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29835 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29836 and -mno-altivec to prevent the compiler from using Altivec and/or
29837 VSX instructions when the corresponding registers are not available.
29839 2011-05-19 Andreas Schwab <schwab@redhat.com>
29841 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29843 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29845 * libio/freopen.c (freopen): Use __dup2, not dup2.
29846 * libio/freopen64.c (freopen64): Likewise.
29848 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29851 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29852 * math/Makefile (tests): Add test-powl.
29853 (CFLAGS-test-powl.c): Define.
29854 * math/test-powl.c: New file.
29856 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29858 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29860 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29863 * iconvdata/gb18030.c: Update to GB18020-2005.
29865 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29867 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29868 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29869 Patch by Aharon Robbins <arnold@skeeve.com>.
29872 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29876 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29877 through underflows.
29880 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29881 point to strings before performing equality test for error_one_per_line
29885 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29889 (struct user_fpregs_struct): Avoid __uint*_t types.
29892 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29893 symbol info. Use it instead of calling _dl_addr locally.
29894 (lock_and_info): New function.
29895 (tr_freehook): Call lock_and_info and pass symbol info as additional
29896 parameter to tr_where.
29897 (tr_mallochook): Likewise.
29898 (tr_reallochook): Likewise.
29899 (tr_memalignhook): Likewise.
29901 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29902 used and couldn't be at all thread-safe.
29904 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29906 * libio/freopen.c (freopen): Don't close old file descriptor
29907 before the new one is opened. Instead dup the new file descriptor
29908 to the old one after the new stream is created.
29909 * libio/freopen64.c (freopen64): Likewise.
29910 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29911 * libio/fileops.c (_IO_new_file_close_it): Handle new
29912 _IO_FLAGS2_NOCLOSE flag.
29913 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29914 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29915 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29916 _IO_FLAGS2_NOCLOSE flag.
29917 * include/unistd.h: Add hidden_proto for dup3.
29918 Define __have_dup3.
29919 * io/dup3.c: Define hidden symbol.
29920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29923 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29924 when an incomplete long option is used.
29925 * posix/tst-getopt_long1.c: New file.
29926 * posix/Makefile (tests): Add tst-getopt_long1.
29929 * scripts/config.guess: Update from autoconf-2.68.
29930 * scripts/config.sub: Likewise.
29933 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29935 (has_cpuclock): ...this. New function.
29936 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29937 macro here based on has_cpuclock code.
29940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29941 First byte (not low byte) is now always NUL.
29942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29945 Use non-cancelable interfaces.
29948 * locale/iso-639.def: Add entry for Sorani.
29951 * include/stdlib.h: Move include protection to the right place.
29952 Define abort_msg_s. Declare __abort_msg with it.
29953 * stdlib/abort.c (__abort_msg): Adjust type.
29954 * assert/assert.c (__assert_fail_base): New function. Majority
29955 of code from __assert_fail. Allocate memory for __abort_msg with
29957 (__assert_fail): Now call __assert_fail_base.
29958 * assert/assert-perr.c: Remove bulk of implementation. Use
29959 __assert_fail_base.
29960 * include/assert.hL Declare __assert_fail_base.
29961 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29963 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29965 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29969 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29970 until all modules are registered in the DTV.
29971 * elf/Makefile: Add rules to build and run tst-tls19.
29972 * elf/tst-tls19.c: New file.
29973 * elf/tst-tls19mod1.c: New file.
29974 * elf/tst-tls19mod2.c: New file.
29975 * elf/tst-tls19mod3.c: New file.
29976 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29979 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29983 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29984 two-byte sequence errors.
29985 * iconvdata/Makefile (tests): Add bug-iconv8.
29986 * iconvdata/bug-iconv8.c: New file.
29989 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29992 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29995 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29996 (dummy_getcfa): New function.
29997 (init): Get _Unwind_GetCFA address, use dummy if not found.
29998 (backtrace_helper): In recursion check, also check whether CFA changes.
29999 (__backtrace): Completely initialize arg.
30001 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30002 storing incomplete byte sequence in state object. Avoid testing for
30003 guaranteed too small input if we know there is enough data available.
30005 2011-05-11 Andreas Schwab <schwab@redhat.com>
30007 * Makeconfig (+link-pie): Indent.
30008 * Rules (binaries-pie): Define if $(have-fpie) and
30010 (binaries-shared): Also filter out $(binaries-pie).
30011 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30012 * nscd/Makefile (others-pie): Add nscd.
30013 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30014 ($(objpfx)nscd): Remove command override.
30015 * login/Makefile (others-pie): Add pt_chown.
30016 ($(objpfx)pt_chown): Remove command override.
30017 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30018 remove command overrides.
30020 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30022 * libio/tst_putwc.c: Fix error messages.
30025 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30026 currently writing and seek to current position when not.
30027 * libio/Makefile (tests): Add bug-fclose1.
30028 * libio/bug-fclose1.c: New file.
30030 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30033 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30034 don't set DF_1_NODELETE here.
30035 (do_lookup_x): When entering new entry test for copy relocation
30036 and if necessary set DF_1_NODELETE flag.
30037 * elf/tst-unique4.cc: New file.
30038 * elf/tst-unique4.h: New file.
30039 * elf/tst-unique4lib.cc: New file.
30040 * elf/Makefile: Add rules to build and run tst-unique4.
30041 Patch by Piotr Bury <pbury@goahead.com>.
30043 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30046 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30049 * misc/mntent_r.c (addmntent): Flush the stream after the output
30052 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30053 (is_trusted_path_normalize): Skip initial colon. Append slash
30054 to empty buffer. Duplicate is_trusted_path code but allow
30055 constructed patch to be prefix.
30056 (is_dst): Allow $ORIGIN followed by /.
30057 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30058 Correct testing of result of is_trusted_path_normalize
30059 (decompose_rpath): Fix warning.
30061 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30064 * grp/initgroups.c (internal_getgrouplist): When we found the service
30065 list through the initgroups entry in nsswitch.conf do not always
30066 continue on a successful lookup. Don't always use the
30067 __nss_group_database value if it is set.
30068 * nss/nsswitch.conf (initgroups): Change action for successful db
30069 lookup to continue for compatibility.
30071 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30074 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30076 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30078 * iconvdata/tst-tables.sh: Likewise.
30079 * iconvdata/cp770.c: New file.
30080 * iconvdata/cp771.c: New file.
30081 * iconvdata/cp772.c: New file.
30082 * iconvdata/cp773.c: New file.
30083 * iconvdata/cp774.c: New file.
30084 * iconvdata/testdata/CP770: New file.
30085 * iconvdata/testdata/CP770..UTF8: New file.
30086 * iconvdata/testdata/CP771: New file.
30087 * iconvdata/testdata/CP771..UTF8: New file.
30088 * iconvdata/testdata/CP772: New file.
30089 * iconvdata/testdata/CP772..UTF8: New file.
30090 * iconvdata/testdata/CP773: New file.
30091 * iconvdata/testdata/CP773..UTF8: New file.
30092 * iconvdata/testdata/CP774: New file.
30093 * iconvdata/testdata/CP774..UTF8: New file.
30095 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30097 * iconvdata/gen-8bit-gap.sh: Likewise.
30098 * iconvdata/gen-8bit.sh: Likewise.
30100 * locale/iso-639.def: Add ary entry.
30103 * locale/C-translit.h.in: Add U20A1 transliteration.
30106 * locale/iso-639.def: Add wae entry.
30107 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30110 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30114 * locale/C-translit.h.in: Add entry for U20B9.
30115 Patch by pravin.d.s@gmail.com.
30117 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30120 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30121 ENAMETOOLONG use generic getcwd.
30122 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30123 in rtld. Use *stat64.
30124 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30125 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30126 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30127 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30128 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30129 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30130 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30131 __fstatat64 macros.
30132 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30133 * dirent/rewinddir.c: Add libc_hidden_def.
30134 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30135 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30137 * include/dirent.h (__alloc_dir): Add flags parameter.
30138 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30139 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30141 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30142 from fdopendir if O_CLOEXEC is already set.
30144 2011-03-15 Alan Modra <amodra@gmail.com>
30146 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30147 l_tls_firstbyte_offset non-zero. Save padding offset in
30148 l_tls_firstbyte_offset for later use.
30149 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30150 freeing static tls block.
30152 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30154 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30155 where #ifdef was intended. The intent is to prevent ARG_MAX from
30156 being defined by the kernel headers.
30158 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30161 * resolv/resolv.h: Define RES_NOTLDQUERY.
30162 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30163 no-tld-query and set RES_NOTLDQUERY.
30164 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30165 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30166 modern BIND to search name as TLD unless forbidden.
30168 2011-05-07 Petr Baudis <pasky@suse.cz>
30169 Ulrich Drepper <drepper@gmail.com>
30172 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30173 (is_trusted_path): ...to here.
30174 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30175 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30176 using is_trusted_path_normalize() in setuid scripts.
30178 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30180 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30181 __BEGIN/__END_DECLS.
30183 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30186 NSS_STATUS_NOTFOUND if no record was found.
30188 2011-05-05 Andreas Schwab <schwab@redhat.com>
30190 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30191 (headers-not-in-tirpc): Remove rpc/netdb.h
30192 * resolv/netdb.h: Revert last change.
30194 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30196 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30197 circular dependency between libgcc.a and libc.a.
30199 2011-05-05 Andreas Schwab <schwab@redhat.com>
30201 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30202 * nis/Makefile: Don't install rpcsvc/*.
30203 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30204 instead of <rpc/types.h>.
30205 (MAXHOSTNAMELEN): Define.
30207 2011-05-03 Andreas Schwab <schwab@redhat.com>
30209 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30211 2011-04-28 Maciej Babinski <mbabinski@google.com>
30214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30215 gethostbyname4_r when IPv6 results are possible.
30217 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30220 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30221 _PC_PIPE_BUF handling.
30223 2011-04-30 Bruno Haible <bruno@clisp.org>
30226 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30227 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30229 * inet/getnameinfo.c (getnameinfo): Likewise.
30231 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30233 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30234 to groups setting in database lookup.
30235 * nss/nsswitch.conf: Add initgroups entry.
30237 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30240 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30242 Patch by Eric Blake <eblake@redhat.com>.
30244 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30246 * sunrpc/Makefile (need-export-routines): Add svc_run.
30247 (routines): Remove svc_run.
30248 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30249 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30250 * sunrpc/svc_run.c (svc_run): Likewise.
30251 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30253 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30256 problem in reallocation in last patch.
30258 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30260 * sunrpc/Makefile: Move inclusion of Rules.
30262 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30264 * nss/nss_files/files-initgroups.c: New file.
30265 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30266 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30267 _nss_files_initgroups_dyn.
30269 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30271 * elf/elf.h (R_ARM_IRELATIVE): Define.
30273 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30275 * po/ru.po: Update from translation team.
30277 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30279 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30282 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30285 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30286 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30289 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30291 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30293 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30295 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30299 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30302 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30304 * stdlib/bug-getcontext.c: New file.
30305 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30307 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30309 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30310 instructions into .machine "z9-109".
30311 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30312 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30314 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30316 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30317 between environment variables and auxiliary vector.
30319 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30321 * Makefile: Add rules to build linkobj/libc.so.
30322 * include/libc-symbols.h: Define libc_hidden_nolink.
30323 * include/rpc/auth.h: Mark functions which are to be hidden.
30324 * include/rpc/auth_des.h: Likewise.
30325 * include/rpc/auth_unix.h: Likewise.
30326 * include/rpc/clnt.h: Likewise.
30327 * include/rpc/des_crypt.h: Likewise.
30328 * include/rpc/key_prot.h: Likewise.
30329 * include/rpc/pmap_clnt.h: Likewise.
30330 * include/rpc/pmap_prot.h: Likewise.
30331 * include/rpc/pmap_rmt.h: Likewise.
30332 * include/rpc/rpc_msg.h: Likewise.
30333 * include/rpc/svc.h: Likewise.
30334 * include/rpc/svc_auth.h: Likewise.
30335 * include/rpc/xdr.h: Likewise.
30336 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30337 * nss/Makefile: Likewise.
30338 * sunrpc/Makefile: Don't install headers. Build library with normal
30339 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30340 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30341 for the compat linking library. Remove use of INTDEF/INTUSE.
30342 * sunrpc/auth_none.c: Likewise.
30343 * sunrpc/auth_unix.c: Likewise.
30344 * sunrpc/authdes_prot.c: Likewise.
30345 * sunrpc/authuxprot.c: Likewise.
30346 * sunrpc/clnt_gen.c: Likewise.
30347 * sunrpc/clnt_perr.c: Likewise.
30348 * sunrpc/clnt_raw.c: Likewise.
30349 * sunrpc/clnt_simp.c: Likewise.
30350 * sunrpc/clnt_tcp.c: Likewise.
30351 * sunrpc/clnt_udp.c: Likewise.
30352 * sunrpc/clnt_unix.c: Likewise.
30353 * sunrpc/des_crypt.c: Likewise.
30354 * sunrpc/des_soft.c: Likewise.
30355 * sunrpc/get_myaddr.c: Likewise.
30356 * sunrpc/key_call.c: Likewise.
30357 * sunrpc/key_prot.c: Likewise.
30358 * sunrpc/netname.c: Likewise.
30359 * sunrpc/pm_getmaps.c: Likewise.
30360 * sunrpc/pm_getport.c: Likewise.
30361 * sunrpc/pmap_clnt.c: Likewise.
30362 * sunrpc/pmap_prot.c: Likewise.
30363 * sunrpc/pmap_prot2.c: Likewise.
30364 * sunrpc/pmap_rmt.c: Likewise.
30365 * sunrpc/publickey.c: Likewise.
30366 * sunrpc/rpc_cmsg.c: Likewise.
30367 * sunrpc/rpc_common.c: Likewise.
30368 * sunrpc/rpc_dtable.c: Likewise.
30369 * sunrpc/rpc_prot.c: Likewise.
30370 * sunrpc/rpc_thread.c: Likewise.
30371 * sunrpc/rtime.c: Likewise.
30372 * sunrpc/svc.c: Likewise.
30373 * sunrpc/svc_auth.c: Likewise.
30374 * sunrpc/svc_authux.c: Likewise.
30375 * sunrpc/svc_raw.c: Likewise.
30376 * sunrpc/svc_run.c: Likewise.
30377 * sunrpc/svc_simple.c: Likewise.
30378 * sunrpc/svc_tcp.c: Likewise.
30379 * sunrpc/svc_udp.c: Likewise.
30380 * sunrpc/svc_unix.c: Likewise.
30381 * sunrpc/svcauth_des.c: Likewise.
30382 * sunrpc/xcrypt.c: Likewise.
30383 * sunrpc/xdr.c: Likewise.
30384 * sunrpc/xdr_array.c: Likewise.
30385 * sunrpc/xdr_float.c: Likewise.
30386 * sunrpc/xdr_intXX_t.c: Likewise.
30387 * sunrpc/xdr_mem.c: Likewise.
30388 * sunrpc/xdr_rec.c: Likewise.
30389 * sunrpc/xdr_ref.c: Likewise.
30390 * sunrpc/xdr_sizeof.c: Likewise.
30391 * sunrpc/xdr_stdio.c: Likewise.
30393 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30396 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30397 * sysdeps/ia64/dl-tls.h: Likewise.
30398 * sysdeps/powerpc/dl-tls.h: Likewise.
30399 * sysdeps/s390/dl-tls.h: Likewise.
30400 * sysdeps/sh/dl-tls.h: Likewise.
30401 * sysdeps/sparc/dl-tls.h: Likewise.
30402 * sysdeps/x86_64/dl-tls.h: Likewise.
30403 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30405 2011-03-14 Andreas Schwab <schwab@redhat.com>
30407 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30408 rpath element also skip the following colon.
30409 (expand_dynamic_string_token): Add is_path parameter and pass
30410 down to DL_DST_REQUIRED and _dl_dst_substitute.
30411 (decompose_rpath): Call expand_dynamic_string_token with
30412 non-zero is_path. Ignore empty rpaths.
30413 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30416 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30421 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30424 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30425 Patch by Filipe David Manana <fdmanana@apache.org>.
30427 2011-04-07 Andreas Schwab <schwab@redhat.com>
30429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30430 Maintain aligned stack.
30431 (CHECK_RSP): Remove unused macro.
30433 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30435 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30438 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30440 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30442 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30444 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30447 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30448 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30449 * sysdeps/x86_64/memmove.c: New file.
30450 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30451 (memcpy): Renamed to ...
30452 (__new_memcpy): This.
30453 (memcpy): Provide GLIBC_2_14 memcpy.
30454 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30455 (memcpy): Provide GLIBC_2_2_5 memcpy.
30457 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30460 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30462 2011-03-30 Andreas Schwab <schwab@redhat.com>
30464 * misc/syncfs.c: New file.
30465 * misc/Makefile (routines): Add syncfs.
30466 * posix/unistd.h: Declare syncfs.
30467 * sysdeps/unix/syscalls.list: Add syncfs.
30469 2011-04-01 Andreas Schwab <schwab@redhat.com>
30471 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30473 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30474 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30478 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30481 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30491 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30492 sync_file_range.c with -fexceptions.
30493 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30494 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30495 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30496 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30497 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30498 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30500 sync_file_range as cancellation point
30501 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30502 now a wrapper around __call_sync_file_range with cancellation handling.
30503 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30504 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30505 function name to __call_sync_file_range.
30506 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30507 Add call_sync_file_range.
30509 2011-04-01 Andreas Schwab <schwab@redhat.com>
30511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30514 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30516 * iconv/iconv.h: Fix typo in comment.
30517 * io/fcntl.h: Likewise.
30518 * libio/stdio.h: Likewise.
30519 * posix/spawn.h: Likewise.
30520 * posix/unistd.h: Likewise.
30521 * stdlib/stdlib.h: Likewise.
30522 * time/time.h: Likewise.
30523 * wcsmbs/wchar.h: Likewise.
30525 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30526 open_by_handle): Add.
30527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30528 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30529 Augment a few comments.
30530 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30535 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30538 * io/fcntl.h (AT_EMPTY_PATH): Define.
30540 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30542 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30543 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30544 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30546 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30547 * Versions.def: Add GLIBC_2.14.
30548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30551 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30557 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30560 * string/test-strncmp.c (do_page_test): New function.
30561 (check2): Likewise.
30562 (test_main): Call check2.
30563 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30565 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30568 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30569 Handle cache information in CPU leaf 4.
30570 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30572 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30575 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30576 character representation.
30577 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30579 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30581 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30582 END(__isnan) to END(__isnanf) to match function entry point/label
30583 EALIGN(__isnanf,...).
30585 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30587 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30589 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30592 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30593 copy from the symbol referenced in the relocation to initialize the
30595 Patch by Piotr Bury <pbury@goahead.com>.
30596 * elf/Makefile: Add rules to build and tst-unique3.
30597 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30598 * elf/tst-unique3.cc: New file.
30599 * elf/tst-unique3.h: New file.
30600 * elf/tst-unique3lib.cc: New file.
30601 * elf/tst-unique3lib2.cc: New file.
30603 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30605 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30607 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30608 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30611 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30613 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30614 to-be-loaded object along a path to loader is ld.so.
30616 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30617 Ulrich Drepper <drepper@gmail.com>
30619 * sysdeps/x86_64/memset.S: After aligning destination, code
30620 branches to different locations depending on the value of
30621 misalignment, when multiarch is enabled. Fix this.
30623 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30625 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30626 Set _x86_64_preferred_memory_instruction for AMD processsors.
30627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30628 Set bit_Prefer_SSE_for_memop for AMD processors.
30630 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30632 * libio/fmemopen.c (fmemopen): Optimize a bit.
30634 2011-03-03 Andreas Schwab <schwab@redhat.com>
30636 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30638 2011-03-03 Roland McGrath <roland@redhat.com>
30640 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30642 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30644 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30645 __bzero_ultra1 instead of __memset_ultra1.
30647 2011-02-23 Andreas Schwab <schwab@redhat.com>
30648 Ulrich Drepper <drepper@gmail.com>
30651 * include/link.h (struct link_map): Add l_orig_initfini.
30652 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30653 returning unsuccessfully.
30654 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30655 close of a file loaded at startup, restore the original l_initfini
30657 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30658 list, store the pointer.
30659 * elf/Makefile ($(objpfx)noload-mem): New rule.
30660 (noload-ENV): Define.
30661 (tests): Add $(objpfx)noload-mem.
30662 * elf/noload.c: Include <memcheck.h>.
30663 (main): Call mtrace. Close all opened handles.
30665 2011-02-17 Andreas Schwab <schwab@redhat.com>
30668 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30669 dependencies are missing.
30671 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30673 Fix __if_freereq crash: Unlike the generic version which uses free,
30675 * sysdeps/mach/hurd/ifreq.h: New file.
30677 2011-01-27 Petr Baudis <pasky@suse.cz>
30678 Ulrich Drepper <drepper@gmail.com>
30681 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30682 to extend_alloca().
30683 * stdio-common/bug23.c: New file.
30684 * stdio-common/Makefile (tests): Add bug23.
30686 2010-09-28 Andreas Schwab <schwab@redhat.com>
30687 Ulrich Drepper <drepper@gmail.com>
30690 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30691 before performing relro protection. At old place add assertion
30692 to make sure nothing changed.
30694 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30695 Glauber de Oliveira Costa <glommer@gmail.com>
30697 * elf/elf.h: Add new ARM TLS relocs.
30699 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30702 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30704 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30706 * sysdeps/wordsize-64/tst-writev.c: New file.
30708 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30710 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30711 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30712 insns in _dl_start to prevent a TOC reference before relocs are
30715 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30718 * Makeconfig: Remove RANLIB definition.
30719 * Makerules: Don't use RANLIB.
30720 * aclocal.m4: Remove ranlib test.
30721 * configure.in: No need to check for ranlib.
30722 * elf/rtld-Rules: Don't use RANLIB.
30724 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30726 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30728 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30729 inclusion protection macro.
30731 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30732 SIGRTMIN and SIGRTMAX and print information in that case only when
30733 SIGRTMIN is defined.
30735 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30737 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30738 arginfo fn returning -1.
30740 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30741 and thousands string is zero terminated.
30743 2011-02-03 Andreas Schwab <schwab@redhat.com>
30745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30746 sysdeps/unix/sysv/linux/bits/socket.h.
30748 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30750 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30751 (__CPU_COUNT): Remove old macros.
30752 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30753 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30754 (__CPU_ALLOC, __CPU_FREE): Add macros.
30755 (__sched_cpualloc, __sched_cpufree): Add declarations.
30757 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30759 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30760 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30761 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30762 (readdhstai): Return value of addhstaiX call.
30763 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30764 (addgrbyX): Return value returned by cache_addgr.
30765 (readdgrbyname): Return value returned by addgrbyX.
30766 (readdgrbygid): Likewise.
30767 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30768 (addpwbyX): Return value returned by cache_addpw.
30769 (readdpwbyname): Return value returned by addhstbyX.
30770 (readdpwbyuid): Likewise.
30771 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30772 (addservbyX): Return value returned by cache_addserv.
30773 (readdservbyname): Return value returned by addservbyX:
30774 (readdservbyport): Likewise.
30775 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30776 (addhstbyX): Return value returned by cache_addhst.
30777 (readdhstbyname): Return value returned by addhstbyX.
30778 (readdhstbyaddr): Likewise.
30779 (readdhstbynamev6): Likewise.
30780 (readdhstbyaddrv6): Likewise.
30781 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30782 (readdinitgroups): Return value returned by addinitgroupsX.
30783 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30784 (prune_cache): Keep track of timeout value of re-added entries.
30785 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30786 * nscd/nscd.h: Adjust prototypes of readd* functions.
30788 2011-02-04 Roland McGrath <roland@redhat.com>
30790 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30791 (nis_stats): Likewise.
30792 * nis/nis_modify.c (nis_modify): Likewise.
30793 * nis/nis_remove.c (nis_remove): Likewise.
30794 * nis/nis_add.c (nis_add): Likewise.
30796 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30798 * posix/fnmatch_loop.c: Add some consts.
30800 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30802 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30805 * config.make.in (config-cflags-novzeroupper): Define.
30806 * configure.in: Substitute libc_cv_cc_novzeroupper.
30807 * elf/Makefile (AVX-CFLAGS): Define.
30808 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30809 (CFLAGS-tst-auditmod4a.c): Likewise.
30810 (CFLAGS-tst-auditmod4b.c): Likewise.
30811 (CFLAGS-tst-auditmod6b.c): Likewise.
30812 (CFLAGS-tst-auditmod6c.c): Likewise.
30813 (CFLAGS-tst-auditmod7b.c): Likewise.
30814 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30816 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30818 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30819 function to the callback.
30820 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30822 2011-02-02 Andreas Schwab <schwab@redhat.com>
30824 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30827 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30830 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30832 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30834 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30837 * elf/Makefile: Add rules to build and run new test.
30838 * elf/tst-initorder.c: New file.
30839 * elf/tst-initorder.exp: New file.
30840 * elf/tst-initordera1.c: New file.
30841 * elf/tst-initordera2.c: New file.
30842 * elf/tst-initordera3.c: New file.
30843 * elf/tst-initordera4.c: New file.
30844 * elf/tst-initorderb1.c: New file.
30845 * elf/tst-initorderb2.c: New file.
30846 * elf/tst-order-a1.c: New file.
30847 * elf/tst-order-a2.c: New file.
30848 * elf/tst-order-a3.c: New file.
30849 * elf/tst-order-a4.c: New file.
30850 * elf/tst-order-b1.c: New file.
30851 * elf/tst-order-b2.c: New file.
30852 * elf/tst-order-main.c: New file.
30853 New test case by George Gensure <werkt0@gmail.com>.
30855 2010-10-01 Andreas Schwab <schwab@redhat.com>
30857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30858 decoding ACE if AI_CANONIDN.
30860 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30862 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30864 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30866 * version.h (RELEASE): Bump for 2.13 release.
30867 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30869 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30873 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30874 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30876 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30880 * posix/getconf.c: Update copyright year.
30881 * catgets/gencat.c: Likewise.
30882 * csu/version.c: Likewise.
30883 * debug/catchsegv.sh: Likewise.
30884 * debug/xtrace.sh: Likewise.
30885 * elf/ldconfig.c: Likewise.
30886 * elf/ldd.bash.in: Likewise.
30887 * elf/sprof.c (print_version): Likewise.
30888 * iconv/iconv_prog.c: Likewise.
30889 * iconv/iconvconfig.c: Likewise.
30890 * locale/programs/locale.c: Likewise.
30891 * locale/programs/localedef.c: Likewise.
30892 * malloc/memusage.sh: Likewise.
30893 * malloc/mtrace.pl: Likewise.
30894 * nscd/nscd.c (print_version): Likewise.
30895 * nss/getent.c: Likewise.
30897 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30898 PF_CAIF, and PF_ALG.
30899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30901 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30903 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30904 (modules-names): Use them.
30905 (ifunc-test-modules, ifunc-pie-tests): Define.
30906 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30907 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30908 (test-extras): Likewise.
30909 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30910 $(compile-command.c).
30911 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30912 (all-built-dso): Define.
30913 (check-textrel.out, check-execstack.out): Depend on it.
30915 * configure.in: Don't override --enable-multi-arch.
30917 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30920 * nscd/hstcache.c (tryagain): Define.
30921 (cache_addhst): Return tryagain not notfound for temporary errors.
30922 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30925 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30928 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30929 to make the syscall.
30930 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30933 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30934 and fall back to matching as normal character if the string ends before
30935 the matching ']' is found. This is what POSIX requires.
30936 * posix/testfnm.c: Adjust test result.
30937 * posix/globtest.sh: Adjust test result. Add new test.
30938 * posix/tst-fnmatch.input: Likewise.
30939 * posix/tst-fnmatch2.c: Add new test.
30941 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30943 * elf/Makefile (check-execstack): Revert last change. Depend on
30945 (check-execstack.h): New target.
30946 (generated): Add check-execstack.h.
30947 * elf/check-execstack.c: Include "check-execstack.h".
30948 (main): Revert last change.
30949 (handle_file): Return zero if GNU_STACK is absent and
30950 DEFAULT_STACK_PERMS doesn't include PF_X.
30952 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30954 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30955 in child fails because the descriptor is already closed.
30956 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30957 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30958 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30961 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30965 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30966 temporary buffer used to handle multi lookups locally.
30967 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30969 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30971 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30974 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30976 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30977 alignment for SSE2.
30979 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30982 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30983 characters. When rounding increased number of integer digits recompute
30985 * stdio-common/tst-grouping.c: New file.
30986 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30988 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30990 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30991 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30993 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30995 * bits/select.h: Likewise.
30997 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30999 * po/ja.po: Update from translation team.
31001 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31004 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31005 implementation just like for lxstat, fxstatat, et al.
31007 2010-12-27 Jim Meyering <meyering@redhat.com>
31010 * posix/regexec.c (build_trtable): Return failure indication upon
31011 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31013 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31016 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31017 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31018 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31019 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31022 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31025 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31026 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31028 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31030 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31031 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31032 script has SORT_BY_INIT_PRIORITY.
31033 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31034 NO_CTORS_DTORS_SECTIONS is defined.
31035 * elf/soinit.c: Likewise.
31036 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31037 NO_CTORS_DTORS_SECTIONS is defined.
31038 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31039 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31040 * sysdeps/sh/init-first.c: Likewise.
31041 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31043 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31045 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31046 always use the slow path.
31048 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31050 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31051 similar rule which adds the sysdep directories to the header search in
31052 order to pick up the correct platform stackinfo.h.
31053 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31054 perform test if it is, otherwise return successfully without testing.
31055 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31056 DEFAULT_STACK_PERMS define in stackinfo.h.
31057 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31058 defined in stackinfo.h.
31059 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31060 DEFAULT_STACK_PERMS defined in stackinfo.h.
31061 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31062 * sysdeps/ia64/stackinfo.h: Likewise.
31063 * sysdeps/s390/stackinfo.h: Likewise.
31064 * sysdeps/sh/stackinfo.h: Likewise.
31065 * sysdeps/sparc/stackinfo.h: Likewise.
31066 * sysdeps/x86_64/stackinfo.h: Likewise.
31067 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31068 PF_X for powerpc64. Retain PF_X for powerpc32.
31070 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31072 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31074 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31075 GETDENTS_64BIT_ALIGNED.
31077 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31079 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31081 2010-12-10 Andreas Schwab <schwab@redhat.com>
31083 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31086 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31087 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31089 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31090 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31092 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31095 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31098 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31100 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31102 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31104 * po/it.po: Update from translation team.
31106 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31111 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31113 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31115 2010-11-24 Andreas Schwab <schwab@redhat.com>
31117 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31119 (gaih_getanswer_slice): Likewise.
31121 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31125 2010-05-31 Petr Baudis <pasky@suse.cz>
31128 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31129 silently even in the chroot mode.
31131 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31133 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31134 last patch a bit. Pretty printing
31136 2010-05-31 Petr Baudis <pasky@suse.cz>
31139 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31140 initialization of skip_initgroups_dyn.
31142 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31144 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31145 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31147 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31149 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31151 2010-11-11 Andreas Schwab <schwab@redhat.com>
31153 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31154 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31155 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31156 ($(objpfx)tst-fnmatch-mem): New rule.
31157 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31158 * posix/tst-fnmatch.c (main): Call mtrace.
31160 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31163 Support Intel processor model 6 and model 0x2c.
31165 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31170 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31173 * string/test-strncasecmp.c (check_result): New function.
31174 (do_one_test): Use it.
31175 (check1): New function.
31176 (test_main): Use it.
31177 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31178 Support strcasecmp and strncasecmp.
31180 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31183 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31186 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31188 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31192 * sysdeps/x86_64/multiarch/bzero.S: New file.
31193 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31194 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31195 * sysdeps/x86_64/multiarch/memset.S: New file.
31196 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31198 Set bit_Prefer_SSE_for_memop for Intel processors.
31199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31201 (index_Prefer_SSE_for_memop): Define.
31202 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31204 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31206 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31207 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31209 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31212 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31213 (__x86_64_raw_data_cache_size_half): Likewise.
31214 (__x86_64_raw_shared_cache_size): Likewise.
31215 (__x86_64_raw_shared_cache_size_half): Likewise.
31217 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31218 (__x86_64_raw_data_cache_size_half): Likewise.
31219 (__x86_64_raw_shared_cache_size): Likewise.
31220 (__x86_64_raw_shared_cache_size_half): Likewise.
31221 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31222 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31223 and __x86_64_raw_shared_cache_size_half. Round
31224 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31225 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31226 to multiple of 256 bytes.
31228 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31231 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31232 of inacessible symlinks. Verify result of symlink before returning it.
31233 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31234 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31236 2010-10-28 Erich Ritz <erichritz@gmail.com>
31238 * math/math.h (isinf): Fix typo in comment.
31240 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31242 * po/da.po: Update from translation team.
31244 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31246 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31247 is added to the list.
31249 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31250 Ulrich Drepper <drepper@gmail.com>
31252 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31253 the global list here. Move code to...
31254 (_dl_add_to_namespace_list): ...here. New function.
31255 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31256 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31257 * elf/dl-load.c (lose): Don't remove the element from the list.
31258 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31259 (_dl_map_object): Likewise.
31261 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31264 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31265 into all bytes of SSE register.
31266 Patch by Richard Li <richardpku@gmail.com>.
31268 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31271 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31274 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31276 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31277 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31278 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31279 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31284 2010-10-22 Andreas Schwab <schwab@redhat.com>
31286 * include/dlfcn.h (__RTLD_SECURE): Define.
31287 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31288 mode & __RTLD_SECURE instead.
31289 (open_path): Rename preloaded parameter to secure.
31290 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31291 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31292 * elf/dl-deps.c (openaux): Likewise.
31293 * elf/rtld.c (struct map_args): Remove is_preloaded.
31294 (map_doit): Don't use it.
31295 (dl_main): Likewise.
31296 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31297 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31299 2010-09-09 Andreas Schwab <schwab@redhat.com>
31301 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31302 (sysd-rules-targets): Remove duplicates.
31303 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31304 rtld-%.$o dependency.
31306 2010-10-18 Andreas Schwab <schwab@redhat.com>
31308 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31309 _dl_map_object do it.
31311 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31313 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31314 fast fma builtins, define the macros in the C99 standard.
31315 (FP_FAST_FMAF): Likewise.
31316 (FP_FAST_FMAL): Likewise.
31317 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31319 * bits/mathdef.h: Update copyright year.
31320 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31322 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31324 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31325 builtins, define the macros in the C99 standard.
31326 (FP_FAST_FMAF): Likewise.
31327 (FP_FAST_FMAL): Likewise.
31328 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31330 (FP_FAST_FMAF): Likewise.
31332 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31335 * math/libm-test.inc (fma_test): Some new testcases.
31336 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31337 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31338 y and infinite z. Do multiplication by C already in long double.
31339 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31341 y and infinite z. Do bitwise or of inexact bit into u.d.
31342 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31343 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31344 * sysdeps/i386/fpu/s_fma.S: Removed.
31345 * sysdeps/i386/fpu/s_fmal.S: Removed.
31347 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31350 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31352 computation is not scheduled after fetestexcept. Fix value
31353 of minimum denormal long double.
31355 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31358 * math/libm-test.inc (fma_test): Add some more tests.
31359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31362 2010-10-15 Andreas Schwab <schwab@redhat.com>
31364 * scripts/data/localplt-s390-linux-gnu.data: New file.
31365 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31367 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31370 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31371 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31373 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31375 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31377 if one of x and y is very large and the other is subnormal.
31378 * sysdeps/s390/fpu/s_fmaf.c: New file.
31379 * sysdeps/s390/fpu/s_fma.c: New file.
31380 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31381 * sysdeps/powerpc/fpu/s_fma.S: New file.
31382 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31383 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31384 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31386 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31389 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31391 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31392 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31393 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31394 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31395 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31396 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31397 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31399 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31402 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31403 * posix/bug-regex31.input: Add test case.
31405 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31407 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31408 * posix/bug-regex31.input: New file.
31411 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31412 (parse_sub_exp): Fix last change, use postorder.
31414 * posix/bug-regex31.c: New file.
31415 * posix/Makefile: Add rules to build and run bug-regex31.
31417 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31420 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31423 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31424 to have entries in sys_siglist.
31427 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31430 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31433 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31434 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31435 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31436 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31437 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31438 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31439 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31440 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31441 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31442 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31443 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31444 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31445 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31446 * math/ftestexcept.c (fetestexcept): Likewise.
31447 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31448 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31449 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31450 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31451 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31452 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31455 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31458 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31461 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31463 * string/bug-strstr1.c: New file.
31464 * string/Makefile: Add rules to build and run bug-strstr1.
31466 2010-10-05 Eric Blake <eblake@redhat.com>
31469 * string/str-two-way.h (two_way_long_needle): Always clear memory
31470 when skipping input due to the shift table.
31472 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31475 * malloc/mcheck.c: Handle large requests.
31478 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31479 for strncmp and strncasecmp.
31480 * string/stratcliff.c: Add tests for strcmp and strncmp.
31481 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31483 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31485 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31488 2010-09-30 Andreas Jaeger <aj@suse.de>
31490 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31491 (CGROUP_SUPER_MAGIC): Define.
31492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31493 Handle btrfs and cgroup file systems.
31494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31497 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31499 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31500 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31502 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31505 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31506 trying to locate the ELF header.
31508 2010-09-27 Andreas Schwab <schwab@redhat.com>
31511 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31512 Mask out sign-bit copies when constructing f_fsid.
31514 2010-09-24 Petr Baudis <pasky@suse.cz>
31516 * debug/stack_chk_fail_local.c: Add missing licence exception.
31517 * debug/warning-nop.c: Likewise.
31519 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31521 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31522 implementing getdents64 using getdents syscall, set d_type if
31523 __ASSUME_GETDENTS32_D_TYPE.
31525 2010-09-16 Andreas Schwab <schwab@redhat.com>
31527 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31528 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31530 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31533 * posix/unistd.h: Undo change of feature selection for ftruncate from
31536 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31538 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31541 2010-09-20 Andreas Schwab <schwab@redhat.com>
31543 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31547 2010-09-14 Andreas Schwab <schwab@redhat.com>
31549 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31550 variables after CHECK_SP call.
31551 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31553 2010-09-13 Andreas Schwab <schwab@redhat.com>
31554 Ulrich Drepper <drepper@redhat.com>
31556 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31557 re-relocationg ld.so.
31558 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31559 _dl_init_paths call.
31560 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31563 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31565 * resolv/res_init.c (__res_vinit): Count the default server we added.
31567 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31568 Ulrich Drepper <drepper@redhat.com>
31571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31572 (____longjmp_chk): Use %ebx for saving value across system call.
31575 2010-09-06 Andreas Schwab <schwab@redhat.com>
31577 * manual/Makefile: Don't mix pattern rules with normal rules.
31579 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31581 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31583 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31584 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31585 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31586 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31590 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31593 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31594 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31596 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31598 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31599 * sysdeps/x86_64/addmul_1.S: Likewise.
31600 * sysdeps/x86_64/lshift.S: Likewise.
31601 * sysdeps/x86_64/mul_1.S: Likewise.
31602 * sysdeps/x86_64/rshift.S: Likewise.
31603 * sysdeps/x86_64/sub_n.S: Likewise.
31604 * sysdeps/x86_64/submul_1.S: Likewise.
31606 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31608 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31609 Define __sched_param instead of SCHED_* and sched_param when
31610 <bits/sched.h> is included with __need_schedparam defined.
31611 * bits/sched.h [__need_schedparam]
31612 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31613 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31614 (__defined_schedparam): Define to 1.
31615 (__sched_param): New structure, identical to sched_param.
31616 (__need_schedparam): Undefine.
31618 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31620 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31621 (epoll_create1): Declare.
31623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31625 2010-08-31 Andreas Schwab <schwab@redhat.com>
31628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31629 shifting retval into place.
31631 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31633 * nis/rpcsvc/nis.h: Update copyright notice.
31634 * nis/rpcsvc/nis.x: Likewise.
31635 * nis/rpcsvc/nis_callback.h: Likewise.
31636 * nis/rpcsvc/nis_callback.x: Likewise.
31637 * nis/rpcsvc/nis_object.x: Likewise.
31638 * nis/rpcsvc/nis_tags.h: Likewise.
31639 * nis/rpcsvc/yp.h: Likewise.
31640 * nis/rpcsvc/yp.x: Likewise.
31641 * nis/rpcsvc/ypupd.h: Likewise.
31642 * nis/yp_xdr.c: Likewise.
31643 * nis/ypupdate_xdr.c: Likewise.
31645 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31646 mainly the body of pmap_getport. Add parameters to specify timeouts.
31647 (pmap_getport): Use __libc_rpc_getport.
31648 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31649 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31650 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31652 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31657 2010-08-27 Roland McGrath <roland@redhat.com>
31659 * sysdeps/i386/i686/multiarch/Makefile
31660 (CFLAGS-varshift.c): New variable.
31662 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31664 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31665 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31669 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31671 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31673 * sysdeps/x86_64/strlen.S: Unroll the loop.
31674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31675 strlen-sse2 strlen-sse2-bsf.
31676 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31677 __strlen_no_bsf if bit_Slow_BSF is set.
31678 (__strlen_sse42): Removed.
31679 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31680 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31682 2010-08-25 Roland McGrath <roland@redhat.com>
31684 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31685 * sysdeps/x86_64/multiarch/varshift.c: New file.
31686 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31687 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31688 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31689 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31691 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31694 strlen-sse2 strlen-sse2-bsf.
31695 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31696 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31697 (__strlen_sse2): Removed.
31698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31701 bit_Slow_BSF for Atom.
31702 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31703 (index_Slow_BSF): Define.
31704 (HAS_SLOW_BSF): Define.
31706 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31709 * resolv/res_init.c (__res_vinit): When no server address at all
31710 is given default to loopback.
31712 2010-08-24 Roland McGrath <roland@redhat.com>
31714 * configure.in: Remove config-name.h generation.
31715 * configure: Regenerated.
31716 * config-name.in: File removed.
31717 * scripts/config-uname.sh: New file.
31718 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31719 ($(objdir)config-name.h): New target.
31721 * sunrpc/rpc_parse.h: Avoid nested comment.
31723 2010-08-24 Richard Henderson <rth@redhat.com>
31724 Ulrich Drepper <drepper@redhat.com>
31725 H.J. Lu <hongjiu.lu@intel.com>
31727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31729 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31730 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31731 _mm_alignr_epi8 with _mm_loadu_si128.
31732 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31733 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31734 (__m128i_shift_right): Removed.
31735 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31736 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31737 * sysdeps/x86_64/multiarch/varshift.h: New file.
31738 * sysdeps/x86_64/multiarch/varshift.S: New file.
31740 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31742 * configure.in: Move assembler checks to before sysdep dir checking.
31744 2010-08-20 Petr Baudis <pasky@suse.cz>
31746 * LICENSES: Sync the sunrpc license.
31748 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31750 * sunrpc/auth_des.c: Update copyright notice once again.
31751 * sunrpc/auth_none.c: Likewise.
31752 * sunrpc/auth_unix.c: Likewise.
31753 * sunrpc/authdes_prot.c: Likewise.
31754 * sunrpc/authuxprot.c: Likewise.
31755 * sunrpc/bindrsvprt.c: Likewise.
31756 * sunrpc/clnt_gen.c: Likewise.
31757 * sunrpc/clnt_perr.c: Likewise.
31758 * sunrpc/clnt_raw.c: Likewise.
31759 * sunrpc/clnt_simp.c: Likewise.
31760 * sunrpc/clnt_tcp.c: Likewise.
31761 * sunrpc/clnt_udp.c: Likewise.
31762 * sunrpc/clnt_unix.c: Likewise.
31763 * sunrpc/des_crypt.c: Likewise.
31764 * sunrpc/des_soft.c: Likewise.
31765 * sunrpc/get_myaddr.c: Likewise.
31766 * sunrpc/getrpcport.c: Likewise.
31767 * sunrpc/key_call.c: Likewise.
31768 * sunrpc/key_prot.c: Likewise.
31769 * sunrpc/openchild.c: Likewise.
31770 * sunrpc/pm_getmaps.c: Likewise.
31771 * sunrpc/pm_getport.c: Likewise.
31772 * sunrpc/pmap_clnt.c: Likewise.
31773 * sunrpc/pmap_prot.c: Likewise.
31774 * sunrpc/pmap_prot2.c: Likewise.
31775 * sunrpc/pmap_rmt.c: Likewise.
31776 * sunrpc/rpc/auth.h: Likewise.
31777 * sunrpc/rpc/auth_unix.h: Likewise.
31778 * sunrpc/rpc/clnt.h: Likewise.
31779 * sunrpc/rpc/des_crypt.h: Likewise.
31780 * sunrpc/rpc/key_prot.h: Likewise.
31781 * sunrpc/rpc/netdb.h: Likewise.
31782 * sunrpc/rpc/pmap_clnt.h: Likewise.
31783 * sunrpc/rpc/pmap_prot.h: Likewise.
31784 * sunrpc/rpc/pmap_rmt.h: Likewise.
31785 * sunrpc/rpc/rpc.h: Likewise.
31786 * sunrpc/rpc/rpc_des.h: Likewise.
31787 * sunrpc/rpc/rpc_msg.h: Likewise.
31788 * sunrpc/rpc/svc.h: Likewise.
31789 * sunrpc/rpc/svc_auth.h: Likewise.
31790 * sunrpc/rpc/types.h: Likewise.
31791 * sunrpc/rpc/xdr.h: Likewise.
31792 * sunrpc/rpc_clntout.c: Likewise.
31793 * sunrpc/rpc_cmsg.c: Likewise.
31794 * sunrpc/rpc_common.c: Likewise.
31795 * sunrpc/rpc_cout.c: Likewise.
31796 * sunrpc/rpc_dtable.c: Likewise.
31797 * sunrpc/rpc_hout.c: Likewise.
31798 * sunrpc/rpc_main.c: Likewise.
31799 * sunrpc/rpc_parse.c: Likewise.
31800 * sunrpc/rpc_parse.h: Likewise.
31801 * sunrpc/rpc_prot.c: Likewise.
31802 * sunrpc/rpc_sample.c: Likewise.
31803 * sunrpc/rpc_scan.c: Likewise.
31804 * sunrpc/rpc_scan.h: Likewise.
31805 * sunrpc/rpc_svcout.c: Likewise.
31806 * sunrpc/rpc_tblout.c: Likewise.
31807 * sunrpc/rpc_util.c: Likewise.
31808 * sunrpc/rpc_util.h: Likewise.
31809 * sunrpc/rpcinfo.c: Likewise.
31810 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31811 * sunrpc/rpcsvc/key_prot.x: Likewise.
31812 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31813 * sunrpc/rpcsvc/mount.x: Likewise.
31814 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31815 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31816 * sunrpc/rpcsvc/rex.x: Likewise.
31817 * sunrpc/rpcsvc/rstat.x: Likewise.
31818 * sunrpc/rpcsvc/rusers.x: Likewise.
31819 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31820 * sunrpc/rpcsvc/spray.x: Likewise.
31821 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31822 * sunrpc/rtime.c: Likewise.
31823 * sunrpc/svc.c: Likewise.
31824 * sunrpc/svc_auth.c: Likewise.
31825 * sunrpc/svc_authux.c: Likewise.
31826 * sunrpc/svc_raw.c: Likewise.
31827 * sunrpc/svc_run.c: Likewise.
31828 * sunrpc/svc_simple.c: Likewise.
31829 * sunrpc/svc_tcp.c: Likewise.
31830 * sunrpc/svc_udp.c: Likewise.
31831 * sunrpc/svc_unix.c: Likewise.
31832 * sunrpc/svcauth_des.c: Likewise.
31833 * sunrpc/xcrypt.c: Likewise.
31834 * sunrpc/xdr.c: Likewise.
31835 * sunrpc/xdr_array.c: Likewise.
31836 * sunrpc/xdr_float.c: Likewise.
31837 * sunrpc/xdr_mem.c: Likewise.
31838 * sunrpc/xdr_rec.c: Likewise.
31839 * sunrpc/xdr_ref.c: Likewise.
31840 * sunrpc/xdr_sizeof.c: Likewise.
31841 * sunrpc/xdr_stdio.c: Likewise.
31843 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31846 2010-08-19 Andreas Schwab <schwab@redhat.com>
31848 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31850 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31852 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31853 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31854 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31855 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31856 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31857 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31858 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31859 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31861 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31862 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31863 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31864 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31865 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31867 2010-07-26 Anton Blanchard <anton@samba.org>
31869 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31870 * malloc/arena.c (heap_trim): Likewise.
31872 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31874 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31877 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31879 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31881 * sysdeps/i386/elf/Makefile: New file.
31883 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31885 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31886 from fanotify_init.
31887 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31890 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31892 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31894 * sysdeps/multiarch/strcmp.S: Likewise.
31896 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31899 strncase_l-nonascii.
31900 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31901 Add strncase_l-ssse3.
31902 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31903 * sysdeps/x86_64/strcmp.S: Likewise.
31904 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31905 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31906 * sysdeps/x86_64/strncase.S: New file.
31907 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31908 * sysdeps/x86_64/strncase_l.S: New file.
31909 * string/Makefile (strop-tests): Add strncasecmp.
31910 * string/test-strncasecmp.c: New file.
31912 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31915 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31916 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31918 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31920 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31922 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31924 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31925 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31926 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31928 2010-05-01 Alan Modra <amodra@gmail.com>
31930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31931 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31932 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31933 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31934 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31935 tidying. Don't tail-call __sigjmp_save for static lib.
31936 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31938 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31939 (CALL_MCOUNT): Add eh info, and nop after bl.
31940 (TAIL_CALL_SYSCALL_ERROR): New macro.
31941 (PSEUDO_RET): Use it.
31942 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31943 Correct save location of integer regs and cr.
31944 (_dl_profile_resolve): Correct cr save location. Delete nops
31945 after bl when SHARED. Reduce cfi size a little by better
31946 placement of cfi directives.
31947 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31948 make a stack frame. Instead use parm save area as a temp.
31949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31950 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31952 Don't make a stack frame for parent, use parm save area.
31953 Increase child stack frame to 112 bytes. Don't save unused reg,
31954 and adjust reg usage. Set up cfi on error recovery and
31955 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31957 (__makecontext): Add dummy nop after jump to exit.
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31959 Use correct parm save area and cr save, reduce stack frame.
31960 Correct cfi for possible PSEUDO_RET frame setup.
31961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31962 Branch to local label emitted by PSEUDO_RET rather than
31965 2010-08-12 Andreas Schwab <schwab@redhat.com>
31968 * locale/programs/locale.c (print_assignment): New function.
31969 (show_locale_vars): Use it.
31971 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31973 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31975 (struct statfs64): Likewise.
31976 (_STATFS_F_FLAGS): Define.
31977 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31979 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31980 (ST_VALID): Define locally.
31981 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31982 __statvfs_getflags, use the provided value.
31983 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31984 __ASSUME_STATFS_F_FLAGS.
31986 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31988 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31989 Add sys/fanotify.h.
31990 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31991 fanotify_mask for GLIBC_2.13.
31992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31993 fanotify_init and fanotify_mark.
31994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31995 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31999 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32000 prlimit64 for GLIBC_2.13.
32001 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32006 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32007 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32009 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32011 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32014 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32015 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32017 * nss/Makefile: Add rules to build and run tst-nss-test1.
32018 * shlib-versions: Add entry for libnss_test1.
32019 * nss/nss_test1.c: New file.
32020 * nss/tst-nss-test1.c: New file.
32022 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32023 (__nss_configure_lookup): Set appropriate entry in
32024 __nss_configure_lookup to true.
32025 * nss/nsswitch.h: Define enum with indeces of databases in
32026 databases and __nss_database_custom arrays. Declare
32027 __nss_database_custom.
32028 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32029 to avoid using nscd when custom rules are installed.
32030 * nss/getXXbyYY_r.c: Likewise.
32031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32033 * nss/nss_files/files-parse.c: Whitespace fixes.
32035 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32038 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32039 * posix/fnmatch_loop.c: Likewise.
32041 2010-07-17 Andi Kleen <ak@linux.intel.com>
32043 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32044 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32045 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32046 * Versions.def [GLIBC_2.13]: Add.
32048 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32050 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32051 Also fail if tpwd after pwuid call is NULL.
32053 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32055 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32056 when converting to ms.
32058 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32060 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32061 EOPNOTSUPP errors with ENOTTY.
32062 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32063 EOPNOTSUPP errors with ENOTTY.
32065 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32067 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32068 Add strcasecmp_l-ssse3.
32069 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32071 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32072 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32073 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32075 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32077 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32079 * string/Makefile (strop-tests): Add strcasecmp.
32080 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32081 strcasecmp_l-nonascii.
32082 (gen-as-const-headers): Add locale-defines.sym.
32083 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32084 * sysdeps/x86_64/strcasecmp.S: New file.
32085 * sysdeps/x86_64/strcasecmp_l.S: New file.
32086 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32087 * sysdeps/x86_64/locale-defines.sym: New file.
32088 * string/test-strcasecmp.c: New file.
32090 * string/test-strcasestr.c: Test both ends of the range of characters.
32091 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32093 2010-07-29 Roland McGrath <roland@redhat.com>
32096 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32098 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32100 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32103 2010-07-27 Andreas Schwab <schwab@redhat.com>
32105 * manual/memory.texi (Malloc Tunable Parameters): Document
32108 2010-07-26 Roland McGrath <roland@redhat.com>
32111 * configure.in (-fgnu89-inline check): Set and substitute
32112 gnu89_inline, not libc_cv_gnu89_inline.
32113 * configure: Regenerated.
32114 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32116 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32118 * string/test-strnlen.c: New file.
32119 * string/Makefile (strop-tests): Add strnlen.
32120 * string/tester.c (test_strnlen): Add a few more test cases.
32121 * string/tst-strlen.c: Better error reporting.
32123 * sysdeps/x86_64/strnlen.S: New file.
32125 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32128 lower-latency instructions.
32130 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32132 * string/test-strcasestr.c: New file.
32133 * string/test-strstr.c: New file.
32134 * string/Makefile (strop-tests): Add strstr and strcasestr.
32135 * string/str-two-way.h: Don't undefine MAX.
32136 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32138 2010-07-21 Andreas Schwab <schwab@redhat.com>
32140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32141 strcasestr-nonascii.
32142 (CFLAGS-strcasestr-nonascii.c): Define.
32143 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32145 Remove unused attribute.
32147 2010-07-20 Roland McGrath <roland@redhat.com>
32149 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32150 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32151 ld.so.cache was broken. With it, there is no way to disable dsocaps
32152 like LD_HWCAP_MASK can disable hwcaps.
32154 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32156 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32158 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32160 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32161 call in strcasestr.
32162 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32163 __strcasestr_sse42_nonascii.
32164 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32165 strcasestr-nonascii.c.
32166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32168 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32170 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32171 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32175 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32180 2010-07-06 Andreas Schwab <schwab@redhat.com>
32183 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32186 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32188 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32189 _PC_PIPE_BUF using F_GETPIPE_SZ.
32191 2010-07-05 Roland McGrath <roland@redhat.com>
32193 * manual/arith.texi (Rounding Functions): Fix rint description
32194 implicit in round description.
32196 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32198 * elf/Makefile: Fix linking for a few tests to make recent linker
32201 2010-06-30 Andreas Schwab <schwab@redhat.com>
32203 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32204 $(common-objpfx)libc_nonshared.a.
32206 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32208 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32209 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32210 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32211 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32212 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32213 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32214 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32215 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32230 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32231 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32232 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32233 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32234 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32235 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32236 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32237 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32238 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32239 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32240 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32241 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32257 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32259 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32260 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32261 * string/memmove.c (memmove): Renamed to ...
32262 (MEMMOVE): ...this. Default to memmove.
32263 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32264 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32267 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32268 mempcpy-ssse3-back memmove-ssse3-back.
32269 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32272 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32273 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32274 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32275 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32276 * sysdeps/x86_64/multiarch/memmove.c: New file.
32277 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32278 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32279 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32280 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32282 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32284 (index_Fast_Copy_Backward): Define.
32285 (HAS_ARCH_FEATURE): Define.
32286 (HAS_FAST_REP_STRING): Define.
32287 (HAS_FAST_COPY_BACKWARD): Define.
32289 2010-06-21 Andreas Schwab <schwab@redhat.com>
32291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32292 Restore proper fallback handling.
32294 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32297 * posix/group_member.c (__group_member): Correct checking loop.
32299 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32300 OOM in getpwuid_r correctly. Return error number when the caller
32301 should return, otherwise -1.
32302 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32303 call returning > 0 value.
32304 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32306 2010-06-07 Andreas Schwab <schwab@redhat.com>
32308 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32309 libc_nonshared.a from targets in modules-names.
32311 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32313 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32316 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32318 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32319 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32320 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32321 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32323 2010-06-02 Andreas Schwab <schwab@redhat.com>
32325 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32327 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32329 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32331 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32332 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32335 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32336 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32338 2010-06-14 Roland McGrath <roland@redhat.com>
32340 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32342 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32344 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32345 __REDIRECT followed by __THROW.
32346 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32347 * posix/getopt.h (getopt): Likewise.
32349 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32351 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32352 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32353 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32355 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32356 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32358 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32360 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32362 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32366 Properly check family and model.
32368 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32370 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32372 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32374 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32376 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32378 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32381 2010-05-19 Andreas Schwab <schwab@redhat.com>
32383 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32386 2010-05-21 Andreas Schwab <schwab@redhat.com>
32388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32389 and internal_recvmmsg.
32390 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32391 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32392 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32393 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32395 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32396 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32397 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32399 2010-05-20 Andreas Schwab <schwab@redhat.com>
32401 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32403 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32405 POWER7 optimizations.
32406 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32407 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32409 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32411 * version.h: Update for 2.13 development version.
32413 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32415 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32416 exceptions. Return 0.
32418 2010-05-07 Roland McGrath <roland@redhat.com>
32420 * elf/ldconfig.c (main): Add a const.
32422 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32424 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32425 (args_options): Add no-idn option.
32426 (ahosts_keys_int): Add idn_flags to ai_flags.
32427 (parse_option): Handle 'i' option to clear idn_flags.
32429 * malloc/malloc.c (_int_free): Possible race in the most recently
32430 added check. Only act on the data if no current modification
32433 See ChangeLog.17 for earlier changes.