1 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6 functions, renamed from truncdfsf_test, trunctfsf_test,
8 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10 (do_test): Run all these.
12 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14 * argp/argp-help.c: Fix typos.
15 * argp/argp-parse.c: Likewise.
16 * debug/backtracesyms.c: Likewise.
17 * elf/elf.h: Likewise.
18 * malloc/malloc.c: Likewise.
19 * nis/nis_print.c: Likewise.
20 * resolv/res_comp.c: Likewise.
21 * stdlib/stdlib.h: Likewise.
22 * sunrpc/clnt_tcp.c: Likewise.
23 * sunrpc/clnt_udp.c: Likewise.
24 * sunrpc/clnt_unix.c: Likewise.
25 * sysdeps/unix/bsd/ptsname.c: Likewise.
26 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38 2013-08-27 Mike Frysinger <vapier@gentoo.org>
41 * dlfcn/Makefile (tests): Add bug-dl-leaf.
42 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43 ($(objpfx)bug-dl-leaf): New rule.
44 ($(objpfx)bug-dl-leaf.so): Likewise.
45 ($(objpfx)bug-dl-leaf.out): Likewise.
46 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48 * dlfcn/bug-dl-leaf.c: New test.
49 * dlfcn/bug-dl-leaf-lib.c: Likewise.
50 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55 2013-08-27 Roland McGrath <roland@hack.frob.com>
57 * include/netdb.h [!_ISOMAC]:
58 Don't include <tls.h>.
59 (h_errno, __libc_h_errno): Move declaration and macros out of
62 * include/resolv.h [_RESOLV_H_]:
63 Don't include <tls.h>.
64 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
65 * resolv/res_libc.c: Don't include <tls.h>.
66 (_res): Use __attribute__ ((nocommon)) in place of
67 __attribute__ ((section (".bss"))).
69 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
70 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
72 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
74 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
75 only under [SIOCGIFCONF && SIOCGIFNETMASK].
77 * resolv/res_mkquery.c: Include <sys/time.h>.
79 * inet/ifreq.c: Moved to ...
80 * sysdeps/unix/ifreq.c: ... here.
81 * inet/ifreq.c: New file, true stub version.
83 * socket/sa_len.c: New file.
84 * socket/Makefile (aux): Add it.
85 * sysdeps/unix/sysv/linux/Makefile
86 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
87 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
88 and #include <socket/sa_len.c>.
89 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
90 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
92 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
93 * bits/socket.h: ... here.
95 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
96 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
97 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
99 2013-08-27 Andreas Schwab <schwab@suse.de>
102 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
103 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
104 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
105 * string/test-strcasecmp.c (test_main): Run tests in several
107 * string/test-strncasecmp.c (test_main): Likewise.
109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
110 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
111 to __strcasecmp_nonascii and __strncasecmp_nonascii.
112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
113 (__strncasecmp_ssse3) [PIC]: Likewise.
115 2013-08-26 Roland McGrath <roland@hack.frob.com>
117 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
119 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
120 instead of explicitly declaring xdecrypt.
121 * nis/nss_nis/nis-publickey.c: Likewise.
123 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
126 * nscd/aicache.c: Include res_hconf.h.
127 (addhstaiX): Initialize res_hconf.
129 2013-08-26 Andreas Schwab <schwab@suse.de>
131 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
132 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
134 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * nscd/aicache.c (addhstaiX): Fix indentation.
138 2013-08-25 Mike Frysinger <vapier@gentoo.org>
140 * configure.ac: Quote $build_pt_chown test.
141 * configure: Regenerated.
143 2013-08-23 Joseph Myers <joseph@codesourcery.com>
146 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
147 * math/s_cexpf.c (__cexpf): Likewise.
148 * math/s_cexpl.c (__cexpl): Likewise.
149 * math/libm-test.inc (cexp_test_data): Correct expected return
150 value for NaN + i0. Add another test.
152 2013-08-22 David S. Miller <davem@davemloft.net>
154 * po/ca.po: Update Catalan translation from translation project.
155 * po/uk.po: Add Ukrainian translations from translation project.
157 2013-08-21 Joseph Myers <joseph@codesourcery.com>
160 * math/s_fdim.c (__fdim): Check for infinite arguments if result
161 is infinite, not alongside NaN test.
162 * math/s_fdimf.c (__fdimf): Likewise.
163 * math/s_fdiml.c (__fdiml): Likewise.
164 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
167 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
169 * argp/argp-help.c: Fix typos.
170 * crypt/speeds.c: Likewise.
171 * csu/check_fds.c: Likewise.
172 * elf/dl-load.c: Likewise.
173 * elf/dl-open.c: Likewise.
174 * elf/reldep3.c: Likewise.
175 * elf/reldep.c: Likewise.
176 * elf/sprof.c: Likewise.
177 * iconv/iconv_charmap.c: Likewise.
178 * iconv/skeleton.c: Likewise.
179 * iconv/strtab.c: Likewise.
180 * io/lockf64.c: Likewise.
181 * libio/libioP.h: Likewise.
182 * resolv/gai_notify.c: Likewise.
183 * resolv/ns_name.c: Likewise.
184 * resolv/ns_samedomain.c: Likewise.
185 * resolv/res_send.c: Likewise.
186 * stdlib/random.c: Likewise.
187 * sunrpc/rpc/xdr.h: Likewise.
188 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
190 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
191 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
196 * sysdeps/mach/hurd/check_fds.c: Likewise.
197 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
198 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
200 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
201 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
202 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
203 * sysdeps/pthread/aio_notify.c: Likewise.
204 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
205 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
206 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
208 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
210 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
212 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
213 version if bit_Slow_SSE4_2 is set.
214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
215 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
217 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
220 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
221 trampoline stack frame information.
222 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
224 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
225 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
226 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
227 * sysdeps/unix/sysv/linux/powerpc/init-first.c
228 (_libc_vdso_platform_setup): Initialize the signal trampolines.
229 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
231 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
232 interrupting a syscall and set with option SA_SIGINFO.
234 2013-08-20 Joseph Myers <joseph@codesourcery.com>
237 * math/s_cproj.c (__cproj): Only return an infinity if one part of
238 argument is infinite.
239 * math/s_cprojf.c (__cprojf): Likewise.
240 * math/s_cprojl.c (__cprojl): Likewise.
241 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
242 * math/libm-test.inc (cproj_test_data): Add more tests.
244 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
246 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
247 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
248 size. Use __ffs to determine corresponding shift.
250 2013-08-20 Joseph Myers <joseph@codesourcery.com>
251 Roland McGrath <roland@hack.frob.com>
253 * Makefile (INSTALL): Remove trailing blank lines from output of
256 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
258 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
259 Align 32 bit compat elf_greg to 8 bytes.
261 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
263 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
265 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
267 * string/strcoll_l.c (coll_seq): New structure.
268 (get_next_seq_cached): New function.
269 (get_next_seq): New function.
270 (do_compare): New function.
271 (STRCOLL): Use GNU style definition. Simplify implementation
272 by using get_next_seq, get_next_seq_cached and do_compare.
274 2013-08-16 Florian Weimer <fweimer@redhat.com>
278 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
280 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
282 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
283 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
284 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
286 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
287 GETDENTS_64BIT_ALIGNED.
288 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
289 * manual/filesys.texi (Reading/Closing Directory): Document
290 ENAMETOOLONG return value of readdir_r. Recommend readdir more
292 * manual/conf.texi (Limits for Files): Add portability note to
294 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
296 2013-08-13 Andreas Schwab <schwab@suse.de>
299 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
301 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
302 LDBL_MAX_EXP >= 16384]: Add tests for it.
304 2013-08-12 David S. Miller <davem@davemloft.net>
306 * version.h (RELEASE): Set to "development".
307 (VERSION): Set to "2.18.90".
308 * NEWS: Add 2.19 section.
310 2013-08-03 David S. Miller <davem@davemloft.net>
312 * po/ko.po: Update Korean translation from translation project.
314 2013-08-01 David S. Miller <davem@davemloft.net>
316 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
317 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
320 2013-07-30 David S. Miller <davem@davemloft.net>
322 * po/fr.po: Update French translation from translation project.
324 2013-07-28 David S. Miller <davem@davemloft.net>
326 * po/cs.po: Update Czech translation from translation project.
328 * po/sv.po: Update Swedish translation from translation project.
330 2013-07-27 David S. Miller <davem@davemloft.net>
332 * po/eo.po: Update Esperanto translation from translation project.
334 * po/vi.po: Update Vietnamese translation from translation project.
336 * po/de.po: Update German translation from translation project.
338 2013-07-26 David S. Miller <davem@davemloft.net>
340 * po/bg.po: Update Bulgarian translation from translation project.
342 * po/nl.po: Update Dutch translation from translation project.
343 * po/pl.po: Update Polish translation from translation project.
344 * po/ru.po: Update Russian translation from translation project.
346 2013-07-24 David S. Miller <davem@davemloft.net>
348 * po/libc.pot: Update.
350 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
352 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
354 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
355 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
356 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
358 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
360 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
362 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
363 Andreas Schwab <schwab@suse.de>
364 Roland McGrath <roland@hack.frob.com>
365 Joseph Myers <joseph@codesourcery.com>
366 Carlos O'Donell <carlos@redhat.com>
369 * config.h.in: Define HAVE_PT_CHOWN.
370 * config.make.in (build-pt-chown): New variable.
371 * configure.in (--enable-pt_chown): New configure option.
372 * configure: Regenerate.
373 * login/Makefile: Include Makeconfig. Build pt_chown only if
374 build-pt-chown is enabled.
375 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
376 pt_chown to fix pty ownership.
377 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
379 * manual/install.texi (Configuring and compiling): Mention
380 --enable-pt_chown. Add @findex for grantpt.
381 * INSTALL: Regenerate.
383 2013-07-20 David S. Miller <davem@davemloft.net>
385 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
386 difference between 32-bit and 64-bit.
388 2013-07-15 Carlos O'Donell <carlos@redhat.com>
391 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
392 Avoid system header dependency with -ffreestanding.
393 ($(objpfx)bits/syscall%d): Likewise.
395 2013-07-13 David S. Miller <davem@davemloft.net>
397 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
398 underflows from atanl/atan2l due to bug 15319.
399 (casinh_test_data): Likewise.
401 2013-07-07 David S. Miller <davem@davemloft.net>
403 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
405 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
407 * sysdeps/i386/fpu/libm-test-ulps: Update.
408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
410 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
412 * configure.in (--enable-lock-elision): Fix message text.
413 * INSTALL: Regenerate.
414 * configure: Regenerate.
416 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
420 2013-07-03 Andreas Jaeger <aj@suse.de>
422 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
424 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
425 (ptrace_peeksiginfo_args): Add.
426 (__ptrace_peeksiginfo_flags): Add.
427 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
431 2013-07-03 Allan McRae <allan@archlinux.org>
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
435 2013-07-02 David S. Miller <davem@davemloft.net>
437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
439 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
443 2013-07-02 Joseph Myers <joseph@codesourcery.com>
445 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
448 2013-07-02 Andi Kleen <ak@linux.intel.com>
450 * config.h.in (ENABLE_LOCK_ELISION): Add.
451 * configure.in (--enable-lock-elision): Add option.
452 * manual/install.texi: Document --enable lock elision.
453 * configure: Regenerate
454 * INSTALL: Regenerate.
456 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
458 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
459 SSE4.2 strcasecmp for libc.a.
460 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
462 2013-07-02 Joseph Myers <joseph@codesourcery.com>
465 * soft-fp/op-common.h (_FP_FMA): New macro.
466 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
467 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
468 (_FP_MUL_MEAT_1_imm): ... here.
469 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
470 (_FP_MUL_MEAT_1_wide): ... here.
471 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
472 (_FP_MUL_MEAT_1_hard): ... here.
473 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
474 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
475 (_FP_MUL_MEAT_2_wide): ... here.
476 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
477 (_FP_MUL_MEAT_2_wide_3mul): ... here.
478 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
479 (_FP_MUL_MEAT_2_gmp): ... here.
480 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
481 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
482 (_FP_MUL_MEAT_4_wide): ... here.
483 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
484 (_FP_MUL_MEAT_4_gmp): ... here.
485 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
486 (_FP_WFRACBITS_DW_S): Likewise.
487 (_FP_WFRACXBITS_DW_S): Likewise.
488 (_FP_HIGHBIT_DW_S): Likewise.
489 (FP_FMA_S): Likewise.
490 (_FP_FRAC_HIGH_DW_S): Likewise.
491 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
492 (_FP_WFRACBITS_DW_D): Likewise.
493 (_FP_WFRACXBITS_DW_D): Likewise.
494 (_FP_HIGHBIT_DW_D): Likewise.
495 (FP_FMA_D): Likewise.
496 (_FP_FRAC_HIGH_DW_D): Likewise.
497 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
498 (_FP_WFRACBITS_DW_E): Likewise.
499 (_FP_WFRACXBITS_DW_E): Likewise.
500 (_FP_HIGHBIT_DW_E): Likewise.
501 (FP_FMA_E): Likewise.
502 (_FP_FRAC_HIGH_DW_E): Likewise.
503 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
504 (_FP_WFRACBITS_DW_Q): Likewise.
505 (_FP_WFRACXBITS_DW_Q): Likewise.
506 (_FP_HIGHBIT_DW_Q): Likewise.
507 (FP_FMA_Q): Likewise.
508 (_FP_FRAC_HIGH_DW_Q): Likewise.
509 * soft-fp/fmasf4.c: New file.
510 * soft-fp/fmadf4.c: Likewise.
511 * soft-fp/fmatf4.c: Likewise.
513 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
516 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
520 (index_Slow_SSE4_2): Likewise.
521 (index_Prefer_PMINUB_for_stringop): Likewise.
522 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
523 bit_Slow_SSE4_2 is set.
524 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
525 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
527 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
529 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
530 rtld_global._dl_hwcap2.
531 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
533 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
534 POWER8 feature descriptions defined in _dl_hwcap2.
535 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
536 string handling for POWER8 feature bits.
537 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
538 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
539 _dl_powerpc_cap_flags.
540 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
541 * sysdeps/powerpc/rtld-global-offsets.sym
542 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
543 _dl_hwcap2 in the rtld_global_ro structure.
545 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
547 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
548 hardware capabilities in support of AT_HWCAP2.
549 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
550 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
552 (_dl_show_auxv): Add support for calling _dl_procinfo to display
553 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
554 explicitly the unknown a_type display mechanism is used.
555 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
556 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
558 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
559 to macro prototype for AT_HWCAP2 support.
560 * sysdeps/i386/dl-procinfo.h: Likewise.
561 * sysdeps/s390/dl-procinfo.h: Likewise.
562 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
563 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
564 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
565 return -1 for unknown a_type display fallback.
566 * sysdeps/sparc/dl-procinfo.h: Likewise.
567 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
568 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
570 2013-06-28 Joseph Myers <joseph@codesourcery.com>
572 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
573 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
575 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
578 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
579 mprotect making __stack_prot writable.
581 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
582 Joseph Myers <joseph@codesourcery.com>
584 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
585 as being properly aligned.
587 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
589 * dlfcn/modstatic5.c: New file.
590 * dlfcn/tststatic5.c: New file.
591 * dlfcn/Makefile (tests): Add tststatic5.
592 (tests-static): Likewise.
593 (modules-names): Add modstatic5.
594 (tststatic5-ENV): New variable.
595 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
598 * elf/dl-support.c (_dl_main_map): New variable.
599 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
600 (_dl_nns, _dl_load_adds): Set to 1.
601 (_dl_initial_searchlist): Refer to _dl_main_map.
602 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
603 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
604 call to _dl_get_origin.
605 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
607 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
608 * dlfcn/modstatic3.c: New file.
609 * dlfcn/tststatic3.c: New file.
610 * dlfcn/tststatic4.c: New file.
611 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
612 (tests-static): Likewise.
613 (modules-names): Add modstatic3.
614 (tststatic3-ENV, tststatic4-ENV): New variables.
615 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
616 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
618 2013-06-26 Joseph Myers <joseph@codesourcery.com>
620 * configure.in (CC): Require GCC version 4.4 or later.
621 * configure: Regenerated.
622 * manual/install.texi (Tools for Compilation): Update GCC version
624 * INSTALL: Regenerated.
626 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
629 * string/test-memcmp.c (check2): New.
632 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
634 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
637 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
639 (dl_open_worker) [!SHARED]: ... here.
641 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
643 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
645 2013-06-25 Richard Henderson <rth@redhat.com>
647 * locale/programs/locarchive.c: Include <libc-internal.h>
649 2013-06-25 Joseph Myers <joseph@codesourcery.com>
651 * manual/texinfo.tex: Update to version 2013-06-21.17, with
652 trailing whitespace removed.
654 2013-06-24 Mike Frysinger <vapier@gentoo.org>
657 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
658 * locale/programs/locarchive.c: Include libc-mmap.h.
659 (prepare_address_space): Take two new outputs (the mmap base and len).
660 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
662 (create_archive): Declare new mmap base and len values for
663 prepare_address_space, and store the result in ah.
664 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
665 (enlarge_archive): If ah->mmap_base is not NULL, use that and
666 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
667 Declare new mmap base and len values for
668 prepare_address_space, and store the result in new_ah.
669 (open_archive): Declare new mmap base and len values for
670 prepare_address_space, and store the result in ah.
671 (close_archive): If ah->mmap_base is not NULL, use that and
672 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
673 * sysdeps/generic/libc-mmap.h: New file.
675 2013-06-24 Mike Frysinger <vapier@gentoo.org>
677 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
678 (ALIGN_UP): Likewise.
679 (PTR_ALIGN_DOWN): Likewise.
680 (PTR_ALIGN_UP): Likewise.
682 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
684 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
685 entry mapped to PPC_PLATFORM_POWER8.
686 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
688 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
689 (_dl_string_platform): Add case for exporting platform position for
691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
692 search path to sysdeps/powerpc/powerpc32/power8 directory.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
694 search path to sysdeps/powerpc/powerpc64/power8 directory.
695 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
697 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
700 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
702 * INSTALL: Regenerate.
704 * nscd/connections.c (nscd_init): Fix comment.
706 2013-06-22 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
711 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
712 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
714 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
716 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
718 (DL_DST_REQ_STATIC): Remove macro.
720 2013-06-21 Joseph Myers <joseph@codesourcery.com>
723 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
724 with a shift of 0 bits.
726 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
728 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
731 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
734 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
736 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
739 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
740 accepts -fno-tree-loop-distribute-patterns.
741 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
742 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
744 * string/memset.c (memset): Likewise.
745 * string/test-memmove.c (simple_memmove): Disable loop transformation
747 * string/test-memset.c (simple_memset): Likewise.
748 * benchtests/bench-memmove.c (simple_memmove): Likewise.
749 * benchtests/bench-memset.c (simple_memset): Likewise.
750 * configure: Regenerated.
752 2013-06-20 Joseph Myers <joseph@codesourcery.com>
754 * math/test-misc.c (main): Ignore fesetround failure when failures
755 of subsequent rounding tests would be ignored.
758 * math/fedisblxcpt.c (fedisableexcept): Return 0.
759 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
760 * math/fegetenv.c (__fegetenv): Return 0.
761 * math/fegetexcept.c (fegetexcept): Return 0.
762 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
764 * math/feholdexcpt.c (feholdexcept): Return 0.
765 * math/fesetenv.c (__fesetenv): Return 0.
766 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
767 argument FE_TONEAREST.
768 * math/feupdateenv.c (__feupdateenv): Return 0.
769 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
771 2013-06-18 Roland McGrath <roland@hack.frob.com>
773 * elf/rtld-Rules (rtld-compile-command.S): New variable.
774 (rtld-compile-command.s, rtld-compile-command.c): New variables.
775 ($(objpfx)rtld-%.os rules): Use them.
777 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
782 2013-06-17 Roland McGrath <roland@hack.frob.com>
784 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
785 length of target pattern, then descending length of dependency pattern.
786 * configure.in (AWK): Require gawk 3.1.2 or newer.
787 * manual/install.texi (Tools for Compilation): Say that we do.
788 * configure: Regenerated.
790 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
791 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
792 * scripts/sysd-rules.awk: ... this new script.
793 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
794 than a glob-style pattern.
796 2013-06-17 Joseph Myers <joseph@codesourcery.com>
798 * math/test-misc.c (main): Do not treat incorrectly rounded
799 conversions as failure unless ROUNDING_TESTS passes.
801 2013-06-15 Joseph Myers <joseph@codesourcery.com>
804 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
805 restore exception state around main square root computation, then
806 check for inexactness explicitly.
808 * math/libm-test.inc (fma_test_data): Add another test.
810 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
812 * manual/threads.texi (Non-POSIX Extensions): New document
813 node. Document pthread_getattr_default_np and
814 pthread_setattr_default_np.
816 * Versions.def (libpthread): Add GLIBC_2.18.
817 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
826 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
837 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
840 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
842 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
843 H.J. Lu <hjl.tools@gmail.com>
846 * sysdeps/x86_64/rtld-memset.c: Remove file.
847 * sysdeps/x86_64/rtld-memset.S: New file.
849 2013-06-14 Joseph Myers <joseph@codesourcery.com>
851 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
852 (test_in_one_mode): Take arguments for whether the rounding mode
853 is supported for each floating-point type.
854 (do_test): Pass new arguments to test_in_one_mode using
857 2013-06-13 Roland McGrath <roland@hack.frob.com>
859 * posix/tst-waitid.c (do_test): Distinguish different instances of
860 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
861 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
862 before entering the kernel for waitpid.
864 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
866 * NEWS: Fix note on clock function precision. Text by Roland
869 2013-06-13 Roland McGrath <roland@hack.frob.com>
871 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
872 it into place only when and if the sanity check passes.
874 2013-06-13 Joseph Myers <joseph@codesourcery.com>
876 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
877 output for whether conversion result is exact. Take argument
878 indicating whether type is IBM long double.
879 (round_for_all): Change need_exact field to ibm_ld.
880 * stdlib/tst-strtod-round.c (struct exactness): New type.
881 (struct test): Change bool ld_ok field to struct exactness exact.
882 (TEST): Update all definitions for change to field.
883 (tests): Regenerate array contents.
884 (test_in_one_mode): Take pointer to new field instead of old ld_ok
885 field value. Check for IBM long double here.
886 (do_test): Update calls to test_in_one_mode.
888 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
891 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
892 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
894 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
898 generated by the compiler on loop optimizations.
899 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
902 2013-06-12 Joseph Myers <joseph@codesourcery.com>
904 * math/bug-nextafter.c: Include <math-tests.h>.
905 (main): Only test for exceptions if EXCEPTION_TESTS is true for
907 * math/bug-nexttoward.c: Include <math-tests.h>.
908 (main): Only test for exceptions if EXCEPTION_TESTS is true for
910 * math/test-misc.c: Include <math-tests.h>.
911 (main): Only test for exceptions if EXCEPTION_TESTS is true for
914 2013-06-12 Andreas Jaeger <aj@suse.de>
916 * po/ia.po: Update Interlingua translation from translation
919 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
921 * include/fenv.h: Include stdbool.h.
922 (struct rm_ctx): New structure.
923 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
925 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
926 (SET_RESTORE_ROUNDF): Likewise.
927 (SET_RESTORE_ROUNDL): Likewise.
928 (SET_RESTORE_ROUND_NOEX): Likewise.
929 (SET_RESTORE_ROUND_NOEXF): Likewise.
930 (SET_RESTORE_ROUND_NOEXL): Likewise.
931 (SET_RESTORE_ROUND_53BIT): Likewise.
932 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
933 (libc_feresetround_noexf_ctx): Likewise.
934 (libc_feresetround_noexl_ctx): Likewise.
935 (libc_feholdsetround_53bit_ctx): Likewise.
936 (libc_feresetround_53bit_ctx): Likewise.
937 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
938 (libc_feholdexcept_setround_sse_ctx): New function.
939 (libc_fesetenv_sse_ctx): Likewise.
940 (libc_feupdateenv_sse_ctx): Likewise.
941 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
942 (libc_feholdexcept_setround_387_ctx): Likewise.
943 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
944 (libc_feholdsetround_387_prec_ctx): Likewise.
945 (libc_feholdsetround_387_ctx): Likewise.
946 (libc_feholdsetround_387_53bit_ctx): Likewise.
947 (libc_feholdsetround_sse_ctx): Likewise.
948 (libc_feresetround_sse_ctx): Likewise.
949 (libc_feresetround_387_ctx): Likewise.
950 (libc_feupdateenv_387_ctx): Likewise.
951 (libc_feholdexcept_setroundf_ctx): Define macro.
952 (libc_fesetenvf_ctx): Likewise.
953 (libc_feupdateenvf_ctx): Likewise.
954 (libc_feholdsetroundf_ctx): Likewise.
955 (libc_feresetroundf_ctx): Likewise.
956 (libc_feholdexcept_setround_ctx): Likewise.
957 (libc_fesetenv_ctx): Likewise.
958 (libc_feupdateenv_ctx): Likewise.
959 (libc_feholdsetround_ctx): Likewise.
960 (libc_feresetround_ctx): Likewise.
961 (libc_feholdexcept_setroundl_ctx): Likewise.
962 (libc_feupdateenvl_ctx): Likewise.
963 (libc_feholdsetroundl_ctx): Likewise.
964 (libc_feresetroundl_ctx): Likewise.
965 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
966 (libc_feresetround_53bit_ctx): Likewise.
968 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
970 * locale/iso-639.def: Convert to UTF-8.
972 2013-06-11 Joseph Myers <joseph@codesourcery.com>
974 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
975 (EXCEPTION_TESTS_double): Likewise.
976 (EXCEPTION_TESTS_long_double): Likewise.
977 (EXCEPTION_TESTS): Likewise.
978 * math/libm-test.inc (test_exceptions): Only test exceptions if
979 EXCEPTION_TESTS (FLOAT).
981 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
983 * benchtests/Makefile (string-bench): Add strcpy_chk and
985 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
986 * benchtests/bench-stpcpy_chk.c: New file.
987 * benchtests/bench-strcpy_chk-ifunc.c: New file.
988 * benchtests/bench-strcpy_chk.c: New file.
989 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
993 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
995 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
996 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
997 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
998 with tabs where appropriate.
999 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1001 [PPC_PLATFORM_PPC440]: Likewise.
1002 [PPC_PLATFORM_PPC464]: Likewise.
1003 [PPC_PLATFORM_PPC476]: Likewise.
1004 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1005 ppc464, and ppc476 platform strings merging from ports/
1008 2013-06-11 Andreas Schwab <schwab@suse.de>
1011 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1012 (from_ucs4_idx): Regenerate.
1013 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1014 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1015 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1016 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1017 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1018 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1019 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1020 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1021 from FROM_LOOP and TO_LOOP specific macros.
1022 (BODY): Handle combining characters.
1023 * iconvdata/BIG5HKSCS.irreversible: Update.
1024 * iconvdata/BIG5HKSCS.precomposed: New file.
1025 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1027 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1029 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1031 * include/sys/time.h: Fix indentation and add copyright header.
1033 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1034 (do_test): Likewise.
1035 * string/test-memchr.c (do_one_test): Likewise.
1036 (do_test): Likewise.
1037 * string/test-memcmp.c (do_one_test): Likewise.
1038 (do_test): Likewise.
1039 * string/test-memcpy.c (do_one_test): Likewise.
1040 (do_test): Likewise.
1041 * string/test-memmem.c (do_one_test): Likewise.
1042 (do_test): Likewise.
1043 (do_random_tests): Likewise.
1044 * string/test-memmove.c (do_one_test): Likewise.
1045 (do_test): Likewise.
1046 * string/test-memset.c (do_one_test): Likewise.
1047 (do_test): Likewise.
1048 * string/test-rawmemchr.c (do_one_test): Likewise.
1049 (do_test): Likewise.
1050 * string/test-strcasecmp.c (do_one_test): Likewise.
1051 (do_test): Likewise.
1052 * string/test-strcasestr.c (do_one_test): Likewise.
1053 (do_test): Likewise.
1054 * string/test-strcat.c (do_one_test): Likewise.
1055 (do_test): Likewise.
1056 * string/test-strchr.c (do_one_test): Likewise.
1057 (do_test): Likewise.
1058 * string/test-strcmp.c (do_one_test): Likewise.
1059 (do_test): Likewise.
1060 * string/test-strcpy.c (do_one_test): Likewise.
1061 (do_test): Likewise.
1062 * string/test-string.h: Likewise.
1063 (test_init): Likewise.
1064 * string/test-strlen.c (do_one_test): Likewise.
1065 (do_test): Likewise.
1066 * string/test-strncasecmp.c (do_one_test): Likewise.
1067 (do_test): Likewise.
1068 * string/test-strncat.c (do_one_test): Likewise.
1069 (do_test): Likewise.
1070 * string/test-strncmp.c (do_one_test): Likewise.
1071 (do_test_limit): Likewise.
1072 (do_test): Likewise.
1073 * string/test-strncpy.c (do_one_test): Likewise.
1074 (do_test): Likewise.
1075 * string/test-strnlen.c (do_one_test): Likewise.
1076 (do_test): Likewise.
1077 * string/test-strpbrk.c (do_one_test): Likewise.
1078 (do_test): Likewise.
1079 * string/test-strrchr.c (do_one_test): Likewise.
1080 (do_test): Likewise.
1081 * string/test-strspn.c (do_one_test): Likewise.
1082 (do_test): Likewise.
1083 * string/test-strstr.c (do_one_test): Likewise.
1084 (do_test): Likewise.
1086 * benchtests/Makefile (string-bench): Add string benchmarks.
1087 * benchtests/bench-bcopy-ifunc.c: New file.
1088 * benchtests/bench-bcopy.c: New file.
1089 * benchtests/bench-bzero-ifunc.c: New file.
1090 * benchtests/bench-bzero.c: New file.
1091 * benchtests/bench-memccpy-ifunc.c: New file.
1092 * benchtests/bench-memccpy.c: New file.
1093 * benchtests/bench-memchr-ifunc.c: New file.
1094 * benchtests/bench-memchr.c: New file.
1095 * benchtests/bench-memcmp-ifunc.c: New file.
1096 * benchtests/bench-memcmp.c: New file.
1097 * benchtests/bench-memmem-ifunc.c: New file.
1098 * benchtests/bench-memmem.c: New file.
1099 * benchtests/bench-memmove-ifunc.c: New file.
1100 * benchtests/bench-memmove.c: New file.
1101 * benchtests/bench-mempcpy-ifunc.c: New file.
1102 * benchtests/bench-mempcpy.c: New file.
1103 * benchtests/bench-memset-ifunc.c: New file.
1104 * benchtests/bench-memset.c: New file.
1105 * benchtests/bench-rawmemchr-ifunc.c: New file.
1106 * benchtests/bench-rawmemchr.c: New file.
1107 * benchtests/bench-stpcpy-ifunc.c: New file.
1108 * benchtests/bench-stpcpy.c: New file.
1109 * benchtests/bench-stpncpy-ifunc.c: New file.
1110 * benchtests/bench-stpncpy.c: New file.
1111 * benchtests/bench-strcasecmp-ifunc.c: New file.
1112 * benchtests/bench-strcasecmp.c: New file.
1113 * benchtests/bench-strcasestr-ifunc.c: New file.
1114 * benchtests/bench-strcasestr.c: New file.
1115 * benchtests/bench-strcat-ifunc.c: New file.
1116 * benchtests/bench-strcat.c: New file.
1117 * benchtests/bench-strchr-ifunc.c: New file.
1118 * benchtests/bench-strchr.c: New file.
1119 * benchtests/bench-strchrnul-ifunc.c: New file.
1120 * benchtests/bench-strchrnul.c: New file.
1121 * benchtests/bench-strcmp-ifunc.c: New file.
1122 * benchtests/bench-strcmp.c: New file.
1123 * benchtests/bench-strcpy-ifunc.c: New file.
1124 * benchtests/bench-strcpy.c: New file.
1125 * benchtests/bench-strcspn-ifunc.c: New file.
1126 * benchtests/bench-strcspn.c: New file.
1127 * benchtests/bench-strlen-ifunc.c: New file.
1128 * benchtests/bench-strlen.c: New file.
1129 * benchtests/bench-strncasecmp-ifunc.c: New file.
1130 * benchtests/bench-strncasecmp.c: New file.
1131 * benchtests/bench-strncat-ifunc.c: New file.
1132 * benchtests/bench-strncat.c: New file.
1133 * benchtests/bench-strncmp-ifunc.c: New file.
1134 * benchtests/bench-strncmp.c: New file.
1135 * benchtests/bench-strncpy-ifunc.c: New file.
1136 * benchtests/bench-strncpy.c: New file.
1137 * benchtests/bench-strnlen-ifunc.c: New file.
1138 * benchtests/bench-strnlen.c: New file.
1139 * benchtests/bench-strpbrk-ifunc.c: New file.
1140 * benchtests/bench-strpbrk.c: New file.
1141 * benchtests/bench-strrchr-ifunc.c: New file.
1142 * benchtests/bench-strrchr.c: New file.
1143 * benchtests/bench-strspn-ifunc.c: New file.
1144 * benchtests/bench-strspn.c: New file.
1145 * benchtests/bench-strstr-ifunc.c: New file.
1146 * benchtests/bench-strstr.c: New file.
1148 * benchtests/Makefile: Disable parallel execution of targets.
1149 (string-bench): Add memcpy.
1150 (benchset): New variable to store a list of benchmark sets.
1151 (bench-func): Renamed from bench.
1152 (bench-set): New target.
1153 (bench): Depend on bench-func and bench-set.
1154 * benchtests/README: Add section on benchmark sets.
1155 * benchtests/bench-memcpy-ifunc.c: New file.
1156 * benchtests/bench-memcpy.c: New file.
1157 * benchtests/bench-string.h: New file.
1159 2013-06-11 Andreas Schwab <schwab@suse.de>
1162 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1163 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1164 values in the triple.
1165 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1166 terminator in the group key.
1168 2013-06-11 Andreas Jaeger <aj@suse.de>
1170 * po/zh_TW.po: Update Chinese (traditional) translation from
1171 translation project.
1173 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1175 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1176 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1177 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1178 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1179 (clock_getcpuclockid): Likewise.
1180 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1181 Add weak_alias and libc_hidden_def.
1182 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1183 * rt/clock_gettime.c (clock_gettime): Rename to
1184 __clock_gettime. Add weak_alias and libc_hidden_def.
1185 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1186 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1187 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1188 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1189 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1191 * rt/clock_settime.c (clock_settime): Rename to
1192 __clock_settime. Add weak_alias and libc_hidden_def.
1193 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1195 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1197 * mach/err_boot.sub: Remove trailing whitespace.
1198 * mach/err_ipc.sub: Likewise.
1199 * mach/err_mach.sub: Likewise.
1201 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1202 (ROUNDING_TESTS_double): Likewise.
1203 (ROUNDING_TESTS_long_double): Likewise.
1204 (ROUNDING_TESTS): Likewise.
1205 * math/libm-test.inc: Include <math-tests.h>.
1206 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1207 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1208 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1209 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1211 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1213 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1216 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1218 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1219 otherwise empty TRANS lines.
1220 * sysdeps/gnu/errlist.c: Regenerated.
1222 * catgets/gencat.c (error_print): Use (void) in function
1224 * crypt/crypt_util.c (__init_des): Likewise.
1225 * crypt/speeds.c (Stop): Likewise.
1227 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1228 * inet/ruserpass.c (token): Likewise.
1229 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1230 * intl/localealias.c (extend_alias_table): Likewise.
1231 * intl/plural-exp.c (init_germanic_plural): Likewise.
1232 * libio/fcloseall.c (__fcloseall): Likewise.
1233 * libio/genops.c (_IO_flush_all): Likewise.
1234 (_IO_flush_all_linebuffered): Likewise.
1235 (_IO_cleanup): Likewise.
1236 (_IO_iter_begin): Likewise.
1237 (_IO_iter_end): Likewise.
1238 (_IO_list_lock): Likewise.
1239 (_IO_list_unlock): Likewise.
1240 (_IO_list_resetlock): Likewise.
1241 * libio/getchar.c (getchar): Likewise.
1242 * libio/getchar_u.c (getchar_unlocked): Likewise.
1243 * libio/getwchar.c (getwchar): Likewise.
1244 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1245 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1246 * login/getpt.c (__getpt): Likewise.
1247 * login/tst-utmp.c (main): Likewise.
1248 * malloc/hooks.c (__malloc_check_init): Likewise.
1249 * malloc/malloc.c (__malloc_stats): Likewise.
1250 * malloc/mtrace.c (tr_break): Likewise.
1252 (muntrace): Likewise.
1253 * misc/fstab.c (endfsent): Likewise.
1254 * misc/getclktck.c (__getclktck): Likewise.
1255 * misc/getdtsz.c (__getdtablesize): Likewise.
1256 * misc/gethostid.c (gethostid): Likewise.
1257 * misc/getpagesize.c (__getpagesize): Likewise.
1258 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1259 (__get_nprocs): Likewise.
1260 (__get_phys_pages): Likewise.
1261 (__get_avphys_pages): Likewise.
1262 * misc/getttyent.c (getttyent): Likewise.
1263 (setttyent): Likewise.
1264 (endttyent): Likewise.
1265 * misc/getusershell.c (getusershell): Likewise.
1266 (endusershell): Likewise.
1267 (setusershell): Likewise.
1268 (initshells): Likewise.
1269 * misc/hsearch.c (__hdestroy): Likewise.
1270 * misc/sync.c (sync): Likewise.
1271 * misc/syslog.c (closelog_internal): Likewise.
1272 (closelog): Likewise.
1273 * misc/ttyslot.c (ttyslot): Likewise.
1274 * misc/vhangup.c (vhangup): Likewise.
1275 * posix/fork.c (__fork): Likewise.
1276 * posix/getegid.c (__getegid): Likewise.
1277 * posix/geteuid.c (__geteuid): Likewise.
1278 * posix/getgid.c (__getgid): Likewise.
1279 * posix/getpid.c (__getpid): Likewise.
1280 * posix/getppid.c (__getppid): Likewise.
1281 * posix/getuid.c (__getuid): Likewise.
1282 * posix/pause.c (pause): Likewise.
1283 * posix/setpgrp.c (setpgrp): Likewise.
1284 * posix/setsid.c (__setsid): Likewise.
1285 * posix/test-vfork.c (noop): Likewise.
1286 * resolv/gethnamaddr.c (_endhtent): Likewise.
1287 (_gethtent): Likewise.
1288 (ht_endhostent): Likewise.
1289 (gethostent): Likewise.
1290 (dns_service): Likewise.
1291 * stdlib/drand48.c (drand48): Likewise.
1292 * stdlib/lrand48.c (lrand48): Likewise.
1293 * stdlib/mrand48.c (mrand48): Likewise.
1294 * stdlib/rand.c (rand): Likewise.
1295 * stdlib/random.c (__random): Likewise.
1296 * stdlib/setenv.c (clearenv): Likewise.
1297 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1298 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1299 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1300 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1301 (__get_nprocs): Likewise.
1302 (__get_phys_pages): Likewise.
1303 (__get_avphys_pages): Likewise.
1304 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1305 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1306 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1307 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1308 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1309 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1310 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1311 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1312 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1313 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1314 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1315 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1316 * sysdeps/posix/clock.c (clock): Likewise.
1317 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1318 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1319 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1320 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1321 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1323 (__get_nprocs_conf): Likewise.
1324 (__get_phys_pages): Likewise.
1325 (__get_avphys_pages): Likewise.
1326 * time/clock.c (clock): Likewise.
1327 * time/tzset.c (__tzname_max): Likewise.
1329 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1331 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1332 (__bswap_32): Do not use "register".
1333 * crypt/crypt.c (_ufc_doit_r): Likewise.
1334 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1335 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1336 * gmon/gmon.c (__monstartup): Likewise.
1337 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1338 * hurd/hurdmalloc.c (more_memory): Likewise.
1341 (realloc): Likewise.
1342 (malloc_fork_prepare): Likewise.
1343 (malloc_fork_parent): Likewise.
1344 (malloc_fork_child): Likewise.
1345 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1346 (_svcauth_des): Likewise.
1347 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1348 * inet/inet_net.c (inet_network): Likewise.
1349 * inet/inet_netof.c (inet_netof): Likewise.
1350 * inet/rcmd.c (__validuser2_sa): Likewise.
1351 * io/fts.c (fts_open): Likewise.
1352 (fts_load): Likewise.
1353 (fts_close): Likewise.
1354 (fts_read): Likewise.
1355 (fts_children): Likewise.
1356 (fts_build): Likewise.
1357 (fts_stat): Likewise.
1358 (fts_sort): Likewise.
1359 (fts_alloc): Likewise.
1360 (fts_lfree): Likewise.
1361 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1362 (_IO_file_xsgetn): Likewise.
1363 (_IO_file_xsgetn_mmap): Likewise.
1364 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1365 (_IO_cookie_write): Likewise.
1366 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1367 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1368 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1369 * malloc/obstack.c (_obstack_begin): Likewise.
1370 (_obstack_begin_1): Likewise.
1371 (_obstack_newchunk): Likewise.
1372 (_obstack_allocated_p): Likewise.
1373 (obstack_free): Likewise.
1374 (_obstack_memory_used): Likewise.
1375 * misc/getttyent.c (getttynam): Likewise.
1376 (getttyent): Likewise.
1379 * misc/getusershell.c (initshells): Likewise.
1380 * misc/syslog.c (__vsyslog_chk): Likewise.
1381 * misc/ttyslot.c (ttyslot): Likewise.
1382 * nis/nis_hash.c (__nis_hash): Likewise.
1383 * posix/fnmatch_loop.c (FCT): Likewise.
1384 * posix/getconf.c (print_all): Likewise.
1386 * posix/getopt.c (exchange): Likewise.
1387 * posix/glob.c (globfree): Likewise.
1388 (prefix_array): Likewise.
1389 (__glob_pattern_type): Likewise.
1390 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1391 (NS_GET32): Likewise.
1392 (NS_PUT16): Likewise.
1393 (NS_PUT32): Likewise.
1394 * resolv/gethnamaddr.c (getanswer): Likewise.
1395 (gethostbyname2): Likewise.
1396 (gethostbyaddr): Likewise.
1397 (_gethtent): Likewise.
1398 (_gethtbyname2): Likewise.
1399 (_gethtbyaddr): Likewise.
1400 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1401 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1402 * resolv/res_init.c (__res_vinit): Likewise.
1403 (net_mask): Likewise.
1404 * resolv/res_mkquery.c (outchar): Likewise.
1406 * stdio-common/printf_fp.c (outchar): Likewise.
1408 * stdio-common/printf_fphex.c (outchar): Likewise.
1410 * stdio-common/printf_size.c (outchar): Likewise.
1412 * stdio-common/test_rdwr.c (main): Likewise.
1413 * stdio-common/tfformat.c (matches): Likewise.
1414 * stdio-common/vfprintf.c (outchar): Likewise.
1415 (printf_unknown): Likewise.
1416 (buffered_vfprintf): Likewise.
1417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1418 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1419 (ReadFile): Likewise.
1420 * stdlib/qsort.c (SWAP): Likewise.
1421 (_quicksort): Likewise.
1422 * stdlib/setenv.c (__add_to_environ): Likewise.
1423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1424 * stdlib/strtol_l.c (__strtol_l): Likewise.
1425 * stdlib/tst-strtod.c (main): Likewise.
1426 * stdlib/tst-strtol.c (main): Likewise.
1427 * stdlib/tst-strtoll.c (main): Likewise.
1428 * string/bits/string2.h (__strcmp_cc): Likewise.
1429 (__strcmp_cg): Likewise.
1430 (__strcspn_c1): Likewise.
1431 (__strcspn_c2): Likewise.
1432 (__strcspn_c3): Likewise.
1433 (__strspn_c1): Likewise.
1434 (__strspn_c2): Likewise.
1435 (__strspn_c3): Likewise.
1436 (__strsep_1c): Likewise.
1437 (__strsep_2c): Likewise.
1438 (__strsep_3c): Likewise.
1439 * string/memccpy.c (__memccpy): Likewise.
1440 * string/stpcpy.c (__stpcpy): Likewise.
1441 * string/strcmp.c (strcmp): Likewise.
1442 * string/strrchr.c (strrchr): Likewise.
1443 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1445 * sysdeps/mach/hurd/getcwd.c
1446 (_hurd_canonicalize_directory_name_internal): Likewise.
1447 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1448 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1449 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1450 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1451 Likewise, in both definitions.
1452 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1454 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1455 64] (__bswap_64): Likewise.
1456 * time/test_time.c (main): Likewise.
1457 * time/tzfile.c (__tzfile_read): Likewise.
1458 (__tzfile_compute): Likewise.
1459 * time/tzset.c (__tzset_parse_tz): Likewise.
1460 (tzset_internal): Likewise.
1461 (compute_change): Likewise.
1462 * wcsmbs/wcscat.c (__wcscat): Likewise.
1463 * wcsmbs/wcschr.c (wcschr): Likewise.
1464 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1465 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1466 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1467 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1468 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1469 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1470 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1471 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1472 * wcsmbs/wmemset.c (wmemset): Likewise.
1474 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1476 * scripts/config.guess: Update to version 2013-05-16.
1477 * scripts/config.sub: Update to version 2013-04-24.
1478 * scripts/install-sh: Update to version 2011-11-20.07.
1479 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1480 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1482 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1484 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1485 * elf/sln.c: Likewise.
1486 * hurd/hurd/ioctl.h: Likewise.
1487 * hurd/hurdmalloc.c: Likewise.
1488 * hurd/xattr.c: Likewise.
1489 * include/shlib-compat.h: Likewise.
1490 * inet/ruserpass.c: Likewise.
1491 * libio/iofgets_u.c: Likewise.
1492 * libio/iofgetws_u.c: Likewise.
1493 * locale/programs/ld-identification.c: Likewise.
1494 * locale/programs/ld-time.c: Likewise.
1495 * mach/msg-destroy.c: Likewise.
1496 * nss/nss_files/files-netgrp.c: Likewise.
1497 * resolv/res_data.c: Likewise.
1498 * soft-fp/op-1.h: Likewise.
1499 * soft-fp/op-2.h: Likewise.
1500 * soft-fp/op-4.h: Likewise.
1501 * soft-fp/op-common.h: Likewise.
1502 * stdio-common/printf_fphex.c: Likewise.
1503 * stdlib/strtod_l.c: Likewise.
1504 * sunrpc/rpc/clnt.h: Likewise.
1505 * sysdeps/generic/framestate.c: Likewise.
1506 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1507 * sysdeps/i386/bsd-setjmp.S: Likewise.
1508 * sysdeps/i386/__longjmp.S: Likewise.
1509 * sysdeps/i386/setjmp.S: Likewise.
1510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1511 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1528 * sysdeps/ieee754/support.c: Likewise.
1529 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1530 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1531 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1532 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1533 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1534 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1535 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1536 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1537 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1538 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1539 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1540 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1541 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1542 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1543 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1544 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1545 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1548 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1550 * posix/transbug.c: Remove executable mode.
1552 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1554 * crypt/speeds.c: Remove trailing whitespace.
1555 * dlfcn/default.c: Likewise.
1556 * elf/ifuncdep2.c: Likewise.
1557 * elf/ifuncmain1.c: Likewise.
1558 * elf/ifuncmain1vis.c: Likewise.
1559 * elf/testobj.h: Likewise.
1560 * elf/tst-stackguard1.c: Likewise.
1561 * gmon/sys/gmon.h: Likewise.
1562 * hurd/hurdmsg.c: Likewise.
1563 * hurd/new-fd.c: Likewise.
1564 * hurd/ports-get.c: Likewise.
1565 * iconvdata/ibm1008_420.c: Likewise.
1566 * inet/tst-getni1.c: Likewise.
1567 * inet/tst-getni2.c: Likewise.
1568 * libio/ioungetc.c: Likewise.
1569 * libio/wfiledoalloc.c: Likewise.
1570 * manual/libm-err-tab.pl: Likewise.
1571 * math/w_dremf.c: Likewise.
1572 * misc/ftruncate.c: Likewise.
1573 * posix/bug-glob2.c: Likewise.
1574 * posix/tst-pcre.c: Likewise.
1575 * posix/wait4.c: Likewise.
1576 * resolv/README: Likewise.
1577 * resolv/res_debug.h: Likewise.
1578 * resolv/tst-inet_ntop.c: Likewise.
1579 * setjmp/bug269-setjmp.c: Likewise.
1580 * soft-fp/extended.h: Likewise.
1581 * soft-fp/op-1.h: Likewise.
1582 * soft-fp/op-2.h: Likewise.
1583 * soft-fp/op-4.h: Likewise.
1584 * soft-fp/op-8.h: Likewise.
1585 * soft-fp/testit.c: Likewise.
1586 * stdio-common/bug16.c: Likewise.
1587 * stdlib/random.c: Likewise.
1588 * sunrpc/rpcsvc/rquota.x: Likewise.
1589 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1590 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1592 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1594 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1618 * sysdeps/ieee754/s_lib_version.c: Likewise.
1619 * sysdeps/mach/hurd/check_fds.c: Likewise.
1620 * sysdeps/mach/hurd/getsockname.c: Likewise.
1621 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1622 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1623 * sysdeps/powerpc/bits/link.h: Likewise.
1624 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1625 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1626 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1627 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1628 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1629 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1630 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1631 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1632 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1633 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1634 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1635 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1636 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1637 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1638 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1639 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1640 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1644 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1645 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1647 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1648 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1649 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1651 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1652 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1653 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1654 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1657 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1658 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1659 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1660 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1661 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1662 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1663 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1664 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1665 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1666 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1667 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1668 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1669 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1670 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1671 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1672 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1673 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1676 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1677 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1679 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1680 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1681 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1682 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1683 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1685 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1686 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1687 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1688 * sysdeps/powerpc/sysdep.h: Likewise.
1689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1690 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1691 * sysdeps/sh/dl-trampoline.S: Likewise.
1692 * sysdeps/sh/memset.S: Likewise.
1693 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1694 * sysdeps/sh/strlen.S: Likewise.
1695 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1696 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1697 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1698 * sysdeps/sparc/sparc32/rem.S: Likewise.
1699 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1700 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1701 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1702 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1703 * sysdeps/sparc/sparc32/urem.S: Likewise.
1704 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1705 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1706 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1707 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1708 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1709 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1710 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1711 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1712 * sysdeps/unix/bsd/times.c: Likewise.
1713 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1714 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1718 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1719 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1720 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1721 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1722 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1723 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1724 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1725 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1726 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1728 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1729 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1730 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1731 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1732 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1733 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1734 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1735 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1736 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1737 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1738 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1739 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1741 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1742 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1743 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1744 * sysdeps/x86_64/strcspn.S: Likewise.
1746 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1748 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1749 generated file. Regenerate properly from gen-translit.pl.
1750 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1751 locale/C-translit.h.
1753 2013-06-05 Andreas Schwab <schwab@suse.de>
1756 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1757 week as 6 instead of -1.
1758 * time/tst-strptime.c (day_tests): Add test case.
1760 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1762 * sysdeps/generic/math_private.h
1763 (libc_feholdexcept_setround_53bit): Replace with
1764 libc_feholdsetround_53bit.
1765 (libc_feupdateenv_53bit): Replace with
1766 libc_feresetround_53bit.
1767 (SET_RESTORE_ROUND_53BIT): Adjust.
1769 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1771 * string/test-strchrnul.c: Add copyright header.
1773 * posix/tst-getaddrinfo4.c: Increase test timeout.
1775 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1778 * math/libm-test.inc (MAX_EXP): Remove
1780 (ulp): Use MIN_EXP - MANT_DIG.
1781 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1783 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1785 * po/be.po: Revert last change.
1786 * po/zh_CN.po: Likewise.
1787 * po/header.pot: Likewise.
1789 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1791 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1792 link-libc-deps to empty as target-specific variable.
1793 * Makerules (link-libc-args): New variable.
1794 (libc-for-link): Likewise.
1795 (link-libc-deps): Likewise.
1796 (lib%.so): Depend on $(link-libc-deps). Link with
1798 (build-module): Link with $(link-libc-args).
1799 (build-module-asneeded): Likewise.
1800 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1802 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1803 target-specific variable.
1804 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1805 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1806 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1808 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1810 ($(objpfx)libpcprofile.so): Likewise.
1811 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1813 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1814 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1815 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1817 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1818 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1819 * login/Makefile ($(objpfx)libutil.so): Likewise.
1820 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1821 * math/Makefile ($(objpfx)libm.so): Likewise.
1822 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1823 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1824 variable instead of depending directly on libc.
1825 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1826 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1828 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1830 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1831 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1832 ($(objpfx)libanl.so): Likewise.
1833 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1835 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1837 * sysdeps/i386/fpu/Makefile: Remove file.
1838 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1839 ($(objpfx)libm.so): Remove dependency on ld.so.
1841 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1844 * nis/yp_xdr.c (XDRMAXNAME): Define.
1845 (XDRMAXRECORD): Define.
1846 (xdr_domainname): Use XDRMAXNAME.
1847 (xdr_mapname): Likewise.
1848 (xdr_peername): Likewise.
1849 (xdr_keydat): Use XDRMAXRECORD.
1850 (xdr_valdat): Likewise.
1852 2013-05-30 Jeff Law <law@redhat.com>
1855 * manual/errno.texi (ESTALE): Update to account for more than
1856 just NFS file systems.
1857 * sysdeps/gnu/errlist.c: Regenerated.
1859 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1862 * elf/Makefile (tests): Add tst-null-argv.
1863 (modules-names): Add tst-null-argv-lib.
1864 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1865 (tst-null-argv-ENV): Set environment for tst-null-argv.
1866 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1867 (RTLD_PROGNAME): New macro.
1868 * elf/tst-null-argv.c: New test case.
1869 * elf/tst-null-argv-lib.c: Library for test case.
1870 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1871 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1872 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1873 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1874 * elf/dl-init.c (call_init): Likewise.
1875 (_dl_init): Likewise.
1876 * elf/dl-load.c (print_search_path): Likewise.
1877 (_dl_map_object): Likewise.
1878 * elf/dl-lookup.c (do_lookup_x): Likewise.
1879 (add_dependency): Likewise.
1880 (_dl_lookup_symbol_x): Likewise.
1881 (_dl_debug_bindings): Likewise.
1882 * elf/dl-open.c (_dl_show_scope): Likewise.
1883 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1884 * elf/dl-version.c (match_symbol): Likewise.
1885 (_dl_check_map_versions): Likewise.
1886 * elf/rtld.c (dl_main): Likewise.
1887 (print_unresolved): Use RTLD_PROGNAME.
1888 (print_missing_version): Likewise.
1889 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1890 (elf_machine_rela): Likewise.
1891 * sysdeps/powerpc/powerpc32/dl-machine.c
1892 (__process_machine_rela): Likewise.
1893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1895 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1897 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1899 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1906 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1908 * po/be.po: Add descriptive title.
1909 * po/zh_CN.po: Likewise.
1910 * po/header.pot: Likewise.
1912 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1914 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1916 (enlarge_archive): Likewise.
1918 2013-05-28 Ben North <ben@redfrontdoor.org>
1920 * manual/arith.texi (frexp): It is the magnitude of the return
1921 value which lies in [0.5, 1), not the return value itself.
1923 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1927 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1929 * stdio-common/bug26.c (main): Correct fscanf template.
1931 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1932 declare _dl_skip_args.
1934 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1937 * manual/platform.texi: Add missing @end deftypefun.
1939 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1942 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1943 bit of mantissa of 2^16382.
1944 * math/libm-test.inc (hypot_test_data): Add more tests.
1946 * math/libm-test.inc: Add drem and pow10 to list of tested
1948 (pow10_test): New function.
1949 (drem_test): Likewise.
1950 (drem_test_tonearest): Likewise.
1951 (drem_test_towardzero): Likewise.
1952 (drem_test_downward): Likewise.
1953 (drem_test_upward): Likewise.
1954 (main): Call the new functions.
1956 * math/libm-test.inc (finite_test_data): Remove.
1957 (finite_test): Run tests from isfinite_test_data.
1958 (gamma_test_data): Remove.
1959 (gamma_test): Run tests from lgamma_test_data.
1960 * sysdeps/i386/fpu/libm-test-ulps: Update.
1961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1963 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965 * manual/platform.texi: Add PowerPC PPR function set documentation.
1966 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1969 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1971 * math/libm-test.inc (MAX_EXP): Define.
1973 (ulp): New function.
1974 (check_float_internal): Use ULPDIFF.
1975 (cpow_test): Disable failing test.
1976 (check_ulp): Test ulp() implemetnation.
1977 (main): Call check_ulp before starting tests.
1979 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1981 * math/gen-libm-test.pl (generate_testfile): Do not handle
1982 START_DATA and END_DATA.
1983 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1985 (acos_tonearest_test_data): Likewise.
1986 (acos_towardzero_test_data): Likewise.
1987 (acos_downward_test_data): Likewise.
1988 (acos_upward_test_data): Likewise.
1989 (acosh_test_data): Likewise.
1990 (asin_test_data): Likewise.
1991 (asin_tonearest_test_data): Likewise.
1992 (asin_towardzero_test_data): Likewise.
1993 (asin_downward_test_data): Likewise.
1994 (asin_upward_test_data): Likewise.
1995 (asinh_test_data): Likewise.
1996 (atan_test_data): Likewise.
1997 (atanh_test_data): Likewise.
1998 (atan2_test_data): Likewise.
1999 (cabs_test_data): Likewise.
2000 (cacos_test_data): Likewise.
2001 (cacosh_test_data): Likewise.
2002 (carg_test_data): Likewise.
2003 (casin_test_data): Likewise.
2004 (casinh_test_data): Likewise.
2005 (catan_test_data): Likewise.
2006 (catanh_test_data): Likewise.
2007 (cbrt_test_data): Likewise.
2008 (ccos_test_data): Likewise.
2009 (ccosh_test_data): Likewise.
2010 (ceil_test_data): Likewise.
2011 (cexp_test_data): Likewise.
2012 (cimag_test_data): Likewise.
2013 (clog_test_data): Likewise.
2014 (clog10_test_data): Likewise.
2015 (conj_test_data): Likewise.
2016 (copysign_test_data): Likewise.
2017 (cos_test_data): Likewise.
2018 (cos_tonearest_test_data): Likewise.
2019 (cos_towardzero_test_data): Likewise.
2020 (cos_downward_test_data): Likewise.
2021 (cos_upward_test_data): Likewise.
2022 (cosh_test_data): Likewise.
2023 (cosh_tonearest_test_data): Likewise.
2024 (cosh_towardzero_test_data): Likewise.
2025 (cosh_downward_test_data): Likewise.
2026 (cosh_upward_test_data): Likewise.
2027 (cpow_test_data): Likewise.
2028 (cproj_test_data): Likewise.
2029 (creal_test_data): Likewise.
2030 (csin_test_data): Likewise.
2031 (csinh_test_data): Likewise.
2032 (csqrt_test_data): Likewise.
2033 (ctan_test_data): Likewise.
2034 (ctan_tonearest_test_data): Likewise.
2035 (ctan_towardzero_test_data): Likewise.
2036 (ctan_downward_test_data): Likewise.
2037 (ctan_upward_test_data): Likewise.
2038 (ctanh_test_data): Likewise.
2039 (ctanh_tonearest_test_data): Likewise.
2040 (ctanh_towardzero_test_data): Likewise.
2041 (ctanh_downward_test_data): Likewise.
2042 (ctanh_upward_test_data): Likewise.
2043 (erf_test_data): Likewise.
2044 (erfc_test_data): Likewise.
2045 (exp_test_data): Likewise.
2046 (exp_tonearest_test_data): Likewise.
2047 (exp_towardzero_test_data): Likewise.
2048 (exp_downward_test_data): Likewise.
2049 (exp_upward_test_data): Likewise.
2050 (exp10_test_data): Likewise.
2051 (exp2_test_data): Likewise.
2052 (expm1_test_data): Likewise.
2053 (fabs_test_data): Likewise.
2054 (fdim_test_data): Likewise.
2055 (finite_test_data): Likewise.
2056 (floor_test_data): Likewise.
2057 (fma_test_data): Likewise.
2058 (fma_towardzero_test_data): Likewise.
2059 (fma_downward_test_data): Likewise.
2060 (fma_upward_test_data): Likewise.
2061 (fmax_test_data): Likewise.
2062 (fmin_test_data): Likewise.
2063 (fmod_test_data): Likewise.
2064 (fpclassify_test_data): Likewise.
2065 (frexp_test_data): Likewise.
2066 (gamma_test_data): Likewise.
2067 (hypot_test_data): Likewise.
2068 (ilogb_test_data): Likewise.
2069 (isfinite_test_data): Likewise.
2070 (isgreater_test_data): Likewise.
2071 (isgreaterequal_test_data): Likewise.
2072 (isinf_test_data): Likewise.
2073 (isless_test_data): Likewise.
2074 (islessequal_test_data): Likewise.
2075 (islessgreater_test_data): Likewise.
2076 (isnan_test_data): Likewise.
2077 (isnormal_test_data): Likewise.
2078 (issignaling_test_data): Likewise.
2079 (isunordered_test_data): Likewise.
2080 (j0_test_data): Likewise.
2081 (j1_test_data): Likewise.
2082 (jn_test_data): Likewise.
2083 (ldexp_test_data): Likewise.
2084 (lgamma_test_data): Likewise.
2085 (lrint_test_data): Likewise.
2086 (lrint_tonearest_test_data): Likewise.
2087 (lrint_towardzero_test_data): Likewise.
2088 (lrint_downward_test_data): Likewise.
2089 (lrint_upward_test_data): Likewise.
2090 (llrint_test_data): Likewise.
2091 (llrint_tonearest_test_data): Likewise.
2092 (llrint_towardzero_test_data): Likewise.
2093 (llrint_downward_test_data): Likewise.
2094 (llrint_upward_test_data): Likewise.
2095 (log_test_data): Likewise.
2096 (log10_test_data): Likewise.
2097 (log1p_test_data): Likewise.
2098 (log2_test_data): Likewise.
2099 (logb_test_data): Likewise.
2100 (logb_downward_test_data): Likewise.
2101 (lround_test_data): Likewise.
2102 (llround_test_data): Likewise.
2103 (modf_test_data): Likewise.
2104 (nearbyint_test_data): Likewise.
2105 (nextafter_test_data): Likewise.
2106 (nexttoward_test_data): Likewise.
2107 (pow_test_data): Likewise.
2108 (pow_tonearest_test_data): Likewise.
2109 (pow_towardzero_test_data): Likewise.
2110 (pow_downward_test_data): Likewise.
2111 (pow_upward_test_data): Likewise.
2112 (remainder_test_data): Likewise.
2113 (remainder_tonearest_test_data): Likewise.
2114 (remainder_towardzero_test_data): Likewise.
2115 (remainder_downward_test_data): Likewise.
2116 (remainder_upward_test_data): Likewise.
2117 (remquo_test_data): Likewise.
2118 (rint_test_data): Likewise.
2119 (rint_tonearest_test_data): Likewise.
2120 (rint_towardzero_test_data): Likewise.
2121 (rint_downward_test_data): Likewise.
2122 (rint_upward_test_data): Likewise.
2123 (round_test_data): Likewise.
2124 (scalb_test_data): Likewise.
2125 (scalbn_test_data): Likewise.
2126 (scalbln_test_data): Likewise.
2127 (signbit_test_data): Likewise.
2128 (sin_test_data): Likewise.
2129 (sin_tonearest_test_data): Likewise.
2130 (sin_towardzero_test_data): Likewise.
2131 (sin_downward_test_data): Likewise.
2132 (sin_upward_test_data): Likewise.
2133 (sincos_test_data): Likewise.
2134 (sinh_test_data): Likewise.
2135 (sinh_tonearest_test_data): Likewise.
2136 (sinh_towardzero_test_data): Likewise.
2137 (sinh_downward_test_data): Likewise.
2138 (sinh_upward_test_data): Likewise.
2139 (sqrt_test_data): Likewise.
2140 (tan_test_data): Likewise.
2141 (tan_tonearest_test_data): Likewise.
2142 (tan_towardzero_test_data): Likewise.
2143 (tan_downward_test_data): Likewise.
2144 (tan_upward_test_data): Likewise.
2145 (tanh_test_data): Likewise.
2146 (tgamma_test_data): Likewise.
2147 (trunc_test_data): Likewise.
2148 (y0_test_data): Likewise.
2149 (y1_test_data): Likewise.
2150 (yn_test_data): Likewise.
2151 (significand_test_data): Likewise.
2153 * math/gen-libm-test.pl (@functions): Remove variable.
2154 (generate_testfile): Don't handle START and END lines.
2155 * math/libm-test.inc (START): New macro.
2157 (END_COMPLEX): Likewise.
2158 (acos_test): Use END macro without arguments.
2159 (acos_test_tonearest): Likewise.
2160 (acos_test_towardzero): Likewise.
2161 (acos_test_downward): Likewise.
2162 (acos_test_upward): Likewise.
2163 (acosh_test): Likewise.
2164 (asin_test): Likewise.
2165 (asin_test_tonearest): Likewise.
2166 (asin_test_towardzero): Likewise.
2167 (asin_test_downward): Likewise.
2168 (asin_test_upward): Likewise.
2169 (asinh_test): Likewise.
2170 (atan_test): Likewise.
2171 (atanh_test): Likewise.
2172 (atan2_test): Likewise.
2173 (cabs_test): Likewise.
2174 (cacos_test): Use END_COMPLEX macro without arguments.
2175 (cacosh_test): Likewise.
2176 (carg_test): Use END macro without arguments.
2177 (casin_test): Use END_COMPLEX macro without arguments.
2178 (casinh_test): Likewise.
2179 (catan_test): Likewise.
2180 (catanh_test): Likewise.
2181 (cbrt_test): Use END macro without arguments.
2182 (ccos_test): Use END_COMPLEX macro without arguments.
2183 (ccosh_test): Likewise.
2184 (ceil_test): Use END macro without arguments.
2185 (cexp_test): Use END_COMPLEX macro without arguments.
2186 (cimag_test): Use END macro without arguments.
2187 (clog_test): Use END_COMPLEX macro without arguments.
2188 (clog10_test): Likewise.
2189 (conj_test): Likewise.
2190 (copysign_test): Use END macro without arguments.
2191 (cos_test): Likewise.
2192 (cos_test_tonearest): Likewise.
2193 (cos_test_towardzero): Likewise.
2194 (cos_test_downward): Likewise.
2195 (cos_test_upward): Likewise.
2196 (cosh_test): Likewise.
2197 (cosh_test_tonearest): Likewise.
2198 (cosh_test_towardzero): Likewise.
2199 (cosh_test_downward): Likewise.
2200 (cosh_test_upward): Likewise.
2201 (cpow_test): Use END_COMPLEX macro without arguments.
2202 (cproj_test): Likewise.
2203 (creal_test): Use END macro without arguments.
2204 (csin_test): Use END_COMPLEX macro without arguments.
2205 (csinh_test): Likewise.
2206 (csqrt_test): Likewise.
2207 (ctan_test): Likewise.
2208 (ctan_test_tonearest): Likewise.
2209 (ctan_test_towardzero): Likewise.
2210 (ctan_test_downward): Likewise.
2211 (ctan_test_upward): Likewise.
2212 (ctanh_test): Likewise.
2213 (ctanh_test_tonearest): Likewise.
2214 (ctanh_test_towardzero): Likewise.
2215 (ctanh_test_downward): Likewise.
2216 (ctanh_test_upward): Likewise.
2217 (erf_test): Use END macro without arguments.
2218 (erfc_test): Likewise.
2219 (exp_test): Likewise.
2220 (exp_test_tonearest): Likewise.
2221 (exp_test_towardzero): Likewise.
2222 (exp_test_downward): Likewise.
2223 (exp_test_upward): Likewise.
2224 (exp10_test): Likewise.
2225 (exp2_test): Likewise.
2226 (expm1_test): Likewise.
2227 (fabs_test): Likewise.
2228 (fdim_test): Likewise.
2229 (finite_test): Likewise.
2230 (floor_test): Likewise.
2231 (fma_test): Likewise.
2232 (fma_test_towardzero): Likewise.
2233 (fma_test_downward): Likewise.
2234 (fma_test_upward): Likewise.
2235 (fmax_test): Likewise.
2236 (fmin_test): Likewise.
2237 (fmod_test): Likewise.
2238 (fpclassify_test): Likewise.
2239 (frexp_test): Likewise.
2240 (gamma_test): Likewise.
2241 (hypot_test): Likewise.
2242 (ilogb_test): Likewise.
2243 (isfinite_test): Likewise.
2244 (isgreater_test): Likewise.
2245 (isgreaterequal_test): Likewise.
2246 (isinf_test): Likewise.
2247 (isless_test): Likewise.
2248 (islessequal_test): Likewise.
2249 (islessgreater_test): Likewise.
2250 (isnan_test): Likewise.
2251 (isnormal_test): Likewise.
2252 (issignaling_test): Likewise.
2253 (isunordered_test): Likewise.
2254 (j0_test): Likewise.
2255 (j1_test): Likewise.
2256 (jn_test): Likewise.
2257 (ldexp_test): Likewise.
2258 (lgamma_test): Likewise.
2259 (lrint_test): Likewise.
2260 (lrint_test_tonearest): Likewise.
2261 (lrint_test_towardzero): Likewise.
2262 (lrint_test_downward): Likewise.
2263 (lrint_test_upward): Likewise.
2264 (llrint_test): Likewise.
2265 (llrint_test_tonearest): Likewise.
2266 (llrint_test_towardzero): Likewise.
2267 (llrint_test_downward): Likewise.
2268 (llrint_test_upward): Likewise.
2269 (log_test): Likewise.
2270 (log10_test): Likewise.
2271 (log1p_test): Likewise.
2272 (log2_test): Likewise.
2273 (logb_test): Likewise.
2274 (logb_test_downward): Likewise.
2275 (lround_test): Likewise.
2276 (llround_test): Likewise.
2277 (modf_test): Likewise.
2278 (nearbyint_test): Likewise.
2279 (nextafter_test): Likewise.
2280 (nexttoward_test): Likewise.
2281 (pow_test): Likewise.
2282 (pow_test_tonearest): Likewise.
2283 (pow_test_towardzero): Likewise.
2284 (pow_test_downward): Likewise.
2285 (pow_test_upward): Likewise.
2286 (remainder_test): Likewise.
2287 (remainder_test_tonearest): Likewise.
2288 (remainder_test_towardzero): Likewise.
2289 (remainder_test_downward): Likewise.
2290 (remainder_test_upward): Likewise.
2291 (remquo_test): Likewise.
2292 (rint_test): Likewise.
2293 (rint_test_tonearest): Likewise.
2294 (rint_test_towardzero): Likewise.
2295 (rint_test_downward): Likewise.
2296 (rint_test_upward): Likewise.
2297 (round_test): Likewise.
2298 (scalb_test): Likewise.
2299 (scalbn_test): Likewise.
2300 (scalbln_test): Likewise.
2301 (signbit_test): Likewise.
2302 (sin_test): Likewise.
2303 (sin_test_tonearest): Likewise.
2304 (sin_test_towardzero): Likewise.
2305 (sin_test_downward): Likewise.
2306 (sin_test_upward): Likewise.
2307 (sincos_test): Likewise.
2308 (sinh_test): Likewise.
2309 (sinh_test_tonearest): Likewise.
2310 (sinh_test_towardzero): Likewise.
2311 (sinh_test_downward): Likewise.
2312 (sinh_test_upward): Likewise.
2313 (sqrt_test): Likewise.
2314 (tan_test): Likewise.
2315 (tan_test_tonearest): Likewise.
2316 (tan_test_towardzero): Likewise.
2317 (tan_test_downward): Likewise.
2318 (tan_test_upward): Likewise.
2319 (tanh_test): Likewise.
2320 (tgamma_test): Likewise.
2321 (trunc_test): Likewise.
2322 (y0_test): Likewise.
2323 (y1_test): Likewise.
2324 (yn_test): Likewise.
2325 (significand_test): Likewise.
2327 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2330 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2332 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2335 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2336 __ppc_mdoio and __ppc_mdoom.
2337 * manual/platform.texi: Document new functions __ppc_yield,
2338 __ppc_mdoio and __ppc_mdoom.
2340 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2342 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2343 (main): Mention "tls" pseudo-hwcap is legacy.
2344 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2346 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2348 * math/gen-libm-test.pl (parse_args): Output only string of
2349 arguments as text for test name, not full call or descriptions of
2350 tests for extra outputs.
2351 (generate_testfile): Do not pass function name to parse_args.
2352 Generate this_func variable from START.
2353 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2355 (struct test_ff_f_data): Likewise.
2356 (test_ff_f_data_nexttoward): Likewise.
2357 (struct test_fi_f_data): Likewise.
2358 (struct test_fl_f_data): Likewise.
2359 (struct test_if_f_data): Likewise.
2360 (struct test_fff_f_data): Likewise.
2361 (struct test_c_f_data): Likewise.
2362 (struct test_f_f1_data): Likewise. Remove field extra_name.
2363 (struct test_fF_f1_data): Likewise.
2364 (struct test_ffI_f1_data): Likewise.
2365 (struct test_c_c_data): Rename test_name field to arg_str.
2366 (struct test_cc_c_data): Likewise.
2367 (struct test_f_i_data): Likewise.
2368 (struct test_ff_i_data): Likewise.
2369 (struct test_f_l_data): Likewise.
2370 (struct test_f_L_data): Likewise.
2371 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2373 (COMMON_TEST_SETUP): New macro.
2374 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2375 (COMMON_TEST_CLEANUP): Likewise.
2376 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2377 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2379 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2380 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2382 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2383 (RUN_TEST_fff_f): Take argument string. Call new setup and
2385 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2386 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2388 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2389 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2391 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2392 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2394 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2395 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2397 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2398 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2400 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2401 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2403 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2404 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2406 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2407 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2409 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2410 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2412 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2413 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2415 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2416 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2418 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2419 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2421 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2422 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2424 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2425 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2427 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2428 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2430 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2432 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2434 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2435 to _sifields.sigfault.
2436 (si_addr_lsb): Define new macro.
2437 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2441 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2444 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2446 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2448 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2451 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2453 * math/gen-libm-test.pl (parse_args): Do not include expected
2454 result in test name.
2455 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2457 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2458 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2462 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2464 * benchtests/Makefile: Sort function entries.
2466 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2467 tanh, asinh, acosh, atanh.
2468 * benchtests/acos-inputs: New file.
2469 * benchtests/acosh-inputs: New file.
2470 * benchtests/asin-inputs: New file.
2471 * benchtests/asinh-inputs: New file.
2472 * benchtests/atanh-inputs: New file.
2473 * benchtests/cosh-inputs: New file.
2474 * benchtests/log-inputs: New file.
2475 * benchtests/sinh-inputs: New file.
2476 * benchtests/tanh-inputs: New file.
2478 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2481 * posix/tst-getaddrinfo4.c: New test.
2482 * posix/Makefile (tests): Add it.
2484 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2487 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2488 when no services were used.
2489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2490 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2492 2013-05-21 Andreas Schwab <schwab@suse.de>
2495 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2496 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2498 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2499 redundant variable declarations and reallocation of buffer when
2500 parsing as IPv6 address. Always set NSS status when called from
2501 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2502 buffer too small. Correct computation of needed size.
2503 * nss/Makefile (tests): Add test-digits-dots.
2504 * nss/test-digits-dots.c: New test.
2506 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2508 * benchtests/Makefile: Remove instructions for adding
2510 * benchtests/README: New file to explain how to execute and
2511 enhance the benchmark tests.
2513 2013-05-21 Andreas Schwab <schwab@suse.de>
2516 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2517 * setjmp/tst-sigsetjmp.c: New test.
2519 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2521 * sysdeps/x86_64/memset.S (memset): New implementation.
2522 (__bzero): Likewise.
2523 (__memset_tail): New function.
2525 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2527 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2528 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2529 __memcpy_sse2_unaligned ifunc selection.
2530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2531 Add memcpy-sse2-unaligned.S.
2532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2533 Add: __memcpy_sse2_unaligned.
2535 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2538 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2539 math_force_eval before restoring floating-point envrionment.
2540 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2543 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2545 (__nearbyintl): Use math_force_eval before restoring
2546 floating-point environment.
2547 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2549 * math/gen-libm-test.pl (special_functions): Remove.
2550 (parse_args): Don't handle TEST_extra. Handle functions with no
2552 * math/libm-test.inc (struct test_sincos_data): Replace with
2553 struct test_fFF_11_data.
2554 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2555 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2556 (sincos_test_data): Change element type to struct
2557 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2558 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2559 RUN_TEST_LOOP_sincos.
2560 * math/README.libm-test: Don't mention special handling of
2561 individual functions.
2562 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2564 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2565 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2566 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 * math/gen-libm-test.pl (get_variable): Remove function.
2570 (parse_args): Don't show pointer parameters to call in test
2571 names. Use "extra output N" in test names for extra outputs
2572 rather than naming variables.
2574 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2577 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2578 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2579 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2581 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2583 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2586 * math/gen-libm-test.pl (@tests): Remove variable.
2588 (new_test): Remove function.
2589 (show_exceptions): New function.
2590 (special_functions): Use show_exceptions instead of new_test.
2591 (parse_args): Likewise.
2592 (generate_testfile): Pass only function name in generated call to
2593 print_max_error or print_complex_max_error.
2594 (get_ulps): Do not handle complex tests specially.
2595 (output_test): Rename to ...
2596 (get_all_ulps_for_test): ... this. Return a string rather than
2597 printing to a file. Require ulps to be present.
2598 (output_ulps): Generate arrays rather than #defines.
2599 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2600 (struct ulp_data): New type.
2601 (BUILD_COMPLEX_ULP): Remove macro.
2602 (compare_ulp_data): New function.
2603 (find_ulps): Likewise.
2604 (find_test_ulps): Likewise.
2605 (find_function_ulps): Likewise.
2606 (find_complex_function_ulps): Likewise.
2607 (print_max_error): Determine allowed ulps using
2609 (print_complex_max_error): Determine allowed ulps using
2610 find_complex_function_ulps.
2611 (check_float_internal): Determine max ulps using find_test_ulps.
2612 (check_float): Do not take max_ulp parameter. Update call to
2613 check_float_internal.
2614 (check_complex): Likewise.
2615 (check_int): Do not take max_ulp parameter.
2616 (check_long): Likewise.
2617 (check_bool): Likewise.
2618 (check_longlong): Likewise.
2619 (struct test_f_f_data): Remove max_ulp field.
2620 (struct test_ff_f_data): Likewise.
2621 (struct test_ff_f_data_nexttoward): Likewise.
2622 (struct test_fi_f_data): Likewise.
2623 (struct test_fl_f_data): Likewise.
2624 (struct test_if_f_data): Likewise.
2625 (struct test_fff_f_data): Likewise.
2626 (struct test_c_f_data): Likewise.
2627 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2628 (struct test_fF_f1_data): Likewise.
2629 (struct test_ffI_f1_data): Likewise.
2630 (struct test_c_c_data): Remove max_ulp field.
2631 (struct test_cc_c_data): Likewise.
2632 (struct test_f_i_data): Likewise.
2633 (struct test_ff_i_data): Likewise.
2634 (struct test_f_l_data): Likewise.
2635 (struct test_f_L_data): Likewise.
2636 (struct test_sincos_data): Likewise.
2637 (RUN_TEST_f_f): Do not handle ulps.
2638 (RUN_TEST_LOOP_f_f): Likewise.
2639 (RUN_TEST_2_f): Likewise.
2640 (RUN_TEST_LOOP_2_f): Likewise.
2641 (RUN_TEST_fff_f): Likewise.
2642 (RUN_TEST_LOOP_fff_f): Likewise.
2643 (RUN_TEST_c_f): Likewise.
2644 (RUN_TEST_LOOP_c_f): Likewise.
2645 (RUN_TEST_f_f1): Likewise.
2646 (RUN_TEST_LOOP_f_f1): Likewise.
2647 (RUN_TEST_fF_f1): Likewise.
2648 (RUN_TEST_LOOP_fF_f1): Likewise.
2649 (RUN_TEST_fI_f1): Likewise.
2650 (RUN_TEST_LOOP_fI_f1): Likewise.
2651 (RUN_TEST_ffI_f1): Likewise.
2652 (RUN_TEST_LOOP_ffI_f1): Likewise.
2653 (RUN_TEST_c_c): Likewise.
2654 (RUN_TEST_LOOP_c_c): Likewise.
2655 (RUN_TEST_cc_c): Likewise.
2656 (RUN_TEST_LOOP_cc_c): Likewise.
2657 (RUN_TEST_f_i): Likewise.
2658 (RUN_TEST_LOOP_f_i): Likewise.
2659 (RUN_TEST_f_i_tg): Likewise.
2660 (RUN_TEST_LOOP_f_i_tg): Likewise.
2661 (RUN_TEST_ff_i_tg): Likewise.
2662 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2663 (RUN_TEST_f_b): Likewise.
2664 (RUN_TEST_LOOP_f_b): Likewise.
2665 (RUN_TEST_f_b_tg): Likewise.
2666 (RUN_TEST_LOOP_f_b_tg): Likewise.
2667 (RUN_TEST_f_l): Likewise.
2668 (RUN_TEST_LOOP_f_l): Likewise.
2669 (RUN_TEST_f_L): Likewise.
2670 (RUN_TEST_LOOP_f_L): Likewise.
2671 (RUN_TEST_sincos): Likewise.
2672 (RUN_TEST_LOOP_sincos): Likewise.
2674 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2678 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2679 main case of finite arguments, set rounding mode to FE_TONEAREST
2680 and discard exceptions.
2681 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2683 (remainder_tonearest_test_data): New variable.
2684 (remainder_test_tonearest): New function.
2685 (remainder_towardzero_test_data): New variable.
2686 (remainder_test_towardzero): New function.
2687 (remainder_downward_test_data): New variable.
2688 (remainder_test_downward): New function.
2689 (remainder_upward_test_data): New variable.
2690 (remainder_test_upward): New function.
2691 (main): Call the new test functions.
2693 * math/libm-test.inc (struct test_f_f1_data): Remove field
2695 (struct test_fF_f1_data): Likewise.
2696 (struct test_ffI_f1_data): Likewise.
2697 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2698 based on value of EXTRA_EXPECTED.
2699 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2700 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2701 EXTRA_VAR based on value of EXTRA_EXPECTED.
2702 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2703 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2704 EXTRA_VAR based on value of EXTRA_EXPECTED.
2705 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2706 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2707 EXTRA_VAR based on value of EXTRA_EXPECTED.
2708 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2709 * math/gen-libm-test.pl (parse_args): Don't output initializers
2710 for extra output values.
2712 * math/libm-test.inc (check_int): Expect result to be exactly
2713 equal to expected value and do not handle ulps.
2714 (check_long): Likewise.
2715 (check_longlong): Likewise.
2717 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2719 (cimag_test_data): Likewise.
2720 (conj_test_data): Likewise.
2721 (copysign_test_data): Likewise.
2722 (cproj_test_data): Likewise.
2723 (creal_test_data): Likewise.
2724 (fabs_test_data): Likewise.
2725 (fdim_test_data): Likewise.
2726 (finite_test_data): Likewise.
2727 (floor_test_data): Likewise.
2728 (fmax_test_data): Likewise.
2729 (fmin_test_data): Likewise.
2730 (fmod_test_data): Likewise.
2731 (fpclassify_test_data): Likewise.
2732 (frexp_test_data): Likewise.
2733 (ilogb_test_data): Likewise.
2734 (isfinite_test_data): Likewise.
2735 (isgreater_test_data): Likewise.
2736 (isgreaterequal_test_data): Likewise.
2737 (isinf_test_data): Likewise.
2738 (isless_test_data): Likewise.
2739 (islessequal_test_data): Likewise.
2740 (islessgreater_test_data): Likewise.
2741 (isnan_test_data): Likewise.
2742 (isnormal_test_data): Likewise.
2743 (issignaling_test_data): Likewise.
2744 (isunordered_test_data): Likewise.
2745 (ldexp_test_data): Likewise.
2746 (lrint_test_data): Likewise.
2747 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2748 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2749 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2750 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2751 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2752 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2754 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2755 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2756 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2757 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2759 (lrint_downward_test_data): Test for "inexact" exceptions.
2760 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2761 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2762 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2764 (lrint_upward_test_data): Test for "inexact" exceptions.
2765 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2767 (llrint_test_data): Test for "inexact" exceptions.
2768 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2769 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2770 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2771 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2772 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2773 (llrint_downward_test_data): Test for "inexact" exceptions.
2774 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2775 (llrint_upward_test_data): Test for "inexact" exceptions.
2776 (logb_test_data): Likewise.
2777 (logb_downward_test_data): Likewise.
2778 (nextafter_test_data): Likewise.
2779 (nexttoward_test_data): Likewise.
2780 (remainder_test_data): Likewise.
2781 (remquo_test_data): Likewise.
2782 (scalbn_test_data): Likewise.
2783 (scalbln_test_data): Likewise.
2784 (signbit_test_data): Likewise.
2785 (sqrt_test_data): Likewise.
2786 (significand_test_data): Likewise.
2788 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2791 * benchtests/bench-modf.c (struct args): Mark arg0 as
2793 * scripts/bench.pl: Mark members of struct args as volatile.
2795 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2798 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2799 negative infinity on POWER6 or lower.
2800 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2802 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2805 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2806 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2807 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2808 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2809 (_FP_SETQNAN): New macro.
2810 (_FP_SETQNAN_SEMIRAW): Likewise.
2811 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2812 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2813 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2814 (FP_EXTEND): Use _FP_FRAC_SNANP.
2815 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2816 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2823 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2825 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2826 with DIVIDE_BY_ZERO_EXCEPTION.
2827 (gamma_test_data): Likewise.
2828 (lgamma_test_data): Likewise.
2829 (log_test_data): Likewise.
2830 (log10_test_data): Likewise.
2831 (log2_test_data): Likewise.
2832 (tgamma_test_data): Likewise.
2834 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2835 (acos_test_tonearest): Likewise.
2836 (acos_test_towardzero): Likewise.
2837 (acos_test_downward): Likewise.
2838 (acos_test_upward): Likewise.
2839 (acosh_test): Likewise.
2840 (asin_test): Likewise.
2841 (asin_test_tonearest): Likewise.
2842 (asin_test_towardzero): Likewise.
2843 (asin_test_downward): Likewise.
2844 (asin_test_upward): Likewise.
2845 (asinh_test): Likewise.
2846 (atan_test): Likewise.
2847 (atanh_test): Likewise.
2848 (atan2_test): Likewise.
2849 (cabs_test): Likewise.
2850 (cacos_test): Likewise.
2851 (cacosh_test): Likewise.
2852 (casin_test): Likewise.
2853 (casinh_test): Likewise.
2854 (catan_test): Likewise.
2855 (catanh_test): Likewise.
2856 (cbrt_test): Likewise.
2857 (ccos_test): Likewise.
2858 (ccosh_test): Likewise.
2859 (cexp_test): Likewise.
2860 (clog_test): Likewise.
2861 (clog10_test): Likewise.
2862 (cos_test): Likewise.
2863 (cos_test_tonearest): Likewise.
2864 (cos_test_towardzero): Likewise.
2865 (cos_test_downward): Likewise.
2866 (cos_test_upward): Likewise.
2867 (cosh_test): Likewise.
2868 (cosh_test_tonearest): Likewise.
2869 (cosh_test_towardzero): Likewise.
2870 (cosh_test_downward): Likewise.
2871 (cosh_test_upward): Likewise.
2872 (cpow_test): Likewise.
2873 (csin_test): Likewise.
2874 (csinh_test): Likewise.
2875 (csqrt_test): Likewise.
2876 (ctan_test): Likewise.
2877 (ctan_test_tonearest): Likewise.
2878 (ctan_test_towardzero): Likewise.
2879 (ctan_test_downward): Likewise.
2880 (ctan_test_upward): Likewise.
2881 (ctanh_test): Likewise.
2882 (ctanh_test_tonearest): Likewise.
2883 (ctanh_test_towardzero): Likewise.
2884 (ctanh_test_downward): Likewise.
2885 (ctanh_test_upward): Likewise.
2886 (erf_test): Likewise.
2887 (erfc_test): Likewise.
2888 (exp_test): Likewise.
2889 (exp_test_tonearest): Likewise.
2890 (exp_test_towardzero): Likewise.
2891 (exp_test_downward): Likewise.
2892 (exp_test_upward): Likewise.
2893 (exp10_test): Likewise.
2894 (exp2_test): Likewise.
2895 (expm1_test): Likewise.
2896 (fmod_test): Likewise.
2897 (gamma_test): Likewise.
2898 (hypot_test): Likewise.
2899 (j0_test): Likewise.
2900 (j1_test): Likewise.
2901 (jn_test): Likewise.
2902 (lgamma_test): Likewise.
2903 (log_test): Likewise.
2904 (log10_test): Likewise.
2905 (log1p_test): Likewise.
2906 (log2_test): Likewise.
2907 (logb_test_downward): Likewise.
2908 (pow_test): Likewise.
2909 (pow_test_tonearest): Likewise.
2910 (pow_test_towardzero): Likewise.
2911 (pow_test_downward): Likewise.
2912 (pow_test_upward): Likewise.
2913 (remainder_test): Likewise.
2914 (remquo_test): Likewise.
2915 (sin_test): Likewise.
2916 (sin_test_tonearest): Likewise.
2917 (sin_test_towardzero): Likewise.
2918 (sin_test_downward): Likewise.
2919 (sin_test_upward): Likewise.
2920 (sincos_test): Likewise.
2921 (sinh_test): Likewise.
2922 (sinh_test_tonearest): Likewise.
2923 (sinh_test_towardzero): Likewise.
2924 (sinh_test_downward): Likewise.
2925 (sinh_test_upward): Likewise.
2926 (sqrt_test): Likewise.
2927 (tan_test): Likewise.
2928 (tan_test_tonearest): Likewise.
2929 (tan_test_towardzero): Likewise.
2930 (tan_test_downward): Likewise.
2931 (tan_test_upward): Likewise.
2932 (tanh_test): Likewise.
2933 (tgamma_test): Likewise.
2934 (y0_test): Likewise.
2935 (y1_test): Likewise.
2936 (yn_test): Likewise.
2938 * math/gen-libm-test.pl (adjust_arg): Remove function.
2939 (special_function): Remove argument $in_func. Only handle
2940 generating output for tables of tests, not inside functions.
2941 (parse_args): Likewise.
2942 (generate_testfile): Remove variable $in_func. Update call to
2944 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2945 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2946 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2947 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2948 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2949 (MAX_VALUE_INIT): Rename macro to max_value.
2950 (MIN_VALUE_INIT): Rename macro to min_value.
2951 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2952 (plus_zero): Remove variable.
2953 (minus_zero): Likewise.
2954 (plus_infty): Likewise.
2955 (minus_infty): Likewise.
2956 (qnan_value): Likewise.
2957 (max_value): Likewise.
2958 (min_value): Likewise.
2959 (min_subnorm_value): Likewise.
2961 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2963 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2964 uint64_t or uint32_t usage.
2965 * crypt/sha256-block.c: Likewise.
2966 * crypt/sha256-crypt.c: Likewise.
2967 * crypt/sha256.c: Likewise.
2968 * crypt/sha512-block.c: Likewise.
2969 * crypt/sha512-crypt.c: Likewise.
2970 * crypt/sha512.c: Likewise.
2971 * debug/backtrace-tst.c: Likewise.
2972 * debug/pcprofiledump.c: Likewise.
2973 * elf/cache.c: Likewise.
2974 * elf/dl-cache.c: Likewise.
2975 * elf/dl-misc.c: Likewise.
2976 * elf/dl-profile.c: Likewise.
2977 * elf/dl-support.c: Likewise.
2978 * elf/ldconfig.c: Likewise.
2979 * elf/sprof.c: Likewise.
2980 * iconv/dummy-repertoire.c: Likewise.
2981 * iconv/iconv_charmap.c: Likewise.
2982 * iconv/skeleton.c: Likewise.
2983 * iconvdata/8bit-generic.c: Likewise.
2984 * iconvdata/cp737.h: Likewise.
2985 * iconvdata/cp775.h: Likewise.
2986 * iconvdata/ibm1008.h: Likewise.
2987 * iconvdata/ibm1025.h: Likewise.
2988 * iconvdata/ibm1046.h: Likewise.
2989 * iconvdata/ibm1097.h: Likewise.
2990 * iconvdata/ibm1112.h: Likewise.
2991 * iconvdata/ibm1122.h: Likewise.
2992 * iconvdata/ibm1123.h: Likewise.
2993 * iconvdata/ibm1124.h: Likewise.
2994 * iconvdata/ibm1129.h: Likewise.
2995 * iconvdata/ibm1130.h: Likewise.
2996 * iconvdata/ibm1132.h: Likewise.
2997 * iconvdata/ibm1133.h: Likewise.
2998 * iconvdata/ibm1137.h: Likewise.
2999 * iconvdata/ibm1140.h: Likewise.
3000 * iconvdata/ibm1141.h: Likewise.
3001 * iconvdata/ibm1142.h: Likewise.
3002 * iconvdata/ibm1143.h: Likewise.
3003 * iconvdata/ibm1144.h: Likewise.
3004 * iconvdata/ibm1145.h: Likewise.
3005 * iconvdata/ibm1146.h: Likewise.
3006 * iconvdata/ibm1147.h: Likewise.
3007 * iconvdata/ibm1148.h: Likewise.
3008 * iconvdata/ibm1149.h: Likewise.
3009 * iconvdata/ibm1153.h: Likewise.
3010 * iconvdata/ibm1154.h: Likewise.
3011 * iconvdata/ibm1155.h: Likewise.
3012 * iconvdata/ibm1156.h: Likewise.
3013 * iconvdata/ibm1157.h: Likewise.
3014 * iconvdata/ibm1158.h: Likewise.
3015 * iconvdata/ibm1160.h: Likewise.
3016 * iconvdata/ibm1161.h: Likewise.
3017 * iconvdata/ibm1162.h: Likewise.
3018 * iconvdata/ibm1163.h: Likewise.
3019 * iconvdata/ibm1164.h: Likewise.
3020 * iconvdata/ibm1166.h: Likewise.
3021 * iconvdata/ibm1167.h: Likewise.
3022 * iconvdata/ibm12712.h: Likewise.
3023 * iconvdata/ibm1390.h: Likewise.
3024 * iconvdata/ibm1399.h: Likewise.
3025 * iconvdata/ibm16804.h: Likewise.
3026 * iconvdata/ibm4517.h: Likewise.
3027 * iconvdata/ibm4899.h: Likewise.
3028 * iconvdata/ibm4909.h: Likewise.
3029 * iconvdata/ibm4971.h: Likewise.
3030 * iconvdata/ibm5347.h: Likewise.
3031 * iconvdata/ibm803.h: Likewise.
3032 * iconvdata/ibm856.h: Likewise.
3033 * iconvdata/ibm901.h: Likewise.
3034 * iconvdata/ibm902.h: Likewise.
3035 * iconvdata/ibm9030.h: Likewise.
3036 * iconvdata/ibm9066.h: Likewise.
3037 * iconvdata/ibm921.h: Likewise.
3038 * iconvdata/ibm922.h: Likewise.
3039 * iconvdata/ibm9448.h: Likewise.
3040 * iconvdata/isiri-3342.h: Likewise.
3041 * iconvdata/jis0201.h: Likewise.
3042 * include/link.h: Likewise.
3043 * include/netdb.h: Likewise.
3044 * inet/check_native.c: Likewise.
3045 * inet/check_pf.c: Likewise.
3046 * inet/getipv4sourcefilter.c: Likewise.
3047 * inet/getnameinfo.c: Likewise.
3048 * inet/getsourcefilter.c: Likewise.
3049 * inet/htonl.c: Likewise.
3050 * inet/setipv4sourcefilter.c: Likewise.
3051 * inet/setsourcefilter.c: Likewise.
3052 * inet/test-inet6_opt.c: Likewise.
3053 * inet/tst-network.c: Likewise.
3054 * locale/C-collate.c: Likewise.
3055 * locale/C-ctype.c: Likewise.
3056 * locale/C-time.c: Likewise.
3057 * locale/C-translit.h: Likewise.
3058 * locale/loadarchive.c: Likewise.
3059 * locale/programs/3level.h: Likewise.
3060 * locale/programs/charmap.c: Likewise.
3061 * locale/programs/charmap.h: Likewise.
3062 * locale/programs/ld-address.c: Likewise.
3063 * locale/programs/ld-collate.c: Likewise.
3064 * locale/programs/ld-ctype.c: Likewise.
3065 * locale/programs/ld-identification.c: Likewise.
3066 * locale/programs/ld-measurement.c: Likewise.
3067 * locale/programs/ld-messages.c: Likewise.
3068 * locale/programs/ld-monetary.c: Likewise.
3069 * locale/programs/ld-name.c: Likewise.
3070 * locale/programs/ld-numeric.c: Likewise.
3071 * locale/programs/ld-paper.c: Likewise.
3072 * locale/programs/ld-telephone.c: Likewise.
3073 * locale/programs/ld-time.c: Likewise.
3074 * locale/programs/linereader.c: Likewise.
3075 * locale/programs/locale.c: Likewise.
3076 * locale/programs/locarchive.c: Likewise.
3077 * locale/programs/locfile.h: Likewise.
3078 * locale/programs/repertoire.c: Likewise.
3079 * locale/programs/simple-hash.c: Likewise.
3080 * locale/programs/simple-hash.h: Likewise.
3081 * malloc/memusage.c: Likewise.
3082 * malloc/memusagestat.c: Likewise.
3083 * nis/nis_defaults.c: Likewise.
3084 * nis/nis_hash.c: Likewise.
3085 * nis/nis_print.c: Likewise.
3086 * nis/nis_xdr.c: Likewise.
3087 * nscd/connections.c: Likewise.
3088 * nscd/hstcache.c: Likewise.
3089 * nscd/nscd_gethst_r.c: Likewise.
3090 * nscd/nscd_getserv_r.c: Likewise.
3091 * nscd/nscd_helper.c: Likewise.
3092 * nscd/servicescache.c: Likewise.
3093 * nss/makedb.c: Likewise.
3094 * nss/nss_db/db-XXX.c: Likewise.
3095 * nss/nss_db/db-initgroups.c: Likewise.
3096 * nss/nss_db/db-netgrp.c: Likewise.
3097 * nss/nss_files/files-network.c: Likewise.
3098 * nss/nss_files/files-parse.c: Likewise.
3099 * posix/bug-regex5.c: Likewise.
3100 * posix/fnmatch_loop.c: Likewise.
3101 * posix/regcomp.c: Likewise.
3102 * posix/regexec.c: Likewise.
3103 * posix/tst-rfc3484-2.c: Likewise.
3104 * posix/tst-rfc3484-3.c: Likewise.
3105 * posix/tst-rfc3484.c: Likewise.
3106 * resolv/nss_dns/dns-canon.c: Likewise.
3107 * resolv/nss_dns/dns-network.c: Likewise.
3108 * resolv/res_init.c: Likewise.
3109 * resolv/res_mkquery.c: Likewise.
3110 * resolv/tst-aton.c: Likewise.
3111 * stdlib/cxa_atexit.c: Likewise.
3112 * stdlib/cxa_finalize.c: Likewise.
3113 * stdlib/gen-fpioconst.c: Likewise.
3114 * stdlib/strtol_l.c: Likewise.
3115 * string/tst-endian.c: Likewise.
3116 * sunrpc/auth_des.c: Likewise.
3117 * sunrpc/clnt_udp.c: Likewise.
3118 * sunrpc/rtime.c: Likewise.
3119 * sunrpc/svcauth_des.c: Likewise.
3120 * sunrpc/xdr.c: Likewise.
3121 * sunrpc/xdr_intXX_t.c: Likewise.
3122 * sunrpc/xdr_rec.c: Likewise.
3123 * sysdeps/generic/ldconfig.h: Likewise.
3124 * sysdeps/generic/ldsodefs.h: Likewise.
3125 * sysdeps/generic/memusage.h: Likewise.
3126 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3127 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3128 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3132 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3133 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3134 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3136 * sysdeps/posix/getaddrinfo.c: Likewise.
3137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3139 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3141 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3142 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3143 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3144 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3145 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3146 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3147 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3148 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3149 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3150 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3151 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3152 * sysdeps/x86_64/dl-tls.h: Likewise.
3153 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3154 * time/alt_digit.c: Likewise.
3155 * time/era.c: Likewise.
3156 * wcsmbs/tst-c16c32-1.c: Likewise.
3158 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3160 * math/libm-test.inc (struct test_sincos_data): New type.
3161 (RUN_TEST_LOOP_sincos): New macro.
3162 (sincos_test_data): New variable.
3163 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3165 2013-05-16 Richard Henderson <rth@redhat.com>
3167 * math/atest-exp2.c (LIMB64): New macro.
3168 (CONSTSZ): New macro.
3169 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3171 (print_mpn_fp): ... to function scope.
3172 (read_mpn_hex): Remove.
3174 (exp2_mpn): Use mp_log2.
3175 (main): Use mp_exp1.
3177 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3179 * math/libm-test.inc: Remove comment about not testing "inexact"
3181 (INEXACT_EXCEPTION): New macro.
3182 (NO_INEXACT_EXCEPTION): Likewise.
3183 (INVALID_EXCEPTION_OK): Update value.
3184 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3185 (OVERFLOW_EXCEPTION_OK): Likewise.
3186 (UNDERFLOW_EXCEPTION_OK): Likewise.
3187 (IGNORE_ZERO_INF_SIGN): Likewise.
3188 (ERRNO_UNCHANGED): Likewise.
3189 (ERRNO_EDOM): Likewise.
3190 (ERRNO_ERANGE): Likewise.
3191 (test_exceptions): Handle testing "inexact" exceptions.
3192 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3193 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3194 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3195 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3197 (rint_towardzero_test_data): Likewise.
3198 (rint_downward_test_data): Likewise.
3199 (rint_upward_test_data): Likewise.
3201 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3202 with OVERFLOW_EXCEPTION.
3203 (exp10_test_data): Likewise.
3204 (exp2_test_data): Likewise.
3205 (expm1_test_data): Likewise.
3206 (lgamma_test_data): Likewise.
3207 (pow_test_data): Likewise.
3208 (tgamma_test_data): Likewise.
3209 (yn_test_data): Remove duplicate test of overflow.
3211 * math/libm-test.inc (struct test_cc_c_data): New type.
3212 (RUN_TEST_LOOP_cc_c): New macro.
3213 (cpow_test_data): New variable.
3214 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3216 * math/libm-test.inc (struct test_f_L_data): New type.
3217 (RUN_TEST_LOOP_f_L): New macro.
3218 (llrint_test_data): New variable.
3219 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3220 (llrint_tonearest_test_data): New variable.
3221 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3222 (llrint_towardzero_test_data): New variable.
3223 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3224 (llrint_downward_test_data): New variable.
3225 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3226 (llrint_upward_test_data): New variable.
3227 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3228 (llround_test_data): New variable.
3229 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3231 2013-05-13 Peter Collingbourne <pcc@google.com>
3233 * math/atest-exp2.c (get_log2): Remove const attribute.
3235 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3237 * math/libm-test.inc (struct test_f_l_data): New type.
3238 (RUN_TEST_LOOP_f_l): New macro.
3239 (lrint_test_data): New variable.
3240 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3241 (lrint_tonearest_test_data): New variable.
3242 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3243 (lrint_towardzero_test_data): New variable.
3244 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3245 (lrint_downward_test_data): New variable.
3246 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3247 (lrint_upward_test_data): New variable.
3248 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3249 (lround_test_data): New variable.
3250 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3252 2013-05-15 Peter Collingbourne <pcc@google.com>
3254 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3255 (EXTRACT_WORDS64) Use where appropriate.
3256 (INSERT_WORDS64) Likewise.
3258 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3259 constraints with x constraints.
3260 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3262 * malloc/obstack.c (_obstack_compat): Add initializer.
3264 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3266 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3267 si_trapno and add si_addr_lsb to _sifields.sigfault.
3268 (si_trapno): Remove macro.
3269 (si_addr_lsb): Define new macro.
3270 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3272 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3274 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3275 instead of TEST_f_l.
3276 (llrint_test_tonearest): Likewise.
3277 (llrint_test_towardzero): Likewise.
3278 (llrint_test_downward): Likewise.
3279 (llrint_test_upward): Likewise.
3280 (llround_test): Likewise.
3282 * math/libm-test.inc (struct test_f_i_data): Add comment.
3283 (RUN_TEST_LOOP_f_b): New macro.
3284 (RUN_TEST_LOOP_f_b_tg): Likewise.
3285 (finite_test_data): New variable.
3286 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3287 (isfinite_test_data): New variable.
3288 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3289 (isinf_test_data): New variable.
3290 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3291 (isnan_test_data): New variable.
3292 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3293 (isnormal_test_data): New variable.
3294 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3295 (issignaling_test_data): New variable.
3296 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3297 (signbit_test_data): New variable.
3298 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3300 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3301 with INVALID_EXCEPTION.
3302 (acosh_test_data): Likewise.
3303 (asin_test_data): Likewise.
3304 (atanh_test_data): Likewise.
3305 (fmod_test_data): Likewise.
3306 (log_test_data): Likewise.
3307 (log10_test_data): Likewise.
3308 (log2_test_data): Likewise.
3309 (pow_test_data): Likewise.
3310 (sqrt_test_data): Likewise.
3311 (y0_test_data): Likewise.
3312 (y1_test_data): Likewise.
3313 (yn_test_data): Likewise.
3315 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3318 * math/libm-test.inc (struct test_ff_i_data): New type.
3319 (RUN_TEST_LOOP_ff_i_tg): New macro.
3320 (isgreater_test_data): New variable.
3321 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3322 (isgreaterequal_test_data): New variable.
3323 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3324 (isless_test_data): New variable.
3325 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3326 (islessequal_test_data): New variable.
3327 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3328 (islessgreater_test_data): New variable.
3329 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3330 (isunordered_test_data): New variable.
3331 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3333 2013-05-14 David S. Miller <davem@davemloft.net>
3335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3337 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3339 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3341 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3343 (struct test_f_i_data): Change type of max_ulp to int.
3345 * math/libm-test.inc (test_ffI_f1_data): New type.
3346 (RUN_TEST_LOOP_ffI_f1): New macro.
3347 (remquo_test_data): New variable.
3348 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3350 * setjmp/tst-setjmp-fp.c: New file.
3351 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3352 (link-libm): New variable.
3353 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3355 * math/libm-test.inc (struct test_f_i_data): New type.
3356 (RUN_TEST_LOOP_f_i): New macro.
3357 (RUN_TEST_LOOP_f_i_tg): Likewise.
3358 (fpclassify_test_data): New variable.
3359 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3360 (ilogb_test_data): New variable.
3361 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3363 * math/libm-test.inc (scalbln_test): Correct function name in END
3366 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3367 (RUN_TEST_LOOP_fI_f1): New macro.
3368 (frexp_test_data): New variable.
3369 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3371 * math/libm-test.inc (struct test_fF_f1_data): New type.
3372 (RUN_TEST_LOOP_fF_f1): New macro.
3373 (modf_test_data): New variable.
3374 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3376 * math/libm-test.inc (struct test_f_f1_data): New type.
3377 (RUN_TEST_LOOP_f_f1): New macro.
3378 (gamma_test_data): New variable.
3379 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3380 (lgamma_test_data): New variable.
3381 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3383 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3385 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3386 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3387 (main): Comment "tls" pseudo-hwcap.
3389 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3391 * math/libm-test.inc (struct test_fl_f_data): New type.
3392 (RUN_TEST_LOOP_fl_f): New variable.
3393 (scalbln_test_data): New variable.
3394 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3396 * math/libm-test.inc (struct test_fi_f_data): New type.
3397 (RUN_TEST_LOOP_fi_f): New macro.
3398 (ldexp_test_data): New variable.
3399 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3400 (scalbn_test_data): New variable.
3401 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3403 * math/libm-test.inc (struct test_c_f_data): New type.
3404 (RUN_TEST_LOOP_c_f): New macro.
3405 (cabs_test_data): New variable.
3406 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3407 (carg_test_data): New variable.
3408 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3409 (cimag_test_data): New variable.
3410 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3411 (creal_test_data): New variable.
3412 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3414 * math/libm-test.inc (struct test_if_f_data): New type.
3415 (RUN_TEST_LOOP_if_f): New macro.
3416 (jn_test_data): New variable.
3417 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3418 (yn_test_data): New variable.
3419 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3421 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3423 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3425 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3426 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3428 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3430 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3431 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3432 (bench-deps): Add bench-timing.h.
3433 * benchtests-bench-skeleton.c: Include bench-timing.h.
3434 (main): Use TIMING_* macros instead of clock_gettime.
3435 * benchtests/bench-timing.h: New file.
3438 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3439 Renamed from _LIB_VERSION.
3440 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3442 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3444 * math/libm-test.inc (struct test_fff_f_data): New type.
3445 (RUN_TEST_LOOP_fff_f): New macro.
3446 (fma_test_data): New variable.
3447 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3448 (fma_towardzero_test_data): New variable.
3449 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3450 (fma_downward_test_data): New variable.
3451 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3452 (fma_upward_test_data): New variable.
3453 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3455 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3456 (struct test_c_c_data): New type.
3457 (RUN_TEST_LOOP_c_c): New macro.
3458 (cacos_test_data): New variable.
3459 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3460 (cacosh_test_data): New variable.
3461 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3462 (casin_test_data): New variable.
3463 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3464 (casinh_test_data): New variable.
3465 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3466 (catan_test_data): New variable.
3467 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3468 (catanh_test_data): New variable.
3469 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3470 (ccos_test_data): New variable.
3471 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3472 (ccosh_test_data): New variable.
3473 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3474 (cexp_test_data): New variable.
3475 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3476 (clog_test_data): New variable.
3477 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3478 (clog10_test_data): New variable.
3479 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3480 (conj_test_data): New variable.
3481 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3482 (cproj_test_data): New variable.
3483 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3484 (csin_test_data): New variable.
3485 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3486 (csinh_test_data): New variable.
3487 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3488 (csqrt_test_data): New variable.
3489 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3490 (ctan_test_data): New variable.
3491 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3492 (ctan_tonearest_test_data): New variable.
3493 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3494 (ctan_towardzero_test_data): New variable.
3495 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3496 (ctan_downward_test_data): New variable.
3497 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3498 (ctan_upward_test_data): New variable.
3499 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3500 (ctanh_test_data): New variable.
3501 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3502 (ctanh_tonearest_test_data): New variable.
3503 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3504 (ctanh_towardzero_test_data): New variable.
3505 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3506 (ctanh_downward_test_data): New variable.
3507 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3508 (ctanh_upward_test_data): New variable.
3509 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3510 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3513 * math/libm-test.inc (struct test_ff_f_data): New type.
3514 (struct test_ff_f_data_nexttoward): Likewise.
3515 (RUN_TEST_LOOP_2_f): New macro.
3516 (RUN_TEST_LOOP_ff_f): Likewise.
3517 (atan2_test_data): New variable.
3518 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3519 (copysign_test_data): New variable.
3520 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3521 (fdim_test_data): New variable.
3522 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3523 (fmax_test_data): New variable.
3524 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3525 (fmin_test_data): New variable.
3526 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3527 (fmod_test_data): New variable.
3528 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3529 (hypot_test_data): New variable.
3530 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3531 (nextafter_test_data): New variable.
3532 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3533 (nexttoward_test_data): New variable.
3534 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3535 (pow_test_data): New variable.
3536 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3537 (pow_tonearest_test_data): New variable.
3538 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3539 (pow_towardzero_test_data): New variable.
3540 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3541 (pow_downward_test_data): New variable.
3542 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3543 (pow_upward_test_data): New variable.
3544 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3545 (remainder_test_data): New variable.
3546 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3547 (scalb_test_data): New variable.
3548 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3549 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3553 * math/libm-test.inc (fma_test): Use max_value instead of local
3555 (nextafter_test): Likewise.
3557 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3558 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3559 (acos_downward_test_data): New variable.
3560 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3561 (acos_upward_test_data): New variable.
3562 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3563 (acosh_test_data): New variable.
3564 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3565 (asin_test_data): New variable.
3566 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3567 (asin_tonearest_test_data): New variable.
3568 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3569 (asin_towardzero_test_data): New variable.
3570 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3571 (asin_downward_test_data): New variable.
3572 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3573 (asin_upward_test_data): New variable.
3574 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3575 (asinh_test_data): New variable.
3576 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3577 (atan_test_data): New variable.
3578 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3579 (atanh_test_data): New variable.
3580 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3581 (cbrt_test_data): New variable.
3582 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3583 (ceil_test_data): New variable.
3584 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3585 (cos_test_data): New variable.
3586 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3587 (cos_tonearest_test_data): New variable.
3588 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3589 (cos_towardzero_test_data): New variable.
3590 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3591 (cos_downward_test_data): New variable.
3592 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3593 (cos_upward_test_data): New variable.
3594 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3595 (cosh_test_data): New variable.
3596 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3597 (cosh_tonearest_test_data): New variable.
3598 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3599 (cosh_towardzero_test_data): New variable.
3600 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3601 (cosh_downward_test_data): New variable.
3602 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3603 (cosh_upward_test_data): New variable.
3604 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3605 (erf_test_data): New variable.
3606 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3607 (erfc_test_data): New variable.
3608 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3609 (exp_test_data): New variable.
3610 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3611 (exp_tonearest_test_data): New variable.
3612 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3613 (exp_towardzero_test_data): New variable.
3614 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3615 (exp_downward_test_data): New variable.
3616 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3617 (exp_upward_test_data): New variable.
3618 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3619 (exp10_test_data): New variable.
3620 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3621 (exp2_test_data): New variable.
3622 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3623 (expm1_test_data): New variable.
3624 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3625 (fabs_test_data): New variable.
3626 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3627 (floor_test_data): New variable.
3628 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3629 (j0_test_data): New variable.
3630 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3631 (j1_test_data): New variable.
3632 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3633 (log_test_data): New variable.
3634 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3635 (log10_test_data): New variable.
3636 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3637 (log1p_test_data): New variable.
3638 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3639 (log2_test_data): New variable.
3640 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3641 (logb_test_data): New variable.
3642 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3643 (logb_downward_test_data): New variable.
3644 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3645 (nearbyint_test_data): New variable.
3646 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3647 (rint_test_data): New variable.
3648 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3649 (rint_tonearest_test_data): New variable.
3650 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3651 (rint_towardzero_test_data): New variable.
3652 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3653 (rint_downward_test_data): New variable.
3654 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3655 (rint_upward_test_data): New variable.
3656 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3657 (round_test_data): New variable.
3658 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3659 (sin_test_data): New variable.
3660 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3661 (sin_tonearest_test_data): New variable.
3662 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3663 (sin_towardzero_test_data): New variable.
3664 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3665 (sin_downward_test_data): New variable.
3666 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3667 (sin_upward_test_data): New variable.
3668 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3669 (sinh_test_data): New variable.
3670 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3671 (sinh_tonearest_test_data): New variable.
3672 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3673 (sinh_towardzero_test_data): New variable.
3674 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3675 (sinh_downward_test_data): New variable.
3676 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3677 (sinh_upward_test_data): New variable.
3678 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3679 (sqrt_test_data): New variable.
3680 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3681 (tan_test_data): New variable.
3682 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3683 (tan_tonearest_test_data): New variable.
3684 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3685 (tan_towardzero_test_data): New variable.
3686 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3687 (tan_downward_test_data): New variable.
3688 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3689 (tan_upward_test_data): New variable.
3690 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3691 (tanh_test_data): New variable.
3692 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3693 (tgamma_test_data): New variable.
3694 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3695 (trunc_test_data): New variable.
3696 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3697 (y0_test_data): New variable.
3698 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3699 (y1_test_data): New variable.
3700 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3701 (significand_test_data): New variable.
3702 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3704 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3707 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3709 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3711 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3713 2013-05-10 Andreas Jaeger <aj@suse.de>
3716 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3717 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3719 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3721 * math/gen-libm-test.pl (adjust_arg): New function.
3722 (special_functions): Handle generating output in both functions
3724 (parse_args): Likewise.
3725 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3726 $in_func argument to parse_args.
3727 * math/libm-test.inc (struct test_f_f_data): New type.
3728 (IF_ROUND_INIT_): New macro.
3729 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3730 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3731 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3732 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3733 (ROUND_RESTORE_): Likewise.
3734 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3735 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3736 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3737 (ROUND_RESTORE_FE_UPWARD): Likewise.
3738 (RUN_TEST_LOOP_f_f): New macro.
3739 (acos_test_data): New variable.
3740 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3741 (acos_tonearest_test_data): New variable.
3742 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3744 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3746 * benchtests/bench-skeleton.c (startup): Fix coding style.
3748 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3751 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3752 negative infinity argument.
3753 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3754 negative infinity argument.
3755 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3756 negative infinity argument.
3757 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3760 2013-05-10 Florian Weimer <fweimer@redhat.com>
3762 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3763 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3764 * iconv/iconv_prog.c (main): Likewise.
3765 * locale/programs/charmap-dir.c (charmap_readdir)
3766 (fopen_uncompressed): Likewise.
3767 * locale/programs/locfile.c (siblings_uncached)
3768 (write_locale_data): Use lstat64 instead of lstat.
3769 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3772 2013-05-10 Andreas Jaeger <aj@suse.de>
3775 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3779 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3781 * elf/dl-close.c (_dl_close_worker): Add comments.
3783 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3786 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3788 (__ieee754_rem_pio2l): Update comments.
3791 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3793 (__ieee754_rem_pio2l): Update comments.
3795 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3796 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3798 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3801 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3802 (M_PI_34_LOG10El): Likewise.
3803 (M_PI2_LOG10El): Likewise.
3804 (M_PI4_LOG10El): Likewise.
3805 (M_PI_LOG10El): Likewise.
3807 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3811 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3813 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3814 (MINUS_ZERO_INIT): Likewise.
3815 (PLUS_INFTY_INIT): Likewise.
3816 (MINUS_INFTY_INIT): Likewise.
3817 (QNAN_VALUE_INIT): Likewise.
3818 (MAX_VALUE_INIT): Likewise.
3819 (MIN_VALUE_INIT): Likewise.
3820 (MIN_SUBNORM_VALUE_INIT): Likewise.
3821 (plus_zero): Initialize with PLUS_ZERO_INIT.
3822 (minus_zero): Initialize with MINUS_ZERO_INIT.
3823 (plus_infty): Initialize with PLUS_INFTY_INIT.
3824 (minus_infty): Initialize with MINUS_INFTY_INIT.
3825 (qnan_value): Initialize with QNAN_VALUE_INIT.
3826 (max_value): Initialize with MAX_VALUE_INIT.
3827 (min_value): Initialize with MIN_VALUE_INIT.
3828 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3830 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3831 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3832 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3833 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3835 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3836 (RUN_TEST_2_f): Likewise.
3837 (RUN_TEST_ff_f): Likewise.
3838 (RUN_TEST_fi_f): Likewise.
3839 (RUN_TEST_fl_f): Likewise.
3840 (RUN_TEST_fff_f): Likewise.
3841 (RUN_TEST_c_f): Likewise.
3842 (RUN_TEST_f_f1): Likewise.
3843 (RUN_TEST_fF_f1): Likewise.
3844 (RUN_TEST_fI_f1): Likewise.
3845 (RUN_TEST_ffI_f1): Likewise.
3846 (RUN_TEST_c_c): Likewise.
3847 (RUN_TEST_cc_c): Likewise.
3848 (RUN_TEST_f_i): Likewise.
3849 (RUN_TEST_f_i_tg): Likewise.
3850 (RUN_TEST_ff_i_tg): Likewise.
3851 (RUN_TEST_f_b): Likewise.
3852 (RUN_TEST_f_b_tg): Likewise.
3853 (RUN_TEST_f_l): Likewise.
3854 (RUN_TEST_f_L): Likewise.
3855 (RUN_TEST_sincos): Likewise.
3856 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3857 whether to show exceptions. Do not include ");\n" in return
3859 (special_functions): Output call to RUN_TEST_sincos instead of
3860 check_float calls. Update calls to new_test.
3861 (parse_args): Output call to single RUN_TEST_* macro instead of
3862 check_* calls and other assignments. Update calls to new_test.
3868 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3869 input to result for tgamma overflow.
3870 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3871 (gamma_coeff): New variable.
3872 (NCOEFF): New macro.
3873 (gamma_positive): New function.
3874 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3875 underflow here. Use gamma_positive instead of exp (lgamma) for
3877 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3878 (gamma_coeff): New variable.
3879 (NCOEFF): New macro.
3880 (gammaf_positive): New function.
3881 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3882 underflow here. Use gamma_positive instead of exp (lgamma) for
3884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3885 (gamma_coeff): New variable.
3886 (NCOEFF): New macro.
3887 (gammal_positive): New function.
3888 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3889 underflow here. Use gamma_positive instead of exp (lgamma) for
3891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3892 (gamma_coeff): New variable.
3893 (NCOEFF): New macro.
3894 (gammal_positive): New function.
3895 (__ieee754_gammal_r): Handle positive infinity, overflow and
3896 underflow here. Handle NaN the same as positive infinity. Remove
3897 check x < 0xffffffff for negative integers. Use gamma_positive
3898 instead of exp (lgamma) for other arguments.
3899 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3900 (gamma_coeff): New variable.
3901 (NCOEFF): New macro.
3902 (gammal_positive): New function.
3903 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3904 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3908 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3909 * sysdeps/generic/math_private.h (__gamma_productf): New
3911 (__gamma_product): Likewise.
3912 (__gamma_productl): Likewise.
3913 * math/Makefile (libm-calls): Add gamma_product.
3914 * math/libm-test.inc (tgamma_test): Add more tests.
3915 * sysdeps/i386/fpu/libm-test-ulps: Update.
3916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3920 * benchtests/bench-skeleton.c (main): Preheat CPU.
3922 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3924 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3926 2013-05-07 Roland McGrath <roland@hack.frob.com>
3928 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3929 and _dl_skip_args_internal.
3931 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3933 * manual/message.texi (Message Translation): Talk about users.
3934 Message to key mapping impacts design.
3936 2013-05-06 Roland McGrath <roland@hack.frob.com>
3938 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3940 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3942 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3943 * sysdeps/wordsize-64/glob64.c: ... here.
3945 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3946 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3949 * debug/getlogin_r_chk.c: Moved to ...
3950 * login/getlogin_r_chk.c: ... here.
3951 * debug/Makefile (routines): Move getlogin_r_chk to ...
3952 * login/Makefile (routines): ... here.
3953 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3954 * login/Versions (libc: GLIBC_2.4): ... here.
3956 * io/poll.c (__poll): Renamed from poll.
3957 Add libc_hidden_def.
3958 (poll): Define as weak alias.
3960 * debug/ptsname_r_chk.c: Moved to ...
3961 * login/ptsname_r_chk.c: ... here.
3962 * debug/Makefile (routines): Move ptsname_r_chk to ...
3963 * login/Makefile (routines): ... here.
3964 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3965 * login/Versions (libc: GLIBC_2.4): ... here.
3967 * posix/getlogin.c: Moved to ...
3968 * login/getlogin.c: ... here.
3969 * posix/getlogin_r.c: Moved to ...
3970 * login/getlogin_r.c: ... here.
3971 * posix/getlogin_r.c: Moved to ...
3972 * login/getlogin_r.c: ... here.
3973 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3974 * login/Makefile (routines): ... here.
3975 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3976 * login/Versions (libc: GLIBC_2.0): ... here.
3978 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3979 (setrlimit): Define as weak alias.
3981 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3982 Call __ names for open, ftruncate, and close.
3983 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3984 (truncate): Define as weak alias.
3986 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3988 * math/gen-libm-test.pl (parse_args): Initialize x before each
3989 test of frexp, modf and remquo.
3991 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3994 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3998 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4000 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4002 2013-05-06 Roland McGrath <roland@hack.frob.com>
4004 * elf/dl-writev.h: New file.
4005 * elf/dl-misc.c: Include it.
4006 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4007 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4009 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4011 * math/libm-test.inc (noXFails): Remove variable.
4012 (noXPasses): Likewise.
4013 (BUILD_COMPLEX_INT): Remove macro.
4014 (print_screen): Remove xfail argument.
4015 (print_screen_max_error): Likewise.
4016 (update_stats): Likewise.
4017 (print_max_error): Likewise. Update calls to other affected
4019 (print_complex_max_error): Likewise.
4020 (test_single_exception): Update calls to print_screen.
4021 (test_single_errno): Likewise.
4022 (check_float_internal): Remove xfail argument. Update calls to
4023 other affected functions.
4024 (check_float): Likewise.
4025 (check_complex): Likewise.
4026 (check_int): Likewise.
4027 (check_long): Likewise.
4028 (check_bool): Likewise.
4029 (check_longlong): Likewise.
4030 (main): Don't print noXFails and noXPasses.
4031 * math/gen-libm-test.pl (top level): Don't mention expected
4032 failure handling in comment.
4033 (new_test): Don't handle expected failures.
4034 (parse_args): Don't mention expected failure handling in comment.
4035 (generate_testfile): Don't handle expected failures.
4036 (parse_ulps): Likewise.
4037 (print_ulps_file): Likewise.
4038 (get_failure): Remove function.
4039 (output_test): Don't handle expected failures.
4040 * make/README.libm-test: Don't mention expected failure handling.
4042 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4043 (minus_zero): Likewise.
4044 (plus_infty): Likewise.
4045 (minus_infty): Likewise.
4046 (qnan_value): Likewise.
4047 (max_value): Likewise.
4048 (min_value): Likewise.
4049 (min_subnorm_value): Likewise.
4050 (initialize): Do not initialize those variables dynamically.
4052 2013-05-03 Roland McGrath <roland@hack.frob.com>
4054 * io/open.c (__open_2): Moved to ...
4055 * io/open_2.c: ... this new file.
4056 * io/open64.c (__open64_2): Moved to ...
4057 * io/open64_2.c: ... this new file.
4058 * io/openat.c (__openat_2): Moved to ...
4059 * io/openat_2.c: ... this new file.
4060 * io/openat64.c (__openat64_2): Moved to ...
4061 * io/openat64_2.c: ... this new file.
4062 * io/Makefile (routines): Add them.
4063 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4064 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4065 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4066 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4067 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4068 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4069 (__openat64): Add hidden_ver.
4070 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4071 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4073 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4074 Separately conditionalize setting of GLRO(dl_sysinfo) so
4075 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4076 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4078 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4083 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4084 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4085 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4086 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4087 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4089 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4091 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4094 * math/libm-test.inc (hypot_test): Do not use
4095 IGNORE_ZERO_INF_SIGN.
4097 2013-05-03 Andreas Jaeger <aj@suse.de>
4099 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4101 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4102 (PF_MAX): Adjust for VSOCK change.
4104 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4108 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4111 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4112 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4113 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4115 2013-05-02 David S. Miller <davem@davemloft.net>
4117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4119 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4121 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4123 2013-05-01 Roland McGrath <roland@hack.frob.com>
4125 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4127 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4130 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4131 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4132 Use __attribute__ ((__gnu_inline__)).
4133 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4134 Don't use __attribute__ ((__gnu_inline__)).
4136 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4139 * math/s_catan.c (__catan): Handle small real or imaginary part of
4140 input specially to avoid spurious underflow.
4141 * math/s_catanf.c (__catanf): Likewise.
4142 * math/s_catanh.c (__catanh): Likewise.
4143 * math/s_catanhf.c (__catanhf): Likewise.
4144 * math/s_catanhl.c (__catanhl): Likewise.
4145 * math/s_catanl.c (__catanl): Likewise.
4146 * math/libm-test.inc (catan_test): Add more tests.
4147 (catanh_test): Likewise.
4148 * sysdeps/i386/fpu/libm-test-ulps: Update.
4149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4151 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4155 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4158 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4159 accurately for denominator in atan2.
4160 * math/s_catanf.c (__catanf): Likewise.
4161 * math/s_catanh.c (__catanh): Likewise.
4162 * math/s_catanhf.c (__catanhf): Likewise.
4163 * math/s_catanhl.c (__catanhl): Likewise.
4164 * math/s_catanl.c (__catanl): Likewise.
4165 * math/libm-test.inc (catan_test): Add more tests.
4166 (catanh_test): Likewise.
4167 * sysdeps/i386/fpu/libm-test-ulps: Update.
4168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4170 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4172 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4174 * benchtests/Makefile (bench): Remove slow benchmarks.
4175 * benchtests/atan-inputs: Add slow benchmark inputs.
4176 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4177 (BENCH_FUNC): Accept variant offset.
4179 * benchtests/bench-skeleton.c (main): Run benchmark for each
4181 * benchtests/cos-inputs: Add slow benchmark inputs.
4182 * benchtests/exp-inputs: Likewise.
4183 * benchtests/pow-inputs: Likewise.
4184 * benchtests/sin-inputs: Likewise.
4185 * benchtests/slowatan-inputs: Remove.
4186 * benchtests/slowatan.c: Remove.
4187 * benchtests/slowcos-inputs: Remove.
4188 * benchtests/slowcos.c: Remove.
4189 * benchtests/slowexp-inputs: Remove.
4190 * benchtests/slowexp.c: Remove.
4191 * benchtests/slowpow-inputs: Remove.
4192 * benchtests/slowpow.c: Remove.
4193 * benchtests/slowsin-inputs: Remove.
4194 * benchtests/slowsin.c: Remove.
4195 * benchtests/slowtan-inputs: Remove.
4196 * benchtests/slowtan.c: Remove.
4197 * benchtests/tan-inputs: Add slow benchmark inputs.
4198 * scripts/bench.pl: Parse comments and directives.
4200 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4202 ($(objpfx)bench-%.c): Remove *-ITER.
4203 * benchtests/bench-modf.c: Remove definition of ITER.
4204 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4205 (main): Loop for DURATION seconds instead of fixed number of
4207 * scripts/bench.pl: Don't expect iterations in parameters.
4209 2013-04-29 Roland McGrath <roland@hack.frob.com>
4211 * io/fchdir.c (__fchdir): Renamed from fchdir.
4212 (fchdir): Define as weak alias.
4214 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4216 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4217 (ERRNO_EDOM): Likewise.
4218 (ERRNO_ERANGE): Likewise.
4219 (noErrnoTests): New variable.
4220 (init_max_error): Set errno to 0.
4221 (test_single_errno): New function.
4222 (test_errno): Likewise.
4223 (check_float_internal): Call test_errno. Set errno to 0.
4224 (check_complex): Refer to errno tests in comment.
4225 (check_int): Call test_errno. Set errno to 0.
4226 (check_long): Likewise.
4227 (check_bool): Likewise.
4228 (check_longlong): Likewise.
4229 (cos_test): Use ERRNO_* flags for errno tests instead of
4231 (expm1_test): Likewise.
4232 (fmod_test): Likewise.
4233 (ilogb_test): Likewise.
4234 (lgamma_test): Likewise.
4235 (pow_test): Likewise.
4236 (remainder_test): Likewise.
4237 (sin_test): Likewise.
4238 (tan_test): Likewise.
4239 (yn_test): Likewise.
4240 (initialize): Set errno to 0.
4241 (main): Print number of errno tests.
4242 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4244 2013-04-29 Andreas Jaeger <aj@suse.de>
4247 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4251 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4252 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4256 * stdlib/random.c (__initstate): Return NULL if
4260 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4261 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4264 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4268 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4270 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4271 of individual tests.
4272 (casin_test): Likewise.
4273 (casinh_test): Likewise.
4275 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4278 * math/s_catan.c (__catan): Handle arguments with large real or
4279 imaginary part separately without squaring.
4280 * math/s_catanf.c (__catanf): Likewise.
4281 * math/s_catanh.c (__catanh): Likewise.
4282 * math/s_catanhf.c (__catanhf): Likewise.
4283 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4285 (__catanhl): Handle arguments with large real or imaginary part
4286 separately without squaring.
4287 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4289 (__catanl): Handle arguments with large real or imaginary part
4290 separately without squaring.
4291 * math/libm-test.inc (catan_test): Add more tests.
4292 (catanh_test): Likewise.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296 2013-04-27 Andreas Jaeger <aj@suse.de>
4299 * stdlib/stdlib.h: Update guards for qecvt.
4300 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4303 2013-04-27 Allan McRae <allan@archlinux.org>
4305 * sysdeps/i386/fpu/libm-test-ulps: Update.
4307 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4310 * math/s_catan.c: Include <float.h>.
4311 (__catan): Ensure underflow exception occurs for underflowed
4313 * math/s_catanf.c: Include <float.h>.
4314 (__catanf): Ensure underflow exception occurs for underflowed
4316 * math/s_catanh.c: Include <float.h>.
4317 (__catanh): Ensure underflow exception occurs for underflowed
4319 * math/s_catanhf.c: Include <float.h>.
4320 (__catanhf): Ensure underflow exception occurs for underflowed
4322 * math/s_catanhl.c: Include <float.h>.
4323 (__catanhl): Ensure underflow exception occurs for underflowed
4325 * math/s_catanl.c: Include <float.h>.
4326 (__catanl): Ensure underflow exception occurs for underflowed
4328 * math/libm-test.inc (catan_test): Add more tests.
4329 (catanh_test): Likewise.
4332 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4334 * math/s_ccoshf.c (__ccoshf): Likewise.
4335 * math/s_ccoshl.c (__ccoshl): Likewise.
4336 * math/s_csin.c (__csin): Likewise.
4337 * math/s_csinf.c (__csinf): Likewise.
4338 * math/s_csinh.c (__csinh): Likewise.
4339 * math/s_csinhf.c (__csinhf): Likewise.
4340 * math/s_csinhl.c (__csinhl): Likewise.
4341 * math/s_csinl.c (__csinl): Likewise.
4342 * math/libm-test.inc (ccos_test): Add more tests.
4343 (ccosh_test): Likewise.
4344 (csin_test): Likewise.
4345 (csinh_test): Likewise.
4347 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4349 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4350 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4351 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4352 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4353 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4354 powerpc/power5+/fpu folders.
4355 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4358 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4362 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4364 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4365 additions to variable.
4366 [$(config-machine) = x86_64] (modules-names): Likewise.
4367 ($(objpfx)tst-audit3): Remove dependency.
4368 ($(objpfx)tst-audit3.out): Likewise.
4369 ($(objpfx)tst-audit4): Likewise.
4370 ($(objpfx)tst-audit4.out): Likewise.
4371 ($(objpfx)tst-audit5): Likewise.
4372 ($(objpfx)tst-audit5.out): Likewise.
4373 ($(objpfx)tst-audit6): Likewise.
4374 ($(objpfx)tst-audit6.out): Likewise.
4375 ($(objpfx)tst-audit7): Likewise.
4376 ($(objpfx)tst-audit7.out): Likewise.
4377 (tst-audit3-ENV): Remove variable.
4378 (tst-audit4-ENV): Likewise.
4379 (tst-audit5-ENV): Likewise.
4380 (tst-audit6-ENV): Likewise.
4381 (tst-audit7-ENV): Likewise.
4382 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4383 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4384 addition to variable.
4385 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4386 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4387 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4388 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4389 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4390 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4391 tst-audit3, tst-audit4 and tst-audit5.
4392 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4393 tst-audit6 and tst-audit7.
4394 [$(subdir) = elf] (modules-names): Add audit modules for those
4396 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4397 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4398 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4399 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4400 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4401 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4402 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4403 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4404 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4405 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4406 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4407 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4408 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4409 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4410 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4411 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4413 [$(subdir) = elf && $(config-cflags-avx) = yes]
4414 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4415 [$(subdir) = elf && $(config-cflags-avx) = yes]
4416 (CFLAGS-tst-auditmod4a.c): Likewise.
4417 [$(subdir) = elf && $(config-cflags-avx) = yes]
4418 (CFLAGS-tst-auditmod4b.c): Likewise.
4419 [$(subdir) = elf && $(config-cflags-avx) = yes]
4420 (CFLAGS-tst-auditmod6b.c): Likewise.
4421 [$(subdir) = elf && $(config-cflags-avx) = yes]
4422 (CFLAGS-tst-auditmod6c.c): Likewise.
4423 [$(subdir) = elf && $(config-cflags-avx) = yes]
4424 (CFLAGS-tst-auditmod7b.c): Likewise.
4425 * elf/tst-audit3.c: Move to ...
4426 * sysdeps/x86_64/tst-audit3.c: ... here.
4427 * elf/tst-audit4.c: Move to ...
4428 * sysdeps/x86_64/tst-audit4.c: ... here.
4429 * elf/tst-audit5.c: Move to ...
4430 * sysdeps/x86_64/tst-audit5.c: ... here.
4431 * elf/tst-audit6.c: Move to ...
4432 * sysdeps/x86_64/tst-audit6.c: ... here.
4433 * elf/tst-audit7.c: Move to ...
4434 * sysdeps/x86_64/tst-audit7.c: ... here.
4435 * elf/tst-auditmod3a.c: Move to ...
4436 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4437 * elf/tst-auditmod3b.c: Move to ...
4438 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4439 * elf/tst-auditmod4a.c: Move to ...
4440 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4441 * elf/tst-auditmod4b.c: Move to ...
4442 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4443 * elf/tst-auditmod5a.c: Move to ...
4444 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4445 * elf/tst-auditmod5b.c: Move to ...
4446 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4447 * elf/tst-auditmod6a.c: Move to ...
4448 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4449 * elf/tst-auditmod6b.c: Move to ...
4450 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4451 * elf/tst-auditmod6c.c: Move to ...
4452 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4453 * elf/tst-auditmod7a.c: Move to ...
4454 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4455 * elf/tst-auditmod7b.c: Move to ...
4456 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4458 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4461 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4462 define unconditionally.
4463 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4464 define unconditionally.
4465 (INT8_C, INT16_C, etc.): Likewise.
4467 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4469 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4470 __ehdr_start with hidden visibility.
4472 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4474 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4476 * math/libm-test.inc (cos_test): Use accurate hex constants.
4477 (sincost_test): Likewise.
4479 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4481 * math/libm-test.inc (catan_test): Add more tests.
4482 (catanh_test): Likewise.
4484 * math/s_catanf.c (__catanf): Use suffixed floating-point
4486 * math/s_catanhf.c (__catanhf): Likewise.
4487 * math/s_catanhl.c (__catanhl): Likewise.
4488 * math/s_catanl.c (__catanl): Likewise.
4491 * math/s_catan.c (__catan): Calculate imaginary part of result
4492 with log1p not log unless computing log of number close to 0.
4493 * math/s_catanf.c (__catanf): Likewise.
4494 * math/s_catanl.c (__catanl): Likewise.
4495 * math/s_catanh.c (__catanh): Calculate real part of result with
4496 log1p not log unless computing log of number close to 0.
4497 * math/s_catanhf.c (__catanhf): Likewise.
4498 * math/s_catanhl.c (__catanhl): Likewise.
4499 * math/libm-test.inc (catan_test): Add more tests.
4500 (catanh_test): Likewise.
4501 * sysdeps/i386/fpu/libm-test-ulps: Update.
4502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4506 * benchtests/Makefile: Mention files in which fast and slow
4507 paths of math functions are implemented.
4509 2013-04-23 Roland McGrath <roland@hack.frob.com>
4511 * sysdeps/posix/timespec_get.c: New file.
4513 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4515 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4517 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4519 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4520 powerpc/power5/fpu folders.
4521 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4522 * benchtests/Makefile: Add modf testcase.
4523 * benchtests/bench-modf.c: New file: Benchmark test for mo
4525 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4528 * time/Makefile (tests): Add tst-strptime-whitespace.
4529 * time/strptime_l.c (get_number): Use ISSPACE.
4530 (__strptime_internal): Likewise.
4531 * time/tst-strptime-whitespace.c: New test case.
4533 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4535 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4537 (_nss_files_init): Set it here.
4539 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4541 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4542 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4545 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4547 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4549 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4551 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4554 2013-04-21 David S. Miller <davem@davemloft.net>
4556 * po/ru.po: Update Russion translation from translation project.
4558 2013-04-17 Adam Conrad <adconrad@0c3.net>
4560 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4563 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4565 * configure.in: Remove i386 configure warning. Remove i386 case.
4566 * configure: Regenerate.
4567 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4568 Add example to error message.
4569 * sysdeps/i386/configure: Regenerate.
4571 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4573 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4575 * benchtests/cos-inputs: New file.
4576 * benchtests/slowcos-inputs: New file.
4577 * benchtests/slowcos.c: New file.
4578 * benchtests/slowtan-inputs: New file.
4579 * benchtests/slowtan.c: New file.
4580 * benchtests/tan-inputs: New file.
4582 2013-04-16 Roland McGrath <roland@hack.frob.com>
4584 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4587 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4589 * benchtests/Makefile: Include cppflags-iterator.mk to add
4590 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4592 * Makefile.in (bench-clean): New target.
4593 * benchtests/Makefile (bench-clean): Likewise.
4595 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4597 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4599 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4601 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4603 2013-04-15 Andreas Schwab <schwab@suse.de>
4605 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4607 * nscd/pwdcache.c (cache_addpw): Likewise.
4608 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4611 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4613 * benchtests/Makefile (bench): Write all output to
4614 bench-out.tmp together.
4616 2013-04-15 Andreas Schwab <schwab@suse.de>
4618 * nscd/nscd.c (main): Don't fork again after closing files.
4620 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4622 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4624 * benchtests/Rules (bench-deps): Collect dependencies into a
4625 single variable. Add Makefile to dependencies.
4626 ($(objpfx)bench-%.c): Depend on bench-deps.
4628 2013-04-12 Roland McGrath <roland@hack.frob.com>
4629 Xavier Roche <roche+kml2@exalead.com>
4632 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4633 just that it's a file descriptor.
4634 * manual/llio.texi (Synchronizing AIO Operations): Update description
4635 for EBADF error from aio_fsync.
4637 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4639 * Rules (bench): Move target definition...
4640 * benchtests/Makefile: ... here.
4642 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4644 * math/libm-test.inc (cos_test): Fix PI/2 test.
4645 (sincos_test): Likewise.
4646 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4647 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4649 2013-04-11 Andreas Schwab <schwab@suse.de>
4652 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4653 accept exponent character only when digits were seen.
4654 * stdio-common/Makefile (tests): Add bug26.
4655 * stdio-common/bug26.c: New file.
4658 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4661 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4663 * Makeconfig (rtld-prefix): Define built linker prefix.
4664 * Rules (run-bench): Use it.
4665 * math/Makefile (run-regen-ulps): Likewise.
4667 * Rules (bench): Remove eval.
4669 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4670 Roland McGrath <roland@hack.frob.com>
4671 Ondrej Bilka <neleai@seznam.cz>
4674 * time/getdate.c: Include ctype.h and alloca.h.
4675 (__getdate_r): Trim leading and trailing spaces of input.
4676 * time/tst-getdate.c (tests): Add tests with leading and
4679 2013-04-08 Roland McGrath <roland@hack.frob.com>
4682 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4683 when computing value.
4685 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4687 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4688 Use testrun.sh to run libm tests.
4691 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4693 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4696 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4698 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4700 * Makefile.in (regen-ulps): New target.
4701 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4702 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4703 [ifneq (no,$(PERL)] (regen-ulps): New target.
4704 [ifeq (no,$(PERL)] (regen-ulps): New target.
4705 * math/libm-test.inc (ulps_file_name): Define.
4706 (output_dir): New variable.
4707 (options): Add "output-dir" option.
4708 (parse_opt): Handle 'o' case.
4709 (main): If output_dir is non-NULL use it as a prefix
4711 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4713 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4716 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4717 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4718 fail configure if __sync_val_compare_and_swap is not inlined.
4719 * sysdeps/i386/configure: Regenerate.
4720 * configure.in: Build for i686 when configured for i386.
4721 * configure: Regenerate.
4722 * README: Remove i386 reference.
4724 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4726 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4729 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4731 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4732 (lmsnanval): New variables.
4733 (F): Add conversion tests.
4734 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4735 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4737 * stdio-common/tstdiomisc.c (F): Properly collect individual
4741 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4742 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4743 Instead, use input NaN values or generate a qNaN by arithmetic
4744 operation. Also fix bugs to comply with the standard.
4745 * math/libm-test.inc (remainder_test): Add more tests.
4748 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4750 input NaN values or generate a qNaN by arithmetic operation.
4752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4755 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4758 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4761 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4763 * math/s_cexpf.c (__cexpf): Likewise.
4764 * math/s_cexpl.c (__cexpl): Likewise.
4765 * math/libm-test.inc (cexp_test): Add more tests.
4767 2013-04-03 Andreas Schwab <schwab@suse.de>
4770 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4771 order arrays from heap if bigger than alloca cutoff.
4773 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4775 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4776 (SNAN_TESTS_double): Refer to GCC PR56831.
4777 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4780 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4782 * Rules (bench): Move bench.out after the run is complete.
4784 * Rules (bench): Echo currently running benchmark.
4786 * benchtests/Makefile (bench): Add atan and slowatan.
4787 * benchtests/atan-inputs: New file.
4788 * benchtests/slowatan-inputs: New file.
4789 * benchtests/slowatan.c: New file.
4791 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4796 * sysdeps/unix/sysv/linux/kernel-features.h
4797 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4798 __ASSUME_XFS_RESTRICTED_CHOWN.
4799 * sysdeps/unix/sysv/linux/pathconf.c
4800 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4801 Save and restore errno.
4803 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4806 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4807 arguments using __kernel_casinh.
4808 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4809 arguments using __kernel_casinhf.
4810 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4811 arguments using __kernel_casinhl.
4812 * math/libm-test.inc (cacosh_test): Add more tests.
4813 * sysdeps/i386/fpu/libm-test-ulps: Update.
4814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4816 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4818 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4821 * bench/Makefile (bench): Add sin and slowsin.
4822 * benchtests/sin-inputs: New file.
4823 * benchtests/slowsin-inputs: New file.
4824 * benchtests/slowsin.c: New file.
4826 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4827 (bench): Add slowexp and slowpow.
4828 (exp-ITER): Increase iterations.
4829 (pow-ITER): Likewise.
4830 * benchtests/exp-inputs: Change input.
4831 * benchtests/pow-inputs: Likewise.
4832 * benchtests/slowexp-inputs: New file.
4833 * benchtests/slowexp.c: New file.
4834 * benchtests/slowpow-inputs: New file.
4835 * benchtests/slowpow.c: New file.
4837 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4839 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4841 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4842 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4843 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4844 * benchtests/Makefile: Add rint benchtest.
4845 * benchtests/rint-inputs: Input for rint benchtest.
4847 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4849 * Versions.def (libm): Add GLIBC_2.18.
4850 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4851 hidden libm prototypes.
4852 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4853 * math/Makefile (libm-calls): Add s_issignaling.
4854 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4855 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4856 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4858 * math/math.h [__USE_GNU] (issignaling): New macro.
4859 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4860 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4861 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4865 * manual/arith.texi (issignaling): New section.
4866 * manual/libm-err-tab.pl (@all_functions): Update comment.
4867 * math/gen-libm-test.pl (parse_args): Apply special handling for
4869 * math/libm-test.inc (print_float, issignaling_test): New
4871 (check_float_internal): Add issignaling checks.
4872 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4874 * sysdeps/powerpc/math-tests.h: New file.
4875 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4877 * math/test-snan.c (TEST_FUNC): Likewise.
4879 2013-03-30 David S. Miller <davem@davemloft.net>
4881 * po/de.po: Update from translation team.
4883 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4886 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4887 imaginary part less than 1.0 and real part less than 0.5
4889 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4890 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4891 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4892 (cacos_test): Add more tests.
4893 (casin_test): Likewise.
4894 (casinh_test): Likewise.
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4898 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4903 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4904 (__pow_mp): Replace ONE and MONE with their values.
4905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4908 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4909 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4912 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4914 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4915 (__pow_mp): Replace ZERO and MZERO with their values.
4916 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4917 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4918 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4920 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4921 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4924 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4926 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4928 2013-03-28 Roland McGrath <roland@hack.frob.com>
4930 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4931 Declare with __attribute__ ((weak)).
4932 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4933 Call __call_tls_dtors only if it's not NULL.
4935 2013-03-28 Roland McGrath <roland@hack.frob.com>
4937 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4938 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4939 magic __ehdr_start linker symbol if it's defined.
4940 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4941 them up here if it was already done.
4943 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4944 (_dl_aux_init): Use const in cast when setting it.
4945 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4946 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4947 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4949 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4951 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4952 * csu/libc-tls.c: Nor here.
4953 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4955 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4956 (__libc_message): Never call vsyslog.
4958 2013-03-28 Alan Modra <amodra@gmail.com>
4960 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4962 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4965 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4968 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4972 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4975 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4976 Don't add gid passed as argument.
4978 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4980 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4983 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4984 imaginary part between 1.0 and 1.5 and real part less than 0.5
4986 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4987 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4988 * math/libm-test.inc (cacos_test): Add more tests.
4989 (casin_test): Likewise.
4990 (casinh_test): Likewise.
4991 * sysdeps/i386/fpu/libm-test-ulps: Update.
4992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4996 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5000 (__dbl_mp): Likewise.
5001 (add_magnitudes): Likewise.
5002 (sub_magnitudes): Likewise.
5010 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5012 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5013 (__dubcos): Likewise.
5014 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5015 (__ieee754_acos): Likewise.
5016 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5017 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5022 (my_log2): Likewise.
5023 (checkint): Likewise.
5024 * sysdeps/ieee754/dbl-64/e_remainder.c
5025 (__ieee754_remainder): Likewise.
5026 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5031 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5032 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5033 MANTISSA_STORE_T to store computations on mantissa. Use
5034 macros for rounding and division.
5036 (__dbl_mp): Likewise.
5037 (add_magnitudes): Likewise.
5038 (sub_magnitudes): Likewise.
5041 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5042 powers of two in terms of TWOPOW macro.
5043 (mp_no): Make type of mantissa as MANTISSA_T.
5044 [!RADIXI]: Define RADIXI.
5045 [!TWO52]: Define TWO52.
5046 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5048 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5050 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5051 llroundl symbol when building for PPC32.
5053 2013-03-24 Mark H Weaver <mhw@netris.org>
5055 * manual/arith.texi (Normalization Functions): Fix prototypes for
5056 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5058 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5062 high value to check if expl overflow.
5063 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5064 to check for underflow and overflow.
5065 * math/libm-test.inc: Add exp test.
5067 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5070 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5073 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5075 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5078 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5080 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5081 wrap blocks consisting of several statements.
5083 * sysdeps/generic/math-tests.h: New file.
5084 * sysdeps/i386/fpu/math-tests.h: Likewise.
5085 * math/test-snan.c: Include it.
5086 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5088 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5092 (__ieee754_j0l): Do not improve calculations using cos of twice
5093 input for inputs above LDBL_MAX / 2.0L.
5094 (__ieee754_y0l): Likewise.
5095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5096 (__ieee754_j1l): Do not improve calculations using cos of twice
5097 input for inputs above LDBL_MAX / 2.0L.
5098 (__ieee754_y1l): Likewise.
5099 * math/libm-test.inc (j0_test): Add another test.
5100 (j1_test): Likewise.
5101 (y0_test): Likewise.
5102 (y1_test): Likewise.
5103 * sysdeps/i386/fpu/libm-test-ulps: Update.
5105 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5107 * Rules ($(objpfx)bench-%.c): Include code from a C source
5110 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5113 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5114 imaginary part 1.0 and real part less than 0.5 specially.
5115 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5116 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5117 * math/libm-test.inc (cacos_test): Add more tests.
5118 (casin_test): Likewise.
5119 (casinh_test): Likewise.
5120 * sysdeps/i386/fpu/libm-test-ulps: Update.
5121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5123 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5125 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5126 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5128 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5130 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5131 * config.make.in (config-cflags-sse4): Remove variable.
5132 (config-cflags-avx): Likewise.
5133 (config-cflags-sse2avx): Likewise.
5134 (config-cflags-novzeroupper): Likewise.
5135 (config-asflags-i686): Likewise.
5136 (have-mfma4): Likewise.
5137 (have-as-vis3): Likewise.
5139 * configure.in (MIG): Do not AC_SUBST.
5140 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5141 (libc_cv_cc_sse4): Do not AC_SUBST.
5142 (libc_cv_cc_avx): Likewise.
5143 (libc_cv_cc_sse2avx): Likewise.
5144 (libc_cv_cc_novzeroupper): Likewise.
5145 (libc_cv_cc_fma4): Likewise.
5146 (libc_cv_as_i686): Likewise.
5147 (libc_cv_sparc_as_vis3): Likewise.
5148 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5150 (config-asflags-i686): Likewise.
5151 (config-cflags-avx): Likewise.
5152 (config-cflags-sse2avx): Likewise.
5153 (have-mfma4): Likewise.
5154 (config-cflags-novzeroupper): Likewise.
5155 * sysdeps/mach/configure.in (MIG): Likewise.
5156 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5157 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5159 (config-cflags-avx): Likewise.
5160 (config-cflags-sse2avx): Likewise.
5161 (have-mfma4): Likewise.
5162 (config-cflags-novzeroupper): Likewise.
5163 * configure: Regenerated.
5164 * sysdeps/i386/configure: Likewise.
5165 * sysdeps/mach/configure: Likewise.
5166 * sysdeps/sparc/configure: Likewise.
5167 * sysdeps/x86_64/configure: Likewise.
5169 2013-03-20 Roland McGrath <roland@hack.frob.com>
5172 * locale/programs/localedef.c (options): Put N_ translation marker
5173 on argument names, not just descriptions.
5175 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5177 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5179 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5182 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5184 2013-03-19 Roland McGrath <roland@hack.frob.com>
5186 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5187 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5188 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5189 [!BEFORE_ABORT] (before_abort): New function.
5190 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5191 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5192 (writev_for_fatal): New function.
5193 (WRITEV_FOR_FATAL): New macro; call that.
5194 (backtrace_and_maps): New function.
5195 (BEFORE_ABORT): New macro; call that.
5196 (struct str_list): Type removed.
5197 (__libc_message, __libc_fatal): Functions removed.
5198 Include <sysdeps/posix/libc_fatal.c> instead.
5200 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5202 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5204 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5207 2013-03-19 Andreas Schwab <schwab@suse.de>
5209 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5210 * sysdeps/gnu/configure: Regenerate.
5212 * configure.in: Substitute libc_cv_rtlddir.
5213 * configure: Regenerate.
5214 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5215 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5216 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5217 * elf/Makefile (install-others, CFLAGS-interp.c)
5218 (ldso_install, common-ldd-rewrite): Likewise.
5219 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5220 $(inst_slibdir)/$(rtld-installed-name).
5221 * scripts/rellns-sh: Add -p option.
5222 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5225 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5227 * manual/nptl.texi: Renamed to ...
5228 * manual/threads.texi: ... this.
5229 * manual/Makefile (chapters): Update.
5231 2013-03-18 Roland McGrath <roland@hack.frob.com>
5234 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5235 on argument names, not just descriptions.
5236 * malloc/memusagestat.c (options): Likewise.
5237 * nss/getent.c (options): Likewise.
5239 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5242 * iconv/iconv_prog.c (options): Put N_ translation marker
5243 on argument names, not just descriptions.
5244 * iconv/iconvconfig.c (options): Likewise.
5246 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5248 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5249 implementation which is faster on all x86_64 architectures.
5250 Tested on AMD, Intel Nehalem, SNB, IVB.
5251 * sysdeps/x86_64/strnlen.S: Likewise.
5253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5254 Remove all multiarch strlen and strnlen versions.
5255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5256 Remove strlen and strnlen related parts.
5258 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5260 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5262 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5263 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5264 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5265 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5266 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5267 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5269 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5271 * manual/memory.texi (Malloc Tunable Parameters):
5272 Sort parameters alphabetically. Add comments for missing entries.
5274 2013-03-17 David S. Miller <davem@davemloft.net>
5276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5278 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5281 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5282 for arguments at most half maximum finite value.
5283 * math/libm-test.inc (j0_test): Add more tests.
5284 (j1_test): Likewise.
5285 (y0_test): Likewise.
5286 (y1_test): Likewise.
5287 * sysdeps/i386/fpu/libm-test-ulps: Update.
5288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5292 1 / x and functions P and Q for arguments above 0x1p256L.
5293 (__ieee754_y0l): Likewise.
5294 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5295 (__ieee754_y1l): Likewise.
5296 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5297 (j1_test): Likewise.
5298 (y0_test): Likewise.
5299 (y1_test): Likewise.
5301 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5303 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5306 2013-03-15 Roland McGrath <roland@hack.frob.com>
5308 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5309 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5310 zero since it's initialized to EXEC_PAGESIZE.
5312 * sysdeps/unix/sysv/linux/ldsodefs.h
5313 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5314 * sysdeps/generic/ldsodefs.h: ... here.
5316 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5318 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5320 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5322 * math/test-snan.c: Renamed from
5323 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5324 * math/Makefile (tests): Add test-snan.
5325 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5328 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5329 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5331 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5332 __builtin_nan family of functions.
5333 * math/libm-test.inc (initialize): Initialize qnan_value with
5334 __builtin_nan family of functions.
5335 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5337 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5339 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5340 storage class. Initialize qNaN_var and sNaN_var with
5341 __builtin_nan and __builtin_nans families of functions,
5344 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5345 (sqrt_test): Remove duplicate test with qNaN input.
5346 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5347 (round_test, signbit_test, significand_test): Note missing +/-Inf
5348 as well as qNaN tests.
5350 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5351 qNaN_var. Fix a few strings, too.
5352 * math/libm-test.inc (nan_value): Rename to qnan_value.
5353 * math/gen-libm-test.pl (%beautify): Adjust to that.
5354 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5355 * math/test-misc.c (main): Likewise.
5356 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5357 to __qnan_bytes, and __qnan_union, respectively.
5358 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5360 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5361 and lqnanval, respectively.
5362 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5363 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5364 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5365 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5367 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5368 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5371 * math/test-misc.c (main): Fix copy'n'pastos.
5372 * misc/tst-efgcvt.c (special): Likewise.
5374 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5375 Remove declarations.
5377 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5379 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5380 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5381 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5382 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5384 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5386 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5387 macro to return vdso values correctly in IFUNC implementations.
5388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5389 Optimization by using IFUNC.
5391 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5392 Richard Henderson <rth@redhat.com>
5393 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5395 * Makefile.in (bench): New target.
5396 * NEWS: Mention the benchmark framework.
5397 * Rules (bench): Likewise.
5398 (binaries-bench): Generate binaries for functions to
5400 * benchtests/Makefile: New makefile for benchmark tests.
5401 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5403 * benchtests/exp-inputs: New input file for EXP function.
5404 * benchtests/pow-inputs: New input file for POW function.
5405 * scripts/bench.pl: New script to generate source files for
5408 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5410 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5411 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5412 computations on mantissa. Use macros for rounding and
5415 (__dbl_mp): Likewise.
5416 (add_magnitudes): Likewise.
5417 (sub_magnitudes): Likewise.
5420 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5421 powers of two in terms of TWOPOW macro.
5422 (mp_no): Make type of mantissa as MANTISSA_T.
5423 [!RADIXI]: Define RADIXI.
5424 [!TWO52]: Define TWO52.
5425 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5427 * manual/nptl.texi (cindex): Modify threads to pthreads.
5429 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5431 * sysdeps/x86_64/preconfigure: Regenerated.
5433 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5436 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5438 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5439 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5441 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5442 * math/libm-test.inc (j0_test): Do not allow one spurious
5443 underflow exception.
5444 (y1_test): Likewise.
5446 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5448 * manual/Makefile (chapters): Add nptl.
5449 * manual/debug.texi (Debugging Support): Add link to Threads
5451 * manual/nptl.texi: New file.
5453 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5455 2013-03-14 Petr Baudis <pasky@ucw.cz>
5457 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5458 for non-NULL pointer before the memory validity test. Pointed
5459 out by Holger Brunck <holger.brunck@keymile.com>.
5461 2013-03-13 Andreas Schwab <schwab@suse.de>
5463 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5466 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5468 * timezone/zic.c: Update from tzcode 2013b.
5470 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5472 * manual/install.texi (Configuring and compiling):
5473 Mention i686 and i586.
5474 * INSTALL: Regenerate.
5476 2013-03-12 Roland McGrath <roland@hack.frob.com>
5478 * sysdeps/init_array/elf-init.c: New file.
5480 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5481 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5483 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5484 __gmon_start__ as global, but as static with a .preinit_array pointer.
5485 * sysdeps/init_array/gmon-start.c: New file. Use that.
5486 * sysdeps/init_array/crti.S: New file, empty except for comments.
5487 * sysdeps/init_array/crtn.S: Likewise.
5489 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5491 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5494 Remove Prefer_SSE_for_memop.
5495 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5496 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5497 HAS_PREFER_SSE_FOR_MEMOP.
5498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5501 Remove bzero, memset ifunc support.
5502 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5503 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5504 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5505 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5507 2013-03-11 Andreas Schwab <schwab@suse.de>
5510 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5513 (GLIBC_2.16): Remove pthread_atfork.
5515 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5517 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5518 (ptestcases.h): Likewise.
5520 2013-03-08 Roland McGrath <roland@hack.frob.com>
5522 * Makeconfig ($(common-objpfx)config.status): Depend on
5523 sysdeps/*/preconfigure{,.in} too.
5525 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5527 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5528 (__free_hook): Use void * instead of __malloc_ptr_t.
5529 (__malloc_hook): Likewise.
5530 (__realloc_hook): Likewise.
5531 (__memalign_hook): Likewise.
5532 (__after_morecore_hook): Likewise.
5533 * malloc/arena.c (save_malloc_hook): Likewise.
5534 (save_free_hook): Likewise.
5535 * malloc/hooks.c (malloc_hook_ini): Likewise.
5536 (realloc_hook_ini): Likewise.
5537 (memalign_hook_ini): Likewise.
5538 * malloc/malloc.c (malloc_hook_ini): Likewise.
5539 (realloc_hook_ini): Likewise.
5540 (memalign_hook_ini): Likewise.
5541 (__free_hook): Likewise.
5542 (__malloc_hook): Likewise.
5543 (__realloc_hook): Likewise.
5544 (__memalign_hook): Likewise.
5545 (__libc_malloc): Likewise.
5546 (__libc_free): Likewise.
5547 (__libc_realloc): Likewise.
5548 (__libc_memalign): Likewise.
5549 (__libc_valloc): Likewise.
5550 (__libc_pvalloc): Likewise.
5551 (__libc_calloc): Likewise.
5552 (__posix_memalign): Likewise.
5553 * malloc/morecore.c (__sbrk): Likewise.
5554 (__default_morecore): Likewise.
5556 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5558 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5559 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5562 * malloc/malloc.h (__malloc_size_t): Remove macro.
5563 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5565 (old_memalign_hook): Likewise.
5566 (old_realloc_hook): Likewise.
5567 (struct hdr): Likewise.
5569 (mallochook): Likewise.
5570 (memalignhook): Likewise.
5571 (reallochook): Likewise.
5572 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5573 (tr_old_realloc_hook): Likewise.
5574 (tr_old_memalign_hook): Likewise.
5575 (tr_mallochook): Likewise.
5576 (tr_reallochook): Likewise.
5577 (tr_memalignhook): Likewise.
5579 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5582 default_ldbl_pack and using as default implementation.
5583 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5585 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5586 redundant definition.
5587 (ldbl_insert_mantissa): Likewise.
5588 (ldbl_canonicalize): Likewise.
5589 (ldbl_nearbyint): Likewise.
5590 (ldbl_pack): Rename to ldbl_pack_ppc.
5591 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5592 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5593 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5595 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5598 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5599 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5600 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5602 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5603 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5604 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5606 2013-03-07 Andreas Jaeger <aj@suse.de>
5608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5611 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5613 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5614 Include mpa.h and declare __MPEXP.
5615 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5616 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5617 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5618 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5619 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5620 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5621 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5623 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5624 (__slowpow): Use long double EXPL and LOGL functions to
5626 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5627 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5628 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5629 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5630 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5631 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5634 intermediate variable to calculate exponent.
5636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5640 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5641 [!NO__SQR]: Define __sqr.
5642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5643 and NO__SQR. Remove all code except __mul and __sqr. Include
5644 sysdeps/ieee754/dbl-64/mpa.c.
5645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5648 * posix/Makefile (tests): Add tst-pathconf.
5649 * posix/tst-pathconf.c: New test case.
5650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5652 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5654 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5656 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5658 2013-03-06 Andreas Jaeger <aj@suse.de>
5660 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5661 definition via __MAP_ANONYMOUS.
5663 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5664 it's not part of Linux headers.
5666 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5667 (MAP_HUGE_MASK): Define.
5669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5671 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5674 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5675 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5677 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5678 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5680 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5682 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5683 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5684 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5685 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5686 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5687 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5689 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5693 Handle f2fs and efivarfs.
5695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5698 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5699 (EFIVARFS_MAGIC): Add.
5700 (F2FS_LINK_MAX): Add.
5702 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5704 * stdio-common/vfprintf.c: Replace __builtin_expect with
5707 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5710 * sysdeps/generic/bp-sym.h: Remove file.
5711 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5712 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5713 <bp-sym.h> and <bp-asm.h>.
5714 (__longjmp): Don't use BP_SYM.
5715 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5717 (memcpy): Don't use BP_SYM.
5718 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5719 <bp-sym.h> and <bp-asm.h>.
5720 (memcpy): Don't use BP_SYM.
5721 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5723 (memcpy): Don't use BP_SYM.
5724 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5726 (memset): Don't use BP_SYM.
5727 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5728 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5729 (__bzero): Don't use BP_SYM.
5730 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5731 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5733 <bp-sym.h> and <bp-asm.h>.
5734 (memcmp): Don't use BP_SYM. Remove comment about bounded
5736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5737 <bp-sym.h> and <bp-asm.h>.
5738 (memcpy): Don't use BP_SYM.
5739 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5740 <bp-sym.h> and <bp-asm.h>.
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/strncmp.S: Don't include
5748 <bp-sym.h> and <bp-asm.h>.
5749 (strncmp): Don't use BP_SYM. Remove comment about bounded
5751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5752 <bp-sym.h> and <bp-asm.h>.
5753 (memcpy): Don't use BP_SYM.
5754 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (__memchr): Don't use BP_SYM.
5765 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5766 <bp-sym.h> and <bp-asm.h>.
5767 (memcmp): Don't use BP_SYM. Remove comment about bounded
5769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5770 <bp-sym.h> and <bp-asm.h>.
5771 (memcpy): Don't use BP_SYM.
5772 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5773 <bp-sym.h> and <bp-asm.h>.
5774 (__mempcpy): Don't use BP_SYM.
5775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5776 <bp-sym.h> and <bp-asm.h>.
5777 (__memrchr): Don't use BP_SYM.
5778 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5779 <bp-sym.h> and <bp-asm.h>.
5780 (memset): Don't use BP_SYM.
5781 (__bzero): Likewise.
5782 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5783 <bp-sym.h> and <bp-asm.h>.
5784 (__rawmemchr): Don't use BP_SYM.
5785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5786 <bp-sym.h> and <bp-asm.h>.
5787 (__STRCMP): Don't use BP_SYM.
5788 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5789 <bp-sym.h> and <bp-asm.h>.
5790 (strchr): Don't use BP_SYM.
5791 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5792 <bp-sym.h> and <bp-asm.h>.
5793 (__strchrnul): Don't use BP_SYM.
5794 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5795 <bp-sym.h> and <bp-asm.h>.
5796 (strlen): Don't use BP_SYM.
5797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5798 <bp-sym.h> and <bp-asm.h>.
5799 (strncmp): Don't use BP_SYM. Remove comment about bounded
5801 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5802 <bp-sym.h> and <bp-asm.h>.
5803 (__strnlen): Don't use BP_SYM.
5804 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5805 <bp-sym.h> and <bp-asm.h>.
5806 (__GI__setjmp): Don't use BP_SYM.
5807 (_setjmp): Likewise.
5808 (__sigsetjmp): Likewise.
5809 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5810 (L(start_addresses)): Don't use BP_SYM.
5812 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5814 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5815 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5816 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5817 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5818 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5820 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5821 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5822 about bounded pointers.
5823 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5824 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5825 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5827 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5828 about bounded pointers. Remove GKM FIXME comments.
5829 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5830 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5832 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5833 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5834 Remove GKM FIXME comments.
5835 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5836 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5837 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5839 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5840 about bounded pointers. Remove GKM FIXME comment.
5841 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5843 (strncmp): Don't use BP_SYM. Remove comment about bounded
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5846 <bp-sym.h> and <bp-asm.h>.
5847 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5849 <bp-sym.h> and <bp-asm.h>.
5850 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5853 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5855 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5858 2013-03-05 David S. Miller <davem@davemloft.net>
5860 * po/es.po: Update from translation team.
5862 2013-03-05 Andreas Jaeger <aj@suse.de>
5864 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5865 <bits/mman-linux.h>.
5866 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5868 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5869 <bits/mman-linux.h> to end of file.
5870 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5872 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5873 <bits/mman-linux.h> to end of file.
5874 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5877 <bits/mman-linux.h> to end of file.
5879 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5880 (MCL_CURRENT, MCL_FUTURE): Define here.
5882 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5885 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5889 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5891 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5892 fourth parameter needed for rt_sigprocmask syscall.
5893 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5894 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5895 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5896 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5897 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5898 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5900 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5904 comment about bounded pointers.
5905 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5906 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5908 2013-03-04 Andreas Jaeger <aj@suse.de>
5910 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5913 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5914 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5915 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5920 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5924 __ieee754_sqrl instead of __sqrl.
5926 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5928 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5929 * sysdeps/powerpc/fpu_control.h: ... here.
5930 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5931 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5932 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5933 * sysdeps/powerpc/bits/mathinline.h: ... here.
5935 2013-03-01 Roland McGrath <roland@hack.frob.com>
5937 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5938 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5939 to just [NEED_DL_SYSINFO_DSO].
5940 * elf/dl-support.c: Likewise.
5941 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5942 * elf/rtld.c (dl_main): Likewise.
5943 * elf/setup-vdso.h (setup_vdso): Likewise.
5944 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5945 * sysdeps/unix/sysv/linux/dl-sysdep.c
5946 (_dl_discover_osversion): Likewise.
5948 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5950 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5951 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5953 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5955 * NEWS: Mention libm performance improvements and non-x86 PI
5958 * csu/libc-start.c (__pthread_initialize_minimal): Change
5960 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5962 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5965 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5966 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5967 <bp-sym.h> and <bp-asm.h>.
5968 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5971 (memcpy): Don't use BP_SYM.
5972 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5974 (__mpn_add_n): Don't use BP_SYM.
5975 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5976 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5978 (__mpn_addmul_1): Don't use BP_SYM.
5979 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5980 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5982 (_setjmp): Don't use BP_SYM.
5983 (__novmx_setjmp): Likewise.
5984 (__GI__setjmp): Likewise.
5985 (__vmx_setjmp): Likewise.
5986 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5988 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5989 (__bzero): Don't use BP_SYM.
5990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5992 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5993 <bp-sym.h> and <bp-asm.h>.
5994 (memcpy): Don't use BP_SYM.
5995 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5996 <bp-sym.h> and <bp-asm.h>.
5997 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5998 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5999 <bp-sym.h> and <bp-asm.h>.
6000 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6001 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6003 (__mpn_lshift): Don't use BP_SYM.
6004 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6005 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6007 (memset): Don't use BP_SYM.
6008 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6009 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6010 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6012 (__mpn_mul_1): Don't use BP_SYM.
6013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6015 <bp-sym.h> and <bp-asm.h>.
6016 (memcmp): Don't use BP_SYM.
6017 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6018 <bp-sym.h> and <bp-asm.h>.
6019 (memcpy): Don't use BP_SYM.
6020 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6021 <bp-sym.h> and <bp-asm.h>.
6022 (memset): Don't use BP_SYM.
6023 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6024 <bp-sym.h> and <bp-asm.h>.
6025 (strncmp): Don't use BP_SYM.
6026 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6027 <bp-sym.h> and <bp-asm.h>.
6028 (memcpy): Don't use BP_SYM.
6029 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6030 <bp-sym.h> and <bp-asm.h>.
6031 (memset): Don't use BP_SYM.
6032 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6033 <bp-sym.h> and <bp-asm.h>.
6034 (__memchr): Don't use BP_SYM.
6035 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6036 <bp-sym.h> and <bp-asm.h>.
6037 (memcmp): Don't use BP_SYM.
6038 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6039 <bp-sym.h> and <bp-asm.h>.
6040 (memcpy): Don't use BP_SYM.
6041 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6042 <bp-sym.h> and <bp-asm.h>.
6043 (__mempcpy): Don't use BP_SYM.
6044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6045 <bp-sym.h> and <bp-asm.h>.
6046 (__memrchr): Don't use BP_SYM.
6047 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6048 <bp-sym.h> and <bp-asm.h>.
6049 (memset): Don't use BP_SYM.
6050 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6051 <bp-sym.h> and <bp-asm.h>.
6052 (__rawmemchr): Don't use BP_SYM.
6053 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6054 <bp-sym.h> and <bp-asm.h>.
6055 (__STRCMP): Don't use BP_SYM.
6056 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6057 <bp-sym.h> and <bp-asm.h>.
6058 (strchr): Don't use BP_SYM.
6059 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6060 <bp-sym.h> and <bp-asm.h>.
6061 (__strchrnul): Don't use BP_SYM.
6062 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6063 <bp-sym.h> and <bp-asm.h>.
6064 (strlen): Don't use BP_SYM.
6065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6066 <bp-sym.h> and <bp-asm.h>.
6067 (strncmp): Don't use BP_SYM.
6068 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6069 <bp-sym.h> and <bp-asm.h>.
6070 (__strnlen): Don't use BP_SYM.
6071 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6073 (__mpn_rshift): Don't use BP_SYM.
6074 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6075 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6076 <bp-sym.h> and <bp-asm.h>.
6077 (__sigsetjmp): Don't use BP_SYM.
6078 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6079 (L(start_addresses)): Don't use BP_SYM.
6081 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6083 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6084 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6085 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6086 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6088 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6089 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6090 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6091 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6093 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6095 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6096 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6098 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6100 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6101 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6102 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6104 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6106 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6108 (strncmp): Don't use BP_SYM,
6109 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6111 (__mpn_sub_n): Don't use BP_SYM.
6112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6113 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6115 (__mpn_submul_1): Don't use BP_SYM.
6116 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6118 <bp-sym.h> and <bp-asm.h>.
6119 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6121 <bp-sym.h> and <bp-asm.h>.
6122 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6125 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6128 Use ZK to minimize writes to Z.
6129 (sub_magnitudes): Simplify code a bit.
6130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6131 Use ZK to minimize writes to Z.
6132 (sub_magnitudes): Simplify code a bit.
6134 2013-02-27 Roland McGrath <roland@hack.frob.com>
6136 * csu/gmon-start.c: Add special exception to license text.
6138 2013-02-27 Richard Henderson <rth@redhat.com>
6140 * scripts/config.guess: Update from config.git.
6141 * scripts/config.sub: Likewise.
6143 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6147 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6149 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6151 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6153 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6155 2013-02-26 Roland McGrath <roland@hack.frob.com>
6157 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6158 [$(build-shared = yes].
6160 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6162 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6163 (__mul): Reduce iterations for calculating mantissa.
6165 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6167 (__mpranred): Likewise.
6170 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6171 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6173 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6175 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6176 Define __attribute__.
6178 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6180 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6182 * posix/regex_internal.h (__attribute): Remove.
6183 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6184 (re_string_context_at): Likewise.
6185 (bitset_not): Use __attribute__ and mark function as possibly
6187 (bitset_merge): Likewise.
6188 (bitset_mask): Likewise.
6189 (re_string_char_size_at): Likewise.
6190 (re_string_wchar_at): Likewise.
6191 (re_string_elem_size_at): Likewise.
6193 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6195 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6199 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6204 (__dbl_mp): Likewise.
6205 (add_magnitudes): Likewise.
6206 (sub_magnitudes): Likewise.
6210 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6213 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6216 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6220 up changes with default code.
6221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6224 2013-02-24 Allan McRae <allan@archlinux.org>
6226 * manual/socket.texi (The Internet Namespace): Order menu items
6227 to match that in the file.
6229 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6230 node listing of the info page menu.
6232 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6235 * sysdeps/i386/bp-asm.h: Remove file.
6236 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6237 (PARMS): Do not use macros from bp-asm.h.
6241 (__mpn_add_n): Do not use BP_SYM
6242 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6244 (PARMS): Do not use macros from bp-asm.h.
6247 (__mpn_addmul_1): Do not use BP_SYM
6248 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6250 (PARMS): Do not use macros from bp-asm.h.
6252 (_setjmp): Likewise. Do not use BP_SYM.
6253 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6255 (PARMS): Do not use macros from bp-asm.h.
6257 (setjmp): Likewise. Do not use BP_SYM.
6258 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6260 (PARMS): Do not use macros from bp-asm.h.
6261 (__frexp): Do not use BP_SYM.
6263 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6265 (PARMS): Do not use macros from bp-asm.h.
6266 (__frexpf): Do not use BP_SYM.
6268 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6270 (PARMS): Do not use macros from bp-asm.h.
6271 (__frexpl): Do not use BP_SYM.
6273 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6275 (PARMS): Do not use macros from bp-asm.h.
6276 (__remquo): Do not use BP_SYM.
6278 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6280 (PARMS): Do not use macros from bp-asm.h.
6281 (__remquof): Do not use BP_SYM.
6282 (remquof): Likewise.
6283 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6285 (PARMS): Do not use macros from bp-asm.h.
6286 (__remquol): Do not use BP_SYM.
6287 (remquol): Likewise.
6288 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6290 (PARMS): Do not use macros from bp-asm.h.
6293 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6294 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6296 (PARMS): Do not use macros from bp-asm.h.
6297 (strlen): Do not use BP_SYM.
6298 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6300 (PARMS): Do not use macros from bp-asm.h.
6304 (__mpn_add_n): Do not use BP_SYM.
6305 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6307 (PARMS): Do not use macros from bp-asm.h.
6310 (__mpn_addmul_1): Do not use BP_SYM.
6311 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6314 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6316 (PARMS): Do not use macros from bp-asm.h.
6319 (__mpn_lshift): Do not use BP_SYM.
6320 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6322 (PARMS): Do not use macros from bp-asm.h.
6326 (memcpy): Likewise. Do not use BP_SYM.
6327 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6328 libc_hidden_def and weak_alias.
6329 (mempcpy): Do not use BP_SYM in weak_alias.
6330 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6332 (PARMS): Do not use macros from bp-asm.h.
6335 [!BZERO_P] (CHR): Likewise.
6336 (memset): Likewise. Do not use BP_SYM.
6337 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6339 (PARMS): Do not use macros from bp-asm.h.
6342 (__mpn_mul_1): Do not use BP_SYM.
6343 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6345 (PARMS): Do not use macros from bp-asm.h.
6348 (__mpn_rshift): Do not use BP_SYM.
6349 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6351 (PARMS): Do not use macros from bp-asm.h.
6354 (strchr): Likewise. Do not use BP_SYM.
6355 (index): Do not use BP_SYM in weak_alias.
6356 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6358 (PARMS): Do not use macros from bp-asm.h.
6361 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6362 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6364 (PARMS): Do not use macros from bp-asm.h.
6365 (strlen): Do not use BP_SYM.
6366 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6368 (PARMS): Do not use macros from bp-asm.h.
6372 (__mpn_sub_n): Do not use BP_SYM.
6373 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6375 (PARMS): Do not use macros from bp-asm.h.
6378 (__mpn_submul_1): Do not use BP_SYM.
6379 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6381 (PARMS): Do not use macros from bp-asm.h.
6385 (__mpn_add_n): Do not use BP_SYM.
6386 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6389 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6391 (PARMS): Do not use macros from bp-asm.h.
6394 (memcmp): Do not use BP_SYM.
6395 (bcmp): Do not use BP_SYM in weak_alias.
6396 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6398 (PARMS): Do not use macros from bp-asm.h.
6402 (memcpy): Likewise. Do not use BP_SYM.
6403 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6405 (PARMS): Do not use macros from bp-asm.h.
6409 (memmove): Likewise. Do not use BP_SYM.
6410 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6412 (PARMS): Do not use macros from bp-asm.h.
6416 (__mempcpy): Likewise. Do not use BP_SYM.
6417 (mempcpy): Do not use BP_SYM in weak_alias.
6418 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6420 (PARMS): Do not use macros from bp-asm.h.
6423 [!BZERO_P] (CHR): Likewise.
6424 (memset): Likewise. Do not use BP_SYM.
6425 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6427 (PARMS): Do not use macros from bp-asm.h.
6429 (strcmp): Do not use BP_SYM.
6430 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6432 (PARMS): Do not use macros from bp-asm.h.
6435 [USE_AS_STRTOK_R] (SAVE): Likewise.
6436 (FUNCTION): Likewise. Do not use BP_SYM.
6437 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6439 (strtok_r): Likewise.
6440 (__GI___strtok_r): Likewise.
6441 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6442 (PARMS): Do not use macros from bp-asm.h.
6445 (__mpn_lshift): Do not use BP_SYM.
6446 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6447 (PARMS): Do not use macros from bp-asm.h.
6450 (__memchr): Do not use BP_SYM.
6451 (memchr): Do not use BP_SYM in weak_alias.
6452 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6453 (PARMS): Do not use macros from bp-asm.h.
6456 (memcmp): Do not use BP_SYM.
6457 (bcmp): Do not use BP_SYM in weak_alias.
6458 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6459 (PARMS): Do not use macros from bp-asm.h.
6462 (__mpn_mul_1): Do not use BP_SYM.
6463 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6465 (PARMS): Do not use macros from bp-asm.h.
6468 (__rawmemchr): Do not use BP_SYM.
6469 (rawmemchr): Do not use BP_SYM in weak_alias.
6470 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6471 (PARMS): Do not use macros from bp-asm.h.
6474 (__mpn_rshift): Do not use BP_SYM.
6475 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6476 (PARMS): Do not use macros from bp-asm.h.
6478 (__sigsetjmp): Likewise. Do not use BP_SYM.
6479 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6480 (_start): Do not use BP_SYM.
6481 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6482 (PARMS): Do not use macros from bp-asm.h.
6485 (__stpcpy): Likewise. Do not use BP_SYM.
6486 (stpcpy): Do not use BP_SYM in weak_alias.
6487 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6489 (PARMS): Do not use macros from bp-asm.h.
6493 (__stpncpy): Likewise. Do not use BP_SYM.
6494 (stpncpy): Do not use BP_SYM in weak_alias.
6495 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6496 (PARMS): Do not use macros from bp-asm.h.
6499 (strchr): Likewise. Do not use BP_SYM.
6500 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6502 (PARMS): Do not use macros from bp-asm.h.
6505 (__strchrnul): Likewise. Do not use BP_SYM.
6506 (strchrnul): Do not use BP_SYM in weak_alias.
6507 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6509 (PARMS): Do not use macros from bp-asm.h.
6511 (strcspn): Do not use BP_SYM.
6512 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6514 (PARMS): Do not use macros from bp-asm.h.
6517 (strpbrk): Likewise. Do not use BP_SYM.
6518 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6520 (PARMS): Do not use macros from bp-asm.h.
6523 (strrchr): Likewise. Do not use BP_SYM.
6524 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6525 (PARMS): Do not use macros from bp-asm.h.
6527 (strspn): Do not use BP_SYM.
6528 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6529 (PARMS): Do not use macros from bp-asm.h.
6533 (FUNCTION): Likewise. Do not use BP_SYM.
6534 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6536 (strtok_r): Likewise.
6537 (__GI___strtok_r): Likewise.
6538 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6539 (PARMS): Do not use macros from bp-asm.h.
6543 (__mpn_sub_n): Do not use BP_SYM.
6544 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6546 (PARMS): Do not use macros from bp-asm.h.
6549 (__mpn_submul_1): Do not use BP_SYM.
6550 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6552 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6554 (PARMS): Do not use macros from bp-asm.h.
6559 (__clone): Do not use BP_SYM.
6560 (clone): Do not use BP_SYM in weak_alias.
6561 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6563 (PARMS): Do not use macros from bp-asm.h.
6565 (__mmap64): Do not use BP_SYM.
6566 (mmap64): Do not use BP_SYM in weak_alias.
6567 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6568 <bp-sym.h> and <bp-asm.h>.
6569 (PARMS): Do not use macros from bp-asm.h.
6570 (__posix_fadvise64_l64): Do not use BP_SYM.
6571 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6572 (PARMS): Do not use macros from bp-asm.h.
6574 (semtimedop): Do not use BP_SYM.
6575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6578 2013-02-21 Allan McRae <allan@archlinux.org>
6580 * manual/message.texi (Charset conversion in gettext):
6581 Move @end statement to beginning of line.
6583 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6590 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6595 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6597 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6598 tail-call to the resolved function if pltexit isn't needed.
6600 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6603 or Y being zero as being unlikely.
6604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6607 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6609 * manual/nss.texi (System Databases and Name Service Switch):
6610 Remove frobnicate @pxref.
6612 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6614 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6615 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6617 2013-02-20 Petr Machata <pmachata@redhat.com>
6619 * elf/elf.h (R_ARM_TARGET1): New macro.
6620 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6621 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6622 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6623 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6624 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6625 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6626 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6627 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6628 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6629 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6630 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6631 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6632 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6633 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6634 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6635 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6636 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6637 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6638 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6639 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6640 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6641 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6642 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6643 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6644 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6645 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6646 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6647 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6648 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6649 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6650 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6651 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6652 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6653 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6654 (R_ARM_THM_GOT_BREL12): Likewise.
6655 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6656 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6657 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6658 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6659 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6660 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6661 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6662 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6663 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6665 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6667 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6668 __attribute_used__ to __attribute__ ((unused)).
6670 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6672 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6678 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6683 (ENTER): Remove both macro definitions.
6685 (CHECK_BOUNDS_LOW): Likewise.
6686 (CHECK_BOUNDS_HIGH): Likewise.
6687 (CHECK_BOUNDS_BOTH): Likewise.
6688 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6689 (RETURN_BOUNDED_POINTER): Likewise.
6690 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6691 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6692 (POP_ERRNO_LOCATION_RETURN): Likewise.
6693 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6694 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6695 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6697 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6698 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6699 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6700 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6701 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6702 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6703 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6704 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6705 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6706 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6707 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6708 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6709 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6710 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6712 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6713 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6715 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6716 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6717 * sysdeps/i386/i586/memset.S (memset): Likewise.
6718 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6719 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6722 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6723 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6724 Change uses of L(2) to L(out).
6725 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6726 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6727 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6728 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6729 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6731 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6732 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6734 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6735 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6736 (RETURN): Do not use macro LEAVE.
6737 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6738 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6739 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6740 * sysdeps/i386/i686/memset.S (memset): Likewise.
6741 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6742 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6743 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6744 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6746 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6747 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6748 L(1_2) and L(1_3) into L(1).
6749 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6750 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6751 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6752 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6753 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6754 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6755 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6756 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6757 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6759 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6760 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6761 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6762 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6763 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6764 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6765 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6766 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6767 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6768 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6769 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6770 * sysdeps/i386/strspn.S (strspn): Likewise.
6771 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6773 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6774 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6775 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6776 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6778 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6779 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6780 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6782 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6784 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6786 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6789 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6791 * math/atest-exp.c (exp_mpn): Remove ROUND.
6792 * math/atest-exp2.c (exp_mpn): Likewise.
6793 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6795 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6796 * stdlib/tst-tls-atexit-lib.c: Likewise.
6797 * stdlib/tst-tls-atexit.c: Likewise.
6799 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6801 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6802 and __attribute_alloc_size__.
6804 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6806 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6807 __attribute_alloc_size__.
6808 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6809 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6811 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6813 * include/programs/xmalloc.h: New file.
6814 * catgets/gencat.c: Include it.
6815 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6816 * elf/pldd.c: Likewise.
6817 * iconv/iconv_charmap.c: Likewise.
6818 * iconv/iconvconfig.c: Likewise.
6819 * iconv/strtab.c: Likewise.
6820 * locale/programs/locale.c: Likewise.
6821 * locale/programs/localedef.h: Likewise.
6822 * locale/programs/simple-hash.c: Likewise.
6823 * nscd/nscd.h: Likewise.
6824 * nss/makedb.c: Likewise.
6825 * sysdeps/generic/ldconfig.h: Likewise.
6827 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6829 * Versions.def: Add GLIBC_2.18.
6830 * include/link.h (struct link_map): New member l_tls_dtor_count.
6831 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6832 (__call_tls_dtors): Likewise.
6833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6834 __cxa_thread_atexit_impl.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6851 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6852 (tests): Add test case tst-tls-atexit.
6853 (modules-names): Add shared library for tst-tls-atexit.
6854 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6855 (GLIBC_PRIVATE): Add __call_tls_dtors.
6856 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6858 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6859 * stdlib/tst-tls-atexit.c: New test case.
6860 * stdlib/tst-tls-atexit-lib.c: New test case.
6862 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6864 * elf/Versions (ld): Add _dl_find_dso_for_object.
6865 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6866 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6867 (dl_open_worker): Use _dl_find_dso_for_object.
6868 * elf/dl-sym.c (do_sym): Likewise.
6869 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6871 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6873 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6874 Syntactic changes only.
6875 (_dl_runtime_profile): Do a tail-call to the resolved function.
6877 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6880 * sysdeps/x86_64/bp-asm.h: Remove file.
6881 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6882 <bp-sym.h> and <bp-asm.h>.
6883 (__clone): Do not use BP_SYM.
6884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6885 <bp-sym.h> and <bp-asm.h>.
6886 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6887 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6889 (_setjmp): Do not use BP_SYM.
6890 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6892 (setjmp): Do not use BP_SYM.
6893 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6895 (mempcpy): Do not use BP_SYM in weak_alias.
6896 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6898 (strchr): Do not use BP_SYM.
6899 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6901 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6902 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6903 (_start): Do not use BP_SYM.
6904 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6906 (strcat): Do not use BP_SYM.
6907 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6909 (STRCMP): Do not use BP_SYM.
6910 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6912 (STRCPY): Do not use BP_SYM.
6913 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6915 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6917 (FUNCTION): Do not use BP_SYM.
6918 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6920 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6922 2013-02-17 Andreas Jaeger <aj@suse.de>
6924 * time/Versions: Sort entries.
6925 * string/Versions: Likewise.
6926 * resolv/Versions: Likewise.
6927 * posix/Versions: Likewise.
6928 * iconv/Versions: Likewise.
6929 * elf/Versions: Likewise.
6930 * wcsmbs/Versions: Likewise.
6932 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6935 loop termination condition.
6937 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6938 variable to calculate EZ.
6941 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6942 the lower precision input.
6944 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6947 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6948 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6949 (run-via-rtld-prefix): Do not handle %-bp tests.
6950 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6951 (all-object-suffixes): Remove .ob.
6952 (bppfx): Remove variable.
6953 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6954 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6955 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6956 [$(build-bounded) = yes] (libtype.ob): Likewise.
6957 * Makerules (elide-routines.ob): Remove variable.
6958 (do-tests-clean): Do not handle *-bp.out.
6959 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6960 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6961 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6962 (tests): Do not include $(tests-bp.out).
6963 (xtests): Do not include $(xtests-bp.out).
6964 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6965 [$(build-bounded) = yes] ($(addprefix
6966 $(objpfx),$(binaries-bounded))): Remove rule.
6967 ($(objpfx)%-bp.out): Remove rule.
6968 * config.make.in (build-bounded): Remove variable.
6969 * crypt/Makefile [$(build-bounded) = yes]
6970 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6971 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6973 [$(build-bounded) = yes] (install-lib): Likewise.
6974 [$(build-bounded) = yes] (generated): Likewise.
6975 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6977 * intl/Makefile [$(build-bounded) = yes]
6978 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6979 * math/Makefile [$(build-bounded) = yes]
6980 ($(tests:%=$(objpfx)%-bp): Likewise.
6981 * misc/Makefile [$(build-bounded) = yes]
6982 ($(objpfx)tst-tsearch-bp): Likewise.
6983 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6984 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6986 * string/Makefile (o-objects.ob): Remove variable.
6987 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6988 (CFLAGS-.ob): Remove variable.
6989 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6990 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6991 both definitions of variable.
6992 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6993 (ASFLAGS-.ob): Remove variable.
6995 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6998 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6999 Remove __BOUNDED_POINTERS__ from condition.
7000 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7001 * string/bits/string2.h [!__NO_STRING_INLINES &&
7002 !__BOUNDED_POINTERS__]: Likewise.
7003 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7005 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7006 Remove conditional code.
7007 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7008 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7009 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7013 * csu/libc-start.c: Do not include <bp-sym.h>.
7014 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7015 * elf/dl-open.c: Do not include <bp-sym.h>.
7016 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7017 * math/fegetenv.c: Do not include <bp-sym.h>.
7018 (fegetenv): Do not use BP_SYM in versioned symbols.
7019 * nptl/sysdeps/pthread/bits/libc-lockP.h
7020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7023 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7025 (__pthread_mutex_destroy): Likewise.
7026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7027 (__pthread_mutex_lock): Likewise.
7028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7029 (__pthread_mutex_trylock): Likewise.
7030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7031 (__pthread_mutex_unlock): Likewise.
7032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7033 (__pthread_mutexattr_init): Likewise.
7034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7035 (__pthread_mutexattr_destroy): Likewise.
7036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7037 (__pthread_mutexattr_settype): Likewise.
7038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7039 (__pthread_rwlock_init): Likewise.
7040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7041 (__pthread_rwlock_destroy): Likewise.
7042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7043 (__pthread_rwlock_rdlock): Likewise.
7044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7045 (__pthread_rwlock_tryrdlock): Likewise.
7046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7047 (__pthread_rwlock_wrlock): Likewise.
7048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7049 (__pthread_rwlock_trywrlock): Likewise.
7050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7051 (__pthread_rwlock_unlock): Likewise.
7052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7053 (__pthread_key_create): Likewise.
7054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7055 (__pthread_setspecific): Likewise.
7056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7057 (__pthread_getspecific): Likewise.
7058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7061 (_pthread_cleanup_push_defer): Likewise.
7062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7063 (_pthread_cleanup_pop_restore): Likewise.
7064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7065 (pthread_setcancelstate): Likewise.
7066 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7068 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7069 (memchr): Do not use BP_SYM in weak_alias.
7070 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7071 (fegetenv): Do not use BP_SYM in versioned symbols.
7072 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7073 (fesetenv): Do not use BP_SYM in versioned symbols.
7074 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7075 (feupdateenv): Do not use BP_SYM in versioned symbols.
7076 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7077 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7078 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7079 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7080 (open64): Do not use BP_SYM in weak_alias.
7081 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7082 (fegetenv): Do not use BP_SYM in versioned symbols.
7083 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7084 (fesetenv): Do not use BP_SYM in versioned symbols.
7085 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7086 (feupdateenv): Do not use BP_SYM in versioned symbols.
7087 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7088 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7089 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7090 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7091 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7092 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7095 (__libc_start_main): Do not use BP_SYM.
7097 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7100 redundant return line.
7104 (sub_magnitudes): Likewise.
7110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7114 (sub_magnitudes): Likewise.
7121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7123 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7124 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7127 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7128 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7130 of __mul for squares.
7131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7135 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7138 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7141 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7143 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7144 prototype or function definition. Rename ubp_* variables and
7145 parameters. Remove argv definitions conditional on
7146 [__BOUNDED_POINTERS__].
7147 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7148 * elf/dl-runtime.c (_dl_fixup): Likewise.
7149 * include/set-hooks.h (RUN_HOOK): Likewise.
7150 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7152 * string/strcpy.c (strcpy): Do not use __unbounded.
7153 * sysdeps/generic/frame.h (struct layout): Likewise.
7154 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7155 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7156 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7157 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7158 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7159 (__backtrace): Likewise.
7160 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7162 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7163 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7164 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7166 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7167 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7168 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7169 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7170 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7171 Do not use __unbounded.
7172 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7173 Rename __unboundedrlimits parameter to rlimits in prototype.
7174 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7175 Do not use __unbounded.
7176 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7178 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7179 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7180 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7181 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7182 __ptrvalue or __unbounded.
7183 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7184 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7186 (__new_msgctl): Do not use __ptrvalue.
7187 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7189 (__libc_msgrcv): Do not use __ptrvalue.
7190 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7191 startup_info): Do not use __unbounded.
7192 (__libc_start_main): Likewise. Rename ubp_* variables and
7193 parameters. Remove argv definitions conditional on
7194 [__BOUNDED_POINTERS__].
7195 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7197 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7199 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7201 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7203 (__new_shmctl): Do not use __ptrvalue.
7204 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7205 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7207 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7209 (__libc_sigaction): Likewise.
7210 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7213 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7215 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7217 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7219 * string/mempcpy.c: Implement by calling memcpy.
7221 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7229 values in the mantissa.
7231 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7232 minimize writes to Z.
7233 (sub_magnitudes): Simplify code a bit.
7235 2013-02-12 Roland McGrath <roland@hack.frob.com>
7237 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7238 from the message. The linker prefixes all warnings with that already.
7240 2013-02-12 Andreas Schwab <schwab@suse.de>
7243 * posix/regexec.c (extend_buffers): Add parameter min_len.
7244 (check_matching): Pass minimum needed length.
7245 (clean_state_log_if_needed): Likewise.
7246 (get_subexp): Likewise.
7247 * posix/Makefile (tests): Add bug-regex34.
7248 (bug-regex34-ENV): Define.
7249 * posix/bug-regex34.c: New file.
7252 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7253 elements compare against the byte sequence of it, not its name.
7254 * posix/Makefile (tests): Add bug-regex35.
7255 (bug-regex35-ENV): Define.
7256 * posix/bug-regex35.c: New file.
7258 2013-02-11 Tom de Vries <tom@codesourcery.com>
7260 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7262 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7263 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7264 (CHECK_EOL): Add undef.
7266 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7268 * bits/stdlib-bsearch.h: New file.
7269 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7270 * stdlib/stdlib.h: Likewise.
7272 2013-02-11 Roland McGrath <roland@hack.frob.com>
7274 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7275 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7277 * manual/search.texi (Array Search Function): Add missing const in
7279 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7280 declaration to use rlim_t.
7281 (Basic Scheduling Functions): Remove erroneous const from
7282 sched_getparam prototype. Remove erroneous * from
7283 sched_get_priority_max and sched_get_priority_min prototypes.
7284 (Resource Usage): Fix summary @comment on vtimes to refer to
7285 sys/vtimes.h rather than vtimes.h.
7286 Add missing *s in vtimes prototype.
7287 (Limits on Resources): Fix ulimit prototype to return long int.
7288 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7289 prototypes to use long int rather than double.
7290 (BSD Random): Fix initstate and setstate to use char *, not void *.
7291 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7292 prototype to make second argument 'struct aiocb64 *const[]'.
7293 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7294 (Status of AIO Operations): Remove erroneous const in aio_return and
7295 aio_return64 prototypes.
7296 (Synchronizing I/O): Fix sync prototype to return void.
7297 * manual/startup.texi (Suboptions): Remove an erroneous const in
7298 getsubopt prototype.
7299 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7300 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7301 use size_t rather than int.
7302 (Scanning All Users): Likewise for getpwent_r.
7303 (Setting Groups): Add missing const to setgroups prototype.
7304 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7305 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7306 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7307 'const void *' rather than 'const char *'.
7308 (Host Address Functions): Likewise for inet_ntop.
7309 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7310 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7311 ssize_t for return value.
7312 (Sending Data): Likewise for send, sendto, sendmsg.
7313 (Socket Option Functions): Add a missing const in setsockopt prototype.
7314 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7315 use wchar_t for the argument.
7316 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7317 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7319 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7320 double/float/long double for second argument.
7321 Fix return types of significand, significandf, significandl.
7322 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7323 argument in fchmod prototype.
7324 (File Owner): Use uid_t and gid_t in fchown prototype.
7325 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7326 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7327 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7328 use 'const struct dirent **' as argument types to CMP function pointer
7330 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7331 (File Times): Fix summary magic @comment for struct utimbuf and utime
7332 to refer to utime.h, not time.h.
7333 * manual/string.texi (Argz Functions): Add missing const in
7334 argz_extract and argz_next prototypes.
7335 (Finding Tokens in a String): Likewise for basename.
7336 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7337 (Copying and Concatenation): Fix typo in wmemmove prototype.
7338 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7339 (Signal Stack): Remove erroneous const in sigstack prototype.
7340 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7342 (Simple Calendar Time): Likewise for stime.
7343 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7345 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7346 say sys/sysctl.h instead.
7347 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7348 and vsyslog prototypes.
7350 2013-02-11 Tom de Vries <tom@codesourcery.com>
7352 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7355 2013-02-11 Roland McGrath <roland@hack.frob.com>
7357 * misc/sys/mman.h: Fix typo in mremap comment.
7359 2013-02-08 Roland McGrath <roland@hack.frob.com>
7361 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7362 the '\0' terminator.
7364 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7367 * debug/segfault.c: Don't include <bp-checks.h>.
7368 * sysdeps/generic/bp-checks.h: Remove file.
7369 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7370 (__GETDENTS): Don't use CHECK_N.
7371 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7373 (__getgroups): Don't use CHECK_N.
7374 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7375 (setgroups): Don't use CHECK_N.
7376 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7377 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7378 (__libc_msgrcv): Don't use CHECK_N.
7379 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7380 (__libc_msgsnd): Don't use CHECK_N.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7383 (__libc_pread): Don't use CHECK_N.
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7385 include <bp-checks.h>.
7386 (__libc_pread64): Don't use CHECK_N.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7388 include <bp-checks.h>.
7389 (__libc_pwrite): Don't use CHECK_N.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7391 include <bp-checks.h>.
7392 (__libc_pwrite64): Don't use CHECK_N.
7393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7395 (__libc_pread): Don't use CHECK_N.
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7397 include <bp-checks.h>.
7398 (__libc_pread64): Don't use CHECK_N.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7400 include <bp-checks.h>.
7401 (__libc_pwrite): Don't use CHECK_N.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7403 include <bp-checks.h>.
7404 (__libc_pwrite64): Don't use CHECK_N.
7405 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7406 (do_pread): Don't use CHECK_N.
7407 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7408 (do_pread64): Don't use CHECK_N.
7409 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7410 (do_pwrite): Don't use CHECK_N.
7411 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7412 (do_pwrite64): Don't use CHECK_N.
7413 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7414 (__libc_readv): Don't use CHECK_N.
7415 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7416 (semop): Don't use CHECK_N.
7417 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7419 (semtimedop): Don't use CHECK_N.
7420 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7421 (__libc_pread): Don't use CHECK_N.
7422 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7424 (__libc_pread64): Don't use CHECK_N.
7425 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7427 (__libc_pwrite): Don't use CHECK_N.
7428 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7430 (__libc_pwrite64): Don't use CHECK_N.
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7433 (__libc_msgrcv): Don't use CHECK_N.
7434 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7435 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7436 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7437 (__libc_writev): Don't use CHECK_N.
7439 2013-02-08 Roland McGrath <roland@hack.frob.com>
7441 * string/strcpy.c: Removed unused variable.
7443 * Makeconfig (+sysdep-includes): Define with := rather than =.
7444 Use an existing include/ subdir of each sysdeps dir before it.
7446 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7448 * nscd/connection.c (register_traced_file): Comment function.
7449 [HAVE_INOTIFY] (union __inev): Define.
7450 [HAVE_INOTIFY] (inotify_check_files): New function.
7451 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7452 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7454 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7456 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7458 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7459 loaded if not already and that a failure is permanent.
7461 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7464 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7465 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7467 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7470 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7471 (CHECK_1_NULL_OK): Likewise.
7472 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7473 (__fxstat): Do not use CHECK_1.
7474 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7476 (___fxstat64): Do not use CHECK_1.
7477 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7479 (__fxstatat): Do not use CHECK_1.
7480 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7482 (__fxstatat64): Do not use CHECK_1.
7483 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7485 (__fxstat): Do not use CHECK_1.
7486 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7488 (__fxstatat): Do not use CHECK_1.
7489 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7491 (__getresgid): Do not use CHECK_1.
7492 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7494 (__getresuid): Do not use CHECK_1.
7495 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7497 (__lxstat): Do not use CHECK_1.
7498 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7500 (__old_msgctl): Do not use CHECK_1.
7501 (__new_msgctl): Likewise.
7502 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7504 (__new_setrlimit): Do not use CHECK_1.
7505 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7507 (__old_shmctl): Do not use CHECK_1.
7508 (__new_shmctl): Likewise.
7509 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7511 (__xstat): Do not use CHECK_1.
7512 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7513 (__lxstat): Do not use CHECK_1.
7514 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7516 (___lxstat64): Do not use CHECK_1.
7517 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7518 (__old_msgctl): Do not use CHECK_1.
7519 (__new_msgctl): Likewise.
7520 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7522 (__gettimeofday): Do not use CHECK_1.
7523 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7524 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7525 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7527 (__gettimeofday): Do not use CHECK_1.
7528 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7529 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7530 (__new_shmctl): Do not use CHECK_1.
7531 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7533 (do_sigtimedwait): Do not use CHECK_1.
7534 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7536 (do_sigwaitinfo): Do not use CHECK_1.
7537 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7539 (msgctl): Do not use CHECK_1.
7540 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7542 (shmctl): Do not use CHECK_1.
7543 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7544 (ustat): Do not use CHECK_1.
7545 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7547 (__fxstat): Do not use CHECK_1.
7548 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7550 (__fxstatat): Do not use CHECK_1.
7551 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7553 (__lxstat): Do not use CHECK_1.
7554 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7556 (__xstat): Do not use CHECK_1.
7557 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7558 (__xstat): Do not use CHECK_1.
7559 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7560 (___xstat64): Do not use CHECK_1.
7563 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7565 (CHECK_BOUNDS_HIGH): Likewise.
7566 * string/strcpy.c: Do not include <bp-checks.h>.
7567 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7569 2013-02-07 Roland McGrath <roland@hack.frob.com>
7571 * nscd/nscd-client.h (__nscd_drop_map_ref):
7572 Add __attribute__ ((unused)).
7573 * nis/nss-nisplus.h (niserr2nss): Likewise.
7575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7576 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7578 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7579 Remove inline keyword.
7580 * include/rounding-mode.h (round_away): Likewise.
7581 * libio/wfileops.c (adjust_wide_data): Likewise.
7582 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7583 (__m128i_strloadu_tolower): Likewise.
7584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7585 (__m128i_strloadu_tolower): Likewise.
7586 * time/mktime.c (ydhms_diff): Likewise.
7587 * locale/elem-hash.h (elem_hash): Likewise.
7588 * locale/setlocale.c (setdata): Likewise.
7589 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7590 (re_string_wchar_at): Likewise.
7591 (bitset_not, bitset_merge, bitset_mask): Likewise.
7592 [!(__GNUC__ > 3)] (inline): Remove macro.
7593 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7594 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7595 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7596 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7597 * string/memcmp.c (memcmp_bytes): Likewise.
7598 * locale/programs/locarchive.c (compute_hashval): Likewise.
7599 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7600 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7601 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7602 * nss/getent.c (print_rpc, print_protocols): Likewise.
7603 (print_passwd, print_group, print_aliases): Likewise.
7604 * nis/nss-nisplus.h (niserr2nss): Likewise.
7605 * nscd/connections.c (restart_p): Likewise.
7606 Change return type to bool.
7608 2013-02-05 Roland McGrath <roland@hack.frob.com>
7610 * Makeconfig (all-Depend-files): Add existing
7611 $(sorted-subdirs:=/Depend) files.
7612 (all-subdirs): Remove nss.
7613 * sysdeps/unix/inet/Subdirs: Add it here instead.
7614 * hesiod/Depend: New file.
7616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7617 instead of calling alloca.
7619 * io/lseek.c (__lseek): Rename to __libc_lseek.
7620 Define __lseek as an alias.
7622 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7624 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7626 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7627 else clause and remove check for non-standard endianness.
7629 2013-02-04 David S. Miller <davem@davemloft.net>
7631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7633 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7636 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7637 (__ubp_memchr): Remove prototype.
7638 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7639 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7640 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7641 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7642 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7644 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7645 (__ubp_memchr): Likewise.
7646 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7647 (__ubp_memchr): Likewise.
7648 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7649 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7650 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7651 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7653 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7654 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7655 (__getcwd): Do not use CHECK_STRING.
7656 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7658 (__real_chown): Do not use CHECK_STRING.
7659 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7661 (fchownat): Do not use CHECK_STRING.
7662 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7664 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7666 (__lchown): Do not use CHECK_STRING.
7667 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7668 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7669 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7670 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7672 include <bp-checks.h>.
7673 (truncate64): Do not use CHECK_STRING.
7674 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7676 (__real_chown): Do not use CHECK_STRING.
7677 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7679 (__lchown): Do not use CHECK_STRING.
7680 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7682 (__chown): Do not use CHECK_STRING.
7683 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7685 (truncate64): Do not use CHECK_STRING.
7686 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7688 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7689 (__xmknod): Do not use CHECK_STRING.
7690 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7692 (__xmknodat): Do not use CHECK_STRING.
7693 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7694 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7696 2013-02-04 Andreas Schwab <schwab@suse.de>
7699 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7700 * include/netdb.h: Likewise for h_errno.
7701 * elf/tst-stackguard1.c: Include <tls.h>.
7703 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7705 * elf/link.h (struct link_map): Extend the l_addr comment.
7706 * include/link.h (struct link_map): Likewise.
7708 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7711 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7712 (BOUNDED_1): Remove macro.
7713 * debug/backtrace.c: Don't include <bp-checks.h>.
7714 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7715 (__backtrace): Likewise.
7716 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7718 (__backtrace): Don't use BOUNDED_1.
7719 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7721 (__backtrace): Don't use BOUNDED_1.
7722 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7723 (__backtrace): Don't use BOUNDED_1.
7724 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7725 (shmat): Don't use BOUNDED_N.
7727 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7730 * sysdeps/generic/bp-start.h: Remove file.
7731 * csu/libc-start.c: Don't include <bp-start.h>.
7732 (LIBC_START_MAIN): Set up __environ directly instead of using
7733 INIT_ARGV_and_ENVIRON.
7734 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7738 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7740 (CHECK_FCNTL): Likewise.
7741 (CHECK_N_PAGES): Likewise.
7744 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7746 (CHECK_SIGSET_NULL_OK): Likewise.
7747 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7749 (sigpending): Don't use CHECK_SIGSET.
7750 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7752 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7753 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7755 (do_sigsuspend): Don't use CHECK_SIGSET.
7756 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7758 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7759 (do_sigwait): Don't use CHECK_SIGSET.
7760 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7763 include <bp-checks.h>.
7764 (sigpending): Don't use CHECK_SIGSET.
7765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7766 include <bp-checks.h>.
7767 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7768 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7770 (sigpending): Don't use CHECK_SIGSET.
7771 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7773 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7776 * sysdeps/generic/bp-semctl.h: Remove file.
7777 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7778 <bp-checks.h> and <bp-semctl.h>.
7779 (__old_semctl): Don't use CHECK_SEMCTL.
7780 (__new_semctl): Likewise.
7781 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7783 (__old_semctl): Don't use CHECK_SEMCTL.
7784 (__new_semctl): Likewise.
7785 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7786 <bp-checks.h> and <bp-semctl.h>.
7787 (__old_semctl): Don't use CHECK_SEMCTL.
7788 (__new_semctl): Likewise.
7789 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7790 <bp-checks.h> and <bp-semctl.h>.
7791 (semctl): Don't use CHECK_SEMCTL.
7794 * Makerules (elide-bp-thunks): Remove variable.
7795 (elide-routines.oS): Don't use $(elide-bp-thunks).
7796 (elide-routines.os): Likewise.
7797 (elide-routines.o): Likewise.
7798 (elide-routines.op): Likewise.
7799 (elide-routines.og): Likewise.
7800 (objects): Don't use $(bp-thunks).
7801 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7803 (common-generated): Do not add s-proto-bp.d.
7804 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7807 Do not generate makefile rules for bounded-pointer thunks.
7808 * sysdeps/generic/bp-thunks.h: Remove file.
7809 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7810 * sysdeps/unix/s-proto-bp.S: Likewise.
7813 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7814 parts of result separately when argument is not close to line from
7815 -i to i and one part of argument is small.
7816 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7817 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7818 * math/libm-test.inc (cacos_test): Add more tests.
7819 (casin_test): Likewise.
7820 (casinh_test): Likewise.
7821 * sysdeps/i386/fpu/libm-test-ulps: Update.
7822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7824 2013-01-31 David S. Miller <davem@davemloft.net>
7826 * po/de.po: Update from translation team.
7828 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7830 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7832 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7834 * configure.in (_AC_PROG_CC_C89): New definition.
7835 * configure: Regenerate.
7837 * configure.in (AC_PROG_CPP): New definition.
7838 * configure: Regenerate.
7840 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7842 * debug/tst-backtrace.h: New file.
7843 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7844 (ret): Remove variable.
7846 (FAIL): Remove macro.
7847 (NO_INLINE): Likewise.
7848 (fn1): Use match function instead of strstr.
7849 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7850 (ret): Remove variable.
7852 (FAIL): Remove macro.
7853 (NO_INLINE): Likewise.
7854 (fn): Use match function instead of strstr.
7855 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7856 (ret): Remove variable.
7858 (FAIL): Remove macro.
7859 (NO_INLINE): Likewise.
7860 (handle_signal): Use match function instead of strstr.
7861 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7862 (ret): Remove variable.
7864 (FAIL): Remove macro.
7865 (NO_INLINE): Likewise.
7866 (handle_signal): Use match function instead of strstr.
7868 2013-01-23 Roland McGrath <roland@hack.frob.com>
7870 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7872 2013-01-23 David S. Miller <davem@davemloft.net>
7874 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7875 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7876 argument of CAS if possible.
7877 * sysdeps/sparc/sparc64/bits/atomic.h
7878 (__arch_compare_and_exchange_val_32_acq): Likewise.
7879 (__arch_compare_and_exchange_val_64_acq): Likewise.
7881 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7883 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7884 * sysdeps/posix/ulimit.c: ... this.
7886 * sysdeps/unix/bsd/ulimit.c: Remove file.
7888 2013-01-23 Adam Conrad <adconrad@0c3.net>
7890 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7891 (LDFLAGS-tst-array5): Likewise.
7893 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7896 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7897 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7898 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7899 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7901 2013-01-21 David S. Miller <davem@davemloft.net>
7903 * sysdeps/sparc/backtrace.c: New file.
7904 * sysdeps/sparc/sparc32/backtrace.h: New file.
7905 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7906 * sysdeps/sparc/sparc64/backtrace.h: New file.
7907 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7908 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7911 2013-01-21 Andreas Schwab <schwab@suse.de>
7914 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7917 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7923 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7924 Mark Mitchell <mark@codesourcery.com>
7925 Tom de Vries <tom@codesourcery.com>
7926 Paul Pluzhnikov <ppluzhnikov@google.com>
7928 * debug/tst-backtrace2.c: New file.
7929 * debug/tst-backtrace3.c: Likewise.
7930 * debug/tst-backtrace4.c: Likewise.
7931 * debug/tst-backtrace5.c: Likewise.
7932 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7933 (CFLAGS-tst-backtrace3.c): Likewise.
7934 (CFLAGS-tst-backtrace4.c): Likewise.
7935 (CFLAGS-tst-backtrace5.c): Likewise.
7936 (LDFLAGS-tst-backtrace2): Likewise.
7937 (LDFLAGS-tst-backtrace3): Likewise.
7938 (LDFLAGS-tst-backtrace4): Likewise.
7939 (LDFLAGS-tst-backtrace5): Likewise.
7940 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7941 tst-backtrace4 and tst-backtrace5.
7943 2013-01-18 Anton Blanchard <anton@samba.org>
7944 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7946 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7947 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7948 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7949 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7951 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7952 "+r" and remove output regs list as redundant. Add explicit inline
7953 asm to specify register of return val to work around compiler codegen
7954 bug. Remove (int) cast on return value. Add return type parameter to
7955 use in macro so that this macro does not truncate return value for
7957 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7958 pass to INTERNAL_VSYSCALL_NCS.
7959 (INLINE_VSYSCALL): Add 'long int' as return type to
7960 INTERNAL_VSYSCALL_NCS macro invocation.
7961 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7962 INTERNAL_VSYSCALL_NCS macro invocation.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7965 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7968 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7969 Fix application of SIMD FP exception mask.
7971 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7972 mp_no from a power of two.
7973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7974 __mpexp_twomm1. Use __pow_mp.
7976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7979 2013-01-17 David S. Miller <davem@davemloft.net>
7981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7983 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7986 * include/complex.h: Condition contents on [!_COMPLEX_H].
7987 (__kernel_casinhf): New prototype.
7988 (__kernel_casinh): Likewise.
7989 (__kernel_casinhl): Likewise.
7990 * math/Makefile (libm_calls): Add k_casinh.
7991 * math/k_casinh.c: New file.
7992 * math/k_casinhf.c: Likewise.
7993 * math/k_casinhl.c: Likewise.
7994 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7995 finite nonzero arguments.
7996 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7997 finite nonzero arguments.
7998 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7999 finite nonzero arguments.
8000 * math/s_casinh.c: Do not include <float.h>.
8001 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8002 * math/s_casinhf.c: Do not include <float.h>.
8003 (__casinhf): Move code for finite nonzero arguments to
8005 * math/s_casinhl.c: Do not include <float.h>.
8006 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8008 (__casinhl): Move code for finite nonzero arguments to
8010 * math/libm-test.inc (cacos_test): Add more tests.
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8014 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8016 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8017 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8018 [!HAVE_MREMAP]: Remove [defined linux] case.
8019 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8021 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8023 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8025 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8027 * elf/elf.h (R_386_SIZE32): New relocation.
8028 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8030 (elf_machine_rela): Likewise.
8031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8032 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8034 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8037 (FP_FAST_FMA): Do not define.
8038 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8039 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8040 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8041 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8042 !_SOFT_FLOAT]: Likewise.
8043 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8044 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8046 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8047 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8048 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8049 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8050 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8051 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8054 2013-01-16 Andreas Schwab <schwab@suse.de>
8057 * include/stdlib.h (__mktemp): Add declaration.
8058 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8059 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8061 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8063 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8065 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8066 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8067 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8069 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8070 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8072 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8074 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8075 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8076 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8078 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8079 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8081 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8083 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8085 2013-01-15 David S. Miller <davem@davemloft.net>
8087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8088 trunc{,f} to libm-sysdep_routes.
8089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8099 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8100 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8101 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8102 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8103 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8104 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8107 nearbyint{,f} to libm-sysdep_routes.
8108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8121 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8122 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8124 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8125 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8126 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8128 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8129 libc_feholdexcept and libc_fesetenv.
8131 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8133 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8135 2013-01-14 David S. Miller <davem@davemloft.net>
8137 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8138 (SPARC_ASM_VIS2_IFUNC): Likewise.
8139 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8141 use of 'siam' instruction.
8142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8175 routines to libm-sysdep_routines.
8176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8179 fdim/fdimf to libm-sysdep_routines.
8180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8188 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8189 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8190 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8191 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8193 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8198 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8203 local variable MPTWO.
8204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8207 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8209 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8212 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8214 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8216 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8218 * manual/pattern.texi (glob_t): Document gl_flags.
8219 (glob64_t): Likewise.
8221 2013-01-11 David S. Miller <davem@davemloft.net>
8223 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8224 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8225 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8226 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8227 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8228 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8229 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8230 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8231 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8232 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8233 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8234 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8235 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8237 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8238 sparc V9 rather than using V8 code.
8239 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8240 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8244 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8247 2013-01-11 Roland McGrath <roland@hack.frob.com>
8249 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8250 not in the main loop.
8251 * configure: Regenerated.
8253 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8255 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8256 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8258 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8259 [!__GLIBC_HAVE_LONG_LONG] case.
8260 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8261 condition to just #else.
8262 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8263 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8264 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8265 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8267 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8268 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8269 #elif condition to just #else.
8270 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8271 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8272 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8273 #elif condition to just #else.
8275 2013-01-11 Steve Ellcey <sellcey@mips.com>
8277 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8278 (EF_MIPS_ARCH_64): Fix value.
8279 (EF_MIPS_ARCH_32R2): New.
8280 (EF_MIPS_ARCH_64R2): New.
8282 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8284 * Makeconfig (+link-pie-before-libc): New.
8285 (+link-pie-after-libc): Likewise.
8286 (+link-pie-tests): Likewise.
8287 (+link-pie): Rewritten.
8288 (link-before-libc): Remove $(config-LDFLAGS).
8289 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8290 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8291 (config-LDFLAGS): Renamed to ...
8292 (rtld-LDFLAGS): This.
8293 (rtld-tests-LDFLAGS): New macro.
8294 (link-libc-rpath-link): Likewise.
8295 (link-libc-tests-rpath-link): Likewise.
8296 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8297 (link-libc): Prepand $(link-libc-rpath-link).
8298 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8299 (test-program-prefix): New macro.
8300 (test-via-rtld-prefix): Likewise.
8301 (test-program-cmd): Likewise.
8302 (host-test-program-cmd): Likewise.
8303 * Makefile ($(common-objpfx)testrun.sh): Replace
8304 $(run-program-prefix) with $(test-program-prefix).
8305 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8307 ($(common-objpfx)shlib.lds): Likewise.
8308 (build-module-helper): Likewise.
8309 ($(common-objpfx)format.lds): Likewise.
8310 * Rules (binaries-pie-tests): New.
8311 (binaries-pie-notests): Likewise.
8312 (binaries-pie): Rewritten.
8313 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8314 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8315 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8316 (make-test-out): Replace $(host-built-program-cmd) with
8317 $(host-test-program-cmd).
8318 * config.make.in (build-hardcoded-path-in-tests): New variable.
8319 * configure.in (--enable-hardcoded-path-in-tests): New configure
8321 (hardcoded_path_in_tests): New AC_SUBST.
8322 * configure: Regenerated.
8323 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8324 $(built-program-cmd) with $(test-program-cmd).
8325 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8326 (test_program_cmd): This.
8327 * elf/Makefile ($(objpfx)order.out): Run test with
8328 $(test-program-prefix).
8329 ($(objpfx)order2.out): Likewise.
8330 ($(objpfx)tst-initorder.out): Likewise.
8331 ($(objpfx)tst-initorder2.out): Likewise.
8332 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8333 $(test-program-cmd).
8334 ($(objpfx)tst-array1-static.out): Likewise.
8335 ($(objpfx)tst-array2.out): Likewise.
8336 ($(objpfx)tst-array3.out): Likewise.
8337 ($(objpfx)tst-array4.out): Likewise.
8338 ($(objpfx)tst-array5.out): Likewise.
8339 ($(objpfx)tst-array5-static.out): Likewise.
8340 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8341 $(test-program-cmd).
8342 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8343 $(run-program-prefix) with $(test-program-prefix).
8344 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8345 (test_program_prefix): This.
8346 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8347 $(run-program-prefix) with $(test-program-prefix).
8348 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8349 (test_program_prefix): This.
8350 * iconvdata/tst-tables.sh: Likewise.
8351 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8352 $(run-program-prefix) with $(test-program-prefix).
8353 ($(objpfx)tst-translit.out): Likewise.
8354 ($(objpfx)tst-gettext2.out): Likewise.
8355 ($(objpfx)tst-gettext4.out): Likewise.
8356 ($(objpfx)tst-gettext6.out): Likewise.
8357 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8358 (test_program_prefix): This.
8359 * intl/tst-gettext2.sh: Likewise.
8360 * intl/tst-gettext4.sh Likewise.
8361 * intl/tst-gettext6.sh: Likewise.
8362 * intl/tst-translit.sh: Likewise.
8363 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8364 with $(test-program-cmd).
8365 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8366 $(run-program-prefix) with $(test-program-prefix).
8367 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8368 (test_program_prefix): This.
8369 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8370 $(run-program-prefix) with $(test-program-prefix).
8371 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8372 (test_program_prefix): This.
8373 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8374 * posix/Makefile ($(objpfx)globtest.out): Replace
8375 $(run-via-rtld-prefix) and $(test-wrapper) with
8376 $(test-program-prefix) and $(test-via-rtld-prefix).
8377 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8378 $(test-program-prefix).
8379 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8380 $(host-test-program-cmd).
8381 (tst-spawn-ARGS): Likewise.
8382 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8383 $(test-program-prefix).
8384 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8385 (test_via_rtld_prefix): This.
8386 (test_wrapper): Renamed to ...
8387 (test_program_prefix): This.
8388 (run_program_prefix): Replaced by test_program_prefix.
8389 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8390 (test_program_prefix): This.
8391 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8392 with $(host-test-program-cmd).
8393 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8394 $(run-program-prefix) with $(test-program-prefix).
8395 ($(objpfx)tst-printf.out): Likewise.
8396 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8397 $(test-program-cmd).
8398 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8399 (test_program_prefix): This.
8400 * stdio-common/tst-unbputc.sh: Likewise.
8401 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8402 $(run-program-prefix) with $(test-program-prefix).
8403 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8404 (test_program_prefix): This.
8405 * string/Makefile ($(objpfx)tst-svc.out): Replace
8406 $(built-program-cmd) with $(test-program-cmd).
8408 2013-01-11 Andreas Jaeger <aj@suse.de>
8411 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8412 value. Sync with Linux 3.7.
8414 2013-01-10 David S. Miller <davem@davemloft.net>
8416 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8417 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8418 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8420 2013-01-10 Roland McGrath <roland@hack.frob.com>
8422 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8424 * configure: Regenerated.
8426 2013-01-10 David S. Miller <davem@davemloft.net>
8428 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8429 sparc V9 rather than using V8 code.
8430 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8431 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8433 2013-01-10 Roland McGrath <roland@hack.frob.com>
8435 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8436 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8437 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8438 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8439 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8440 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8441 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8442 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8443 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8444 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8445 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8446 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8447 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8448 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8449 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8450 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8451 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8452 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8453 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8454 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8455 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8456 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8457 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8458 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8459 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8460 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8461 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8463 2013-01-10 David S. Miller <davem@davemloft.net>
8465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8467 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8469 * posix/Makefile (tests-static): New variable.
8470 (tests): Add $(tests-static).
8471 (tst-exec-static-ARGS): New variable.
8472 (tst-spawn-static-ARGS): Likewise.
8473 * posix/tst-exec-static.c: New file.
8474 * posix/tst-spawn-static.c: Likewise.
8475 * posix/tst-exec.c: Support run directly.
8476 * posix/tst-spawn.c: Likewise.
8478 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8480 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8482 * math/bits/mathcalls.h (llrint): Likewise.
8483 (llround): Likewise.
8484 * stdlib/stdlib.h (struct drand48_data): Likewise.
8485 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8486 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8487 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8489 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8491 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8492 (elf_greg_t): Likewise.
8493 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8494 (__jmp_buf): Likewise.
8495 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8497 (llrint): Likewise, for all definitions.
8498 (llrintl): Likewise.
8500 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8501 Remove [__GNUC__] condition.
8502 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8503 condition to just [__USE_ISOC99].
8504 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8506 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8509 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8510 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8512 (_POSIX_V6_ILP32_OFF32): Likewise.
8513 (_XBS5_ILP32_OFF32): Likewise.
8514 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8515 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8517 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8519 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8522 doubles __mpexp_twomm1. Adjust usage.
8523 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8526 2013-01-10 Andreas Schwab <schwab@suse.de>
8529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8530 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8532 2013-01-09 David S. Miller <davem@davemloft.net>
8535 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8536 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8537 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8538 TCP_FASTOPEN): Define.
8539 (tcp_repair_opt): New structure.
8540 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8542 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8543 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8544 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8545 (tcp_cookie_transactions): New structure.
8547 2013-01-09 Anton Blanchard <anton@samba.org>
8549 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8550 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8551 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8552 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8554 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8556 * include/features.h (__USE_ANSI): Remove.
8558 2013-01-09 Roland McGrath <roland@hack.frob.com>
8560 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8562 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8564 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8566 * sysdeps/s390/fpu/libm-test-ulps: Update.
8568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8570 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8575 (__mp_dbl): Likewise.
8576 (__dbl_mp): Likewise.
8577 (add_magnitudes): Likewise.
8578 (sub_magnitudes): Likewise.
8584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8589 (__mp_dbl): Likewise.
8590 (__dbl_mp): Likewise.
8591 (add_magnitudes): Likewise.
8592 (sub_magnitudes): Likewise.
8598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8603 (__mp_dbl): Likewise.
8604 (__dbl_mp): Likewise.
8605 (add_magnitudes): Likewise.
8606 (sub_magnitudes): Likewise.
8613 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8615 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8616 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8617 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8618 2 && __USE_EXTERN_INLINES]: Likewise.
8620 2013-01-08 Andreas Jaeger <aj@suse.de>
8623 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8625 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8626 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8628 2013-01-07 Anton Blanchard <anton@samba.org>
8630 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8631 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8632 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8633 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8634 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8635 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8636 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8637 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8640 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8642 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8644 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8647 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8649 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8651 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8653 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8654 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8655 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8656 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8657 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8659 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8660 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8663 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8665 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8666 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8668 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8669 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8672 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8674 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8676 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8677 (__MALLOC_PMT): Likewise.
8678 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8679 [__GNUC__], only on [_LIBC].
8680 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8681 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8682 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8683 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8684 forward declaration.
8685 (realloc_hook_ini): Likewise.
8686 (memalign_hook_ini): Likewise.
8687 (__libc_memalign): Do not use __MALLOC_PMT in variable
8689 (__libc_valloc): Likewise.
8690 (__libc_pvalloc): Likewise.
8691 (__libc_calloc): Likewise.
8692 (__posix_memalign): Likewise.
8695 * math/s_casinh.c: Include <float.h>.
8696 (__casinh): Do not do computation with squaring and square root
8697 for large arguments.
8698 * math/s_casinhf.c: Include <float.h>.
8699 (__casinhf): Do not do computation with squaring and square root
8700 for large arguments.
8701 * math/s_casinhl.c: Include <float.h>.
8702 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8703 (__casinhl): Do not do computation with squaring and square root
8704 for large arguments.
8705 * math/libm-test.inc (casin_test): Add more tests.
8706 (casinh_test): Likewise.
8707 * sysdeps/i386/fpu/libm-test-ulps: Update.
8708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8712 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8713 (__x86_64_raw_data_cache_size): Likewise.
8714 (__x86_64_data_cache_size_half): Likewise.
8715 (__x86_64_raw_data_cache_size_half): Likewise.
8716 (__x86_64_shared_cache_size): Likewise.
8717 (__x86_64_raw_shared_cache_size): Likewise.
8718 (__x86_64_shared_cache_size_half): Likewise.
8719 (__x86_64_raw_shared_cache_size_half): Likewise.
8720 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8722 (__x86_data_cache_size): This.
8723 (__x86_64_raw_data_cache_size): Renamed to ...
8724 (__x86_raw_data_cache_size): This.
8725 (__x86_64_data_cache_size_half): Renamed to ...
8726 (__x86_data_cache_size_half): This.
8727 (__x86_64_raw_data_cache_size_half): Renamed to ...
8728 (__x86_raw_data_cache_size_half): This.
8729 (__x86_64_shared_cache_size): Renamed to ...
8730 (__x86_shared_cache_size): This.
8731 (__x86_64_raw_shared_cache_size): Renamed to ...
8732 (__x86_raw_shared_cache_size): This.
8733 (__x86_64_shared_cache_size_half): Renamed to ...
8734 (__x86_shared_cache_size_half): This.
8735 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8736 (__x86_raw_shared_cache_size_half): This.
8737 * sysdeps/x86_64/memcpy.S: Updated.
8738 * sysdeps/x86_64/memset.S: Likewise.
8739 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8743 2013-01-04 David S. Miller <davem@davemloft.net>
8745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8747 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8749 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8750 1 to avoid redefinition warning.
8751 (__USE_GNU): Don't define.
8752 (init_signaling_nan): Protoize.
8754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8756 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8758 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8760 (__cpymn): Likewise.
8761 (norm): Remove commented code.
8763 (__mp_dbl): Likewise.
8765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8766 (__cpymn): Likewise.
8767 (norm): Remove commented code.
8769 (__mp_dbl): Likewise.
8772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8773 mp_no value for 1.0 and 2.0.
8774 (norm): Use RADIXI instead of radixi.d.
8776 (__mul): Use 0.0 instead of zero.d.
8777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8778 mp_no value for 1.0 and 2.0.
8779 (norm): Use RADIXI instead of radixi.d.
8781 (__mul): Use 0.0 instead of zero.d.
8783 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8786 * math/s_casinh.c (__casinh): Reduce finite argument to first
8787 quadrant then set signs of results at the end.
8788 * math/s_casinhf.c (__casinhf): Likewise.
8789 * math/s_casinhl.c (__casinhl): Likewise.
8790 * math/libm-test.inc (casin_test): Add more tests.
8791 (casinh_test): Likewise.
8792 * sysdeps/i386/fpu/libm-test-ulps: Update.
8793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8795 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8797 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8799 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8801 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8804 (__mp_dbl): Likewise.
8807 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8808 and adjust the header comment.
8810 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8811 variable name from declaration.
8813 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8816 Initialize COMMON_CPUID_INDEX_7 element.
8817 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8818 (CPUID_RTM): Likewise.
8819 (HAS_RTM): Likewise.
8820 (COMMON_CPUID_INDEX_7): New enum.
8822 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8825 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8826 size is zero, record memory as freed.
8828 2013-01-03 Andreas Jaeger <aj@suse.de>
8830 * po/ia.po: Add new Interlingua translation.
8832 2012-01-03 Allan McRae <allan@archlinux.org>
8834 * locale/programs/localedef.c: Fix description of '--posix' flag.
8836 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8838 * NEWS: Update dates in second copyright notice.
8839 * README: Update copyright dates in example.
8840 * manual/libc.texinfo: Update copyright dates.
8841 * scripts/test-installation.pl: Update copyright date in --version
8844 * hurd/ctty-input.c: Fix copyright notice formatting.
8845 * hurd/ctty-output.c: Likewise.
8846 * hurd/dtable.c: Likewise.
8847 * hurd/hurd-raise.c: Likewise.
8848 * hurd/hurdprio.c: Likewise.
8849 * hurd/msgportdemux.c: Likewise.
8850 * misc/sys/file.h: Likewise.
8851 * misc/sys/ioctl.h: Likewise.
8852 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8853 * sysdeps/mach/hurd/chdir.c: Likewise.
8854 * sysdeps/mach/hurd/fchdir.c: Likewise.
8855 * sysdeps/mach/hurd/rename.c: Likewise.
8856 * sysdeps/mach/hurd/rmdir.c: Likewise.
8857 * sysdeps/mach/hurd/seekdir.c: Likewise.
8858 * sysdeps/mach/hurd/setsid.c: Likewise.
8859 * sysdeps/posix/wait3.c: Likewise.
8861 * All files with FSF copyright notices: Update copyright dates
8862 using scripts/update-copyrights.
8863 * intl/plural.c: Regenerated.
8864 * locale/programs/charmap-kw.h: Likewise.
8865 * locale/programs/locfile-kw.h: Likewise.
8867 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8869 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8872 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8873 calculation loop and add branch prediction.
8875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8876 check access beyond bounds of m1np.
8878 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8880 (__inv): Remove local variable MPTWO to use the global
8882 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8885 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8886 MP3HALFS static const.
8888 2013-01-01 David S. Miller <davem@davemloft.net>
8890 * po/ca.po: Update from translation team.
8892 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8894 * scripts/update-copyrights: New file.
8895 * Makeconfig: Reformat copyright notice.
8896 * ctype/ctype.h: Likewise.
8897 * debug/swprintf_chk.c: Likewise.
8898 * elf/dl-cache.c: Likewise.
8899 * elf/dl-debug.c: Likewise.
8900 * elf/dl-object.c: Likewise.
8901 * grp/initgroups.c: Likewise.
8902 * hurd/Makefile: Likewise.
8903 * hurd/hurd/signal.h: Likewise.
8904 * hurd/hurdfault.c: Likewise.
8905 * hurd/hurdioctl.c: Likewise.
8906 * hurd/hurdlookup.c: Likewise.
8907 * hurd/intr-msg.c: Likewise.
8908 * iconv/gconv_open.c: Likewise.
8909 * libio/swprintf.c: Likewise.
8910 * locale/lc-ctype.c: Likewise.
8911 * locale/nl_langinfo.c: Likewise.
8912 * mach/Machrules: Likewise.
8913 * mach/Makefile: Likewise.
8914 * malloc/obstack.h: Likewise.
8915 * manual/Makefile: Likewise.
8916 * manual/tsort.awk: Likewise.
8917 * misc/bits/stab.def: Likewise.
8918 * nis/nis_print_group_entry.c: Likewise.
8919 * nis/nis_table.c: Likewise.
8920 * nis/nss_compat/compat-pwd.c: Likewise.
8921 * nis/nss_compat/compat-spwd.c: Likewise.
8922 * po/Makefile: Likewise.
8923 * posix/fnmatch.c: Likewise.
8924 * posix/regex.h: Likewise.
8925 * resolv/Makefile: Likewise.
8926 * resolv/nss_dns/dns-network.c: Likewise.
8927 * resolv/res_hconf.c: Likewise.
8928 * scripts/gen-sorted.awk: Likewise.
8929 * soft-fp/soft-fp.h: Likewise.
8930 * stdio-common/printf.h: Likewise.
8931 * stdlib/monetary.h: Likewise.
8932 * stdlib/random.c: Likewise.
8933 * stdlib/random_r.c: Likewise.
8934 * sysdeps/generic/Makefile: Likewise.
8935 * sysdeps/gnu/Makefile: Likewise.
8936 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8964 * sysdeps/mach/hurd/errnos.awk: Likewise.
8965 * sysdeps/mach/hurd/fork.c: Likewise.
8966 * sysdeps/mach/hurd/getcwd.c: Likewise.
8967 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8968 * sysdeps/mach/hurd/mmap.c: Likewise.
8969 * sysdeps/mach/hurd/utimes.c: Likewise.
8970 * sysdeps/mach/hurd/xmknod.c: Likewise.
8971 * sysdeps/posix/profil.c: Likewise.
8972 * sysdeps/posix/readdir_r.c: Likewise.
8973 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8974 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8975 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8976 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8978 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8979 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8980 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8982 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8983 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8984 * sysdeps/pthread/lio_listio.c: Likewise.
8985 * sysdeps/sparc/dl-procinfo.h: Likewise.
8986 * sysdeps/unix/i386/sysdep.S: Likewise.
8987 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8988 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8989 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8990 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8992 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8993 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8994 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8995 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8996 * sysdeps/wordsize-32/divdi3.c: Likewise.
8997 * time/sys/time.h: Likewise.
8998 * wcsmbs/Makefile: Likewise.
9000 2013-01-01 David S. Miller <davem@davemloft.net>
9002 * po/fr.po: Update from translation team.
9004 * catgets/gencat.c: Update copyright year.
9005 * csu/version.c: Likewise.
9006 * debug/catchsegv.sh: Likewise.
9007 * debug/pcprofiledump.c: Likewise.
9008 * debug/xtrace.sh: Likewise.
9009 * elf/ldconfig.c: Likewise.
9010 * elf/ldd.bash.in: Likewise.
9011 * elf/pldd.c: Likewise.
9012 * elf/sotruss.ksh: Likewise.
9013 * elf/sprof.c: Likewise.
9014 * iconv/iconv_prog.c: Likewise.
9015 * iconv/iconvconfig.c: Likewise.
9016 * locale/programs/locale.c: Likewise.
9017 * locale/programs/localedef.c: Likewise.
9018 * login/programs/pt_chown.c: Likewise.
9019 * malloc/memusage.sh: Likewise.
9020 * malloc/memusagestat.c: Likewise.
9021 * malloc/mtrace.pl: Likewise.
9022 * nscd/nscd.c: Likewise.
9023 * nss/getent.c: Likewise.
9024 * nss/makedb.c: Likewise.
9025 * posix/getconf.c: Likewise.
9027 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9029 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9032 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9034 * math/bits/mathcalls.h (modf): Use __nonnull.
9036 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9038 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9039 (split): Use macro CN instead of the bare value.
9040 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9043 instead of the bare value.
9046 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9050 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9052 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9054 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9056 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9057 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9059 2012-12-28 Andreas Jaeger <aj@suse.de>
9061 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9062 values are from Linux 3.7.
9064 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9065 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9067 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9069 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9072 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9074 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9075 variables with preprocessor constants.
9076 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9077 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9078 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9080 2012-12-27 Bruno Haible <bruno@clisp.org>
9083 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9086 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9089 and use variable directly.
9090 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9092 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9094 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9099 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9100 include directive. Remove local variable MPONE.
9101 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9102 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9103 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9105 2012-12-25 David S. Miller <davem@davemloft.net>
9107 * version.h (RELEASE): Set to "development".
9108 (VERSION): Set to "2.17.90".
9109 * NEWS: Add 2.18 section.
9111 2012-12-21 David S. Miller <davem@davemloft.net>
9113 * po/hr.po: Update from translation team.
9115 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9117 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9119 2012-12-19 Steve Ellcey <sellcey@mips.com>
9121 * NEWS: Mention new memcpy for MIPS.
9123 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9125 * manual/contrib.texi (Contributors): Spelling correction.
9127 2012-12-15 David S. Miller <davem@davemloft.net>
9129 * po/ru.po: Update from translation team.
9131 2012-12-13 David S. Miller <davem@davemloft.net>
9133 * NEWS: Mention IFUNC testsuite enhancements.
9135 * po/pl.po: Update from translation team.
9136 * po/bg.po: Likewise.
9138 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9139 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9141 2012-12-11 David S. Miller <davem@davemloft.net>
9143 * po/sv.po: Update from translation team.
9145 * po/vi.po: Update from translation team.
9147 * po/cs.po: Update from translation team.
9149 * po/de.po: Update from translation team.
9150 * po/eo.po: Likewise.
9151 * po/nl.po: Likewise.
9153 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9156 * manual/argp.texi (Argp Helper Functions): Move node to follow
9160 * manual/conf.texi (Limits on File System Capacity): Mention if
9161 terminating null is included in the max size.
9163 2012-12-10 Andreas Jaeger <aj@suse.de>
9165 * po/cs.po: Update from translation team.
9167 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9169 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9170 void pointer and cast to uintptr_t.
9171 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9173 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9174 * sysdeps/s390/s390-64/memset.S: Likewise.
9176 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9179 * menual/message.texi (Message Translation): Fix typos.
9180 (Helper programs for gettext): Likewise.
9182 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9185 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9188 2012-12-07 David S. Miller <davem@davemloft.net>
9190 * po/libc.pot: Update.
9192 2012-12-07 Richard Henderson <rth@redhat.com>
9195 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9196 normal/normal case to before the switch.
9197 (_FP_DIV): Likewise.
9199 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9200 Mike Frysinger <vapier@gentoo.org>
9202 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9203 check for __NR_fadvise64_64.
9205 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9207 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9208 0, not just to plain "0" as a statement.
9209 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9212 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9214 * NEWS: Use sourceware.org in Bugzilla URL.
9216 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9219 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9221 * stdio-common/tst-put-error.c (do_test): Add newline to the
9222 padded test to ensure flush.
9224 2012-12-05 Jeff Law <law@redhat.com>
9226 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9228 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9230 * README: Don't refer to ports add-on as distributed separately.
9231 Mention AArch64 in list of systems supported in the ports add-on.
9233 * LICENSES: Add more non-FSF copyright and license notices.
9235 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9238 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9240 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9241 10000 as width of padded output.
9243 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9245 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9247 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9248 variable LX with __attribute__ ((unused)).
9249 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9254 with __attribute__ ((unused)).
9256 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9258 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9260 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9262 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9263 (CFLAGS-nldbl-acos.c): New variable.
9264 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9269 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9270 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9271 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9272 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9273 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9274 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9275 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9276 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9277 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9278 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9279 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9285 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9286 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9287 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9288 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9289 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9290 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9291 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9292 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9293 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9294 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9295 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9296 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9297 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9298 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9299 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9300 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9301 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9302 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9303 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9304 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9305 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9306 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9307 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9308 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9309 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9310 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9311 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9312 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9313 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9314 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9315 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9316 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9317 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9318 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9319 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9320 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9321 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9322 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9323 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9324 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9325 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9326 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9327 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9328 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9329 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9330 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9331 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9332 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9333 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9334 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9335 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9336 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9337 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9338 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9339 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9340 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9341 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9342 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9343 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9344 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9345 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9346 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9347 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9348 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9349 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9350 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9351 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9352 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9353 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9354 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9355 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9356 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9357 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9358 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9359 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9360 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9363 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9367 whole low double instead of just low 47 bits when splitting values
9370 2012-12-03 Allan McRae <allan@archlinux.org>
9372 * manual/stdio.texi (Predefined Printf Handlers): Remove
9373 @hsep and @vsep usage.
9375 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9377 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9378 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9380 2012-12-03 Jeff Law <law@redhat.com>
9382 * time/sys/time.h (settimeofday): Do not mark TV argument
9385 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9387 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9388 when currently writing and seek to current position when not.
9389 * libio/Makefile (tests): Remove bug-fclose1.
9390 * libio/bug-fclose1.c: Delete.
9392 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9394 * manual/arith.texi (feenableexcept): Fix typo.
9395 (fedisableexcept): Likewise.
9397 2012-11-30 Roland McGrath <roland@hack.frob.com>
9399 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9400 second, differently-typed declaration, rather than a cast.
9402 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9404 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9405 * include/rpc/svc.h: ... here.
9407 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9410 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9411 depending n and resplen2 to catch cases where answer
9414 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9416 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9417 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9419 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9421 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9423 2012-11-29 Roland McGrath <roland@hack.frob.com>
9425 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9427 2012-11-28 Jeff Law <law@redhat.com>
9430 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9431 dataset_temporary. Track alloca usage into alloca_used.
9432 If dataset is large allocate and release it via malloc/free.
9434 2012-06-04 Florian Weimer <fweimer@redhat.com>
9437 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9439 2012-11-28 David S. Miller <davem@davemloft.net>
9441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9443 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9446 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9447 of pi/2 rounded to nearest to 64 bits.
9448 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9450 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9453 2012-11-28 Jeff Law <law@redhat.com>
9454 Martin Osvald <mosvald@redhat.com>
9457 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9458 * sunrpc/svc.c: Include time.h.
9459 (__svc_accept_failed): New function.
9460 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9461 any reason other than EINTR, call __svc_accept_failed.
9462 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9463 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9465 2012-11-28 Andreas Schwab <schwab@suse.de>
9467 * scripts/abilist.awk: Also handle indirect functions in .opd
9470 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/x86/fpu/powl_helper.c: New file.
9474 * sysdeps/x86/fpu/Makefile: Likewise.
9475 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9477 (__ieee754_powl): Use __powl_helper for finite arguments except
9478 integer exponents below 8.
9479 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9481 (__ieee754_powl): Use __powl_helper for finite arguments except
9482 integer exponents below 8.
9483 * math/libm-test.inc (pow_test): Add more tests and enable some
9484 previously disabled tests.
9485 * sysdeps/i386/fpu/libm-test-ulps: Update.
9486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9488 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9489 Carlos O'Donell <carlos_odonell@mentor.com>
9491 * nss/makedb.c (is_prime): Assert that input is odd and greater
9492 than 4. Note that fact in a comment too.
9493 (next_prime): Add 4 to input.
9495 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9498 * libio/Makefile (tests): Add test case tst-fwrite-error.
9499 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9500 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9501 * libio/tst-fwrite-error.c: New test case.
9503 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9505 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9506 before casting to void *.
9507 * include/libc-internal.h (__pointer_type): New macro.
9508 (__integer_if_pointer_type_sub): Likewise.
9509 (__integer_if_pointer_type): Likewise.
9510 (cast_to_integer): Likewise.
9511 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9512 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9513 before casting to atomic64_t.
9514 (atomic_exchange_acq): Likewise.
9515 (__arch_exchange_and_add_body): Likewise.
9516 (__arch_add_body): Likewise.
9517 (atomic_add_negative): Likewise.
9518 (atomic_add_zero): Likewise.
9520 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9522 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9523 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9524 (add_fdes): Likewise.
9525 (linear_search_fdes): Likewise.
9526 (binary_search_unencoded_fdes): Likewise.
9528 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9530 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9532 2012-11-24 Adam Conrad <adconrad@0c3.net>
9534 * configure.in: Autodetect C++ header directories.
9535 * configure: Regenerated.
9537 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9539 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9541 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9545 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9547 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9548 LDBL_MANT_DIG == 106]: Disable some tests.
9549 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9551 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9555 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9556 input for small inputs. Return +/- pi/2 for large inputs.
9557 * math/libm-test.inc (atan_test): Add more tests.
9559 * sysdeps/generic/unwind-dw2-fde-glibc.c
9560 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9561 __attribute__ ((unused)).
9564 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9565 x * y if x and y are nonzero and z is zero.
9568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9569 nonzero exponents with absolute value below 0x1p-117 to +/-
9573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9574 up arguments below 2**-450, not just those below 2**-500.
9575 * math/libm-test.inc (hypot_test): Add another test.
9578 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9579 Return a+b for ratio over 2**120, not 2**60.
9580 * math/libm-test.inc (hypot_test): Add another test.
9582 * math/libm-test.inc (clog_test): Use
9583 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9584 (clog10_test): Likewise.
9587 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9589 2012-11-22 Andreas Schwab <schwab@suse.de>
9591 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9595 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9596 printf output with newline.
9598 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9601 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9602 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9603 -z nodlopen, -z initfirst and -z execstack support.
9604 * configure: Regenerated.
9606 * elf/elf.h (DF_1_NODIRECT): New macro.
9607 (DF_1_IGNMULDEF): Likewise.
9608 (DF_1_NOKSYMS): Likewise.
9609 (DF_1_NOHDR): Likewise.
9610 (DF_1_EDITED): Likewise.
9611 (DF_1_NORELOC): Likewise.
9612 (DF_1_SYMINTPOSE): Likewise.
9613 (DF_1_GLOBAUDIT): Likewise.
9614 (DF_1_SINGLETON): Likewise.
9615 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9616 DT_1_SUPPORTED_MASK bits.
9617 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9619 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9621 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9623 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9625 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9628 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9629 (sendmmsg): Move declarations...
9630 * socket/sys/socket.h: ... here.
9631 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9632 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9634 * socket/recvmmsg.c: ... this new file.
9635 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9636 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9637 definition of __sendmmsg hidden.
9638 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9639 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9640 Move ENOSYS stub into and include it from...
9641 * socket/sendmmsg.c: ... this new file.
9642 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9643 (sysdep_routines): Move recvmmsg and sendmmsg...
9644 * socket/Makefile (routines): ... here.
9645 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9646 (GLIBC_PRIVATE): Add __sendmmsg.
9647 * include/sys/socket.h (__sendmmsg): Add declarations.
9648 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9651 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9654 variable I1 with __attribute__ ((unused)).
9655 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9657 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9659 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9660 DUMMY variables with __attribute__ ((unused)).
9662 * bits/byteswap.h: Include <bits/types.h>.
9663 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9665 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9667 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9668 string_t. Do not manually set errno.
9669 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9670 length with __strnlen. Make sure to both set errno and return it on
9673 2012-11-19 David S. Miller <davem@davemloft.net>
9675 With help from Joseph Myers.
9676 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9677 very large arguments properly.
9678 * math/libm-test.inc (atan_test): New tests.
9679 (atan2_test): New tests.
9680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9683 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9686 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9689 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9690 [POSIX] (EADDRNOTAVAIL): Likewise.
9691 [POSIX] (EAFNOSUPPORT): Likewise.
9692 [POSIX] (EALREADY): Likewise.
9693 [POSIX] (ECONNABORTED): Likewise.
9694 [POSIX] (ECONNREFUSED): Likewise.
9695 [POSIX] (ECONNRESET): Likewise.
9696 [POSIX] (EDESTADDRREQ): Likewise.
9697 [POSIX] (EDQUOT): Likewise.
9698 [POSIX] (EHOSTUNREACH): Likewise.
9699 [POSIX] (EIDRM): Likewise.
9700 [POSIX] (EISCONN): Likewise.
9701 [POSIX] (ELOOP): Likewise.
9702 [POSIX] (EMULTIHOP): Likewise.
9703 [POSIX] (ENETDOWN): Likewise.
9704 [POSIX] (ENETUNREACH): Likewise.
9705 [POSIX] (ENOBUFS): Likewise.
9706 [POSIX] (ENODATA): Likewise.
9707 [POSIX] (ENOLINK): Likewise.
9708 [POSIX] (ENOMSG): Likewise.
9709 [POSIX] (ENOPROTOOPT): Likewise.
9710 [POSIX] (ENOSR): Likewise.
9711 [POSIX] (ENOSTR): Likewise.
9712 [POSIX] (ENOTCONN): Likewise.
9713 [POSIX] (ENOTSOCK): Likewise.
9714 [POSIX] (EOPNOTSUPP): Likewise.
9715 [POSIX] (EOVERFLOW): Likewise.
9716 [POSIX] (EPROTO): Likewise.
9717 [POSIX] (EPROTONOSUPPORT): Likewise.
9718 [POSIX] (EPROTOTYPE): Likewise.
9719 [POSIX] (ESTALE): Likewise.
9720 [POSIX] (ETIME): Likewise.
9721 [POSIX] (ETXTBSY): Likewise.
9722 [POSIX] (EWOULDBLOCK): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9724 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9725 [POSIX] (SEEK_CUR): Likewise.
9726 [POSIX] (SEEK_END): Likewise.
9727 [POSIX || UNIX98] (mode_t): Do not require.
9728 [POSIX] (off_t): Likewise.
9729 [POSIX] (pid_t): Likewise.
9730 [POSIX] (sys/stat.h): Do not allow header.
9731 [POSIX] (unistd.h): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9733 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9735 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9737 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9738 sigevent): Specify elements.
9739 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9741 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9742 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9744 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9745 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9746 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9747 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9748 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9749 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9750 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9751 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9752 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9753 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9754 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9755 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9756 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9757 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9759 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9761 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9763 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9765 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9766 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9768 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9769 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9770 Specify lower bound on value.
9771 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9772 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9773 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9775 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9776 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9777 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9778 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9780 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9782 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9783 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9784 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9785 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9786 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9787 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9788 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9789 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9790 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9791 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9792 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9793 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9794 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9795 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9796 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9797 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9799 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9801 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9802 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9803 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9804 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9805 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9806 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9808 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9809 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9810 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9811 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9812 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9813 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9814 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9816 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9818 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9819 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9820 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9821 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9822 specify as optional.
9823 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9824 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9825 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9826 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9827 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9828 [XPG3] (NL_LANGMAX): Likewise.
9829 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9830 [POSIX || XPG3] (NL_NMAX): Likewise.
9831 [POSIX || XPG3] (NL_SETMAX): Likewise.
9832 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9833 [XPG3] (NZERO): Likewise.
9834 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9835 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9836 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9837 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9838 (REG_ERANGE): Expect.
9839 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9841 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9842 Use (void) in prototype.
9843 [POSIX] (*_t): Allow.
9844 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9845 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9846 (WRDE_BADVAL): Expect.
9848 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9850 [XPG3 || XPG4] (O_RSYNC): Likewise.
9851 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9853 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9854 [XPG3 || XPG4] (sigqueue): Likewise.
9855 [XPG3 || XPG4] (sigtimedwait): Likewise.
9856 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9857 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9858 [XPG3 || XPG4] (vsnprintf): Likewise.
9859 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9861 [XPG3 || XPG4] (blksize_t): Likewise.
9862 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9864 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9865 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9866 [XPG3 || XPG4] (struct itimerspec): Likewise.
9867 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9868 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9869 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9870 [XPG3 || XPG4] (clockid_t): Likewise.
9871 [XPG3 || XPG4] (timer_t): Likewise.
9872 [XPG3 || XPG4] (clock_getres): Likewise.
9873 [XPG3 || XPG4] (clock_gettime): Likewise.
9874 [XPG3 || XPG4] (clock_settime): Likewise.
9875 [XPG3 || XPG4] (nanosleep): Likewise.
9876 [XPG3 || XPG4] (timer_create): Likewise.
9877 [XPG3 || XPG4] (timer_delete): Likewise.
9878 [XPG3 || XPG4] (timer_gettime): Likewise.
9879 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9880 [XPG3 || XPG4] (timer_settime): Likewise.
9881 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9882 [XPG3 || XPG4] (getlogin_r): Likewise.
9883 [XPG3 || XPG4] (pread): Likewise.
9884 [XPG3 || XPG4] (pthread_atfork): Likewise.
9885 [XPG3 || XPG4] (pwrite): Likewise.
9888 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9891 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9893 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9894 finalizing MALLSTREAM.
9896 * sysdeps/mach/hurd/syncfs.c: New file.
9898 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9901 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9902 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9903 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9904 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9905 (_nss_dns_gethostbyname4_r): Likewise.
9906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9907 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9909 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9912 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9914 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9916 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9917 * elf/cache.c (print_entry): Print ",AArch64" for
9920 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9921 * elf/cache.c (print_entry): Print ",hard-float" for
9924 2012-11-18 David S. Miller <davem@davemloft.net>
9926 With help from Joseph Myers.
9927 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9929 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9931 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9932 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9935 * math/libm-test.inc (y0_test): New tests.
9936 (y1_test): New tests.
9937 * sysdeps/i386/fpu/libm-test-ulps: Update.
9938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9941 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9943 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9945 * configure: Regenerated.
9947 2012-11-17 David S. Miller <davem@davemloft.net>
9950 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9951 nonzero exponents with absolute value below 0x1p-128 to +/-
9954 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9956 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9958 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9960 * posix/getconf-speclist.c: New file.
9961 * posix/posix-envs.def: Likewise.
9962 * posix/confstr.c (START_ENV_GROUP): New macro.
9963 (END_ENV_GROUP): Likewise.
9964 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9965 (KNOWN_PRESENT_ENV_STRING): Likewise.
9966 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9967 (UNKNOWN_ENVIRONMENT): Likewise.
9968 (confstr): Include posix-envs.def instead of handling
9969 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9970 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9971 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9972 (END_ENV_GROUP): Likewise.
9973 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9974 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9975 (UNKNOWN_ENVIRONMENT): Likewise.
9976 (__sysconf): Include posix-envs.def instead of handling associated
9977 cases directly here.
9978 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9979 preprocessing getconf-speclist.c rather than running getconf or
9980 generating empty file.
9982 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9984 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9986 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9989 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9991 2012-11-16 David S. Miller <davem@davemloft.net>
9993 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9994 smaller than LDBL_EPSILON/2.0L, just return xm1.
9996 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9998 * elf/tst-array1.c (init): Set constructor priority to 1000.
9999 (fini): Set destructor priority to 1000.
10000 * elf/tst-array2dep.c: Likewise.
10002 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10005 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10006 (_IO_new_file_xsputn): Also return EOF if none of the input
10007 data was written when overflow failed.
10008 * libio/iopadn.c (_IO_padn): Likewise.
10009 * libio/iowpadn.c (_IO_wpadn): Likewise.
10010 * stdio-common/tst-put-error.c: Add copyright notice.
10011 (do_test): Add case for printing padded string.
10012 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10013 _IO_padn returned error.
10014 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10015 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10018 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10020 * libio/libioP.h: Add comment note that the references to C++
10021 bits are now obsolete.
10023 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10025 * math/libm-test.inc (check_complex): Use asprintf.
10027 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10029 * debug/pcprofiledump.c (print_version): Update copyright year.
10030 * malloc/memusagestat.c (print_version): Likewise.
10032 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10035 * elf/Makefile (tests): Add tst-audit8.
10036 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10037 ($(objpfx)tst-audit8.out): New target.
10038 (tst-audit8-ENV): New variable.
10039 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10040 audit if l_reloc_result is NULL.
10041 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10042 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10043 * elf/tst-audit8.c: New file.
10045 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10047 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10048 * misc/Makefile (CFLAGS-select.c): Define.
10049 * posix/Makefile (CFLAGS-pause.c): Define.
10051 2012-11-13 David S. Miller <davem@davemloft.net>
10053 * crypt/Makefile: Move test targets after toplevel Rules
10054 inclusion. Grab any necessary sysdep routines when linking.
10055 * crypt/md5.c (md5_process_block): Remove define, we will always
10056 name it __md5_process_block.
10057 (md5_finish_ctx): Update md5_process_block call.
10058 (md5_stream): Likewise.
10059 (md5_process_bytes): Likewise.
10060 (md5_process_block): Rename to __md5_process_block and move to ...
10061 * crypt/md5-block.c: ... here.
10062 * crypt/sha256.c (sha256_process_block): Move to ...
10063 * crypt/sha256-block.c: ... here.
10064 * crypt/sha512.c (sha512_process_block): Move to ...
10065 * crypt/sha512-block.c: ... here.
10066 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10068 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10069 * sysdeps/sparc/sparc64/multiarch/Makefile
10070 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10072 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10073 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10075 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10076 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10077 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10078 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10079 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10080 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10081 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10082 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10083 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10085 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10086 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10088 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10090 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10092 * timezone/tzselect.ksh: Update from tzcode git revision
10093 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10094 * timezone/zdump.c: Likewise.
10095 * timezone/zic.c: Likewise.
10096 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10097 in TZVERSION setting, not $(PKGVERSION).
10098 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10099 REPORT_BUGS_TO settings.
10102 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10105 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10107 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10108 detection to immediately after _FP_ROUND().
10109 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10112 2012-11-11 David S. Miller <davem@davemloft.net>
10114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10116 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10117 __close rather than their public counterparts.
10119 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10121 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10123 [UNIX98] (sem_timedwait): Do not expect.
10124 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10125 [XPG4 || UNIX98] (sockatmark): Do not expect.
10126 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10127 (clock_getcpuclockid): Do not expect.
10128 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10129 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10131 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10132 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10133 [UNIX98] (vwscanf): Likewise.
10134 [UNIX98] (vswscanf): Likewise.
10136 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10138 * timezone/version.h: Remove file.
10139 * timezone/README: Do not refer to version.h.
10140 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10141 $(objpfx)version.h.
10142 ($(objpfx)zdump.o): Likewise.
10143 ($(objpfx)version.h): New target.
10145 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10147 * timezone/README: Don't mention modification to tzselect.ksh.
10148 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10149 work on unmodified tzselect.ksh. Substitute version numbers in
10152 * Makefile (format-me): Remove.
10153 (INSTALL): Adjust indentation. Use commands directly instead of
10154 using $(format-me).
10156 * aclocal.m4 (ACX_PKGVERSION): New macro.
10157 (ACX_BUGURL): Likewise.
10158 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10159 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10160 (REPORT_BUGS_TO): Likewise.
10161 * configure: Regenerated.
10162 * config.h.in (PKGVERSION): New macro.
10163 (REPORT_BUGS_TO): Likewise.
10164 * config.make.in (PKGVERSION): New variable.
10165 (PKGVERSION_TEXI): Likewise.
10166 (REPORT_BUGS_TO): Likewise.
10167 (REPORT_BUGS_TEXI): Likewise.
10168 * Makefile (format-me): Use -I$(common-objpfx)manual.
10169 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10170 ($(common-objpfx)manual/%): New target.
10171 (manual/%): Remove target.
10172 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10173 (print_version): Use PKGVERSION.
10174 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10175 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10176 and REPORT_BUGS_TO.
10177 ($(objpfx)xtrace): Likewise.
10178 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10179 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10180 (print_version): Use PKGVERSION.
10181 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10182 (do_version): Use PKGVERSION.
10183 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10185 (common-ldd-rewrite): Likewise.
10186 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10187 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10188 (print_version): Use PKGVERSION.
10189 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10190 * elf/pldd.c (argp_program_bug_address): Remove variable.
10191 (more_help): New function.
10192 (argp): Use more_help.
10193 (print_version): Use PKGVERSION.
10194 * elf/sln.c (main): Use PKGVERSION.
10195 (usage): Use REPORT_BUGS_TO.
10196 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10197 (top level): Use PKGVERSION.
10198 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10199 (print_version): Use PKGVERSION.
10200 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10201 (print_version): Use PKGVERSION.
10202 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10203 (print_version): Use PKGVERSION.
10204 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10205 (print_version): Use PKGVERSION.
10206 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10207 (print_version): Use PKGVERSION.
10208 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10209 (print_version): Use PKGVERSION.
10210 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10212 ($(objpfx)memusage): Likewise.
10213 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10214 (do_version): Use PKGVERSION.
10215 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10216 (print_version): Use PKGVERSION.
10217 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10218 ($PKGVERSION): New variable.
10219 ($REPORT_BUGS_TO): Likewise.
10220 (usage): Use $REPORT_BUGS_TO.
10221 (top level): Use $PKGVERSION.
10222 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10223 ($(objpfx)pkgvers.texi): New rule.
10224 ($(objpfx)stamp-pkgvers): Likewise.
10225 * manual/install.texi: Include pkgvers.texi.
10226 (--with-pkgversion): Document new configure option.
10227 (--with-bugurl): Likewise.
10228 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10229 than necessarily for this particular distribution. Use
10230 REPORT_BUGS_TO for where to report bugs.
10231 * INSTALL: Regenerated.
10232 * manual/libc.texinfo: Include pkgvers.texi.
10233 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10234 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10235 (print_version): Use PKGVERSION.
10236 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10237 (print_version): Use PKGVERSION.
10238 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10239 (print_version): Use PKGVERSION.
10240 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10241 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10243 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10244 (print_version): Use PKGVERSION.
10245 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10246 (print_version): Use PKGVERSION.
10247 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10250 * timezone/checktab.awk: Update from tzcode 2012i.
10251 * timezone/ialloc.c: Likewise.
10252 * timezone/private.h: Likewise.
10253 * timezone/scheck.c: Likewise.
10254 * timezone/tzfile.h: Likewise.
10255 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10256 (TZVERSION): Hardcode tzcode version number.
10257 * timezone/zdump.c: Update from tzcode 2012i.
10258 * timezone/zic.c: Likewise.
10259 * timezone/version.h: New file.
10260 * timezone/README: Describe version.h. Update upstream location.
10263 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10264 (mktemp): Enable declaration.
10265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10278 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10282 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10283 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10284 for copies of such integer values.
10285 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10286 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10288 2012-11-09 Andreas Jaeger <aj@suse.de>
10290 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10291 definitions and declarations that are provided by
10292 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10294 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10296 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10297 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10298 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10301 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10303 * elf/elf.h: Update comment before AArch64 relocations.
10305 2012-11-07 David S. Miller <davem@davemloft.net>
10307 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10308 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10309 (__start_context): Declare.
10310 (__makecontext_ret): Delete.
10311 (__makecontext): Hook up __start_context instead of
10313 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10314 (sysdep_routines): Add __start_context when in stdlib.
10316 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10318 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10319 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10320 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10322 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10323 (READELF): New variable. Use it instead of hardcoded "readelf".
10325 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10327 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10328 * sysdeps/x86/Makefile: Here.
10329 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10330 * sysdeps/x86/tst-xmmymm.sh: This.
10332 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10334 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10336 [UNIX98] (pthread_barrier_t): Do not expect.
10337 [UNIX98] (pthread_barrierattr_t): Likewise.
10338 [UNIX98] (pthread_spinlock_t): Likewise.
10339 [UNIX98] (pthread_barrier_destroy): Likewise.
10340 [UNIX98] (pthread_barrier_init): Likewise.
10341 [UNIX98] (pthread_barrier_wait): Likewise.
10342 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10343 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10344 [UNIX98] (pthread_barrierattr_init): Likewise.
10345 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10346 [UNIX98] (pthread_getcpuclockid): Likewise.
10347 [UNIX98] (pthread_mutex_timedlock): Likewise.
10348 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10349 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10350 [UNIX98] (pthread_sigmask): Likewise.
10351 [UNIX98] (pthread_spin_destroy): Likewise.
10352 [UNIX98] (pthread_spin_init): Likewise.
10353 [UNIX98] (pthread_spin_lock): Likewise.
10354 [UNIX98] (pthread_spin_trylock): Likewise.
10355 [UNIX98] (pthread_spin_unlock): Likewise.
10356 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10358 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10360 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10361 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10362 [XPG3 || XPG4] (pthread_key_t): Likewise.
10363 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10364 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10365 [XPG3 || XPG4] (pthread_once_t): Likewise.
10366 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10367 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10369 [XPG3 || XPG4] (pthread_t): Likewise.
10371 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10373 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10375 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10376 Change function return type to int.
10378 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10379 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10380 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10381 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10382 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10383 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10384 [!POSIX] (posix_madvise): Likewise.
10385 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10387 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10388 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10389 (mode_t): Likewise.
10390 (posix_mem_offset): Likewise.
10391 (posix_typed_mem_get_info): Likewise.
10392 (posix_typed_mem_open): Likewise.
10394 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10395 Change condition to [XOPEN2K8].
10397 * conform/conformtest.pl: Preprocess allow-header data with -x c
10398 instead of from stdin.
10399 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10400 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10401 [C99-based standards] (cerfc): Likewise.
10402 [C99-based standards] (cexp2): Likewise.
10403 [C99-based standards] (cexpm1): Likewise.
10404 [C99-based standards] (clog10): Likewise.
10405 [C99-based standards] (clog1p): Likewise.
10406 [C99-based standards] (clog2): Likewise.
10407 [C99-based standards] (clgamma): Likewise.
10408 [C99-based standards] (ctgamma): Likewise.
10409 [C99-based standards] (cerff): Likewise.
10410 [C99-based standards] (cerfcf): Likewise.
10411 [C99-based standards] (cexp2f): Likewise.
10412 [C99-based standards] (cexpm1f): Likewise.
10413 [C99-based standards] (clog10f): Likewise.
10414 [C99-based standards] (clog1pf): Likewise.
10415 [C99-based standards] (clog2f): Likewise.
10416 [C99-based standards] (clgammaf): Likewise.
10417 [C99-based standards] (ctgammaf): Likewise.
10418 [C99-based standards] (cerfl): Likewise.
10419 [C99-based standards] (cerfcl): Likewise.
10420 [C99-based standards] (cexp2l): Likewise.
10421 [C99-based standards] (cexpm1l): Likewise.
10422 [C99-based standards] (clog10l): Likewise.
10423 [C99-based standards] (clog1pl): Likewise.
10424 [C99-based standards] (clog2l): Likewise.
10425 [C99-based standards] (clgammal): Likewise.
10426 [C99-based standards] (ctgammal): Likewise.
10427 * conform/data/inttypes.h-data [C99-based standards]: Include
10428 stdint.h-data. Remove all expectations for stdint.h contents.
10429 [C99-based standards] (PRI*): Do not allow.
10430 [C99-based standards] (SCN*): Likewise.
10431 [C99-based standards] (*_t): Likewise.
10432 [C99-based-standards] (PRId8): Expect macro.
10433 [C99-based-standards] (PRIi8): Likewise.
10434 [C99-based-standards] (PRIo8): Likewise.
10435 [C99-based-standards] (PRIu8): Likewise.
10436 [C99-based-standards] (PRIx8): Likewise.
10437 [C99-based-standards] (PRIX8): Likewise.
10438 [C99-based-standards] (SCNd8): Likewise.
10439 [C99-based-standards] (SCNi8): Likewise.
10440 [C99-based-standards] (SCNo8): Likewise.
10441 [C99-based-standards] (SCNu8): Likewise.
10442 [C99-based-standards] (SCNx8): Likewise.
10443 [C99-based-standards] (PRIdLEAST8): Likewise.
10444 [C99-based-standards] (PRIiLEAST8): Likewise.
10445 [C99-based-standards] (PRIoLEAST8): Likewise.
10446 [C99-based-standards] (PRIuLEAST8): Likewise.
10447 [C99-based-standards] (PRIxLEAST8): Likewise.
10448 [C99-based-standards] (PRIXLEAST8): Likewise.
10449 [C99-based-standards] (SCNdLEAST8): Likewise.
10450 [C99-based-standards] (SCNiLEAST8): Likewise.
10451 [C99-based-standards] (SCNoLEAST8): Likewise.
10452 [C99-based-standards] (SCNuLEAST8): Likewise.
10453 [C99-based-standards] (SCNxLEAST8): Likewise.
10454 [C99-based-standards] (PRIdFAST8): Likewise.
10455 [C99-based-standards] (PRIiFAST8): Likewise.
10456 [C99-based-standards] (PRIoFAST8): Likewise.
10457 [C99-based-standards] (PRIuFAST8): Likewise.
10458 [C99-based-standards] (PRIxFAST8): Likewise.
10459 [C99-based-standards] (PRIXFAST8): Likewise.
10460 [C99-based-standards] (SCNdFAST8): Likewise.
10461 [C99-based-standards] (SCNiFAST8): Likewise.
10462 [C99-based-standards] (SCNoFAST8): Likewise.
10463 [C99-based-standards] (SCNuFAST8): Likewise.
10464 [C99-based-standards] (SCNxFAST8): Likewise.
10465 [C99-based-standards] (PRId16): Likewise.
10466 [C99-based-standards] (PRIi16): Likewise.
10467 [C99-based-standards] (PRIo16): Likewise.
10468 [C99-based-standards] (PRIu16): Likewise.
10469 [C99-based-standards] (PRIx16): Likewise.
10470 [C99-based-standards] (PRIX16): Likewise.
10471 [C99-based-standards] (SCNd16): Likewise.
10472 [C99-based-standards] (SCNi16): Likewise.
10473 [C99-based-standards] (SCNo16): Likewise.
10474 [C99-based-standards] (SCNu16): Likewise.
10475 [C99-based-standards] (SCNx16): Likewise.
10476 [C99-based-standards] (PRIdLEAST16): Likewise.
10477 [C99-based-standards] (PRIiLEAST16): Likewise.
10478 [C99-based-standards] (PRIoLEAST16): Likewise.
10479 [C99-based-standards] (PRIuLEAST16): Likewise.
10480 [C99-based-standards] (PRIxLEAST16): Likewise.
10481 [C99-based-standards] (PRIXLEAST16): Likewise.
10482 [C99-based-standards] (SCNdLEAST16): Likewise.
10483 [C99-based-standards] (SCNiLEAST16): Likewise.
10484 [C99-based-standards] (SCNoLEAST16): Likewise.
10485 [C99-based-standards] (SCNuLEAST16): Likewise.
10486 [C99-based-standards] (SCNxLEAST16): Likewise.
10487 [C99-based-standards] (PRIdFAST16): Likewise.
10488 [C99-based-standards] (PRIiFAST16): Likewise.
10489 [C99-based-standards] (PRIoFAST16): Likewise.
10490 [C99-based-standards] (PRIuFAST16): Likewise.
10491 [C99-based-standards] (PRIxFAST16): Likewise.
10492 [C99-based-standards] (PRIXFAST16): Likewise.
10493 [C99-based-standards] (SCNdFAST16): Likewise.
10494 [C99-based-standards] (SCNiFAST16): Likewise.
10495 [C99-based-standards] (SCNoFAST16): Likewise.
10496 [C99-based-standards] (SCNuFAST16): Likewise.
10497 [C99-based-standards] (SCNxFAST16): Likewise.
10498 [C99-based-standards] (PRId32): Likewise.
10499 [C99-based-standards] (PRIi32): Likewise.
10500 [C99-based-standards] (PRIo32): Likewise.
10501 [C99-based-standards] (PRIu32): Likewise.
10502 [C99-based-standards] (PRIx32): Likewise.
10503 [C99-based-standards] (PRIX32): Likewise.
10504 [C99-based-standards] (SCNd32): Likewise.
10505 [C99-based-standards] (SCNi32): Likewise.
10506 [C99-based-standards] (SCNo32): Likewise.
10507 [C99-based-standards] (SCNu32): Likewise.
10508 [C99-based-standards] (SCNx32): Likewise.
10509 [C99-based-standards] (PRIdLEAST32): Likewise.
10510 [C99-based-standards] (PRIiLEAST32): Likewise.
10511 [C99-based-standards] (PRIoLEAST32): Likewise.
10512 [C99-based-standards] (PRIuLEAST32): Likewise.
10513 [C99-based-standards] (PRIxLEAST32): Likewise.
10514 [C99-based-standards] (PRIXLEAST32): Likewise.
10515 [C99-based-standards] (SCNdLEAST32): Likewise.
10516 [C99-based-standards] (SCNiLEAST32): Likewise.
10517 [C99-based-standards] (SCNoLEAST32): Likewise.
10518 [C99-based-standards] (SCNuLEAST32): Likewise.
10519 [C99-based-standards] (SCNxLEAST32): Likewise.
10520 [C99-based-standards] (PRIdFAST32): Likewise.
10521 [C99-based-standards] (PRIiFAST32): Likewise.
10522 [C99-based-standards] (PRIoFAST32): Likewise.
10523 [C99-based-standards] (PRIuFAST32): Likewise.
10524 [C99-based-standards] (PRIxFAST32): Likewise.
10525 [C99-based-standards] (PRIXFAST32): Likewise.
10526 [C99-based-standards] (SCNdFAST32): Likewise.
10527 [C99-based-standards] (SCNiFAST32): Likewise.
10528 [C99-based-standards] (SCNoFAST32): Likewise.
10529 [C99-based-standards] (SCNuFAST32): Likewise.
10530 [C99-based-standards] (SCNxFAST32): Likewise.
10531 [C99-based-standards] (PRId64): Likewise.
10532 [C99-based-standards] (PRIi64): Likewise.
10533 [C99-based-standards] (PRIo64): Likewise.
10534 [C99-based-standards] (PRIu64): Likewise.
10535 [C99-based-standards] (PRIx64): Likewise.
10536 [C99-based-standards] (PRIX64): Likewise.
10537 [C99-based-standards] (SCNd64): Likewise.
10538 [C99-based-standards] (SCNi64): Likewise.
10539 [C99-based-standards] (SCNo64): Likewise.
10540 [C99-based-standards] (SCNu64): Likewise.
10541 [C99-based-standards] (SCNx64): Likewise.
10542 [C99-based-standards] (PRIdLEAST64): Likewise.
10543 [C99-based-standards] (PRIiLEAST64): Likewise.
10544 [C99-based-standards] (PRIoLEAST64): Likewise.
10545 [C99-based-standards] (PRIuLEAST64): Likewise.
10546 [C99-based-standards] (PRIxLEAST64): Likewise.
10547 [C99-based-standards] (PRIXLEAST64): Likewise.
10548 [C99-based-standards] (SCNdLEAST64): Likewise.
10549 [C99-based-standards] (SCNiLEAST64): Likewise.
10550 [C99-based-standards] (SCNoLEAST64): Likewise.
10551 [C99-based-standards] (SCNuLEAST64): Likewise.
10552 [C99-based-standards] (SCNxLEAST64): Likewise.
10553 [C99-based-standards] (PRIdFAST64): Likewise.
10554 [C99-based-standards] (PRIiFAST64): Likewise.
10555 [C99-based-standards] (PRIoFAST64): Likewise.
10556 [C99-based-standards] (PRIuFAST64): Likewise.
10557 [C99-based-standards] (PRIxFAST64): Likewise.
10558 [C99-based-standards] (PRIXFAST64): Likewise.
10559 [C99-based-standards] (SCNdFAST64): Likewise.
10560 [C99-based-standards] (SCNiFAST64): Likewise.
10561 [C99-based-standards] (SCNoFAST64): Likewise.
10562 [C99-based-standards] (SCNuFAST64): Likewise.
10563 [C99-based-standards] (SCNxFAST64): Likewise.
10564 [C99-based-standards] (PRIdMAX): Likewise.
10565 [C99-based-standards] (PRIiMAX): Likewise.
10566 [C99-based-standards] (PRIoMAX): Likewise.
10567 [C99-based-standards] (PRIuMAX): Likewise.
10568 [C99-based-standards] (PRIxMAX): Likewise.
10569 [C99-based-standards] (PRIXMAX): Likewise.
10570 [C99-based-standards] (SCNdMAX): Likewise.
10571 [C99-based-standards] (SCNiMAX): Likewise.
10572 [C99-based-standards] (SCNoMAX): Likewise.
10573 [C99-based-standards] (SCNuMAX): Likewise.
10574 [C99-based-standards] (SCNxMAX): Likewise.
10575 [C99-based-standards] (PRIdPTR): Likewise.
10576 [C99-based-standards] (PRIiPTR): Likewise.
10577 [C99-based-standards] (PRIoPTR): Likewise.
10578 [C99-based-standards] (PRIuPTR): Likewise.
10579 [C99-based-standards] (PRIxPTR): Likewise.
10580 [C99-based-standards] (PRIXPTR): Likewise.
10581 [C99-based-standards] (SCNdPTR): Likewise.
10582 [C99-based-standards] (SCNiPTR): Likewise.
10583 [C99-based-standards] (SCNoPTR): Likewise.
10584 [C99-based-standards] (SCNuPTR): Likewise.
10585 [C99-based-standards] (SCNxPTR): Likewise.
10586 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10588 * conform/data/stdint.h-data: Update comments to clarify
10590 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10592 [C99-based standards] (INT8_MAX): Likewise.
10593 [C99-based standards] (INT16_MIN): Likewise.
10594 [C99-based standards] (INT16_MAX): Likewise.
10595 [C99-based standards] (INT32_MIN): Likewise.
10596 [C99-based standards] (INT32_MAX): Likewise.
10597 [C99-based standards] (INT64_MIN): Likewise.
10598 [C99-based standards] (INT64_MAX): Likewise.
10599 [C99-based standards] (UINT8_MAX): Likewise.
10600 [C99-based standards] (UINT16_MAX): Likewise.
10601 [C99-based standards] (UINT32_MAX): Likewise.
10602 [C99-based standards] (UINT64_MAX): Likewise.
10603 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10604 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10605 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10606 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10607 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10608 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10609 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10610 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10611 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10612 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10613 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10614 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10615 [C99-based standards] (INT_FAST8_MIN): Likewise.
10616 [C99-based standards] (INT_FAST8_MAX): Likewise.
10617 [C99-based standards] (INT_FAST16_MIN): Likewise.
10618 [C99-based standards] (INT_FAST16_MAX): Likewise.
10619 [C99-based standards] (INT_FAST32_MIN): Likewise.
10620 [C99-based standards] (INT_FAST32_MAX): Likewise.
10621 [C99-based standards] (INT_FAST64_MIN): Likewise.
10622 [C99-based standards] (INT_FAST64_MAX): Likewise.
10623 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10624 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10625 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10626 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10627 [C99-based standards] (INTPTR_MIN): Likewise.
10628 [C99-based standards] (INTPTR_MAX): Likewise.
10629 [C99-based standards] (UINTPTR_MAX): Likewise.
10630 [C99-based standards] (INTMAX_MIN): Likewise.
10631 [C99-based standards] (INTMAX_MAX): Likewise.
10632 [C99-based standards] (UINTMAX_MAX): Likewise.
10633 [C99-based standards] (PTRDIFF_MIN): Likewise.
10634 [C99-based standards] (PTRDIFF_MAX): Likewise.
10635 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10636 [C99-based standards] (SIZE_MAX): Likewise.
10637 [C99-based standards] (WCHAR_MAX): Likewise.
10638 [C99-based standards] (WINT_MAX): Likewise.
10639 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10640 constraint on value.
10641 [C99-based standards] (WCHAR_MIN): Likewise.
10642 [C99-based standards] (WINT_MIN): Likewise.
10643 [C99-based standards] (*_t): Allow.
10644 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10645 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10646 Include math.h-data and complex.h-data. Remove all expectations
10647 of math.h and complex.h contents.
10648 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10650 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10651 (struct tm): Expect tag.
10652 [C99-based-standards] (wcstof): Expect function.
10653 [C99-based-standards] (wcstold): Likewise.
10654 [C99-based-standards] (wcstoll): Likewise.
10655 [C99-based-standards] (wcstoull): Likewise.
10656 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10657 macro-int-constant. Specify type.
10658 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10659 constraint on value.
10660 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10662 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10664 [ISO C standards]: Do not allow headers.
10665 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10666 wcs[abcdefghijklmnopqrstuvwxyz]*.
10667 [ISO C standards] (*_t): Do not allow.
10668 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10670 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10671 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10673 [ISO C standards]: Do not allow headers.
10674 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10675 is[abcdefghijklmnopqrstuvwxyz]*.
10676 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10677 to[abcdefghijklmnopqrstuvwxyz]*.
10678 [ISO C standards] (*_t): Do not allow.
10679 * conform/data/stdalign.h-data: New file.
10680 * conform/data/stdbool.h-data: Likewise.
10681 * conform/data/stdnoreturn.h-data: Likewise.
10683 2012-11-07 Roland McGrath <roland@hack.frob.com>
10686 * manual/filesys.texi (Directory Entries): Typo fix.
10687 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10689 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10691 * elf/elf.h (EM_AARCH64): New macro.
10692 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10693 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10694 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10695 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10696 (R_AARCH64_TLSDESC): Likewise.
10697 (NT_ARM_TLS): Likewise.
10698 (NT_ARM_HW_BREAK): Likewise.
10699 (NT_ARM_HW_WATCH): Likewise.
10701 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10704 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10705 (__ieee754_powl): Saturate nonzero exponents with absolute value
10706 below 0x1p-79 to +/- 0x1p-79.
10707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10708 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10709 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10710 nonzero exponents with absolute value below 0x1p-32 to +/-
10712 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10713 (__ieee754_powl): Saturate nonzero exponents with absolute value
10714 below 0x1p-79 to +/- 0x1p-79.
10715 * math/libm-test.inc (pow_test): Add more tests.
10717 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10719 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10720 _dl_s390_cap_flags with kernel. Increase string length.
10721 (_dl_s390_platforms): Add z196 and zEC12.
10723 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10725 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10726 Change XOPEN21K to XOPEN2K.
10728 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10730 * string/memmove.c: Use memcpy when possible.
10732 2012-11-06 Andreas Jaeger <aj@suse.de>
10734 * po/eo.po: Update from translation team.
10736 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10740 exponent and small x and y exponents, scale x or y up. Increase
10741 by 2 the exponent used in scaling up.
10742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10744 * math/libm-test.inc (fma_test): Add more tests.
10745 (fma_test_towardzero): Likewise.
10746 (fma_test_downward): Likewise.
10747 (fma_test_upward): Likewise.
10749 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10752 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10756 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10757 namespace for names of struct fields.
10758 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10760 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10761 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10763 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10766 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10768 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10770 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10774 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10777 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10781 definitely overflow as x * y not x * y + z.
10782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10784 * math/libm-test.inc (fma_test): Add more tests.
10785 (fma_test_towardzero): Likewise.
10786 (fma_test_downward): Likewise.
10787 (fma_test_upward): Likewise.
10789 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10793 * include/stub-tag.h: Remove file.
10794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10796 * manual/maint.texi (Porting): Don't reference it.
10797 * Makerules ($(objpfx)stubs): Likewise.
10798 * dirent/closedir.c: Don't include <stub-tag.h>.
10799 * dirent/dirfd.c: Likewise.
10800 * dirent/fdopendir.c: Likewise.
10801 * dirent/getdents.c: Likewise.
10802 * dirent/getdents64.c: Likewise.
10803 * dirent/opendir.c: Likewise.
10804 * dirent/readdir.c: Likewise.
10805 * dirent/readdir64.c: Likewise.
10806 * dirent/readdir64_r.c: Likewise.
10807 * dirent/readdir_r.c: Likewise.
10808 * dirent/rewinddir.c: Likewise.
10809 * dirent/seekdir.c: Likewise.
10810 * dirent/telldir.c: Likewise.
10811 * gmon/profil.c: Likewise.
10812 * grp/setgroups.c: Likewise.
10813 * inet/if_index.c: Likewise.
10814 * io/access.c: Likewise.
10815 * io/chdir.c: Likewise.
10816 * io/chmod.c: Likewise.
10817 * io/chown.c: Likewise.
10818 * io/close.c: Likewise.
10819 * io/dup.c: Likewise.
10820 * io/dup2.c: Likewise.
10821 * io/dup3.c: Likewise.
10822 * io/euidaccess.c: Likewise.
10823 * io/faccessat.c: Likewise.
10824 * io/fchdir.c: Likewise.
10825 * io/fchmod.c: Likewise.
10826 * io/fchmodat.c: Likewise.
10827 * io/fchown.c: Likewise.
10828 * io/fchownat.c: Likewise.
10829 * io/fcntl.c: Likewise.
10830 * io/flock.c: Likewise.
10831 * io/fstatfs.c: Likewise.
10832 * io/fstatfs64.c: Likewise.
10833 * io/fstatvfs.c: Likewise.
10834 * io/fstatvfs64.c: Likewise.
10835 * io/futimens.c: Likewise.
10836 * io/fxstat.c: Likewise.
10837 * io/fxstat64.c: Likewise.
10838 * io/fxstatat.c: Likewise.
10839 * io/fxstatat64.c: Likewise.
10840 * io/getcwd.c: Likewise.
10841 * io/isatty.c: Likewise.
10842 * io/lchmod.c: Likewise.
10843 * io/lchown.c: Likewise.
10844 * io/link.c: Likewise.
10845 * io/linkat.c: Likewise.
10846 * io/lseek.c: Likewise.
10847 * io/lseek64.c: Likewise.
10848 * io/lxstat64.c: Likewise.
10849 * io/mkdir.c: Likewise.
10850 * io/mkdirat.c: Likewise.
10851 * io/mkfifo.c: Likewise.
10852 * io/mkfifoat.c: Likewise.
10853 * io/open.c: Likewise.
10854 * io/open64.c: Likewise.
10855 * io/openat.c: Likewise.
10856 * io/openat64.c: Likewise.
10857 * io/pipe.c: Likewise.
10858 * io/pipe2.c: Likewise.
10859 * io/poll.c: Likewise.
10860 * io/posix_fadvise.c: Likewise.
10861 * io/posix_fadvise64.c: Likewise.
10862 * io/posix_fallocate.c: Likewise.
10863 * io/posix_fallocate64.c: Likewise.
10864 * io/read.c: Likewise.
10865 * io/readlink.c: Likewise.
10866 * io/readlinkat.c: Likewise.
10867 * io/rmdir.c: Likewise.
10868 * io/sendfile.c: Likewise.
10869 * io/sendfile64.c: Likewise.
10870 * io/statfs.c: Likewise.
10871 * io/statfs64.c: Likewise.
10872 * io/statvfs.c: Likewise.
10873 * io/statvfs64.c: Likewise.
10874 * io/symlink.c: Likewise.
10875 * io/symlinkat.c: Likewise.
10876 * io/ttyname.c: Likewise.
10877 * io/ttyname_r.c: Likewise.
10878 * io/umask.c: Likewise.
10879 * io/unlink.c: Likewise.
10880 * io/unlinkat.c: Likewise.
10881 * io/utime.c: Likewise.
10882 * io/utimensat.c: Likewise.
10883 * io/write.c: Likewise.
10884 * io/xmknod.c: Likewise.
10885 * io/xmknodat.c: Likewise.
10886 * io/xstat.c: Likewise.
10887 * io/xstat64.c: Likewise.
10888 * login/getpt.c: Likewise.
10889 * login/grantpt.c: Likewise.
10890 * login/unlockpt.c: Likewise.
10891 * math/e_acoshl.c: Likewise.
10892 * math/e_acosl.c: Likewise.
10893 * math/e_asinl.c: Likewise.
10894 * math/e_atan2l.c: Likewise.
10895 * math/e_atanhl.c: Likewise.
10896 * math/e_coshl.c: Likewise.
10897 * math/e_expl.c: Likewise.
10898 * math/e_fmodl.c: Likewise.
10899 * math/e_gammal_r.c: Likewise.
10900 * math/e_hypotl.c: Likewise.
10901 * math/e_j0l.c: Likewise.
10902 * math/e_j1l.c: Likewise.
10903 * math/e_jnl.c: Likewise.
10904 * math/e_lgammal_r.c: Likewise.
10905 * math/e_log10l.c: Likewise.
10906 * math/e_log2l.c: Likewise.
10907 * math/e_logl.c: Likewise.
10908 * math/e_powl.c: Likewise.
10909 * math/e_rem_pio2l.c: Likewise.
10910 * math/e_sinhl.c: Likewise.
10911 * math/e_sqrtl.c: Likewise.
10912 * math/fclrexcpt.c: Likewise.
10913 * math/fedisblxcpt.c: Likewise.
10914 * math/feenablxcpt.c: Likewise.
10915 * math/fegetenv.c: Likewise.
10916 * math/fegetexcept.c: Likewise.
10917 * math/fegetround.c: Likewise.
10918 * math/feholdexcpt.c: Likewise.
10919 * math/fesetenv.c: Likewise.
10920 * math/fesetround.c: Likewise.
10921 * math/feupdateenv.c: Likewise.
10922 * math/fgetexcptflg.c: Likewise.
10923 * math/fraiseexcpt.c: Likewise.
10924 * math/fsetexcptflg.c: Likewise.
10925 * math/ftestexcept.c: Likewise.
10926 * math/k_cosl.c: Likewise.
10927 * math/k_rem_pio2l.c: Likewise.
10928 * math/k_sinl.c: Likewise.
10929 * math/k_tanl.c: Likewise.
10930 * math/s_asinhl.c: Likewise.
10931 * math/s_atanl.c: Likewise.
10932 * math/s_cbrtl.c: Likewise.
10933 * math/s_erfl.c: Likewise.
10934 * math/s_expm1l.c: Likewise.
10935 * math/s_log1pl.c: Likewise.
10936 * math/s_tanhl.c: Likewise.
10937 * misc/acct.c: Likewise.
10938 * misc/brk.c: Likewise.
10939 * misc/chflags.c: Likewise.
10940 * misc/chroot.c: Likewise.
10941 * misc/fchflags.c: Likewise.
10942 * misc/fgetxattr.c: Likewise.
10943 * misc/flistxattr.c: Likewise.
10944 * misc/fremovexattr.c: Likewise.
10945 * misc/fsetxattr.c: Likewise.
10946 * misc/fsync.c: Likewise.
10947 * misc/ftruncate.c: Likewise.
10948 * misc/futimes.c: Likewise.
10949 * misc/futimesat.c: Likewise.
10950 * misc/getdomain.c: Likewise.
10951 * misc/getdtsz.c: Likewise.
10952 * misc/gethostid.c: Likewise.
10953 * misc/gethostname.c: Likewise.
10954 * misc/getloadavg.c: Likewise.
10955 * misc/getpagesize.c: Likewise.
10956 * misc/getsysstats.c: Likewise.
10957 * misc/getxattr.c: Likewise.
10958 * misc/gtty.c: Likewise.
10959 * misc/ioctl.c: Likewise.
10960 * misc/lgetxattr.c: Likewise.
10961 * misc/listxattr.c: Likewise.
10962 * misc/llistxattr.c: Likewise.
10963 * misc/lremovexattr.c: Likewise.
10964 * misc/lsetxattr.c: Likewise.
10965 * misc/lutimes.c: Likewise.
10966 * misc/madvise.c: Likewise.
10967 * misc/mincore.c: Likewise.
10968 * misc/mlock.c: Likewise.
10969 * misc/mlockall.c: Likewise.
10970 * misc/mmap.c: Likewise.
10971 * misc/mprotect.c: Likewise.
10972 * misc/msync.c: Likewise.
10973 * misc/munlock.c: Likewise.
10974 * misc/munlockall.c: Likewise.
10975 * misc/munmap.c: Likewise.
10976 * misc/preadv.c: Likewise.
10977 * misc/preadv64.c: Likewise.
10978 * misc/ptrace.c: Likewise.
10979 * misc/pwritev.c: Likewise.
10980 * misc/pwritev64.c: Likewise.
10981 * misc/readv.c: Likewise.
10982 * misc/reboot.c: Likewise.
10983 * misc/remap_file_pages.c: Likewise.
10984 * misc/removexattr.c: Likewise.
10985 * misc/revoke.c: Likewise.
10986 * misc/select.c: Likewise.
10987 * misc/setdomain.c: Likewise.
10988 * misc/setegid.c: Likewise.
10989 * misc/seteuid.c: Likewise.
10990 * misc/sethostid.c: Likewise.
10991 * misc/sethostname.c: Likewise.
10992 * misc/setregid.c: Likewise.
10993 * misc/setreuid.c: Likewise.
10994 * misc/setxattr.c: Likewise.
10995 * misc/sstk.c: Likewise.
10996 * misc/stty.c: Likewise.
10997 * misc/swapoff.c: Likewise.
10998 * misc/swapon.c: Likewise.
10999 * misc/sync.c: Likewise.
11000 * misc/syncfs.c: Likewise.
11001 * misc/syscall.c: Likewise.
11002 * misc/truncate.c: Likewise.
11003 * misc/ualarm.c: Likewise.
11004 * misc/usleep.c: Likewise.
11005 * misc/ustat.c: Likewise.
11006 * misc/utimes.c: Likewise.
11007 * misc/vhangup.c: Likewise.
11008 * misc/writev.c: Likewise.
11009 * posix/_exit.c: Likewise.
11010 * posix/alarm.c: Likewise.
11011 * posix/execve.c: Likewise.
11012 * posix/fexecve.c: Likewise.
11013 * posix/fork.c: Likewise.
11014 * posix/fpathconf.c: Likewise.
11015 * posix/getaddrinfo.c: Likewise.
11016 * posix/getegid.c: Likewise.
11017 * posix/geteuid.c: Likewise.
11018 * posix/getgid.c: Likewise.
11019 * posix/getgroups.c: Likewise.
11020 * posix/getlogin.c: Likewise.
11021 * posix/getlogin_r.c: Likewise.
11022 * posix/getpgid.c: Likewise.
11023 * posix/getpid.c: Likewise.
11024 * posix/getppid.c: Likewise.
11025 * posix/getresgid.c: Likewise.
11026 * posix/getresuid.c: Likewise.
11027 * posix/getsid.c: Likewise.
11028 * posix/getuid.c: Likewise.
11029 * posix/glob64.c: Likewise.
11030 * posix/nanosleep.c: Likewise.
11031 * posix/pathconf.c: Likewise.
11032 * posix/pause.c: Likewise.
11033 * posix/posix_madvise.c: Likewise.
11034 * posix/pread.c: Likewise.
11035 * posix/pread64.c: Likewise.
11036 * posix/pwrite.c: Likewise.
11037 * posix/pwrite64.c: Likewise.
11038 * posix/sched_getaffinity.c: Likewise.
11039 * posix/sched_getp.c: Likewise.
11040 * posix/sched_gets.c: Likewise.
11041 * posix/sched_primax.c: Likewise.
11042 * posix/sched_primin.c: Likewise.
11043 * posix/sched_rr_gi.c: Likewise.
11044 * posix/sched_setaffinity.c: Likewise.
11045 * posix/sched_setp.c: Likewise.
11046 * posix/sched_sets.c: Likewise.
11047 * posix/sched_yield.c: Likewise.
11048 * posix/setgid.c: Likewise.
11049 * posix/setlogin.c: Likewise.
11050 * posix/setpgid.c: Likewise.
11051 * posix/setresgid.c: Likewise.
11052 * posix/setresuid.c: Likewise.
11053 * posix/setsid.c: Likewise.
11054 * posix/setuid.c: Likewise.
11055 * posix/sleep.c: Likewise.
11056 * posix/spawni.c: Likewise.
11057 * posix/sysconf.c: Likewise.
11058 * posix/times.c: Likewise.
11059 * posix/wait.c: Likewise.
11060 * posix/wait3.c: Likewise.
11061 * posix/wait4.c: Likewise.
11062 * posix/waitpid.c: Likewise.
11063 * resolv/gai_sigqueue.c: Likewise.
11064 * resource/getpriority.c: Likewise.
11065 * resource/getrlimit.c: Likewise.
11066 * resource/getrusage.c: Likewise.
11067 * resource/nice.c: Likewise.
11068 * resource/setpriority.c: Likewise.
11069 * resource/setrlimit.c: Likewise.
11070 * resource/ulimit.c: Likewise.
11071 * rt/aio_cancel.c: Likewise.
11072 * rt/aio_fsync.c: Likewise.
11073 * rt/aio_read.c: Likewise.
11074 * rt/aio_sigqueue.c: Likewise.
11075 * rt/aio_suspend.c: Likewise.
11076 * rt/aio_write.c: Likewise.
11077 * rt/clock_getres.c: Likewise.
11078 * rt/clock_gettime.c: Likewise.
11079 * rt/clock_nanosleep.c: Likewise.
11080 * rt/clock_settime.c: Likewise.
11081 * rt/lio_listio.c: Likewise.
11082 * rt/mq_close.c: Likewise.
11083 * rt/mq_getattr.c: Likewise.
11084 * rt/mq_notify.c: Likewise.
11085 * rt/mq_open.c: Likewise.
11086 * rt/mq_receive.c: Likewise.
11087 * rt/mq_send.c: Likewise.
11088 * rt/mq_setattr.c: Likewise.
11089 * rt/mq_timedreceive.c: Likewise.
11090 * rt/mq_timedsend.c: Likewise.
11091 * rt/mq_unlink.c: Likewise.
11092 * rt/shm_open.c: Likewise.
11093 * rt/shm_unlink.c: Likewise.
11094 * rt/timer_create.c: Likewise.
11095 * rt/timer_delete.c: Likewise.
11096 * rt/timer_getoverr.c: Likewise.
11097 * rt/timer_gettime.c: Likewise.
11098 * rt/timer_settime.c: Likewise.
11099 * setjmp/__longjmp.c: Likewise.
11100 * setjmp/setjmp.c: Likewise.
11101 * signal/kill.c: Likewise.
11102 * signal/killpg.c: Likewise.
11103 * signal/raise.c: Likewise.
11104 * signal/sigaction.c: Likewise.
11105 * signal/sigaltstack.c: Likewise.
11106 * signal/sigblock.c: Likewise.
11107 * signal/sigignore.c: Likewise.
11108 * signal/sigintr.c: Likewise.
11109 * signal/signal.c: Likewise.
11110 * signal/sigpause.c: Likewise.
11111 * signal/sigpending.c: Likewise.
11112 * signal/sigqueue.c: Likewise.
11113 * signal/sigreturn.c: Likewise.
11114 * signal/sigset.c: Likewise.
11115 * signal/sigsetmask.c: Likewise.
11116 * signal/sigstack.c: Likewise.
11117 * signal/sigsuspend.c: Likewise.
11118 * signal/sigtimedwait.c: Likewise.
11119 * signal/sigvec.c: Likewise.
11120 * signal/sigwait.c: Likewise.
11121 * signal/sigwaitinfo.c: Likewise.
11122 * signal/sysv_signal.c: Likewise.
11123 * socket/accept.c: Likewise.
11124 * socket/accept4.c: Likewise.
11125 * socket/bind.c: Likewise.
11126 * socket/connect.c: Likewise.
11127 * socket/getpeername.c: Likewise.
11128 * socket/getsockname.c: Likewise.
11129 * socket/getsockopt.c: Likewise.
11130 * socket/isfdtype.c: Likewise.
11131 * socket/listen.c: Likewise.
11132 * socket/recv.c: Likewise.
11133 * socket/recvfrom.c: Likewise.
11134 * socket/recvmsg.c: Likewise.
11135 * socket/send.c: Likewise.
11136 * socket/sendmsg.c: Likewise.
11137 * socket/sendto.c: Likewise.
11138 * socket/setsockopt.c: Likewise.
11139 * socket/shutdown.c: Likewise.
11140 * socket/sockatmark.c: Likewise.
11141 * socket/socket.c: Likewise.
11142 * socket/socketpair.c: Likewise.
11143 * stdio-common/ctermid.c: Likewise.
11144 * stdio-common/cuserid.c: Likewise.
11145 * stdio-common/remove.c: Likewise.
11146 * stdio-common/rename.c: Likewise.
11147 * stdio-common/renameat.c: Likewise.
11148 * stdio-common/tempname.c: Likewise.
11149 * stdlib/getcontext.c: Likewise.
11150 * stdlib/makecontext.c: Likewise.
11151 * stdlib/setcontext.c: Likewise.
11152 * stdlib/swapcontext.c: Likewise.
11153 * stdlib/system.c: Likewise.
11154 * streams/fattach.c: Likewise.
11155 * streams/fdetach.c: Likewise.
11156 * streams/getmsg.c: Likewise.
11157 * streams/getpmsg.c: Likewise.
11158 * streams/putmsg.c: Likewise.
11159 * streams/putpmsg.c: Likewise.
11160 * sysdeps/unix/bsd/getpt.c: Likewise.
11161 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11162 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11163 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11166 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11168 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11169 * sysvipc/msgctl.c: Likewise.
11170 * sysvipc/msgget.c: Likewise.
11171 * sysvipc/msgrcv.c: Likewise.
11172 * sysvipc/msgsnd.c: Likewise.
11173 * sysvipc/semctl.c: Likewise.
11174 * sysvipc/semget.c: Likewise.
11175 * sysvipc/semop.c: Likewise.
11176 * sysvipc/semtimedop.c: Likewise.
11177 * sysvipc/shmat.c: Likewise.
11178 * sysvipc/shmctl.c: Likewise.
11179 * sysvipc/shmdt.c: Likewise.
11180 * sysvipc/shmget.c: Likewise.
11181 * termios/tcdrain.c: Likewise.
11182 * termios/tcflow.c: Likewise.
11183 * termios/tcflush.c: Likewise.
11184 * termios/tcgetattr.c: Likewise.
11185 * termios/tcgetpgrp.c: Likewise.
11186 * termios/tcsendbrk.c: Likewise.
11187 * termios/tcsetattr.c: Likewise.
11188 * termios/tcsetpgrp.c: Likewise.
11189 * time/adjtime.c: Likewise.
11190 * time/clock.c: Likewise.
11191 * time/getitimer.c: Likewise.
11192 * time/gettimeofday.c: Likewise.
11193 * time/setitimer.c: Likewise.
11194 * time/settimeofday.c: Likewise.
11195 * time/stime.c: Likewise.
11196 * time/time.c: Likewise.
11198 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11200 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11203 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11205 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11207 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11211 FE_TONEAREST before applying Dekker multiplication and Knuth
11212 addition. Clear inexact exceptions and check for exact zero
11213 results afterwards.
11214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11217 * math/libm-test.inc (fma_test): Add more tests.
11218 (fma_test_towardzero): Likewise.
11219 (fma_test_downward): Likewise.
11220 (fma_test_upward): Likewise.
11221 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11223 (libc_fesetround): New macro.
11224 (libc_fesetroundf): Likewise.
11225 (libc_fesetroundl): Likewise.
11226 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11228 (libc_fesetround_387): Likewise.
11229 (libc_fesetroundf): New macro.
11230 (libc_fesetround): Likewise.
11231 (libc_fesetroundl): Likewise.
11232 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11234 (libc_fesetroundf): New macro.
11235 (libc_fesetround): Likewise.
11236 (libc_fesetroundl): Likewise.
11237 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11238 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11239 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11241 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11242 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11245 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11247 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11251 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11252 integer constant usable in #if and use that to give value to enum
11254 (FE_DIVBYZERO): Likewise.
11255 (FE_UNDERFLOW): Likewise.
11256 (FE_OVERFLOW): Likewise.
11257 (FE_INVALID): Likewise.
11258 (FE_INVALID_SNAN): Likewise.
11259 (FE_INVALID_ISI): Likewise.
11260 (FE_INVALID_IDI): Likewise.
11261 (FE_INVALID_ZDZ): Likewise.
11262 (FE_INVALID_IMZ): Likewise.
11263 (FE_INVALID_COMPARE): Likewise.
11264 (FE_INVALID_SOFTWARE): Likewise.
11265 (FE_INVALID_SQRT): Likewise.
11266 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11267 (FE_TONEAREST): Likewise.
11268 (FE_TOWARDZERO): Likewise.
11269 (FE_UPWARD): Likewise.
11270 (FE_DOWNWARD): Likewise.
11271 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11272 (FE_DIVBYZERO): Likewise.
11273 (FE_OVERFLOW): Likewise.
11274 (FE_UNDERFLOW): Likewise.
11275 (FE_INEXACT): Likewise.
11276 (FE_TONEAREST): Likewise.
11277 (FE_DOWNWARD): Likewise.
11278 (FE_UPWARD): Likewise.
11279 (FE_TOWARDZERO): Likewise.
11280 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11281 (FE_UNDERFLOW): Likewise.
11282 (FE_OVERFLOW): Likewise.
11283 (FE_DIVBYZERO): Likewise.
11284 (FE_INVALID): Likewise.
11285 (FE_TONEAREST): Likewise.
11286 (FE_TOWARDZERO): Likewise.
11287 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11288 (FE_OVERFLOW): Likewise.
11289 (FE_UNDERFLOW): Likewise.
11290 (FE_DIVBYZERO): Likewise.
11291 (FE_INEXACT): Likewise.
11292 (FE_TONEAREST): Likewise.
11293 (FE_TOWARDZERO): Likewise.
11294 (FE_UPWARD): Likewise.
11295 (FE_DOWNWARD): Likewise.
11296 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11297 (FE_DIVBYZERO): Likewise.
11298 (FE_OVERFLOW): Likewise.
11299 (FE_UNDERFLOW): Likewise.
11300 (FE_INEXACT): Likewise.
11301 (FE_TONEAREST): Likewise.
11302 (FE_DOWNWARD): Likewise.
11303 (FE_UPWARD): Likewise.
11304 (FE_TOWARDZERO): Likewise.
11306 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11308 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11310 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11312 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11313 commands. Quote $PWD.
11314 (blacklist_exports): Don't use remove_newlines. Replace "declare
11316 (remove_newlines): Remove.
11318 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11320 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11321 * stdlib/stdlib.h (atof): Moved to ...
11322 * include/bits/stdlib-float.h: Here. New file.
11323 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11324 * stdlib/bits/stdlib-float.h: New file.
11325 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11327 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11330 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11332 * conform/conformtest.pl (@headers): Add fenv.h.
11333 * conform/data/fenv.h-data: New file.
11334 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11335 include of <math/fenv.h>.
11337 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11338 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11339 && !UNIX98]. Enables tests for XOPEN2K8.
11340 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11341 POSIX2008]: Likewise.
11343 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11344 (struct rusage): Do not expect type or its members.
11347 * math/math.h (FP_NAN): Define macro to integer constant usable in
11348 #if and use that to give value to enum constant.
11349 (FP_INFINITE): Likewise.
11350 (FP_ZERO): Likewise.
11351 (FP_SUBNORMAL): Likewise.
11352 (FP_NORMAL): Likewise.
11354 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11356 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11357 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11360 2012-11-02 Roland McGrath <roland@hack.frob.com>
11362 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11363 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11364 autoconf-time if not.
11365 * configure.in: Remove AC_PREREQ.
11367 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11369 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11370 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11371 of the internal implementation.
11373 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11375 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11376 except include of <misc/sys/syslog.h>.
11378 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11381 function returns with a NULL context exit with zero.
11383 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11385 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11387 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11389 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11390 (run_program_cmd): This.
11391 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11392 (tst_langinfo): New variable. Use it.
11394 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11396 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11397 floating point opcodes.
11399 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11401 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11404 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11406 * sysdeps/mach/hurd/powerpc: Remove directory.
11407 * sysdeps/mach/powerpc: Likewise.
11409 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11411 * scripts/check-local-headers.sh: Ignore c++ headers.
11413 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11415 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11416 __libc_cleanup_region_start argument.
11418 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11423 x * y using scaling, not as x * y + z.
11424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11426 * math/libm-test.inc (fma_test): Add more tests.
11427 (fma_test_towardzero): Likewise.
11428 (fma_test_downward): Likewise.
11429 (fma_test_upward): Likewise.
11431 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11433 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11435 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11437 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11440 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11442 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11444 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11451 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11454 Fix the order of the list for glibc 2.17.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11458 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11462 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11466 for low part of x being zero before using __atanl (y).
11467 * math/libm-test.inc (atan2_test): Add another test.
11469 * manual/install.texi (Configuring and compiling): Document
11470 general use of test-wrapper and test-wrapper-env.
11471 * INSTALL: Regenerated.
11473 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11474 (__fma): Do not extract and scale down low bits on after-rounding
11475 systems when result rounded to normal precision would have normal
11477 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11478 (__fmal): Do not extract and scale down low bits on after-rounding
11479 systems when result rounded to normal precision would have normal
11481 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11482 (__fmal): Do not extract and scale down low bits on after-rounding
11483 systems when result rounded to normal precision would have normal
11485 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11487 (fma_test): Add more tests.
11488 (fma_test_towardzero): Likewise.
11489 (fma_test_downward): Likewise.
11490 (fma_test_upward): Likewise.
11492 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11494 * sysdeps/i386/tininess.h: Renamed to ...
11495 * sysdeps/x86/tininess.h: This.
11496 * sysdeps/x86_64/tininess.h: Removed.
11498 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11500 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11501 input. Use $(build-program-cmd).
11502 ($(objpfx)tst-array1-static.out): Likewise.
11503 ($(objpfx)tst-array2.out): Likewise.
11504 ($(objpfx)tst-array3.out): Likewise.
11505 ($(objpfx)tst-array4.out): Likewise.
11506 ($(objpfx)tst-array5.out): Likewise.
11507 ($(objpfx)tst-array5-static.out): Likewise.
11509 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11511 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11514 * nss/nsswitch.h (nss_interface_function): Provide new
11515 macro for use with NSS functions.
11516 * grp/initgroups.c: Use new macro.
11517 * nss/getXXbyYY.c: Likewise.
11518 * nss/getXXbyYY_r.c: Likewise.
11519 * nss/getXXent.c: Likewise.
11520 * nss/getXXent_r.c: Likewise.
11521 * sysdeps/posix/getaddrinfo.c: Likewise.
11523 2012-10-30 Andreas Jaeger <aj@suse.de>
11525 * po/ru.po: Update Russion translation from translation project.
11527 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11532 result and shift together with sticky bit instead of replicating
11533 round-to-nearest rounding.
11534 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11536 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11537 missing underflow exceptions.
11538 (fma_test_towardzero): Add more tests.
11539 (fma_test_downward): Likewise.
11540 (fma_test_upward): Likewise.
11543 * sysdeps/generic/tininess.h: New file.
11544 * sysdeps/i386/tininess.h: Likewise.
11545 * sysdeps/sh/tininess.h: Likewise.
11546 * sysdeps/x86_64/tininess.h: Likewise.
11547 * stdlib/tst-strtod-underflow.c: Likewise.
11548 * stdlib/tst-tininess.c: Likewise.
11549 * stdlib/strtod_l.c: Include <tininess.h>.
11550 (round_and_return): Do not set errno for exact underflow cases.
11551 Force an underflow exception when setting errno for underflow.
11552 Determine underflow based on rounding to normal precision if
11553 TININESS_AFTER_ROUNDING.
11554 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11555 ERANGE for exact underflow cases.
11556 * stdlib/Makefile (tests): Add tst-tininess and
11557 tst-strtod-underflow.
11558 ($(objpfx)tst-tininess): Use $(link-libm).
11559 ($(objpfx)tst-strtod-underflow): Likewise.
11561 2012-10-30 Andreas Jaeger <aj@suse.de>
11564 * elf/Makefile (tests): Remove conditional for have-initfini-array
11565 since this is now always required and the variable does not exist
11567 (tests-static): Likewise.
11568 (modules-names): Likewise.
11570 * po/eo.po: Add Esperanto translation from translation project.
11572 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11573 merged with constructor/destructor.
11574 (init_array): Likewise.
11575 * elf/tst-array2dep.c (fini_array): Likewise.
11576 (init_array): Likewise.
11578 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11580 * manual/message.texi: Delete @cartouche tags.
11582 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11584 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11586 * sysdeps/mach/hurd/fsync.c: Likewise.
11588 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11589 [_POSIX_REALTIME_SIGNALS]: Change condition to
11590 [_POSIX_REALTIME_SIGNALS > 0].
11592 2012-10-27 Andreas Jaeger <aj@suse.de>
11594 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11595 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11597 [__WORDSIZE != 64]: Likewise.
11599 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11601 * iconvdata/tst-table.sh: Remove ${SHELL}.
11602 * iconvdata/tst-tables.sh: Likewise.
11604 2012-10-25 David S. Miller <davem@davemloft.net>
11606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11607 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11613 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11614 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11617 2012-10-25 Roland McGrath <roland@hack.frob.com>
11619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11620 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11623 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11624 Jim Blandy <jimb@codesourcery.com>
11626 * scripts/cross-test-ssh.sh: New file.
11627 * manual/install.texi (Configuring and compiling): Document use of
11629 * INSTALL: Regenerated.
11631 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11633 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11636 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11638 * Makeconfig (run-program-prefix): Fix comment.
11640 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11641 Jim Blandy <jimb@codesourcery.com>
11643 * Makeconfig (test-wrapper): New variable,
11644 (test-wrapper-env): Likewise.
11645 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11646 (run-built-tests): Define to yes.
11647 (run-program-prefix): Use $(test-wrapper).
11648 (built-program-cmd): Likewise.
11649 * Rules (make-test-out): Use $(test-wrapper-env) and
11650 $(host-built-program-cmd).
11651 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11652 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11654 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11655 $(test-wrapper-env) to tst-rtld-load-self.sh.
11656 ($(objpfx)order2.out): Use $(test-wrapper).
11657 ($(objpfx)tst-initorder.out): Likewise.
11658 ($(objpfx)tst-initorder2.out): Likewise.
11659 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11660 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11661 (test_wrapper_env): New variable. Use it to run ld.so.
11662 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11663 Use it to run ld.so.
11664 (test_wrapper_env): Likewise.
11665 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11666 $(test-wrapper) to run-iconv-test.sh.
11667 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11668 (ICONV): Use $test_wrapper.
11669 * posix/Makefile ($(objpfx)globtest.out): Pass
11670 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11671 globtest.sh, not $(run-program-prefix).
11672 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11673 (test_wrapper): Likewise.
11674 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11675 set together with run_via_rtld_prefix.
11676 (run_program_prefix): Define in terms of test_wrapper and
11677 run_via_rtld_prefix.
11679 2012-10-24 Roland McGrath <roland@hack.frob.com>
11681 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11682 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11686 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11687 Declare __clock_getres, __clock_gettime, __clock_settime,
11688 __clock_nanosleep, and __clock_getcpuclockid.
11689 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11690 Remove librt_hidden_def (clock_gettime).
11691 * sysdeps/unix/clock_gettime.c: Likewise.
11692 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11694 * rt/clock_getres.c: Define __clock_getres as an alias.
11695 * sysdeps/posix/clock_getres.c: Likewise.
11696 * rt/clock_settime.c: Define __clock_settime as an alias.
11697 * sysdeps/unix/clock_settime.c: Likewise.
11698 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11699 * sysdeps/unix/clock_nanosleep.c: Likewise.
11700 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11701 * rt/clock-compat.c: New file.
11702 * rt/Makefile (librt-routines): Add clock-compat and move
11703 $(clock-routines) to ...
11704 (routines): ... here, new variable.
11705 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11706 Don't add get_clockfreq here.
11707 * rt/Versions (libc: GLIBC_2.17): New version set.
11708 Add clock_* symbols here.
11709 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11710 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11711 (GLIBC_2.17): Add clock_* symbols.
11712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11723 * NEWS: Mention the move.
11725 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11726 Use __open, __read, __close rather than their public counterparts.
11727 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11728 (__get_clockfreq_via_cpuinfo): Likewise.
11729 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11730 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11732 * config.h.in (HAVE_IFUNC): New #undef.
11733 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11735 * configure: Regenerated.
11737 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11739 * configure.in: Move READELF check to start of file.
11740 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11741 libc_cv_asm_gnu_indirect_function in the process.
11742 * configure: Regenerated.
11744 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11746 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11747 send the output to /dev/null.
11748 (libc_cv_cc_with_libunwind): Likewise.
11749 (libc_cv_as_noexecstack): Likewise.
11750 * configure: Regenerate.
11752 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11754 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11756 * posix/globtest.sh (TMPDIR): Do not set.
11757 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11758 (testout): Likewise.
11760 2012-10-24 Andreas Jaeger <aj@suse.de>
11762 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11763 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11764 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11765 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11766 posix_fadvise64, posix_fallocate64.
11768 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11769 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11770 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11772 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11774 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11777 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11778 <bits/fcntl-linux.h>.
11779 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11782 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11783 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11784 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11785 [__WORDSIZE != 64]: Likewise.
11787 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11789 * Makeconfig (run-built-tests): New variable.
11790 * Rules [$(cross-compiling) = yes]: Change condition to
11791 [$(run-built-tests) = no].
11792 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11793 to [$(run-built-tests) = yes].
11794 * elf/Makefile [$(cross-compiling) = no]: Likewise
11795 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11796 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11797 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11798 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11799 * io/Makefile [$(cross-compiling) = no]: Likewise.
11800 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11801 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11802 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11803 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11804 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11805 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11806 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11807 * string/Makefile [$(cross-compiling) = no]: Likewise.
11809 * posix/Makefile ($(objpfx)globtest.out): Pass
11810 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11811 $(rtld-installed-name).
11812 * posix/globtest.sh (elf_objpfx): Remove variable.
11813 (rtld_installed_name): Likewise.
11814 (library_path): Likewise.
11815 (run_program_prefix): New variable. Use for running globtest
11818 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11819 Joseph Myers <joseph@codesourcery.com>
11821 * Makeconfig (host-built-program-cmd): New variable.
11822 * elf/Makefile (tst-stackguard1-ARGS): Use
11823 $(host-built-program-cmd).
11824 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11825 (tst-spawn-ARGS): Likewise.
11826 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11828 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11829 Jim Blandy <jimb@codesourcery.com>
11831 * Makeconfig (run-via-rtld-prefix): New variable.
11832 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11833 (built-program-cmd): Likewise.
11835 2012-10-22 Andreas Jaeger <aj@suse.de>
11837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11838 __O_RSYNC if it exists, otherwise to O_SYNC.
11840 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11841 Joseph Myers <joseph@codesourcery.com>
11843 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11845 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11847 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11850 2012-10-22 Andreas Jaeger <aj@suse.de>
11852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11857 bits/fcntl-linux.h.
11859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11860 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11867 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11868 Joseph Myers <joseph@codesourcery.com>
11870 * config.make.in (NM): New variable.
11872 2012-10-21 Andreas Jaeger <aj@suse.de>
11874 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11875 definitions and declarations that are provided by
11876 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11878 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11881 * elf/Makefile (tests-static): Add tst-leaks1-static.
11882 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11883 ($(objpfx)tst-leaks1-static): New rule.
11884 ($(objpfx)tst-leaks1-static-mem): Likewise.
11885 (tst-leaks1-static-ENV): New macro.
11886 * elf/dl-open.c (dl_open_worker): Check the main application
11887 only if SHARED is defined.
11888 * elf/tst-leaks1-static.c: New file.
11890 2012-10-20 Andreas Jaeger <aj@suse.de>
11892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11893 generic values for Linux.
11894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11895 and declarations that are provided by <bits/fcntl-linux.h> and
11896 include <bits/fcntl-linux.h>.
11897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11898 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11900 2012-10-20 Roland McGrath <roland@hack.frob.com>
11902 * io/fcntl.h: Move include of <bits/types.h> to the top and
11903 include it unconditionally.
11905 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11907 * wcsmbs/Makefile (tests-ifunc): New variable.
11908 (tests): Add $(tests-ifunc).
11909 * wcsmbs/test-wcschr-ifunc.c: New file.
11910 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11911 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11912 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11913 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11914 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11916 * string/Makefile (tests-ifunc): New variable.
11917 (tests): Add $(tests-ifunc).
11918 * string/test-memccpy.c (TEST_NAME): New macro.
11919 * string/test-memchr.c (TEST_NAME): Likewise.
11920 * string/test-memcmp.c (TEST_NAME): Likewise.
11921 * string/test-memcpy.c (TEST_NAME): Likewise.
11922 * string/test-memmem.c (TEST_NAME): Likewise.
11923 * string/test-memmove.c (TEST_NAME): Likewise.
11924 * string/test-memset.c (TEST_NAME): Likewise.
11925 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11926 * string/test-stpcpy.c (TEST_NAME): Likewise.
11927 * string/test-stpncpy.c (TEST_NAME): Likewise.
11928 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11929 * string/test-strcasestr.c (TEST_NAME): Likewise.
11930 * string/test-strcat.c (TEST_NAME): Likewise.
11931 * string/test-strchr.c (TEST_NAME): Likewise.
11932 * string/test-strcmp.c(TEST_NAME): Likewise.
11933 * string/test-strcpy.c (TEST_NAME): Likewise.
11934 * string/test-strcspn.c (TEST_NAME): Likewise.
11935 * string/test-strlen.c (TEST_NAME): Likewise.
11936 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11937 * string/test-strncmp.c (TEST_NAME): Likewise.
11938 * string/test-strncpy.c (TEST_NAME): Likewise.
11939 * string/test-strnlen.c (TEST_NAME): Likewise.
11940 * string/test-strpbrk.c (TEST_NAME): Likewise.
11941 * string/test-strrchr.c (TEST_NAME): Likewise.
11942 * string/test-strspn.c (TEST_NAME): Likewise.
11943 * string/test-strstr.c (TEST_NAME): Likewise.
11944 * string/test-bcopy-ifunc.c: New file.
11945 * string/test-bzero-ifunc.c: Likewise.
11946 * string/test-memccpy-ifunc.c: Likewise.
11947 * string/test-memchr-ifunc.c: Likewise.
11948 * string/test-memcmp-ifunc.c: Likewise.
11949 * string/test-memcpy-ifunc.c: Likewise.
11950 * string/test-memmem-ifunc.c: Likewise.
11951 * string/test-memmove-ifunc.c: Likewise.
11952 * string/test-mempcpy-ifunc.c: Likewise.
11953 * string/test-memset-ifunc.c: Likewise.
11954 * string/test-rawmemchr-ifunc.c: Likewise.
11955 * string/test-stpcpy-ifunc.c: Likewise.
11956 * string/test-stpncpy-ifunc.c: Likewise.
11957 * string/test-strcasecmp-ifunc.c: Likewise.
11958 * string/test-strcasestr-ifunc.c: Likewise.
11959 * string/test-strcat-ifunc.c: Likewise.
11960 * string/test-strchr-ifunc.c: Likewise.
11961 * string/test-strchrnul-ifunc.c: Likewise.
11962 * string/test-strcmp-ifunc.c: Likewise.
11963 * string/test-strcpy-ifunc.c: Likewise.
11964 * string/test-strcspn-ifunc.c: Likewise.
11965 * string/test-strlen-ifunc.c: Likewise.
11966 * string/test-strncasecmp-ifunc.c: Likewise.
11967 * string/test-strncat-ifunc.c: Likewise.
11968 * string/test-strncmp-ifunc.c: Likewise.
11969 * string/test-strncpy-ifunc.c: Likewise.
11970 * string/test-strnlen-ifunc.c: Likewise.
11971 * string/test-strpbrk-ifunc.c: Likewise.
11972 * string/test-strrchr-ifunc.c: Likewise.
11973 * string/test-strspn-ifunc.c: Likewise.
11974 * string/test-strstr-ifunc.c: Likewise.
11976 * debug/Makefile (tests-ifunc): New variable.
11977 (tests): Add $(tests-ifunc).
11978 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11979 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11980 * debug/test-stpcpy_chk-ifunc.c: New file.
11981 * debug/test-strcpy_chk-ifunc.c: Likewise.
11983 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11986 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11987 header is not read in.
11989 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11991 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11992 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11993 directly. Pass built executable to script as
11994 $(built-program-cmd).
11995 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11996 $testprogram without using LD_LIBRARY_PATH and $ldso.
11998 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11999 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12000 $(rtld-installed-name).
12001 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12002 (rtld_installed_name): Likewise.
12003 (library_path): Likewise.
12004 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12005 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12006 $(run-program-prefix) to tst-tables.sh.
12007 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12008 it to run tst-table-from and tst-table-to.
12009 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12010 Pass it to tst-table.sh.
12011 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12012 $(run-program-prefix) to tst-gettext.sh.
12013 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12015 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12017 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12018 to run tst-gettext.
12019 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12020 to run tst-gettext2.
12021 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12022 to run tst-translit.
12023 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12024 $(run-program-prefix) to tst-mtrace.sh.
12025 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12027 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12028 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12029 $(rtld-installed-name).
12030 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12031 (rtld_installed_name): Likewise.
12032 (run_program_prefix): New variable. Use it to run wordexp-test.
12034 * Makeconfig (ARCH): Remove all definitions.
12035 (machine): Likewise.
12036 [ARCH]: Remove conditional code.
12037 [!objdir]: Give error.
12038 [!objdir] (objpfx): Remove.
12039 [!objdir] (common-objpfx): Likewise.
12040 [!objdir] (common-objdir): Likewise.
12041 * configure.in (config_makefile): Remove. Hardcode Makefile in
12042 AC_CONFIG_FILES call.
12043 * configure: Regenerated.
12046 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12048 (testout): Likewise.
12050 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12051 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12052 $(rtld-installed-name).
12053 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12054 (rtld_installed_name): Likwise.
12055 (runit): Remove function.
12056 (run_getconf): New variable, Use it for running getconf binary.
12058 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12061 * string/test-memmem.c (check_result): New function.
12062 (do_one_test): Use it.
12063 (check1): New function.
12064 (test_main): Use it.
12066 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12068 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12070 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12072 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12073 (_G_LSEEK64): Likewise.
12074 (_G_MMAP64): Likewise.
12075 (_G_FSTAT64): Likewise.
12076 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12077 (_G_LSEEK64): Likewise.
12078 (_G_MMAP64): Likewise.
12079 (_G_FSTAT64): Likewise.
12080 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12081 unconditional. Call __mmap64 directly.
12082 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12083 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12084 __lseek64 directly.
12085 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12086 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12088 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12089 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12090 __lseek64 directly.
12091 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12092 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12093 __lseek64 directly.
12094 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12095 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12096 __lseek64 directly.
12097 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12098 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12099 __fxstat64 directly.
12100 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12101 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12103 (freopen64) [!_G_OPEN64]: Remove conditional code.
12104 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12106 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12107 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12109 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12110 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12112 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12113 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12115 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12116 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12118 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12119 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12121 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12122 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12124 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12126 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12129 * manual/memory.texi (Malloc Tunable Parameters): Add note
12130 about free list pointers overwriting some perturb bytes.
12131 Wording suggested by Roland McGrath.
12133 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12135 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12136 (lgamma_test): Likewise.
12137 (tgamma_test): Likewise.
12139 2012-10-16 Florian Weimer <fweimer@redhat.com>
12142 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12143 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12145 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12147 * NEWS: Mention BZ #14716.
12148 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12149 when removing AVAILABLE1_USES_J macro.
12151 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12153 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12154 (__bswap_64): __uint64_t for unsigned 64-bit int.
12156 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12158 * include/string.h (memmem): Declare libc hidden alias.
12159 * string/memmem.c (memmem): Define libc hidden alias.
12160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12161 __read, __close instead of open, read, close.
12163 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12166 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12168 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12169 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12170 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12172 (__rawmemchr_sse2): Likewise.
12173 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12174 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12175 (__strchr_sse2): Likewise.
12176 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12177 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12178 (__strcasecmp_sse2): Likewise.
12179 (__strncasecmp_sse2): Likewise.
12180 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12181 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12182 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12183 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12184 (__strrchr_sse2): Likewise.
12185 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12187 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12188 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12189 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12190 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12191 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12192 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12193 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12194 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12195 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12196 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12197 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12198 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12199 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12200 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12201 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12202 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12203 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12204 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12205 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12206 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12207 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12208 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12209 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12210 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12211 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12213 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12214 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12215 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12216 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12220 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12221 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12222 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12223 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12225 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12227 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12228 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12229 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12230 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12232 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12234 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12239 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12240 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12241 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12242 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12243 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12244 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12245 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12246 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12249 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12250 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12253 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12255 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12256 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12257 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12259 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12260 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12262 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12263 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12264 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12265 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12266 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12267 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12268 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12269 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12270 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12271 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12272 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12274 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12275 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12276 * include/ifunc-impl-list.h: New file.
12277 * misc/ifunc-impl-list.c: Likewise.
12278 * misc/Makefile (routines): Add ifunc-impl-list.
12279 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12280 * string/test-string.h: Include <ifunc-impl-list.h>.
12281 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12282 impl_array): New variables.
12283 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12285 (test_init): Call __libc_ifunc_impl_list to initialize
12286 func_list if TEST_IFUNC and TEST_NAME are defined.
12288 * string/Makefile (strop-tests): Add bcopy and bzero.
12289 * string/test-bcopy.c: New file.
12290 * string/test-bzero.c: Likewise.
12291 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12293 * string/test-memset.c: Support bzero test if TEST_BZERO is
12295 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12297 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12299 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12302 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12304 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12305 * configure: Regenerated.
12307 * Makeconfig (+link-static-before-libc): Don't include
12308 $(link-static-libc).
12310 * libio/libio.h (_IO_pos_t): Remove.
12312 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12314 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12317 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12319 * crypt/crypt-entry.c: Include fips-private.h.
12320 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12321 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12322 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12323 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12325 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12327 * crypt/crypt-private.h: Include stdbool.h.
12328 (_ufc_setup_salt_r): Return bool.
12329 * crypt/crypt-entry.c: Include errno.h.
12330 (__crypt_r): Return NULL with EINVAL for bad salt.
12331 * crypt/crypt_util.c (bad_for_salt): New.
12332 (_ufc_setup_salt_r): Check that salt is long enough and within
12333 the specified alphabet.
12334 * crypt/badsalttest.c: New file.
12335 * crypt/Makefile (tests): Add it.
12336 ($(objpfx)badsalttest): New.
12338 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12340 * NEWS: Add entry for BZ #14602.
12342 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12344 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12346 * math/libm-test.inc: Update comment listing what functions and
12348 (isgreater_test): New function.
12349 (isgreaterequal_test): Likewise.
12350 (isless_test): Likewise.
12351 (islessequal_test): Likewise.
12352 (islessgreater_test): Likewise.
12353 (isunordered_test): Likewise.
12354 (main): Call the new functions.
12356 2012-10-09 Roland McGrath <roland@hack.frob.com>
12358 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12359 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12360 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12361 * sysdeps/i386/configure: Regenerated.
12362 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12363 * sysdeps/mach/configure: Regenerated.
12364 * sysdeps/mach/hurd/configure: Regenerated.
12365 * sysdeps/powerpc/configure: Regenerated.
12366 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12367 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12368 * sysdeps/s390/s390-32/configure: Regenerated.
12369 * sysdeps/s390/s390-64/configure: Regenerated.
12370 * sysdeps/sh/configure: Regenerated.
12371 * sysdeps/sparc/configure: Regenerated.
12372 * sysdeps/unix/sysv/linux/configure: Regenerated.
12373 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12374 * sysdeps/x86_64/configure: Regenerated.
12376 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12377 defined. Don't check if MAP is NULL.
12379 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12381 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12382 (_G_stat64): Likewise.
12383 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12384 (_G_stat64): Likewise.
12385 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12386 instead of struct _G_stat64.
12387 * libio/fileops.c (mmap_remap_check): Likewise.
12388 (decide_maybe_mmap): Likewise.
12389 (_IO_new_file_seekoff): Likewise.
12390 (_IO_file_stat): Likewise.
12391 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12393 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12394 instead of struct _G_stat64.
12395 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12397 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12400 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12402 (CHECK_EOL): New macro.
12403 (two_way_short_needle): Check beginning of haystack for EOL. Use
12405 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12406 Replace with CHECK_EOL.
12407 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12408 Replace with CHECK_EOL.
12410 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12412 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12414 * math/libm-test.inc: Update comment listing what functions and
12416 (finite_test): New function.
12417 (isinf_test): Likewise.
12418 (isnan_test): Likewise.
12419 (fpclassify_test): Test subnormal input.
12420 (isfinite_test): Likewise.
12421 (isnormal_test): Likewise.
12422 (main): Call the new functions.
12424 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12427 * Makerules (%.dynsym): Force C locale when running
12428 $(OBJDUMP) --dynamic-syms.
12430 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12432 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12435 2012-10-06 David S. Miller <davem@davemloft.net>
12437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12438 upper 32-bits of the length value in %o2 since we use branch-on-register
12439 tests which consider the entire 64-bit register.
12441 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12443 * string/test-strstr.c (check2): Add a test for page boundary.
12445 2012-10-05 David S. Miller <davem@davemloft.net>
12447 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12448 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12450 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12452 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12453 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12454 and bzero when HWCAP_SPARC_CRYPTO is present.
12456 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12459 * string/test-strstr.c (check2): New function.
12460 (test_main): Call check2.
12462 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12464 * string/bug-strcasestr1.c (do_test): Moved to ...
12465 * string/test-strcasestr.c (check1): Here. New function.
12466 (do_one_test): Break out result checking code into ...
12467 (check_result): This. New function.
12468 (do_one_test): Call check_result.
12469 (test_main): Call check1.
12470 * string/bug-strchr1.c (do_test): Moved to ...
12471 * string/test-strchr.c (check1): Here. New function.
12472 (do_one_test): Break out result checking code into ...
12473 (check_result): This. New function.
12474 (do_one_test): Call check_result.
12475 (test_main): Call check1.
12476 * string/bug-strstr1.c (main): Moved to ...
12477 * string/test-strstr.c (check1): Here. New function.
12478 (do_one_test): Break out result checking code into ...
12479 (check_result): This. New function.
12480 (do_one_test): Call check_result.
12481 (test_main): Call check1.
12482 * string/bug-strcasestr1.c: Removed.
12483 * string/bug-strchr1.c: Likewise.
12484 * string/bug-strstr1.c: Likewise.
12486 * elf/Makefile (dl-routines): Add hwcaps.
12487 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12488 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12489 (_dl_important_hwcaps): Moved to ...
12490 * elf/dl-hwcaps.c: Here. New file.
12491 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12494 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12495 if IS_IN_rtld isn't defined.
12497 * elf/dl-support.c (_dl_sysinfo_map): New.
12498 Include "get-dynamic-info.h" and "setup-vdso.h".
12499 (_dl_non_dynamic_init): Call setup_vdso.
12500 * elf/dynamic-link.h: Don't include <assert.h>.
12501 (elf_get_dynamic_info): Moved to ...
12502 * elf/get-dynamic-info.h: Here. New file.
12503 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12504 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12505 * elf/setup-vdso.h: Here. New file.
12506 * elf/rtld.c: Include "setup-vdso.h".
12507 (dl_main): Call setup_vdso.
12509 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12511 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12512 creal in comment listing functions tested. List finite, isinf,
12513 isnan, isless, islessequal, isgreater, isgreaterequal,
12514 islessgreater, isunordered, lgamma_r and pow10 as functions and
12515 macros not tested. Mention which functions not tested are aliases
12516 for other functions. Fix typo. Note that signs of NaNs are not
12519 * scripts/config.guess: Update from config.git.
12520 * scripts/config.sub: Likewise.
12522 2012-10-04 Roland McGrath <roland@hack.frob.com>
12524 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12525 * misc/madvise.c (madvise): Renamed to __madvise.
12526 Make madvise a weak alias.
12527 * include/sys/mman.h: Declare __madvise.
12528 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12529 * sysdeps/unix/syscalls.list
12530 (madvise): Make __madvise the strong name, and madvise a weak alias.
12531 * sysdeps/unix/sysv/linux/syscalls.list
12532 (madvise, mmap): Remove redundant entries.
12533 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12534 * malloc/malloc.c (mtrim): Likewise.
12535 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12537 2012-10-03 Roland McGrath <roland@hack.frob.com>
12539 * sysdeps/mach/hurd/dl-cache.c: File removed.
12540 * config.h.in (USE_LDCONFIG): New #undef.
12541 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12542 * configure: Regenerated.
12543 * elf/Makefile (dl-routines): Add dl-cache only under
12544 [$(use-ldconfig) = yes].
12545 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12546 cache on [USE_LDCONFIG].
12547 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12549 * elf/rtld.c (dl_main): Likewise.
12551 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12553 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12554 _SC_LEVEL4_CACHE_LINESIZE.
12556 2012-10-03 Roland McGrath <roland@hack.frob.com>
12558 * sysdeps/unix/bsd/confstr.h: File removed.
12560 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12562 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12565 2012-10-02 Roland McGrath <roland@hack.frob.com>
12567 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12568 Make 'mapoff' field ElfW(Off) rather than off_t.
12570 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12572 * nscd/Makefile: Remove nscd-cflags and all its users.
12573 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12574 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12577 * malloc.c (malloc_printerr): Clarify error message.
12579 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12583 Set bit_FMA_Usable if FMA is supported.
12584 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12586 (bit_FMA4_Usable): Updated.
12587 (index_FMA_Usable): New macro.
12588 (CPUID_FMA): Likewise
12589 (HAS_FMA): Defined with bit_FMA_Usable.
12591 2012-10-01 Roland McGrath <roland@hack.frob.com>
12593 * bits/types.h (__swblk_t): Type removed.
12594 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12595 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12597 (__SWBLK_T_TYPE): Likewise.
12598 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12599 (__SWBLK_T_TYPE): Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12601 (__SWBLK_T_TYPE): Likewise.
12602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12603 (__SWBLK_T_TYPE): Likewise.
12605 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12606 Honza Horak <hhorak@redhat.com>
12608 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12609 (xdr_mapname): Use YPMAXMAP as maxsize.
12610 (xdr_peername): Use YPMAXPEER as maxsize.
12611 (xdr_keydat): Use YPAXRECORD as maxsize.
12612 (xdr_valdat): Use YPMAXRECORD as maxsize.
12614 2012-10-01 Roland McGrath <roland@hack.frob.com>
12616 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12618 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12619 * csu/init-first.c: ... here.
12620 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12621 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12624 * sysdeps/i386/init-first.c: File removed.
12625 * sysdeps/sh/init-first.c: File removed.
12627 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12631 if x * y might underflow to zero and z is zero.
12632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12634 * math/libm-test.inc (min_subnorm_value): New variable.
12635 (fma_test): Add more tests.
12636 (fma_test_towardzero): Likewise.
12637 (fma_test_downward): Likewise
12638 (fma_test_upward): Likewise.
12639 (initialize): Set min_subnorm_value.
12641 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12646 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12647 mode for addition resulting in exact zero.
12648 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12653 * math/libm-test.inc (fma_test): Add more tests.
12654 (fma_test_towardzero): New function.
12655 (fma_test_downward): Likewise.
12656 (fma_test_upward): Likewise.
12657 (main): Call the new functions.
12659 2012-09-28 David S. Miller <davem@davemloft.net>
12661 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12663 2012-09-28 Roland McGrath <roland@hack.frob.com>
12665 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12666 instead of SIGALRM.
12668 * sysdeps/gnu/_G_config.h: Moved to ...
12669 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12670 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12671 * sysdeps/generic/_G_config.h: ... here.
12673 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12675 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12677 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12678 Conditionalize target on [libnss_test1.so-version].
12680 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12682 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12683 (elfobjdir): Move out of conditionals.
12685 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12686 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12687 (__nss_lookup_function): Conditionalize label remove_from_tree on
12688 [!DO_STATIC_NSS || SHARED], matching its only use.
12690 2012-09-28 David S. Miller <davem@davemloft.net>
12692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12693 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12695 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12699 when HWCAP_SPARC_CRYPTO is present.
12701 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12703 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12705 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12708 * stdio-common/vfprintf.c (process_string_arg): Revert
12711 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12713 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12715 * stdio-common/tst-sprintf.c: Include <locale.h>
12716 (main): Test sprintf's handling of incomplete multibyte
12719 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12721 * elf/dl-runtime.c (VERSYMIDX): Removed.
12722 * elf/dl-version.c (VERSYMIDX): Likewise.
12723 * elf/do-rel.h (VERSYMIDX): Likewise.
12724 (VALIDX): Likewise.
12725 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12726 * elf/rtld.c (VALIDX): Likewise.
12727 (ADDRIDX): Likewise.
12728 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12729 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12730 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12731 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12732 (VALIDX): Likewise.
12733 (ADDRIDX): Likewise.
12735 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12737 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12739 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12742 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12744 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12745 addresses are in the same scope as 192.0.2/24.
12746 * posix/gai.conf: Document new scope table defaults.
12748 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12751 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12752 for ftell. Compute offsets from write pointers instead.
12753 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12755 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12758 * libio/Makefile (tests): New test case tst-fseek.
12759 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12760 combination works in wide mode.
12761 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12762 state when the external buffer state changes.
12764 2012-09-27 David S. Miller <davem@davemloft.net>
12767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12768 pass reloc->r_addend in as the 'high' argument to
12769 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12773 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12775 * rt/tst-aio2.c: Include <pthread.h>.
12776 * rt/tst-aio3.c: Likewise.
12778 2012-09-27 Steve Ellcey <sellcey@mips.com>
12780 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12782 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12784 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12785 contents on [SHARED].
12787 2012-09-26 Marek Polacek <polacek@redhat.com>
12791 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12792 for C++ and GCC <4.3 as well as for non GCC compilers.
12794 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12798 2012-09-25 Roland McGrath <roland@hack.frob.com>
12800 * Makefile.in (all, install): Declare with .PHONY.
12801 Reported by Michael Hope <michael.hope@linaro.org>.
12803 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12805 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12806 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12808 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12810 (sydep_routines): Add the new and the internal functions.
12811 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12812 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12814 (GLIBC_2.17): Add the new function.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12816 (GLIBC_2.17): Likewise.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12818 (GLIBC_2.17): Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12820 (GLIBC_2.17): Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12823 2012-09-25 Alan Modra <amodra@gmail.com>
12825 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12826 Add release barrier before setting once_control to say
12827 initialisation is done. Add hints on lwarx. Use macro in
12829 (clear_once_control): Add release barrier.
12831 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12834 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12836 * math/s_clog10.c (__clog10): Likewise.
12837 * math/s_clog10f.c (__clog10f): Likewise.
12838 * math/s_clog10l.c (__clog10l): Likewise.
12839 * math/s_clogf.c (__clogf): Likewise.
12840 * math/s_clogl.c (__clogl): Likewise.
12841 * math/Makefile (libm-calls): Add x2y2m1.
12842 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12843 (__x2y2m1): Likewise.
12844 (__x2y2m1l): Likewise.
12845 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12846 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12851 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12852 * sysdeps/i386/fpu/libm-test-ulps: Update.
12853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12856 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12857 int as type of variable DEPTH.
12858 (glob): Use size_t instead of int as type of variables NEWCOUNT
12861 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12863 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12864 Add s_sincosf-sse2.
12865 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12866 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12867 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12868 macros for using routine as __sincosf_ia32.
12869 Use macro for function declaration and weak_alias.
12870 * sysdeps/i386/fpu/libm-test-ulps: Update.
12872 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12875 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12876 subnormal argument.
12877 * math/s_cexpf.c (__cexpf): Likewise.
12878 * math/s_csinf.c (__csinf): Likewise.
12879 * math/s_csinhf.c (__csinhf): Likewise.
12880 * math/s_ctanf.c (__ctanf): Likewise.
12881 * math/s_ctanhf.c (__ctanhf): Likewise.
12882 * math/s_ccosh.c (__ccoshf): Likewise.
12883 * math/s_cexp.c (__cexpl): Likewise.
12884 * math/s_csin.c (__csin): Likewise.
12885 * math/s_csinh.c (__csinh): Likewise.
12886 * math/s_ctan.c (__ctan): Likewise.
12887 * math/s_ctanh.c (ctanh): Likewise.
12888 * math/s_ccoshl.c (__ccoshl): Likewise.
12889 * math/s_cexpl.c (__cexpl): Likewise.
12890 * math/s_csinl.c (__csinl): Likewise.
12891 * math/s_csinhl.c (__csinhl): Likewise.
12892 * math/s_ctanl.c (__ctanl): Likewise.
12893 * math/s_ctanhl.c (__ctanhl): Likewise.
12895 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12897 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12898 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12899 (_IO_off_t): Define to __off_t, not _G_off_t.
12900 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12901 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12902 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12903 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12904 type of __dummy and __dummy2 fields.
12905 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12906 (_G_ssize_t): Likewise.
12907 (_G_off_t): Likewise.
12908 (_G_pid_t): Likewise.
12909 (_G_uid_t): Likewise.
12910 (_G_wchar_t): Likewise.
12911 (_G_wint_t): Likewise.
12912 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12913 (_G_ssize_t): Likewise.
12914 (_G_off_t): Likewise.
12915 (_G_pid_t): Likewise.
12916 (_G_uid_t): Likewise.
12917 (_G_wchar_t): Likewise.
12918 (_G_wint_t): Likewise.
12919 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12920 (_G_ssize_t): Likewise.
12921 (_G_off_t): Likewise.
12922 (_G_pid_t): Likewise.
12923 (_G_uid_t): Likewise.
12924 (_G_wchar_t): Likewise.
12925 (_G_wint_t): Likewise.
12927 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12929 * malloc/arena.c: Include malloc-sysdep.h.
12930 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12931 is sufficient to shrink the heap or an unmap is needed.
12932 * sysdeps/generic/malloc-sysdep.h: New file. Define
12933 new function check_may_shrink_heap.
12934 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12935 new function check_may_shrink_heap.
12937 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12939 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12942 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12944 * catgets/test-gencat.sh: Add "set -e".
12945 * elf/tst-pathopt.sh: Likewise.
12946 * grp/tst_fgetgrent.sh: Likewise.
12947 * iconvdata/run-iconv-test.sh: Likewise.
12948 * intl/tst-gettext.sh: Likewise.
12949 * intl/tst-gettext2.sh: Likewise.
12950 * intl/tst-gettext4.sh: Likewise.
12951 * intl/tst-gettext6.sh: Likewise.
12952 * intl/tst-translit.sh: Likewise.
12953 * io/ftwtest-sh: Likewise.
12954 * libio/test-freopen.sh: Likewise.
12955 * malloc/tst-mtrace.sh: Likewise.
12956 * posix/globtest.sh: Likewise.
12957 * posix/tst-getconf.sh: Likewise.
12958 * posix/wordexp-tst.sh: Likewise.
12959 * stdio-common/tst-printf.sh: Likewise.
12960 * stdio-common/tst-unbputc.sh: Likewise.
12961 * stdlib/tst-fmtmsg.sh: Likewise.
12962 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12963 * catgets/Makefile: Do not specify -e option when running
12964 testsuite shell scripts.
12965 * elf/Makefile: Likewise.
12966 * grp/Makefile: Likewise.
12967 * iconvdata/Makefile: Likewise.
12968 * intl/Makefile: Likewise.
12969 * io/Makefile: Likewise.
12970 * libio/Makefile: Likewise.
12971 * malloc/Makefile: Likewise.
12972 * posix/Makefile: Likewise.
12973 * stdio-common/Makefile: Likewise.
12974 * stdlib/Makefile: Likewise.
12975 * sysdeps/x86_64/Makefile: Likewise.
12977 * io/ftwtest-sh: Add copyright header.
12978 * posix/globtest.sh: Likewise.
12979 * posix/tst-getconf.sh: Likewise.
12980 * posix/wordexp-tst.sh: Likewise.
12981 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12983 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12986 * Makeconfig (+link): Defined as $(+link-static) if
12987 $(build-shared) isn't yes.
12988 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12990 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12992 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12995 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12996 new chunk size with MALLOC_ALIGN_MASK.
12998 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13001 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13003 (__printf_fphex): Determine rounding using get_rounding_mode and
13005 * stdio-common/tst-printf-round.c (struct hex_test): New
13007 (hex_tests): New variable.
13008 (test_hex_in_one_mode): New function.
13009 (do_test): Also run tests for hex float output.
13011 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13013 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13014 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13015 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13016 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13017 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13018 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13019 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13022 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13024 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13025 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13026 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13027 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13029 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13032 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13034 * elf/tst-rtld-load-self.sh: New test.
13035 * elf/Makefile: Run it.
13037 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13039 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13040 (tst-writev-ENV): Remove.
13041 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13043 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13045 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13047 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13049 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13051 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13053 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13054 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13055 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13058 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13061 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13062 * config.make.in (have-cpp-asm-debuginfo): Removed.
13063 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13064 * configure: Regenerated.
13066 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13069 * stdio-common/printf_fp.c: Include <stdbool.h> and
13071 (___printf_fp): Determine rounding using get_rounding_mode and
13073 * stdio-common/tst-printf-round.c: New file.
13074 * stdio-common/Makefile (tests): Add tst-printf-round.
13075 (link-libm): New variable.
13076 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13078 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13081 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13082 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13084 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13087 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13089 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13090 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13091 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13092 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13094 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13097 * include/rounding-mode.h: New file.
13098 * sysdeps/generic/get-rounding-mode.h: Likewise.
13099 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13100 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13101 (MAX_VALUE): New macro.
13102 (MIN_VALUE): Likewise.
13103 (overflow_value): New function.
13104 (underflow_value): Likewise.
13105 (round_and_return): Use overflow_value and underflow_value to
13106 determine return values in overflow and underflow cases. Use
13107 round_away to determine rounding depending on rounding mode.
13108 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13109 determine return values in overflow and underflow cases.
13110 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13111 (struct test_results): New structure.
13112 (struct test): Use struct test_results to store expected results
13113 for all rounding modes.
13114 (TEST): Include expected results for all rounding modes.
13115 (test_in_one_mode): New function.
13116 (do_test): Use test_in_one_mode to compute and check results.
13117 Check results for all rounding modes.
13118 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13121 2012-12-09 Allan McRae <allan@archlinux.org>
13123 * sysdeps/i386/fpu/libm-test-ulps: Update
13125 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13127 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13128 (_G_int32_t): Likewise.
13129 (_G_uint16_t): Likewise.
13130 (_G_uint32_t): Likewise.
13131 (_G_HAVE_BOOL): Likewise.
13132 (_G_HAVE_ATEXIT): Likewise.
13133 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13134 (_G_HAVE_IO_FILE_OPEN): Likewise.
13135 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13136 (_G_int32_t): Likewise.
13137 (_G_uint16_t): Likewise.
13138 (_G_uint32_t): Likewise.
13139 (_G_HAVE_BOOL): Likewise.
13140 (_G_HAVE_ATEXIT): Likewise.
13141 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13142 (_G_HAVE_IO_FILE_OPEN): Likewise.
13143 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13144 (_G_int32_t): Likewise.
13145 (_G_uint16_t): Likewise.
13146 (_G_uint32_t): Likewise.
13147 (_G_HAVE_BOOL): Likewise.
13148 (_G_HAVE_ATEXIT): Likewise.
13149 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13150 (_G_HAVE_IO_FILE_OPEN): Likewise.
13152 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13154 * csu/libc-tls.c: Update copyright years.
13156 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13158 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13159 [!_G_USING_THUNKS]: Remove conditional code.
13160 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13161 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13163 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13164 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13165 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13166 (_G_VTABLE_LABEL_PREFIX): Likewise.
13167 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13168 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13169 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13170 (_G_VTABLE_LABEL_PREFIX): Likewise.
13171 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13172 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13173 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13174 (_G_VTABLE_LABEL_PREFIX): Likewise.
13175 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13177 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13179 * libio/Makefile: Include ../Makeconfig before tests.
13180 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13181 only if $(build-shared) is yes.
13183 * iconv/gconv_db.c: Update copyright years.
13185 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13187 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13188 unwind info if defined PIC. Fix special cases description.
13189 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13191 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13193 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13195 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13197 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13199 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13202 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13203 (LDLIBS-tst-chk4): This.
13204 (LDFLAGS-tst-chk5): Renamed to ...
13205 (LDLIBS-tst-chk5): This.
13206 (LDFLAGS-tst-chk6): Renamed to ...
13207 (LDLIBS-tst-chk6): This.
13208 (LDFLAGS-tst-lfschk4): Renamed to ...
13209 (LDLIBS-tst-lfschk4): This.
13210 (LDFLAGS-tst-lfschk5): Renamed to ...
13211 (LDLIBS-tst-lfschk5): This.
13212 (LDFLAGS-tst-lfschk6): Renamed to ...
13213 (LDLIBS-tst-lfschk6): This.
13215 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13216 on $(common-objpfx)soversions.mk.
13218 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13221 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13224 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13226 * malloc/arena.c (arena_get_retry): New function that gets
13227 another arena for the caller to try its request on.
13228 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13229 current arena cannot fulfill the request.
13230 (__libc_memalign): Likewise.
13231 (__libc_memalign): Likewise.
13232 (__libc_pvalloc): Likewise.
13233 (__libc_calloc): Likewise.
13235 2012-09-05 John Tobey <john.tobey@gmail.com>
13238 * manual/arith.texi (Operations on Complex): Fix description
13239 of carg branch cut.
13241 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13244 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13248 * manual/memory.texi (Memory): Make order of menu items match
13251 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13253 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13254 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13255 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13257 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13259 * csu/libc-tls.c (static_dtv): Renamed to ...
13260 (_dl_static_dtv): This. Make it global.
13261 (_dl_initial_dtv): Removed.
13262 (__libc_setup_tls): Updated.
13263 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13264 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13267 2012-09-06 Petr Machata <pmachata@redhat.com>
13269 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13270 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13271 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13272 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13274 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13277 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13278 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13281 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13284 * Makeconfig (link-static-before-libc): Replace $(+prector)
13286 (link-static-after-libc): Replace $(+postctor) with
13288 (link-bounded): Replace $(+prector)/$(+postctor) with
13289 $(+prectorT)/$(+postctorT).
13290 (+prectorT): New macro.
13291 (+postctorT): Likewise.
13293 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13295 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13296 (round_str): Handle values above the maximum for IBM long double
13298 * stdlib/tst-strtod-round.c (tests): Regenerated.
13300 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13302 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13304 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13305 zarch_nohighgprs around the zarch optimized routines.
13306 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13307 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13308 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13311 2012-09-05 David S. Miller <davem@davemloft.net>
13313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13315 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13316 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13317 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13318 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13321 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13323 * malloc/arena.c: Fold copyright years.
13324 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13326 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13328 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13330 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13332 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13334 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13336 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13337 change internal state upon failure.
13339 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13341 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13342 * malloc/memusage.c (mmap): Likewise.
13343 (mmap64, mremap): Likewise. Adjust name in comment.
13345 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13347 * libio/fileops.c: Fix typos in comments.
13348 * libio/oldfileops.c: Likewise.
13349 * libio/wfileops.c: Likewise.
13351 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13354 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13355 (tst-malloc-usable-ENV): Set environment for test case.
13356 * malloc/hooks.c (malloc_check_get_size): New function to get
13358 * malloc/malloc.c (musable): Use malloc_check_get_size.
13359 * malloc/tst-malloc-usable.c: New test case.
13361 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13363 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13365 2012-09-05 Allan McRae <allan@archlinux.org>
13368 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13369 determine header location.
13370 * configure: Regenerated.
13372 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13374 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13376 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13377 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13379 (test): Regenerate.
13381 2012-09-04 David S. Miller <davem@davemloft.net>
13383 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13384 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13387 2012-09-04 Florian Weimer <fweimer@redhat.com>
13389 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13392 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13394 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13397 * libio/iogetdelim.c: Include <limits.h>.
13398 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13399 + len + 1 would overflow.
13401 2012-09-03 Andreas Jaeger <aj@suse.de>
13403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13404 * sysdeps/i386/fpu/libm-test-ulps: Update.
13406 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13408 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13409 Add s_sinf-sse2, s_conf-sse2.
13411 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13412 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13413 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13414 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13416 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13417 for using routine as __sinf_ia32.
13418 Use macro for function declaration and weak_alias.
13419 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13420 for using routine as __cosf_ia32.
13421 Use macro for function declaration and weak_alias.
13423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13424 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13426 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13427 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13430 * math/libm-test.inc (cos_test): Add more test cases.
13431 (sin_test): Likewise.
13432 (sincos_test): Likewise.
13434 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13437 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13439 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13441 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13444 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13445 first element of the GOT.
13446 (elf_machine_load_address): Return the difference between
13447 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13449 2012-09-01 Allan McRae <allan@archlinux.org>
13452 * configure.in (AWK): Require gawk version 3.0 or later.
13453 * configure: Regenerated.
13455 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13457 * sysdeps/unix/sysv/linux/kernel-features.h
13458 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13460 [__NR_clock_getres]: Make code unconditional.
13461 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13462 (clock_getcpuclockid): Remove code left unreachable by removal of
13464 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13465 code unconditional.
13466 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13467 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13468 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13469 Make code unconditional.
13470 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13471 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13472 * sysdeps/unix/sysv/linux/clock_settime.c
13473 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13475 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13476 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13478 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13481 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13482 scripts/test-installation.pl.
13484 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13485 and $ld_so_version if it is set.
13487 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13490 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13491 failure if reading from procfs failed.
13492 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13494 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13496 * sysdeps/unix/sysv/linux/kernel-features.h
13497 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13498 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13499 Remove conditional code.
13500 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13501 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13502 Remove conditional code.
13503 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13504 * sysdeps/unix/sysv/linux/i386/fxstat.c
13505 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13507 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13508 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13510 * sysdeps/unix/sysv/linux/i386/lxstat.c
13511 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13513 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13514 Remove conditional code.
13515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13516 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13517 Remove conditional code.
13518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13519 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13520 <kernel-features.h>.
13521 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13523 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13524 Remove conditional code.
13525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13526 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13527 Remove conditional.
13529 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13532 * NEWS: Add fixed bug number.
13534 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13537 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13538 underflowing exponent in case of negative sign.
13539 * stdlib/tst-strtod-round-data: Add more tests.
13540 * stdlib/tst-strtod-round.c (tests): Regenerated.
13543 * stdlib/strtod_l.c (NDIG): Remove.
13544 (HEXNDIG): Likewise.
13545 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13546 smallest representable value.
13547 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13548 lie within an exact representation of 1/2 ulp of the result.
13549 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13551 (TENS_P9_IDX): Define unconditionally.
13552 (TENS_P9_SIZE): Likewise.
13553 (TENS_P10_IDX): Likewise.
13554 (TENS_P10_SIZE): Likewise.
13555 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13556 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13557 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13558 entries for 10^2^13 and 10^2^14.
13559 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13560 (TENS_P13_IDX): Define.
13561 (TENS_P13_SIZE): Likewise.
13562 (TENS_P14_IDX): Likewise.
13563 (TENS_P14_SIZE): Likewise.
13564 (_fpioconst_pow10): Change array size to
13565 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13567 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13568 1024]: Add entries for 10^2^13 and 10^2^14.
13569 [LAST_POW10 > _LAST_POW10]: Remove #error.
13570 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13571 (_fpioconst_pow10): Change array size to
13572 FPIOCONST_POW10_ARRAY_SIZE.
13573 * stdlib/gen-fpioconst.c: New file.
13574 * stdlib/gen-tst-strtod-round.c: Likewise.
13575 * stdlib/tst-strtod-round-data: Likewise.
13576 * stdlib/tst-strtod-round.c: Likewise.
13577 * stdlib/Makefile (tests): Add tst-strtod-round.
13580 * stdlib/strtod_l.c: Include <stdint.h>.
13581 (NDEBUG): Do not define.
13582 (round_and_return): Change EXPONENT parameter to type intmax_t.
13583 Rearrange calculations to avoid internal overflow possibilities.
13584 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13585 Rearrange calculations to avoid internal overflow possibilities.
13586 Assert that number fits inside MPNSIZE limbs.
13587 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13588 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13589 calculations and add assertions to avoid internal overflow
13590 possibilities. Add casts to avoid signed/unsigned operations.
13591 * stdlib/tst-strtod-overflow.c: New file.
13592 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13594 2012-08-25 Marek Polacek <polacek@redhat.com>
13596 * time/time.h: Fix some typos in comments.
13598 2012-08-23 Roland McGrath <roland@hack.frob.com>
13600 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13601 * posix/tst-rfc3484-2.c: Likewise.
13602 * posix/tst-rfc3484-3.c: Likewise.
13604 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13606 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13607 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13609 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13611 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13612 #include of fxstatat64.c.
13614 2012-08-22 Roland McGrath <roland@hack.frob.com>
13616 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13617 * shadow/getspent_r.c: Likewise.
13618 * shadow/getspnam.c: Likewise.
13619 * shadow/getspnam_r.c: Likewise.
13620 * gshadow/getsgent.c: Likewise.
13621 * gshadow/getsgent_r.c: Likewise.
13622 * gshadow/getsgnam.c: Likewise.
13623 * gshadow/getsgnam_r.c: Likewise.
13624 * inet/getnetbyad.c: Likewise.
13625 * inet/getnetbyad_r.c: Likewise.
13626 * inet/getnetbynm.c: Likewise.
13627 * inet/getnetbynm_r.c: Likewise.
13628 * inet/getnetent.c: Likewise.
13629 * inet/getnetent_r.c: Likewise.
13630 * inet/getproto.c: Likewise.
13631 * inet/getproto_r.c: Likewise.
13632 * inet/getprtent.c: Likewise.
13633 * inet/getprtent_r.c: Likewise.
13634 * inet/getprtname.c: Likewise.
13635 * inet/getprtname_r.c: Likewise.
13636 * inet/getrpcbyname.c: Likewise.
13637 * inet/getrpcbyname_r.c: Likewise.
13638 * inet/getrpcbynumber.c: Likewise.
13639 * inet/getrpcbynumber_r.c: Likewise.
13640 * inet/getrpcent.c: Likewise.
13641 * inet/getrpcent_r.c: Likewise.
13642 * inet/getaliasent.c: Likewise.
13643 * inet/getaliasent_r.c: Likewise.
13644 * inet/getaliasname.c: Likewise.
13645 * inet/getaliasname_r.c: Likewise.
13646 * nscd/getgrgid_r.c: Likewise.
13647 * nscd/getgrnam_r.c: Likewise.
13648 * nscd/gethstbyad_r.c: Likewise.
13649 * nscd/gethstbynm3_r.c: Likewise.
13650 * nscd/getpwnam_r.c: Likewise.
13651 * nscd/getpwuid_r.c: Likewise.
13652 * nscd/getsrvbynm_r.c: Likewise.
13653 * nscd/getsrvbypt_r.c: Likewise.
13654 * nscd/gai.c: Likewise.
13656 * configure.in (build_nscd): New substituted variable, set
13657 by --disable-build-nscd and defaults to $use_nscd.
13658 * configure: Regenerated.
13659 * config.make.in (build-nscd): New substituted variable.
13660 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13661 Change conditional to require [$(build-nscd) = yes] as well.
13662 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13665 * configure.in (use_nscd): New substituted variable, set by
13666 --disable-nscd. If enabled, define USE_NSCD.
13667 * configure: Regenerated.
13668 * config.h.in: Add USE_NSCD.
13669 * config.make.in (use-nscd): New substituted variable.
13670 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13671 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13672 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13673 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13674 (CFLAGS-getgrnam_r.c): Likewise.
13675 (CFLAGS-initgroups.c): Likewise.
13676 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13677 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13679 * inet/getnetgrent_r.c
13680 (nscd_setnetgrent): New function, broken out of ...
13681 (setnetgrent): ... here. Call it.
13682 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13683 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13684 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13685 * nscd/Makefile (routines, aux): Move definitions after include of
13686 Makeconfig. Conditionalize on [$(use-nscd) != no].
13687 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13688 Conditionalize on [USE_NSCD].
13689 (is_nscd, nscd_init_cb): Likewise.
13690 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13691 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13692 * nss/nss_db/db-init.c: Likewise.
13693 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13695 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13696 (make_request): Use it.
13697 (cache_valid_p): New function.
13698 (__check_pf): Use it.
13699 * NEWS: Add item for --disable-nscd.
13701 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13703 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13704 to support sed >= 4.2.1-20-ga9bf076.
13705 * configure: Regenerated.
13707 2012-08-22 Roland McGrath <roland@hack.frob.com>
13709 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13710 Conditionalize whole body on [IREL].
13712 2012-08-22 Jeff Law <law@redhat.com>
13715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13716 if the family is PF_UNSPEC.
13718 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13720 * Makerules (lib-version): Rename from V.
13721 (install-lib-nosubdir): Change V to lib-version.
13723 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13726 * powerpc32/power6/wcschr.c: New file.
13727 * powerpc32/power6/wcscpy.c: New file.
13728 * powerpc32/power6/wcsrchr.c: New file.
13729 * powerpc64/power6/wcschr.c: New file.
13730 * powerpc64/power6/wcscpy.c: New file.
13731 * powerpc64/power6/wcsrchr.c: New file.
13733 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13735 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13736 (two_way_short_needle): Use it.
13737 * string/strstr.c (AVAILABLE1_USES_J): Define.
13738 * string/strcasestr.c: Likewise.
13740 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13742 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13745 * NEWS: Add an entry.
13746 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13747 define their defaults.
13748 (two_way_short_needle): Detect end-of-string on-the-fly.
13749 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13750 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13751 * string/bug-strcasestr1.c: New test.
13752 * string/Makefile: Run it.
13754 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13757 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13758 the first character.
13760 2012-08-21 Roland McGrath <roland@hack.frob.com>
13762 * csu/elf-init.c (__libc_csu_irel): Function removed.
13763 * csu/libc-start.c (apply_irel): New function.
13764 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13766 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13768 * sysdeps/unix/sysv/linux/kernel-features.h
13769 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13770 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13771 <kernel-features.h>.
13772 [__NR_fadvise64_64]: Make code unconditional.
13773 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13774 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13775 !__NR_fadvise64_64)]: Likewise.
13776 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13777 !__NR_fadvise64_64))]: Likewise.
13778 [__NR_fadvise64]: Make code unconditional.
13779 [!__NR_fadvise64]: Remove conditional code.
13780 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13781 <kernel-features.h>.
13782 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13784 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13787 not include <kernel-features.h>.
13788 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13790 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13792 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13793 include <kernel-features.h>.
13794 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13796 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13799 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13801 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13802 slight instruction rearrangements per scrollpipe analysis.
13803 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13805 2012-08-20 Roland McGrath <roland@hack.frob.com>
13807 * manual/syslog.texi (syslog; vsyslog, closelog):
13808 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13809 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13811 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13812 DSOCAPS to match condition on defining it.
13814 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13816 * sysdeps/unix/sysv/linux/kernel-features.h
13817 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13819 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13820 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13822 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13823 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13825 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13826 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13828 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13829 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13831 * sysdeps/unix/sysv/linux/kernel-features.h
13832 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13833 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13835 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13836 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13837 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13838 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13839 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13840 Make code unconditional.
13841 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13842 (__mmap64) [!__NR_mmap2]: Likewise.
13843 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13844 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13845 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13846 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13847 [__NR_mmap2]: Make code unconditional.
13848 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13849 (__mmap64) [!__NR_mmap2]: Likewise.
13851 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13853 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13855 2012-08-18 Andreas Jaeger <aj@suse.de>
13857 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13859 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13861 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13862 * include/unistd.h (__have_sock_cloexec): Likewise.
13863 (__have_pipe2): Likewise.
13864 (__have_dup3): Likewise.
13866 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13869 * include/unistd.h (__have_pipe2): Change define into an extern int.
13870 (__have_dup3): Likewise.
13871 * socket/have_sock_cloexec.c: Include fcntl.h.
13872 (__have_pipe2): New variable.
13873 (__have_dup3): Likewise.
13875 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13877 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13879 2012-08-17 Marek Polacek <polacek@redhat.com>
13881 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13882 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13884 2012-08-17 Roland McGrath <roland@hack.frob.com>
13886 * configure.in: Add AC_SUBST for sysheaders.
13887 * configure: Regenerated.
13888 * config.make.in (sysheaders): New substituted variable.
13890 * sysdeps/unix/mkfifo.c: Moved ...
13891 * sysdeps/posix/mkfifo.c: ... here.
13892 * sysdeps/unix/mkfifoat.c: Moved ...
13893 * sysdeps/posix/mkfifoat.c: ... here.
13895 * sysdeps/unix/utime.c: Moved ...
13896 * sysdeps/posix/utime.c: ... here.
13898 * sysdeps/unix/time.c: Moved ...
13899 * sysdeps/posix/time.c: ... here.
13900 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13901 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13903 * sysdeps/unix/nice.c: Moved ...
13904 * sysdeps/posix/nice.c: ... here.
13906 * sysdeps/unix/alarm.c: Moved ...
13907 * sysdeps/posix/alarm.c: ... here.
13909 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13911 2012-08-17 Jeff Law <law@redhat.com>
13913 * intl/Makefile (codeset_mo): New variable.
13914 ($(codeset_mo)): New target.
13915 (tst-codeset.out): Depend on that. Remove explicit rule.
13916 (tst-gettext3.out, tst-gettext5.out): Likewise.
13917 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13918 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13919 * intl/tst-codeset.sh: Remove.
13920 * intl/tst-gettext3.sh: Likewise.
13921 * intl/tst-gettext5.sh: Likewise.
13923 2012-08-17 Roland McGrath <roland@hack.frob.com>
13925 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13926 * sysdeps/unix/syscalls.list: ... here.
13928 * sysdeps/posix/getaddrinfo.c
13929 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13930 (gaiconf_init, gaiconf_reload): Use them.
13931 [!_STATBUF_ST_NSEC]
13932 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13933 Define using time_t rather than struct timespec.
13935 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13936 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13938 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13940 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13941 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13944 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13945 __libc_cleanup_push argument.
13947 * bits/param.h: New file.
13948 * misc/sys/param.h: New file.
13949 * include/sys/param.h: New file.
13950 * misc/Makefile (headers): Add bits/param.h.
13951 * sysdeps/generic/sys/param.h: File removed.
13952 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13953 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13954 * sysdeps/mach/hurd/bits/param.h: New file.
13955 * sysdeps/mach/hurd/sys/param.h: File removed.
13957 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13960 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13962 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13963 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13966 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13967 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13968 rather than -D_IO_MTSAFE_IO conditionally.
13969 * stdio-common/Makefile (CPPFLAGS): Likewise.
13970 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13971 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13972 Use $(libio-mtsafe).
13973 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13974 of -D_IO_MTSAFE_IO.
13975 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13976 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13977 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13978 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13979 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13980 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13981 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13982 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13983 (CFLAGS-fread_u_chk.c): Likewise.
13984 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13985 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13986 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13987 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13988 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13989 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13990 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13991 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13992 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13994 * libio/Makefile: Test [$(libc-reentrant) = yes]
13995 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13998 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13999 * sysdeps/pthread/configure: File removed.
14000 * sysdeps/pthread/Makeconfig: New file.
14001 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14002 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14004 2012-08-16 Gary Benson <gbenson@redhat.com>
14006 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14007 unmapping the first object in a namespace.
14009 2012-08-16 Roland McGrath <roland@hack.frob.com>
14011 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14012 (__internal_setnetgrent): ... this. Add internal_function to
14013 definition. Add libc_hidden_def.
14014 (setnetgrent): Update caller.
14015 (internal_endnetgrent): Renamed to ...
14016 (__internal_endnetgrent): ... this. Add internal_function to
14017 definition. Add libc_hidden_def.
14018 (endnetgrent): Update caller.
14019 (internal_getnetgrent_r): Renamed to ...
14020 (__internal_getnetgrent_r): ... this. Add internal_function to
14021 definition. Add libc_hidden_def.
14022 (__getnetgrent_r): Update caller.
14023 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14025 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14027 * stdlib/longlong.h: Update from GCC.
14029 2012-08-16 Roland McGrath <roland@hack.frob.com>
14031 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14032 on _QL, which is set by umul_ppmm but never used.
14033 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14034 variables, which are set by GMP macros but never used.
14035 * stdio-common/_itowa.c (_itowa): Likewise.
14036 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14037 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14039 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14041 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14042 struct La_sh_regs is not constant.
14043 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14044 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14045 and struct La_sparc64_regs are not constant.
14047 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14049 * sysdeps/unix/sysv/linux/kernel-features.h
14050 (__ASSUME_POSIX_TIMERS): Remove.
14051 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14052 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14053 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14054 Make code unconditional.
14055 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14056 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14057 Make code unconditional.
14058 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14059 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14060 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14061 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14062 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14063 Make code unconditional.
14064 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14065 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14066 (__libc_missing_posix_timers): Remove.
14068 2012-08-15 Roland McGrath <roland@hack.frob.com>
14070 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14071 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14073 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14075 * elf/dl-sym.c: Include <stdlib.h>.
14077 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14078 constants, which avoids warnings in 32-bit builds.
14080 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14081 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14083 * misc/lseek.c: File moved to ...
14084 * io/lseek.c: ... here.
14086 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14088 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14089 shifting LEN more than 31 bits at once.
14091 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14094 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14095 segmentation fault for a case of two empty input strings.
14096 * string/test-strncasecmp.c (check1): Renamed to...
14097 (bz12205): ...this.
14098 (bz14195): Add new testcase for two empty input strings and N > 0.
14099 (test_main): Call new testcase, adapt for renamed function.
14101 2012-08-15 Andreas Jaeger <aj@suse.de>
14104 * crypt/md5test2.c: New test, based on test supplied by Serge
14105 Belyshev <belyshev@depni.sinp.msu.ru>.
14106 * crypt/Makefile (xtests): Add md5test-giant..
14107 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14109 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14112 * crypt/md5.c (md5_process_block): Don't assume the buffer
14113 length is less than 2**32.
14114 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14115 length is less than 2**64.
14117 2012-08-15 Roland McGrath <roland@hack.frob.com>
14119 * string/str-two-way.h: Include <sys/param.h>.
14120 (MAX): Macro removed.
14122 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14123 Move #define and #undef of memmove to just before and after
14124 including <string.h>.
14126 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14127 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14128 and after including <string.h>. Move declarations of
14129 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14130 to before #include "string/memmove.c".
14132 * include/dirent.h: Declare __getdirentries.
14134 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14135 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14137 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14139 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14140 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14141 * sysdeps/i386/configure: Regenerated.
14142 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14143 STABS_CURRENT_FILE, and STABS_FUN.
14144 (END): Remove call to STABS_FUN_END.
14145 (STABS_CURRENT_FILE1): Delete.
14146 (STABS_CURRENT_FILE): Likewise.
14147 (STABS_FUN): Likewise.
14148 (STABS_FUN_END): Likewise.
14149 (STABS_FUN2): Likewise.
14150 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14151 * sysdeps/x86_64/configure: Regenerated.
14153 2012-08-14 Roland McGrath <roland@hack.frob.com>
14155 * elf/dl-open.c: Include <atomic.h>.
14156 * elf/dl-lookup.c: Likewise.
14158 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14160 * sysdeps/unix/sysv/linux/kernel-features.h
14161 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14162 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14164 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14166 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14167 condition on __ASSUME_CLONE_THREAD_FLAGS.
14169 2012-08-14 Andreas Jaeger <aj@suse.de>
14171 * sysdeps/i386/fpu/libm-test-ulps: Update.
14173 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14175 * include/atomic.h (atomic_exchange_and_add): Split into ...
14176 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14179 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14183 2012-08-13 Jeff Law <law@redhat.com>
14185 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14186 null byte in the output string.
14188 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14190 * sysdeps/unix/sysv/linux/kernel-features.h
14191 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14192 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14193 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14194 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14195 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14196 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14197 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14199 2012-08-09 Jeff Law <law@redhat.com>
14202 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14203 When avoid_arena is set, don't retry in the that arena. Pick the
14204 next one, whatever it might be.
14205 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14206 (arena_lock): Pass in new parameter to arena_get2.
14207 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14209 (__libc_malloc): Unify retrying after main arena failure with
14210 __libc_memalign version.
14211 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14213 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14216 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14217 to __redirect_strstr.
14218 (__strstr_sse42): Use typeof __redirect_strstr.
14219 (__strstr_ia32): Likewise.
14220 (__libc_strstr): New prototype.
14221 (strstr): Renamed to ...
14222 (__libc_strstr): This.
14223 (strstr): New strong alias of __libc_strstr.
14224 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14225 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14228 (__libc_time): New prototype.
14229 (time_ifunc): Replace time with __libc_time.
14230 (time): New strong alias and hidden definition of __libc_time.
14231 (__GI_time): Remove strong alias.
14232 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14233 Include <stddef.h>.
14234 (memmove): Redefined to __redirect_memmove.
14235 (__memmove_sse2): Use typeof __redirect_memmove.
14236 (__memmove_ssse3): Likewise.
14237 (__memmove_ssse3_back): Likewise.
14238 (__libc_memmove): New prototype.
14239 (memmove): Renamed to ...
14240 (__libc_memmove): This.
14241 (memmove): New strong alias of __libc_memmove.
14243 2012-08-08 Mark Salter <msalter@redhat.com>
14246 (R_MN10300_TLS_GD): Define.
14247 (R_MN10300_TLS_LD): Likewise.
14248 (R_MN10300_TLS_LDO): Likewise.
14249 (R_MN10300_TLS_GOTIE): Likewise.
14250 (R_MN10300_TLS_IE): Likewise.
14251 (R_MN10300_TLS_LE): Likewise.
14252 (R_MN10300_TLS_DTPMOD): Likewise.
14253 (R_MN10300_TLS_DTPOFF): Likewise.
14254 (R_MN10300_TLS_TPOFF): Likewise.
14255 (R_MN10300_SYM_DIFF): Likewise.
14256 (R_MN10300_ALIGN): Likewise.
14257 (R_MN10300_NUM): Update.
14259 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14264 2012-08-08 Roland McGrath <roland@hack.frob.com>
14266 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14268 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14269 sysdeps/unix -> sysdeps/posix move.
14270 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14272 2012-08-07 Allan McRae <allan@archlinux.org>
14275 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14276 (SUNOS_CPP): Likewise.
14277 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14279 (open_input): Call CPP using execvp.
14281 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14283 * sysdeps/unix/sysv/linux/kernel-features.h
14284 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14285 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14286 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14287 (__ASSUME_WAITID_SYSCALL): Likewise.
14288 * sysdeps/unix/sysv/linux/dl-execstack.c
14289 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14290 code unconditional.
14291 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14294 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14295 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14297 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14299 [__ASSUME_WAITID_SYSCALL]: Likewise.
14300 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14302 2012-08-07 Roland McGrath <roland@hack.frob.com>
14304 * sysdeps/unix/closedir.c: Renamed to ...
14305 * sysdeps/posix/closedir.c: ... here.
14306 * sysdeps/unix/dirfd.c: Renamed to ...
14307 * sysdeps/posix/dirfd.c: ... here.
14308 * sysdeps/unix/dirstream.h: Renamed to ...
14309 * sysdeps/posix/dirstream.h: ... here.
14310 * sysdeps/unix/fdopendir.c: Renamed to ...
14311 * sysdeps/posix/fdopendir.c: ... here.
14312 * sysdeps/unix/opendir.c: Renamed to ...
14313 * sysdeps/posix/opendir.c: ... here.
14314 * sysdeps/unix/readdir.c: Renamed to ...
14315 * sysdeps/posix/readdir.c: ... here.
14316 * sysdeps/unix/readdir_r.c: Renamed to ...
14317 * sysdeps/posix/readdir_r.c: ... here.
14318 * sysdeps/unix/rewinddir.c: Renamed to ...
14319 * sysdeps/posix/rewinddir.c: ... here.
14320 * sysdeps/unix/seekdir.c: Renamed to ...
14321 * sysdeps/posix/seekdir.c: ... here.
14322 * sysdeps/unix/telldir.c: Renamed to ...
14323 * sysdeps/posix/telldir.c: ... here.
14324 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14325 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14326 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14327 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14329 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14330 * bits/fcntl.h: ... here.
14332 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14334 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14335 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14336 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14337 (struct flock): Move l_start, l_len to the beginning.
14338 Use __pid_t for l_pid.
14339 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14340 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14341 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14342 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14343 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14344 [__USE_LARGEFILE64] (struct flock64): New type.
14345 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14347 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14348 * bits/dirent.h: ... here.
14350 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14351 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14353 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14356 Change from 2.6.0 to 2.6.16.
14357 * sysdeps/unix/sysv/linux/configure: Regenerated.
14358 * sysdeps/unix/sysv/linux/kernel-features.h
14359 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14360 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14362 (__ASSUME_UTIMES): Likewise.
14363 (__ASSUME_CLONE_STOPPED): Remove.
14364 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14365 architectures, not kernel version.
14366 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14367 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14368 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14369 (__ASSUME_WAITID_SYSCALL): Likewise.
14370 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14371 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14372 * README: State 2.6.16 as minimum Linux kernel version. Do not
14373 refer to older versions.
14375 2012-08-06 Roland McGrath <roland@hack.frob.com>
14377 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14378 Define alphasort64 as an alias.
14379 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14380 Define versionsort64 as an alias.
14381 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14382 Define scandir64 as an alias.
14383 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14384 Define scandirat64 as an alias.
14385 * dirent/alphasort64.c (alphasort64):
14386 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14387 * dirent/versionsort64.c: Likewise.
14388 * dirent/scandir64.c: Likewise.
14389 * dirent/scandirat64.c: Likewise.
14390 * sysdeps/wordsize-64/alphasort.c: File removed.
14391 * sysdeps/wordsize-64/alphasort64.c: File removed.
14392 * sysdeps/wordsize-64/scandir.c: File removed.
14393 * sysdeps/wordsize-64/scandir64.c: File removed.
14394 * sysdeps/wordsize-64/scandirat.c: File removed.
14395 * sysdeps/wordsize-64/scandirat64.c: File removed.
14396 * sysdeps/wordsize-64/versionsort.c: File removed.
14397 * sysdeps/wordsize-64/versionsort64.c: File removed.
14398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14400 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14402 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14407 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14409 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14411 [defined __arch64__ || defined __sparcv9]
14412 (__INO_T_MATCHES_INO64_T): New macro.
14413 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14414 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14415 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14416 * sysdeps/unix/sysv/linux/bits/dirent.h
14417 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14418 (_DIRENT_MATCHES_DIRENT64): New macro.
14420 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14421 Define lockf64 as an alias.
14422 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14423 Define fseeko64 as an alias.
14424 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14425 Define ftello64 as an alias.
14426 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14427 Define _IO_fgetpos64 and fgetpos64 as aliases.
14428 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14429 Define _IO_fsetpos64 and fsetpos64 as aliases.
14430 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14431 Conditionalize body on this.
14432 * libio/fseeko64.c: Likewise.
14433 * libio/ftello64.c: Likewise.
14434 * libio/iofgetpos64.c: Likewise.
14435 * libio/iofsetpos64.c: Likewise.
14436 * sysdeps/wordsize-64/lockf.c: File removed.
14437 * sysdeps/wordsize-64/lockf64.c: File removed.
14438 * sysdeps/wordsize-64/fseeko.c: File removed.
14439 * sysdeps/wordsize-64/fseeko64.c: File removed.
14440 * sysdeps/wordsize-64/ftello.c: File removed.
14441 * sysdeps/wordsize-64/ftello64.c: File removed.
14442 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14443 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14444 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14445 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14446 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14448 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14450 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14452 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14454 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14457 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14459 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14461 [defined __arch64__ || defined __sparcv9]
14462 (__OFF_T_MATCHES_OFF64_T): New macro.
14463 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14464 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14466 (__OFF_T_MATCHES_OFF64_T): New macro.
14468 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14470 * stdlib/secure-getenv.c (__secure_getenv): Replace
14471 GLIBC_2_16 with GLIBC_2_17.
14473 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14475 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14476 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14478 2012-08-03 David S. Miller <davem@davemloft.net>
14480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14482 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14484 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14486 (__ASSUME_CORRECT_SI_PID): Likewise.
14487 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14488 (__ASSUME_TMPFS_NAME): Likewise.
14489 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14490 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14491 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14492 (HAVE_AUX_SECURE): Make definition unconditional.
14493 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14494 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14496 2012-08-03 Roland McGrath <roland@hack.frob.com>
14498 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14499 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14500 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14501 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14502 __eloop_threshold instead of SYMLOOP_MAX.
14504 * sysdeps/generic/eloop-threshold.h: New file.
14505 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14507 * elf/chroot_canon.c (chroot_canon): Likewise.
14509 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14513 Change to 2.6.0 everywhere.
14514 * sysdeps/unix/sysv/linux/configure: Regenerated.
14515 * sysdeps/unix/sysv/linux/kernel-features.h
14516 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14517 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14519 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14520 (__ASSUME_FUTEX_REQUEUE): Remove.
14521 (__ASSUME_STATFS64): Define unconditionally.
14522 (__ASSUME_AT_SECURE): Likewise.
14523 (__ASSUME_CORRECT_SI_PID): Likewise.
14524 (__ASSUME_TGKILL): Define without depending on kernel version for
14526 (__ASSUME_UTIMES): Likewise.
14527 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14529 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14530 (__ASSUME_TMPFS_NAME): Likewise.
14531 * README: Update reference to Linux kernel versions.
14533 2012-08-02 Marek Polacek <polacek@redhat.com>
14536 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14537 libc_cv_asm_type_prefix with %.
14538 * configure: Regenerated.
14539 * include/libc-symbols.h: Remove comment about
14540 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14541 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14542 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14543 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14544 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14545 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14546 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14547 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14548 * elf/tst-unique2mod1.c: Likewise.
14549 * elf/tst-unique1mod2.c: Likewise.
14550 * elf/tst-unique1mod1.c: Likewise.
14551 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14552 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14553 Replace ASM_TYPE_DIRECTIVE with .type.
14554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14555 * sysdeps/i386/sysdep.h: Likewise.
14556 * sysdeps/x86_64/sysdep.h: Likewise.
14557 * sysdeps/sh/sysdep.h: Likewise.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14559 Do not define ASM_TYPE_DIRECTIVE.
14560 * sysdeps/powerpc/sysdep.h: Likewise.
14561 * sysdeps/powerpc/powerpc32/sysdep.h:
14562 Replace ASM_TYPE_DIRECTIVE with .type.
14563 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14564 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14565 * sysdeps/i386/fpu/e_powf.S: Likewise.
14566 * sysdeps/i386/fpu/e_expl.S: Likewise.
14567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14568 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14569 * sysdeps/i386/fpu/e_pow.S: Likewise.
14570 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14571 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14572 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14573 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14574 * sysdeps/i386/fpu/e_log2.S: Likewise.
14575 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14577 * sysdeps/i386/fpu/e_powl.S: Likewise.
14578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14579 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14580 * sysdeps/i386/fpu/e_logl.S: Likewise.
14581 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14582 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14583 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14586 * sysdeps/i386/fpu/e_log.S: Likewise.
14587 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14588 * sysdeps/i386/fpu/e_logf.S: Likewise.
14589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14590 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14591 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14592 * sysdeps/i386/fpu/e_log10.S: Likewise.
14593 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14595 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14596 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14598 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14599 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14600 * sysdeps/i386/i686/strtok.S: Likewise.
14601 * sysdeps/i386/i386-mcount.S: Likewise.
14602 * sysdeps/i386/strtok.S: Likewise.
14603 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14604 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14605 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14606 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14607 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14608 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14609 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14610 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14611 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14612 * sysdeps/x86_64/_mcount.S: Likewise.
14613 * sysdeps/x86_64/strtok.S: Likewise.
14614 * sysdeps/sh/_mcount.S: Likewise.
14616 2012-08-01 Roland McGrath <roland@hack.frob.com>
14618 * libio/iofopen.c: Include <fcntl.h>.
14619 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14620 (_IO_fopen64, fopen64): Define as aliases.
14621 * libio/iofopen64.c: Include <fcntl.h>.
14622 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14623 Conditionalize body on this.
14624 * sysdeps/wordsize-64/iofopen.c: File removed.
14625 * sysdeps/wordsize-64/iofopen64.c: File removed.
14627 2012-08-01 Marek Polacek <polacek@redhat.com>
14629 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14630 Use dlfcn directly instead of a variable.
14631 (binfmt-subdir): Do not define.
14634 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14636 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14637 Remove all definitions.
14638 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14639 <kernel-features.h>.
14640 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14641 (miss_F_GETOWN_EX): Remove all definitions.
14642 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14644 [!__ASSUME_FCNTL64]: Remove conditional code.
14645 [__ASSUME_FCNTL64]: Make code unconditional.
14646 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14647 <kernel-features.h>.
14648 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14649 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14650 (lockf64) [__NR_fcntl64]: Make code unconditional.
14651 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14653 * sysdeps/unix/sysv/linux/kernel-features.h
14654 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14655 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14656 Make code unconditional.
14657 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14658 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14660 [__NR_vfork]: Make code unconditional.
14661 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14662 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14664 [__NR_vfork]: Make code unconditional.
14665 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14666 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14668 2012-08-01 Roland McGrath <roland@hack.frob.com>
14670 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14671 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14673 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14674 Define mkstemp64 as an alias.
14675 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14676 Define mkstemps64 as an alias.
14677 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14678 Define mkostemp64 as an alias.
14679 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14680 Define mkostemps64 as an alias.
14681 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14682 Conditionalize body on this.
14683 * misc/mkostemp64.c: Likewise.
14684 * misc/mkostemps64.c: Likewise.
14685 * misc/mkstemps64.c: Likewise.
14686 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14687 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14688 * sysdeps/wordsize-64/mkostemp.c: File removed.
14689 * sysdeps/wordsize-64/mkstemp.c: File removed.
14690 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14696 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14697 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14698 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14699 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14701 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14702 compat_symbol macros from <shlib-compat.h> rather than the underlying
14703 default_symbol_version and symbol_version macros, so that DEFAULT
14704 lines in shlib-versions are respected.
14705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14707 2012-08-01 Florian Weimer <fweimer@redhat.com>
14709 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14710 Declare with warn_unused_result.
14711 (setgid, setregid, setegid, setresgid): Likewise.
14712 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14714 * WUR-REPORT: Remove set*id functions.
14716 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14718 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14720 2012-07-31 Roland McGrath <roland@hack.frob.com>
14723 * include/sys/socket.h (__libc_accept, __libc_accept4):
14724 Add attribute_hidden.
14725 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14729 * inet/getnetgrent_r.c (setup): Likewise.
14731 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14733 2012-07-31 David S. Miller <davem@davemloft.net>
14735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14737 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14740 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14741 value between 1.0 and 2.0 and smaller part has absolute value less
14743 * math/s_clog10.c (__clog10): Likewise.
14744 * math/s_clog10f.c (__clog10f): Likewise.
14745 * math/s_clog10l.c (__clog10l): Likewise.
14746 * math/s_clogf.c (__clogf): Likewise.
14747 * math/s_clogl.c (__clogl): Likewise.
14748 * math/libm-test.inc (clog_test): Add more tests.
14749 (clog10_test): Likewise.
14750 * sysdeps/i386/fpu/libm-test-ulps: Update.
14751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14753 2012-07-31 Florian Weimer <fweimer@redhat.com>
14755 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14756 Exit with zero in case no suitable GID is found, and write a
14757 message to standard error.
14759 2012-07-30 Roland McGrath <roland@hack.frob.com>
14761 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14763 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14764 (MAXPATHLEN): Removed.
14765 (NOGROUP, NODEV): New macros.
14766 (setbit, clrbit, isset, isclr): New macros.
14767 (howmany, roundup, powerof2): New macros.
14768 (DEV_BSIZE): New macro.
14770 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14771 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14773 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14774 definition on [!__NO_LONG_DOUBLE_MATH].
14776 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14777 PTR_MANGLE and PTR_DEMANGLE.
14779 * socket/accept4.c (accept4): Rename to __libc_accept4.
14780 Define accept4 as a weak alias.
14782 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14783 on [_DIRENT_HAVE_D_TYPE].
14784 * io/ftw.c (ftw_dir): Likewise.
14786 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14788 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14790 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14791 Use the BSD numbers rather than the arbitrary ones we had.
14792 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14793 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14794 (SIGXCPU, SIGXFSZ): New macros.
14797 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14798 initializer on [_LIBC_REENTRANT].
14800 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14801 definitions inside [_POSIX_MAPPED_FILES].
14803 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14805 * dirent/opendir.c: Include <fcntl.h>.
14807 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14808 (__libc_getspecific): Likewise.
14809 (__libc_key_create): Likewise.
14811 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14812 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14813 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14814 (tmpfile64): Define as alias.
14815 * sysdeps/wordsize-64/tmpfile.c: File removed.
14816 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14820 * stdio-common/vfscanf.c: Include <stdbool.h>.
14821 * nss/makedb.c: Likewise.
14822 * stdio-common/_i18n_number.h: Likewise.
14823 * argp/argp-help.c: Likewise.
14824 * posix/wordexp.c: Likewise.
14825 * sysdeps/posix/spawni.c: Likewise.
14826 * nss/nss_files/files-initgroups.c: Likewise.
14827 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14828 * nss/nss_files/files-initgroups.c: Likewise.
14829 * nss/nss_db/db-netgrp.c: Likewise.
14830 * nss/nss_db/db-initgroups.c: Likewise.
14831 * io/fchmodat.c: Include <sys/stat.h>.
14833 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14834 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14836 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14839 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14840 Add multiple inclusion protection.
14842 2012-07-27 David S. Miller <davem@davemloft.net>
14844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14846 2012-07-27 Gary Benson <gbenson@redhat.com>
14849 * elf/rtld.c: Include <stap-probe.h>.
14850 (dl_main): Added static probes "init_start" and "init_complete".
14851 * elf/dl-load.c: Include <stap-probe.h>.
14852 (lose): Take new parameter "nsid".
14853 Added static probe "map_failed".
14854 (_dl_map_object_from_fd): Pass namespace id to lose.
14855 Added static probe "map_start".
14856 (open_verify): Pass namespace id to lose.
14857 * elf/dl-open.c: Include <stap-probe.h>.
14858 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14859 and "reloc_complete".
14860 * elf/dl-close.c: Include <stap-probe.h>.
14861 (_dl_close_worker): Added static probes "unmap_start" and
14863 * elf/rtld-debugger-interface.txt: New file documenting the above.
14865 2012-07-26 Roland McGrath <roland@hack.frob.com>
14867 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14868 rather than a string variable.
14869 * sunrpc/rpc_main.c (h_output): Likewise.
14870 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14872 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14874 * inet/check_native.c: New file.
14876 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14879 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14880 if larger part has absolute value 1.0.
14881 * math/s_clog10.c (__clog10): Likewise.
14882 * math/s_clog10f.c (__clog10f): Likewise.
14883 * math/s_clog10l.c (__clog10l): Likewise.
14884 * math/s_clogf.c (__clogf): Likewise.
14885 * math/s_clogl.c (__clogl): Likewise.
14886 * math/libm-test.inc (clog_test): Add more tests.
14887 (clog10_test): Likewise.
14888 * sysdeps/i386/fpu/libm-test-ulps: Update.
14889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14892 (pltexit): Likewise.
14893 (La_regs): Likewise.
14894 (La_retval): Likewise.
14895 (int_retval): Likewise.
14896 Update #error for removed macros to refer only to definitions in
14898 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14900 (pltexit): Likewise.
14901 (La_regs): Likewise.
14902 (La_retval): Likewise.
14903 (int_retval): Likewise.
14904 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14906 (pltexit): Likewise.
14907 (La_regs): Likewise.
14908 (La_retval): Likewise.
14909 (int_retval): Likewise.
14910 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14912 (pltexit): Likewise.
14913 (La_regs): Likewise.
14914 (La_retval): Likewise.
14915 (int_retval): Likewise.
14916 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14918 (pltexit): Likewise.
14919 (La_regs): Likewise.
14920 (La_retval): Likewise.
14921 (int_retval): Likewise.
14922 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14924 (pltexit): Likewise.
14925 (La_regs): Likewise.
14926 (La_retval): Likewise.
14927 (int_retval): Likewise.
14928 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14930 (pltexit): Likewise.
14931 (La_regs): Likewise.
14932 (La_retval): Likewise.
14933 (int_retval): Likewise.
14934 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14935 macro definitions in tst-audit.h.
14936 * sysdeps/i386/tst-audit.h: New file.
14937 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14938 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14939 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14940 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14941 * sysdeps/sh/tst-audit.h: Likewise.
14942 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14943 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14944 * sysdeps/x86_64/tst-audit.h: Likewise.
14946 2012-07-26 Andreas Jaeger <aj@suse.de>
14948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14951 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14952 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14953 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14955 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14956 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14957 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14959 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14962 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14964 (si_call_addr, si_syscall, si_arch): Define new macro.
14965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14967 (si_call_addr, si_syscall, si_arch): Define new marcro.
14968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14970 (si_call_addr, si_syscall, si_arch): Define new macro.
14971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14973 (si_call_addr, si_syscall, si_arch): Define new macro.
14975 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14979 Change to 2.4.21 where previously 2.4.1.
14980 * sysdeps/unix/sysv/linux/configure: Regenerated.
14981 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14982 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14983 Linux kernel version.
14984 (__ASSUME_STD_AUXV): Remove.
14985 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14987 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14988 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14989 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14990 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14991 (__ASSUME_NETLINK_SUPPORT): Likewise.
14992 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14993 (__no_netlink_support): Remove conditional definition.
14994 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14996 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14997 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14999 (if_nameindex_ioctl): Remove.
15000 (if_nameindex_netlink): Do not handle __no_netlink_support.
15001 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15003 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15004 Remove conditional code.
15005 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15007 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15009 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15010 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15011 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15013 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15014 [!__ASSUME_STD_AUXV]: Remove conditional code.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15016 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15017 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15019 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15020 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15022 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15024 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15027 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15029 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15032 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15035 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15036 code unconditional.
15037 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15039 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15041 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15044 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15046 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15049 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15050 code unconditional.
15051 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15053 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15055 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15058 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15059 code unconditional.
15060 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15062 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15064 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15067 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15069 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15070 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15071 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15072 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15073 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15074 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15075 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15076 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15077 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15078 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15079 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15080 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15081 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15082 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15083 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15084 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15085 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15087 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15089 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15090 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15093 2012-07-25 Florian Weimer <fweimer@redhat.com>
15095 * Versions.def: Add GLIBC_2.17.
15096 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15097 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15098 Introduce __libc_secure_getenv.
15099 * stdlib/Versions (2.17): Add secure_getenv
15100 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15101 * stdlib/secure-getenv.c: Rename __secure_getenv to
15102 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15103 symbol __secure_getenv for GLIBC_2.0.
15104 * stdlib/tst-secure-getenv.c: New.
15105 * stdlib/Makefile (tests): Add testcase.
15106 * manual/startup.texi (Environment Access): Document
15108 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15109 __libc_secure_getenv.
15110 * inet/ruserpass.c (ruserpass): Likewise.
15111 * malloc/mtrace.c (mtrace): Likewise.
15112 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15113 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15114 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15115 * sysdeps/posix/tempname.c: Likewise. Evaluate
15116 HAVE_SECURE_GETENV.
15117 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15118 __secure_getenv to __libc_secure_getenv.
15119 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15132 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15134 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15135 (struct La_i86_retval): Likewise.
15136 (struct La_x86_64_regs): Likewise.
15137 (struct La_x86_64_retval): Likewise.
15138 (struct La_x32_regs): Likewise.
15139 (struct La_x32_retval): Likewise.
15140 (struct La_ppc32_regs): Likewise.
15141 (struct La_ppc32_retval): Likewise.
15142 (struct La_ppc64_regs): Likewise.
15143 (struct La_ppc64_retval): Likewise.
15144 (struct La_sh_regs): Likewise.
15145 (struct La_sh_retval): Likewise.
15146 (struct La_s390_32_regs): Likewise.
15147 (struct La_s390_32_retval): Likewise.
15148 (struct La_s390_64_regs): Likewise.
15149 (struct La_s390_64_retval): Likewise.
15150 (struct La_sparc32_regs): Likewise.
15151 (struct La_sparc32_retval): Likewise.
15152 (struct La_sparc64_regs): Likewise.
15153 (struct La_sparc64_retval): Likewise.
15154 (struct audit_ifaces): Remove architecture-specific pltenter and
15156 * sysdeps/i386/ldsodefs.h: New file.
15157 * sysdeps/powerpc/ldsodefs.h: Likewise.
15158 * sysdeps/s390/ldsodefs.h: Likewise.
15159 * sysdeps/sh/ldsodefs.h: Likewise.
15160 * sysdeps/sparc/ldsodefs.h: Likewise.
15161 * sysdeps/x86_64/ldsodefs.h: Likewise.
15163 2012-07-25 Marek Polacek <polacek@redhat.com>
15166 * math/libm-test.inc (yn_test): Add another test.
15167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15168 to ERANGE when the result is +-Inf.
15169 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15170 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15174 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15176 * conform/data/time.h-data (NULL): Use macro-constant. Require
15178 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15180 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15182 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15184 * configure.in <sysdeps resolving>: Correct printing
15186 * configure: Regenerate.
15188 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15190 * math/w_ilogb.c: Include <limits.h>.
15191 * math/w_ilogbl.c: Likewise.
15193 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15195 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15196 va_copy. Document allowing for unavailable va_copy only as
15197 pre-C99 compatibility.
15198 * manual/string.texi (Copying and Concatenation): Use va_copy
15199 instead of __va_copy in concat example.
15201 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15203 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15204 (__sendto): Use create_address_port. Initialize APORT and deallocate
15207 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15208 with O_NOLINK passed to __file_name_lookup.
15210 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15211 with O_NOLINK passed to __file_name_lookup.
15213 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15214 negative N or less than NGIDS.
15216 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15217 type to string_t. Set ERANGE as errno and return it if NAME is not big
15218 enough. Use memcpy instead of strncpy.
15220 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15222 * elf/Makefile (check-data): Remove.
15223 (localplt.data): New vpath directive.
15224 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15225 instead of $(check-data).
15226 * scripts/data/localplt-generic.data: Move to ...
15227 * sysdeps/generic/localplt.data: ... here.
15228 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15229 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15230 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15233 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15236 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15239 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15242 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15245 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15249 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15251 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15252 PPC32 and PPC64 files.
15253 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15254 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15256 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15258 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15259 __makecontext_ret to ...
15260 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15261 ... here and call exit if uc_link is NULL. New file.
15262 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15263 __makecontext_ret.S.
15264 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15265 __makecontext_ret to ...
15266 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15267 ... here and call exit if uc_link is NULL. New file.
15268 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15269 __makecontext_ret.S.
15271 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15273 * elf/elf.h (R_390_IRELATIVE): New definition.
15274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15275 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15276 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15278 (elf_machine_lazy_rel): Likewise.
15279 * sysdeps/s390/dl-irel.h: New file.
15280 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15281 * sysdeps/s390/s390-64/memset.S: New asm code.
15282 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15283 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15285 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15286 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15287 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15289 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15290 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15291 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15292 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15293 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15294 * sysdeps/s390/s390-32/memset.S: New asm code.
15295 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15297 2012-07-17 Marek Polacek <polacek@redhat.com>
15300 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15301 * sysdeps/s390/s390-64/configure.in: Likewise.
15302 * sysdeps/sparc/configure.in: Likewise.
15303 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15304 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15305 * sysdeps/i386/configure.in: Likewise.
15306 * sysdeps/x86_64/configure.in: Likewise.
15307 * sysdeps/sh/configure.in: Likewise.
15308 * sysdeps/s390/s390-32/configure: Regenerated.
15309 * sysdeps/s390/s390-64/configure: Likewise.
15310 * sysdeps/x86_64/configure: Likewise.
15311 * sysdeps/sh/configure: Likewise.
15312 * sysdeps/powerpc/powerpc64/configure: Likewise.
15313 * sysdeps/powerpc/powerpc32/configure: Likewise.
15314 * sysdeps/sparc/configure: Likwise.
15315 * sysdeps/i386/configure: Likewise.
15317 * elf/dl-open.c: Comment fixes.
15319 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15321 * Makefile [CXX] (check-data): Remove.
15322 [CXX] (c++-types.data): New vpath directive.
15323 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15324 vpath. Do not allow for C++ type data being missing.
15325 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15326 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15327 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15328 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15329 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15330 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15331 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15334 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15337 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15340 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15343 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15346 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15349 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15352 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15355 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15356 definitions to architecture-specific files.
15357 (TLS_IE): Likewise.
15358 (TLS_LD): Likewise.
15359 (TLS_GD): Likewise.
15360 * sysdeps/i386/tls-macros.h: New file.
15361 * sysdeps/powerpc/tls-macros.h: Likewise.
15362 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15363 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15364 * sysdeps/sh/tls-macros.h: Likewise.
15365 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15366 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15367 * sysdeps/x86_64/tls-macros.h: Likewise.
15369 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15372 zero value for regular exit case.
15374 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15375 (__start_context): Preserve zero value for regular exit case.
15377 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15378 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15380 * manual/setjmp.texi (setcontext): Clarify normal process
15381 termination when uc_link is the null pointer.
15382 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15385 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15387 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15388 preprocessor. Test for each exception mask separately.
15390 2012-07-16 Andreas Jaeger <aj@suse.de>
15392 * po/ru.po: Update from translation team.
15394 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15396 * conform/data/string.h-data (NULL): Use macro-constant. Require
15398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15399 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15400 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15401 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15404 2012-07-13 Andreas Jaeger <aj@suse.de>
15406 * po/fr.po: Update from translation team.
15408 2012-07-12 Marek Polacek <polacek@redhat.com>
15411 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15412 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15415 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15419 Change to 2.4.1 where previously 2.4.0.
15420 * sysdeps/unix/sysv/linux/configure: Regenerated.
15421 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15422 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15424 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15425 (__ASSUME_AT_CLKTCK): Remove.
15426 (__ASSUME_AT_PAGESIZE): Likewise.
15427 (__ASSUME_AT_XID): Likewise.
15428 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15429 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15430 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15432 (HAVE_AUX_PAGESIZE): Likewise.
15433 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15434 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15435 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15437 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15441 the temporary buffer used to invoke __gethostbyname2_r,
15442 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15443 host_data / struct gaih_addrtuple.
15444 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15445 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15446 header file nss/nsswitch.h.
15447 * nss/nsswitch.h (global scope): Add definition of implementation
15448 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15449 resolv/nss_dns/dns-host.c).
15451 2012-07-11 Andreas Jaeger <aj@suse.de>
15453 * po/fr.po: Update from translation team.
15455 * po/sv.po: Update from translation team
15456 * po/fr.po: Another update from translation team.
15458 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15460 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15461 for subnormals or multiply small sinh result by itself.
15462 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15465 2012-07-11 David S. Miller <davem@davemloft.net>
15467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15469 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15472 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15473 (INTERNAL_MARK): Shift it here.
15475 2012-07-10 Marek Polacek <polacek@redhat.com>
15478 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15479 libc_cv_asm_global_directive with .globl.
15480 * configure: Regenerated.
15481 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15483 * sysdeps/i386/configure: Regenerated.
15484 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15486 * sysdeps/x86_64/configure: Regenerated.
15487 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15488 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15489 * elf/tst-unique2mod2.c: Likewise.
15490 * elf/tst-unique2mod1.c: Likewise.
15491 * elf/tst-unique1mod2.c: Likewise.
15492 * elf/tst-unique1mod1.c: Likewise.
15493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15494 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15497 * sysdeps/mach/sysdep.h: Likewise.
15498 * sysdeps/i386/sysdep.h: Likewise.
15499 * sysdeps/i386/i386-mcount.S: Likewise.
15500 * sysdeps/x86_64/_mcount.S: Likewise.
15501 * sysdeps/x86_64/sysdep.h: Likewise.
15502 * sysdeps/sh/_mcount.S: Likewise.
15503 * sysdeps/sh/sysdep.h: Likewise.
15504 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15505 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15506 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15508 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15509 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15510 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15511 * locale/localeinfo.h: Likewise.
15512 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15513 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15515 2012-07-09 Roland McGrath <roland@hack.frob.com>
15518 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15520 * manual/message.texi (The Uniforum approach): Likewise.
15521 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15522 (glibc iconv Implementation): Likewise.
15524 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15527 * math/s_clog.c (__clog): Avoid scaling a value down where that
15528 could result in underflow.
15529 * math/s_clog10.c (__clog10): Likewise.
15530 * math/s_clog10f.c (__clog10f): Likewise.
15531 * math/s_clog10l.c (__clog10l): Likewise.
15532 * math/s_clogf.c (__clogf): Likewise.
15533 * math/s_clogl.c (__clogl): Likewise.
15534 * math/libm-test.inc (clog_test): Add more tests.
15535 (clog10_test): Likewise.
15536 * sysdeps/i386/fpu/libm-test-ulps: Update.
15537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15539 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15542 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15543 by 7 not 8 to examine high bit of fractional part.
15546 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15547 for call to __mcount_internal.
15548 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15549 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15550 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15552 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15555 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15556 approximation for values within 0x1p-13f of an odd multiple of
15558 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15559 exception. Add more tests.
15560 * sysdeps/i386/fpu/libm-test-ulps: Update.
15563 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15564 inputs and return -1 for them. Do not check for +Inf in case not
15565 reachable for +Inf.
15566 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15567 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15569 and return -1 for them. Do not check for +Inf in case not
15570 reachable for +Inf.
15571 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15573 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15574 and return -1 for them. Do not check for +Inf in case not
15575 reachable for +Inf.
15576 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15577 spurious underflow.
15578 * sysdeps/i386/fpu/libm-test-ulps: Update.
15579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15583 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15585 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15589 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15590 could result in spurious underflow. Scale down values above
15591 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15592 * math/s_csqrtf.c (__csqrtf): Likewise.
15593 * math/s_csqrtl.c (__csqrtl): Likewise.
15594 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15595 spurious underflow.
15596 * sysdeps/i386/fpu/libm-test-ulps: Update.
15597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15599 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15601 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15603 * catgets/xopen-msg.awk: New file.
15604 * catgets/xopen-msg.sed: Removed.
15606 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15608 * intl/po2test.awk: New file.
15609 * intl/po2test.sed: Removed.
15611 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15614 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15615 or multiply small sinh result by itself.
15616 * math/s_ctanf.c (__ctanf): Likewise.
15617 * math/s_ctanh.c (__ctanh): Likewise.
15618 * math/s_ctanhf.c (__ctanhf): Likewise.
15619 * math/s_ctanhl.c (__ctanhl): Likewise.
15620 * math/s_ctanl.c (__ctanl): Likewise.
15621 * math/libm-test.inc (ctan_test_tonearest): New function.
15622 (ctan_test_towardzero): Likewise.
15623 (ctan_test_downward): Likewise.
15624 (ctan_test_upward): Likewise.
15625 (ctanh_test_tonearest): Likewise.
15626 (ctanh_test_towardzero): Likewise.
15627 (ctanh_test_downward): Likewise.
15628 (ctanh_test_upward): Likewise.
15629 (main): Call these new functions.
15630 * sysdeps/i386/fpu/libm-test-ulps: Update.
15631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15633 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15635 * .gitignore: Delete /ports entry.
15637 2012-07-03 Andreas Jaeger <aj@suse.de>
15639 * po/bg.po: Update from translation team.
15640 * po/cs.po: Likewise.
15641 * po/de.po: Likewise.
15642 * po/hr.po: Likewise.
15643 * po/nl.pl: Likewise.
15644 * po/pl.po: Likewise.
15645 * po/vi.po: Likewise.
15647 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15649 * Makeconfig [!+link] (+link-before-libc): New variable.
15650 [!+link] (+link-after-libc): Likewise.
15651 [!+link] (+link-tests): Likewise.
15652 [!+link] (+link): Define in terms of $(+link-before-libc) and
15653 $(+link-after-libc).
15654 [!+link-static] (+link-static-before-libc): New variable.
15655 [!+link-static] (+link-static-after-libc): Likewise.
15656 [!+link-static] (+link-static-tests): Likewise.
15657 [!+link-static] (+link-static): Define in terms of
15658 $(+link-static-before-libc) and $(+link-static-after-libc).
15659 [build-shared] (link-libc-before-gnulib): New variable.
15660 [build-shared] (link-libc-tests): Likewise.
15661 [build-shared] (link-libc): Define in terms of
15662 $(link-libc-before-gnulib).
15663 [!build-shared] (link-libc-tests): New variable.
15664 (link-libc-static-tests): New variable.
15665 [!gnulib] (gnulib-arch): New variable.
15666 [!gnulib] (gnulib-tests): Likewise.
15667 [!gnulib] (static-gnulib-arch): Likewise.
15668 [!gnulib] (static-gnulib-tests): Likewise.
15669 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15670 Define with "=" instead of ":=".
15671 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15672 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15673 * Rules (binaries-all-notests): New variable.
15674 (binaries-all-tests): Likewise.
15675 (binaries-static-notests): Likewise.
15676 (binaries-static-tests): Likewise.
15677 (binaries-all): Define using $(binaries-all-notests) and
15678 $(binaries-all-tests).
15679 (binaries-static): Define using $(binaries-static-notests) and
15680 $(binaries-static-tests).
15681 (binaries-shared-tests): New variable.
15682 (binaries-shared-notests): Likewise.
15683 (binaries-shared): Remove variable.
15684 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15685 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15686 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15687 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15688 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15689 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15690 * elf/Makefile (sln-modules): New variable.
15691 (extra-objs): Add $(sln-modules:=.o).
15692 (ldconfig-modules): Add static-stubs.
15693 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15694 * elf/static-stubs.c: New file.
15697 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15698 by 7 not 8 to examine high bit of fractional part. Use volatile
15699 variables when splitting into final array of floats if
15700 __FLT_EVAL_METHOD__ != 0.
15701 * math/libm-test.inc (cos_test): Add another test.
15702 (sin_test): Likewise.
15703 * sysdeps/i386/fpu/libm-test-ulps: Update.
15706 * math/libm-test.inc (cosh_test): Add more tests.
15708 * version.h (RELEASE): Set to "development".
15709 (VERSION): Set to "2.16.90".
15711 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15713 * NEWS: Update copyright. Remove last-updated date.
15714 Mention math library bug fixes and timezone data changes.
15715 * README: Mention GNU/Hurd, x32, and HPPA support status.
15717 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15719 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15721 2012-06-27 Andreas Jaeger <aj@suse.de>
15723 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15725 2012-06-25 Andreas Jaeger <aj@suse.de>
15727 * sysdeps/s390/fpu/libm-test-ulps: Update.
15729 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15730 Thomas Schwinge <thomas@codesourcery.com>
15732 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15733 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15737 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15739 * sysdeps/mach/start.c: Remove file.
15740 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15741 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15742 * sysdeps/sh/init-first.c: Likewise.
15744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15745 registers for frame unwinding purposes, add CFI directives.
15746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15748 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15751 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15752 __fortify_fail returning.
15753 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15755 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15756 sysdeps/sh/____longjmp_chk.S.
15757 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15758 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15759 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15760 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15762 * sysdeps/sh/abort-instr.h: New file.
15763 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15764 process in case exit returns.
15766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15767 initialize the GOT register before use.
15769 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15770 calculation of ARGC > 4.
15772 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15773 meaningful names to some local labels.
15775 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15776 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15778 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15779 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15780 (__arch_compare_and_exchange_val_16_acq): Likewise.
15781 (__arch_compare_and_exchange_val_32_acq): Likewise.
15782 (atomic_exchange_and_add): Fix gUSA sequence.
15783 (atomic_add): Likewise.
15784 (atomic_add_negative): Likewise.
15785 (atomic_add_zero): Likewise.
15786 (atomic_bit_test_set): Likewise.
15788 2012-06-22 Andreas Schwab <schwab@redhat.com>
15791 * include/link.h (struct link_map): Add l_free_initfini.
15792 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15794 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15795 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15796 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15799 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15801 * configure.in: Use AC_LANG_SOURCE.
15802 * configure: Regenerate.
15804 2012-06-22 Roland McGrath <roland@hack.frob.com>
15806 * configure.in (libc_cv_localstatedir): New substituted variable.
15807 * configure: Regenerated.
15808 * config.make.in (localstatedir): New variable, substituted from
15809 libc_cv_localstatedir.
15810 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15811 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15812 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15813 * sysdeps/gnu/configure: Regenerated.
15815 2012-06-21 Jeff Law <law@redhat.com>
15818 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15819 free. Simplify list management for _LIBC case.
15821 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15825 Clear sign bit of 64-bit integer value before comparing against
15828 * sysdeps/mach/configure: Regenerated.
15830 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15833 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15835 2012-06-21 Jeff Law <law@redhat.com>
15838 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15839 uint16_t for elements in the "seen" array to avoid char overflows.
15840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15841 * elf/dl-open.c (dl_open_worker): Likewise.
15843 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15845 * scripts/list-sources.sh: Scan PORTS for translations.
15846 * po/libc.pot: Regenerated.
15848 2012-06-21 Andreas Jaeger <aj@suse.de>
15851 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15853 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15854 * bits/byteswap-16.h (__bswap_16): Likewise.
15855 * bits/byteswap.h (__bswap_constant_16): Likewise.
15857 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15860 * sysdeps/i386/fpu_control.h: Removed.
15861 * sysdeps/x86_64/fpu_control.h: Moved to ...
15862 * sysdeps/x86/fpu_control.h: Here.
15864 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15865 (_FPU_SETCW): Likewise.
15867 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15870 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15871 * sysdeps/x86/fpu/bits/mathinline.h: This.
15872 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15876 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15877 functions if __x86_64__ is defined.
15879 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15881 * string/endian.h: Add !__ASSEMBLER__ condition for including
15882 conversion interfaces.
15884 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15888 of ABS(x) in calculating zero to negative powers other than odd
15890 * math/libm-test.inc (pow_test): Add more tests.
15892 2012-06-15 Andreas Jaeger <aj@suse.de>
15894 * manual/contrib.texi (Contributors): Update entry of Liubov
15895 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15898 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15900 * string/string.h: Add __wur to GNU version of strerror_r.
15902 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15905 * string/Makefile (tests): Add tst-strtok_r.
15906 * string/tst-strtok_r.c: New file.
15907 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15908 RAX_LP/RDX_LP on SAVE_PTR.
15910 2012-06-14 Roland McGrath <roland@hack.frob.com>
15912 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15914 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15916 * libm_test.inc (csqrt_test): Allow more spurious underflow
15918 (j0_test): Likewise.
15919 (j1_test): Likewise.
15920 (y0_test): Likewise.
15921 (y1_test): Likewise.
15923 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15925 * po/Makefile (libc.pot): Use UTF-8 charset.
15927 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15930 Suppress sign-conversion warning from FD_SET.
15931 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15932 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15933 not unsigned long int.
15934 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15936 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15940 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15941 __extern_always_inline instead of __extern_inline.
15942 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15943 (__signbit): Likewise.
15944 (__signbitl): Support C++ namespace.
15945 (lrintf): New inline function.
15947 (llrintf): Likewise.
15948 (llrint): Likewise.
15958 (floorf): Likewise.
15959 (nearbyint): Likewise.
15960 (nearbyintf): Likewise.
15962 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15965 non-default versions.
15967 2012-06-11 Roland McGrath <roland@hack.frob.com>
15970 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15972 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15974 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15975 (FE_UPWARD, FE_DOWNWARD): Don't define.
15976 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15979 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15984 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15988 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15989 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15991 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15994 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15995 * sysdeps/i386/fpu/Implies: New file.
15996 * sysdeps/x86_64/fpu/Implies: Likewise.
15997 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15998 * sysdeps/x86/fpu/bits/fenv.h: This.
16000 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16003 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16006 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16007 character 0xffff that matches the last element of the
16010 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16015 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16018 values higher than 25.6283.
16020 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16023 subnormal exponent extraction and add some __builtin_expect.
16024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16025 Fix for subnormal mantissa calculation.
16027 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16029 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16030 cpu2 is -1 and errno is not ENOSYS.
16032 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16035 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16036 * sysdeps/x86/bits/string.h: This.
16037 * sysdeps/x86_64/bits/string.h: Removed.
16039 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16040 if not compiling for x86-64, but compiling for >= i486.
16042 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16043 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16046 New macro from Linux kernel 3.4.0.
16047 (FP_XSTATE_MAGIC2): Likewise.
16048 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16049 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16050 (struct _fpx_sw_bytes): New struct.
16051 (struct _xsave_hdr): Likewise.
16052 (struct _ymmh_state): Likewise.
16053 (struct _xstate): Likewise.
16055 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16056 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16058 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16060 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16062 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16063 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16064 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16065 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16066 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16067 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16069 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16072 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16073 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16074 (sysdep_headers): Include sys/platform/ppc.h.
16075 * sysdeps/powerpc/test-gettimebase.c: Test for
16076 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16077 * manual/Makefile (appendices): Include platform.texi.
16078 * manual/contrib.texi (Contributors): Update @node pointers.
16079 * manual/maint.texi (Maintenance): Likewise.
16080 (Platform): New node.
16081 * manual/platform.texi: New file. Document the new features.
16083 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16084 Jakub Jelinek <jakub@redhat.com>
16087 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16088 where __builtin_expect is unavailable.
16090 2012-06-03 David S. Miller <davem@davemloft.net>
16092 * stdlib/longlong.h: Updated from GCC.
16094 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16097 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16098 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16101 (GLIBC_2.16): Likewise.
16103 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16107 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16110 (default-abi): New variable.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16112 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16114 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16116 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16118 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16121 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16122 definition. Document in comment.
16124 2012-06-01 David S. Miller <davem@davemloft.net>
16126 * stdlib/longlong.h: Updated from GCC.
16128 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16131 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16132 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16133 sys/debugreg.h sys/io.h here.
16134 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16135 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16137 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16138 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16140 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16142 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16145 Define only if __x86_64__ is defined.
16147 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16151 Use int64_t for variable i.
16152 * math/libm-test.inc (fmod_test): Add more tests.
16154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16155 z computation is not scheduled after fetestexcept.
16156 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16157 Use math_force_eval instead of asm to ensure calculation scheduled
16158 before exception test.
16159 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16160 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16162 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16165 computation is not scheduled after fetestexcept.
16167 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16170 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16173 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16175 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16176 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16178 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16181 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16183 (__WCHAR_MIN): Support __WORDSIZE == 64.
16184 (__WCHAR_MAX): Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16191 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16194 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16197 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16198 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16200 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16201 Defined to 1 if __x86_64__ isn't defined.
16202 (_STAT_VER_LINUX_OLD): New.
16203 (st_atime): Remove duplicate.
16204 (st_mtime): Likewise.
16205 (st_ctime): Likewise.
16207 2012-05-31 David S. Miller <davem@davemloft.net>
16209 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16212 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16214 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16218 * elf/dl-reloc.c: Include <_itoa.h>.
16219 (_dl_reloc_bad_type): Remove use of INTUSE.
16220 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16221 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16222 * stdio-common/psiginfo.c (psiginfo): Likewise.
16223 * stdio-common/psignal.c (psignal): Likewise.
16224 * string/strsignal.c (strsignal): Likewise.
16225 * include/signal.h (_sys_siglist): Declare hidden proto.
16226 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16227 INTVARDEF with libc_hidden_data_def.
16228 * stdio-common/itoa-udigits.c: Likewise.
16229 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16230 (_itoa_lower_digits_internal): Remove declaration.
16231 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16232 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16233 (_sys_sigabbrev_internal): Remove aliases.
16234 (_sys_siglist): Define hidden alias.
16236 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16241 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16245 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16247 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16248 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16249 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16250 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16252 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16254 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16268 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16270 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16271 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16272 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16273 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16274 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16275 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16277 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16278 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16281 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16285 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16287 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16288 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16290 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16292 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16293 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16294 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16296 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16298 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16300 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16302 * math/math.h (M_El): Use two more decimal places.
16303 (M_LOG2El): Likewise.
16304 (M_LOG10El): Likewise.
16305 (M_LN2l): Likewise.
16306 (M_LN10l): Likewise.
16308 (M_PI_2l): Likewise.
16309 (M_PI_4l): Likewise.
16310 (M_1_PIl): Likewise.
16311 (M_2_PIl): Likewise.
16312 (M_2_SQRTPIl): Likewise.
16313 (M_SQRT2l): Likewise.
16314 (M_SQRT1_2l): Likewise.
16316 2012-05-31 David S. Miller <davem@davemloft.net>
16318 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16319 values between float registers.
16320 * sysdeps/sparc/sparc64/memset.S: Likewise.
16321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16323 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16325 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16326 -D_FORTIFY_SOURCE=1.
16327 (CPPFLAGS-tst-longjmp_chk.c): Define.
16328 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16329 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16330 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16331 CFLAGS-tst-wchar-h.c.
16333 2012-05-31 Marek Polacek <polacek@redhat.com>
16336 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16337 __endmntent_internal): Remove declaration.
16338 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16339 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16340 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16342 2012-05-30 David S. Miller <davem@davemloft.net>
16344 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16345 (___Q_simulate_exceptions): Use real FP ops rather than writing
16347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16350 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16353 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16354 * sysdeps/x86/bits/xtitypes.h: This.
16356 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16357 * sysdeps/x86/bits/wordsize.h: This.
16359 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16360 * sysdeps/x86/bits/huge_vall.h: This.
16362 * sysdeps/i386/bits/select.h: Removed.
16363 * sysdeps/x86_64/bits/select.h: Renamed to ...
16364 * sysdeps/x86/bits/select.h: This.
16366 * sysdeps/i386/bits/setjmp.h: Removed.
16367 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16368 * sysdeps/x86/bits/setjmp.h: This.
16370 * sysdeps/i386/bits/mathdef.h: Removed.
16371 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16372 * sysdeps/x86/bits/mathdef.h: This.
16374 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16377 * include/sys/socket.h (__connect_internal)
16378 (__libc_sa_len_internal): Remove declaration.
16379 (__connect, __libc_sa_len): Declare hidden_proto.
16380 (SA_LEN): Remove use of INTUSE.
16381 * socket/connect.c: Add libc_hidden_def.
16382 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16383 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16384 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16386 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16388 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16389 of adding _internal alias.
16391 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16394 * sysdeps/i386/bits/link.h: Removed.
16395 * sysdeps/i386/bits/linkmap.h: Likewise.
16396 * sysdeps/x86_64/bits/link.h: Renamed to ...
16397 * sysdeps/x86/bits/link.h: This.
16398 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16399 * sysdeps/x86/bits/linkmap.h: This.
16401 * sysdeps/i386/bits/endian.h: Removed.
16402 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16403 * sysdeps/x86/bits/endian.h: This.
16405 * sysdeps/i386/bits/byteswap.h: Removed.
16406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16407 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16408 * sysdeps/x86/bits/byteswap.h: This.
16409 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16410 * sysdeps/x86/bits/byteswap-16.h: This.
16411 * sysdeps/i386/Implies: Add x86.
16412 * sysdeps/x86_64/Implies: Likewise.
16414 2012-05-30 David S. Miller <davem@davemloft.net>
16416 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16417 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16419 (FP_TRAPPING_EXCEPTIONS): Define.
16420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16421 (FP_TRAPPING_EXCEPTIONS): Define.
16422 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16423 subnormals only when inexact has been signalled or underflow
16424 exceptions are enabled.
16425 (_FP_PACK_CANONICAL): Likewise.
16427 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16431 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16433 2012-05-30 Richard Henderson <rth@twiddle.net>
16435 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16436 with #ifndef NOT_IN_libc.
16438 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16439 marked to avoid plt entry.
16441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16444 * Makeconfig (default-abi): New macro.
16445 (abi-includes): Likewise.
16446 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16447 $(abi-$(default-abi)-lib-soname) for soname if defined.
16448 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16450 * Makefile (installed-stubs): Likewise.
16451 * include/stubs-biarch.h: Removed.
16452 * scripts/lib-names.awk: Only handle one library at a time.
16453 * scripts/soversions.awk: Remove WORDSIZE support.
16454 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16456 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16458 (syscall-list-default-condition): Likewise.
16459 (syscall-list-default-condition): Likewise.
16460 (syscall-list-includes): Likewise.
16461 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16462 syscall-list-* with abi-*. Handle undefined abi-variants.
16463 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16464 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16465 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16466 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16467 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16468 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16470 (syscall-list-32-options): Likewise.
16471 (syscall-list-32-condition): Likewise.
16472 (syscall-list-64-options): Likewise.
16473 (syscall-list-64-condition): Likewise.
16474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16476 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16479 (abi-64-ld-soname): New macro.
16480 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16484 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16485 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16487 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16489 * sysdeps/unix/sysv/linux/kernel-features.h
16490 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16491 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16492 include <kernel-features.h>.
16493 [!__NR_ftruncate64]: Remove conditional code.
16494 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16495 [__NR_ftruncate64]: Make code unconditional.
16496 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16497 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16498 include <kernel-features.h>.
16499 [!__NR_ftruncate64]: Remove conditional code.
16500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16501 [__NR_ftruncate64]: Make code unconditional.
16502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16504 include <kernel-features.h>.
16505 [!__NR_ftruncate64]: Remove conditional code.
16506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16507 [__NR_ftruncate64]: Make code unconditional.
16508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16510 include <kernel-features.h>.
16511 [!__NR_ftruncate64]: Remove conditional code.
16512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16513 [__NR_ftruncate64]: Make code unconditional.
16514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16516 * configure.in (libc_cv_fpie): Weaken to a compile test using
16517 LIBC_TRY_CC_OPTION.
16518 * configure: Regenerated.
16520 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16535 2012-05-27 David S. Miller <davem@davemloft.net>
16537 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16539 (__Q_simulate_exceptions): Return void. Change to simulate
16540 exceptions by writing into the %fsr.
16541 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16542 (__Qp_handle_exceptions): Likewise.
16544 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16545 __Qp_handle_exceptions.
16546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16547 __Qp_handle_exceptions.
16548 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16549 as unused and give dummy FP_RND_NEAREST initializer.
16550 (FP_INHIBIT_RESULTS): Define.
16551 (___Q_simulate_exceptions): Update declaration.
16552 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16555 as unused and give dummy FP_RND_NEAREST initializer.
16556 (__Qp_handle_exceptions): Update declaration.
16557 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16560 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16562 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16563 the temporary FPU control word.
16564 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16565 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16567 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16570 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16571 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16572 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16573 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16576 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16578 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16581 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16583 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16584 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16585 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16586 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16588 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16589 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16592 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16594 * po/h.po: Update from translation team.
16596 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16598 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16601 handling of denormals.
16602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16603 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16604 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16611 2012-05-26 Marek Polacek <polacek@redhat.com>
16614 * math/libm-test.inc (fma_test): Don't always expect underflow
16617 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16620 * elf/tst-execstack.c: Include stackinfo.h.
16621 (do_test): Adjust test case to ensure that pthread_getattr_np
16622 behaviour remains the same after marking stack executable.
16624 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16626 * sysdeps/unix/sysv/linux/kernel-features.h
16627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16628 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16630 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16631 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16632 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16634 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16635 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16637 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16639 * configure.in: Define the default includes to being none.
16640 * configure: Regenerated.
16642 2012-05-25 Roland McGrath <roland@hack.frob.com>
16644 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16645 * sysdeps/x86_64/setjmp.S: Likewise.
16646 * sysdeps/i386/bsd-setjmp.S: Likewise.
16647 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16648 * sysdeps/i386/setjmp.S: Likewise.
16649 * sysdeps/i386/__longjmp.S: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16653 * include/stap-probe.h: New file.
16654 * configure.in: Handle --enable-systemtap.
16655 * configure: Regenerated.
16656 * config.h.in (USE_STAP_PROBE): New #undef.
16657 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16658 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16659 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16661 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16665 to 2.4.0 where earlier.
16666 * sysdeps/unix/sysv/linux/configure: Regenerated.
16667 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16668 <kernel-features.h>.
16669 [__ASSUME_32BITUIDS]: Make code unconditional.
16670 [!__ASSUME_32BITUIDS]: Remove conditional code.
16671 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16672 <kernel-features.h>.
16673 [__ASSUME_32BITUIDS]: Make code unconditional.
16674 [!__ASSUME_32BITUIDS]: Remove conditional code.
16675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16676 [__ASSUME_32BITUIDS]: Make code unconditional.
16677 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16678 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16679 <kernel-features.h>.
16680 [__ASSUME_32BITUIDS]: Make code unconditional.
16681 [!__ASSUME_32BITUIDS]: Remove conditional code.
16682 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
16691 <kernel-features.h>.
16692 [__ASSUME_32BITUIDS]: Make code unconditional.
16693 [!__ASSUME_32BITUIDS]: Remove conditional code.
16694 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16695 <kernel-features.h>.
16696 [__ASSUME_32BITUIDS]: Make code unconditional.
16697 [!__ASSUME_32BITUIDS]: Remove conditional code.
16698 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16699 <kernel-features.h>.
16700 [__ASSUME_32BITUIDS]: Make code unconditional.
16701 [!__ASSUME_32BITUIDS]: Remove conditional code.
16702 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16703 <kernel-features.h>.
16704 [__ASSUME_32BITUIDS]: Make code unconditional.
16705 [!__ASSUME_32BITUIDS]: Remove conditional code.
16706 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16707 <kernel-features.h>.
16708 [__ASSUME_32BITUIDS]: Make code unconditional.
16709 [!__ASSUME_32BITUIDS]: Remove conditional code.
16710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16711 <kernel-features.h>.
16712 [__ASSUME_32BITUIDS]: Make code unconditional.
16713 [!__ASSUME_32BITUIDS]: Remove conditional code.
16714 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16715 <kernel-features.h>.
16716 [__ASSUME_32BITUIDS]: Make code unconditional.
16717 [!__ASSUME_32BITUIDS]: Remove conditional code.
16718 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16719 <kernel-features.h>.
16720 [__NR_setresgid] (__setresgid): Do not declare.
16721 [__ASSUME_32BITUIDS]: Make code unconditional.
16722 [!__ASSUME_32BITUIDS]: Remove conditional code.
16723 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16724 <kernel-features.h>.
16725 [__NR_setresuid] (__setresuid): Do not declare.
16726 [__ASSUME_32BITUIDS]: Make code unconditional.
16727 [!__ASSUME_32BITUIDS]: Remove conditional code.
16728 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16729 <kernel-features.h>.
16730 [__ASSUME_32BITUIDS]: Make code unconditional.
16731 [!__ASSUME_32BITUIDS]: Remove conditional code.
16732 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16733 <kernel-features.h>.
16734 [__ASSUME_32BITUIDS]: Make code unconditional.
16735 [!__ASSUME_32BITUIDS]: Remove conditional code.
16736 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16737 <kernel-features.h>.
16738 [__ASSUME_32BITUIDS]: Make code unconditional.
16739 [!__ASSUME_32BITUIDS]: Remove conditional code.
16740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16741 <kernel-features.h>.
16742 [__ASSUME_32BITUIDS]: Make code unconditional.
16743 [!__ASSUME_32BITUIDS]: Remove conditional code.
16744 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16745 <kernel-features.h>.
16746 [__ASSUME_32BITUIDS]: Make code unconditional.
16747 [!__ASSUME_32BITUIDS]: Remove conditional code.
16748 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16749 <kernel-features.h>.
16750 [__ASSUME_32BITUIDS]: Make code unconditional.
16751 [!__ASSUME_32BITUIDS]: Remove conditional code.
16752 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16753 <kernel-features.h>.
16754 [__ASSUME_32BITUIDS]: Make code unconditional.
16755 [!__ASSUME_32BITUIDS]: Remove conditional code.
16756 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16757 <kernel-features.h>.
16758 [__ASSUME_32BITUIDS]: Make code unconditional.
16759 [!__ASSUME_32BITUIDS]: Remove conditional code.
16760 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16761 <kernel-features.h>.
16762 [__ASSUME_32BITUIDS]: Make code unconditional.
16763 [!__ASSUME_32BITUIDS]: Remove conditional code.
16764 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16765 <kernel-features.h>.
16766 [__ASSUME_32BITUIDS]: Make code unconditional.
16767 [!__ASSUME_32BITUIDS]: Remove conditional code.
16768 * sysdeps/unix/sysv/linux/kernel-features.h
16769 (__ASSUME_SETRESUID_SYSCALL): Remove.
16770 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16771 (__ASSUME_32BITUIDS): Likewise.
16772 (__ASSUME_LDT_WORKS): Likewise.
16773 (__ASSUME_O_DIRECTORY): Likewise.
16774 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16775 architecture but not kernel version.
16776 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16777 (__ASSUME_MMAP2_SYSCALL): Likewise.
16778 (__ASSUME_STAT64_SYSCALL): Likewise.
16779 (__ASSUME_IPC64): Likewise.
16780 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16781 <kernel-features.h>.
16782 [__ASSUME_32BITUIDS]: Make code unconditional.
16783 [!__ASSUME_32BITUIDS]: Remove conditional code.
16784 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16785 <kernel-features.h>.
16786 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16787 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16788 132096]: Remove conditional code.
16789 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16790 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16791 <kernel-features.h>.
16792 [__ASSUME_32BITUIDS]: Make code unconditional.
16793 [!__ASSUME_32BITUIDS]: Remove conditional code.
16794 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16795 <kernel-features.h>.
16796 [__ASSUME_32BITUIDS]: Make code unconditional.
16797 [!__ASSUME_32BITUIDS]: Remove conditional code.
16798 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16799 <kernel-features.h>.
16800 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16802 (__setresgid): Do not declare.
16803 [__ASSUME_32BITUIDS]: Make code unconditional.
16804 [!__ASSUME_32BITUIDS]: Remove conditional code.
16805 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16806 <kernel-features.h>.
16807 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16809 (__setresuid): Do not declare.
16810 [__ASSUME_32BITUIDS]: Make code unconditional.
16811 [!__ASSUME_32BITUIDS]: Remove conditional code.
16812 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16813 <kernel-features.h>.
16814 [__ASSUME_32BITUIDS]: Make code unconditional.
16815 [!__ASSUME_32BITUIDS]: Remove conditional code.
16816 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16817 <kernel-features.h>.
16818 [__ASSUME_32BITUIDS]: Make code unconditional.
16819 [!__ASSUME_32BITUIDS]: Remove conditional code.
16821 2012-05-25 Richard Henderson <rth@twiddle.net>
16823 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16824 dl_hwcap to ifunc resolver.
16825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16827 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16828 dl_hwcap to ifunc resolver.
16829 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16831 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16834 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16835 for |x| <= 2**-26, not 2**-57.
16836 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16839 2012-05-24 Jeff Law <law@redhat.com>
16841 * stdio-common/Makefile (tests): Add bug25.
16842 * stdio-common/bug25.c: New test.
16844 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16847 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16848 multiple of MALLOC_ALIGNMENT in size.
16849 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16851 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16853 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16855 (FILENAME_MAX): Use macro-int-constant.
16856 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16857 (_IOFBF): Use macro-int-constant.
16858 (_IOLBF): Likewise.
16859 (_IONBF): Likewise.
16860 (SEEK_CUR): Likewise.
16861 (SEEK_END): Likewise.
16862 (SEEK_SET): Likewise.
16863 (TMP_MAX): Likewise.
16864 (EOF): Use macro-int-constant. Require < 0.
16865 (NULL): Use macro-constant. Require == 0.
16866 (stdin): Require type to be FILE *.
16867 (stdout): Likewise.
16868 (stderr): Likewise.
16869 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16870 macro-int-constant.
16871 (EXIT_SUCCESS): Likewise.
16872 (NULL): Use macro-constant. Require == 0.
16873 (RAND_MAX): Use macro-int-constant.
16874 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16875 [C99-based standards] (strtof): Require function.
16876 [C99-based standards] (strtold): Likewise.
16877 [C99-based standards] (strtoll): Likewise.
16878 [C99-based standards] (strtoull): Likewise.
16879 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16880 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16881 [ISO || ISO99 || ISO11] (math.h): Likewise.
16882 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16883 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16886 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16889 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16890 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16891 * intl/dgettext.c (DCGETTEXT): Likewise.
16892 * intl/gettext.c (DCGETTEXT): Likewise.
16893 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16894 * posix/regex_internal.h (gettext): Likewise.
16895 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16896 Remove declaration.
16897 * include/argz.h (__argz_count_internal)
16898 (__argz_stringify_internal): Remove declaration.
16899 (__argz_count, __argz_stringify): Declare hidden proto.
16900 * intl/dcgettext.c: Remove use of INTDEF.
16901 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16902 * string/argz-stringify.c: Likewise.
16903 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16904 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16905 Declare hidden proto.
16906 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16907 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16908 Declare hidden proto.
16909 * include/stdio.h (__asprintf_internal): Don't declare.
16910 (__asprintf): Don't define as macro. Declare hidden proto.
16911 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16912 (__fsetlocking): Declare hidden proto.
16913 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16914 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16916 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16917 (_IO_setlinebuf): Remove use of INTUSE.
16918 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16919 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16920 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16921 Remove declaration.
16922 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16923 (_IO_do_flush): Remove use of INTUSE.
16924 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16925 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16926 (_IO_adjust_column, _IO_least_wmarker)
16927 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16928 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16929 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16930 (_IO_default_doallocate, _IO_wdefault_doallocate)
16931 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16932 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16933 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16934 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16935 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16936 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16937 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16938 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16939 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16940 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16941 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16942 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16943 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16945 (_IO_flush_all_internal, _IO_adjust_column_internal)
16946 (_IO_default_uflow_internal, _IO_default_finish_internal)
16947 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16948 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16949 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16950 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16951 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16952 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16953 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16954 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16955 (_IO_file_close_internal, _IO_file_close_it_internal)
16956 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16957 (_IO_file_init_internal, _IO_file_attach_internal)
16958 (_IO_file_fopen_internal, _IO_file_read_internal)
16959 (_IO_file_sync_internal, _IO_file_seek_internal)
16960 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16961 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16962 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16963 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16964 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16965 (_IO_list_all_internal, _IO_link_in_internal)
16966 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16967 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16968 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16969 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16970 (_IO_do_write_internal, _IO_padn_internal)
16971 (_IO_getline_info_internal, _IO_getline_internal)
16972 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16973 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16974 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16975 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16976 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16977 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16978 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16979 with libc_hidden_ver, remove use of INTUSE.
16980 * libio/genops.c: Likewise.
16981 * libio/freopen.c: Likewise.
16982 * libio/freopen64.c: Likewise.
16983 * libio/iofclose.c: Likewise.
16984 * libio/iofdopen.c: Likewise.
16985 * libio/iofflush.c: Likewise.
16986 * libio/iofflush_u.c: Likewise.
16987 * libio/iofgets.c: Likewise.
16988 * libio/iofgets_u.c: Likewise.
16989 * libio/iofopen.c: Likewise.
16990 * libio/iofopncook.c: Likewise.
16991 * libio/iofread.c: Likewise.
16992 * libio/iofread_u.c: Likewise.
16993 * libio/ioftell.c: Likewise.
16994 * libio/iofwrite.c: Likewise.
16995 * libio/iogetline.c: Likewise.
16996 * libio/iogets.c: Likewise.
16997 * libio/iogetwline.c: Likewise.
16998 * libio/iopadn.c: Likewise.
16999 * libio/iopopen.c: Likewise.
17000 * libio/ioseekoff.c: Likewise.
17001 * libio/ioseekpos.c: Likewise.
17002 * libio/iosetbuffer.c: Likewise.
17003 * libio/iosetvbuf.c: Likewise.
17004 * libio/ioungetc.c: Likewise.
17005 * libio/ioungetwc.c: Likewise.
17006 * libio/iovdprintf.c: Likewise.
17007 * libio/iovsprintf.c: Likewise.
17008 * libio/iovsscanf.c: Likewise.
17009 * libio/memstream.c: Likewise.
17010 * libio/obprintf.c: Likewise.
17011 * libio/oldfileops.c: Likewise.
17012 * libio/oldiofclose.c: Likewise.
17013 * libio/oldiofdopen.c: Likewise.
17014 * libio/oldiofopen.c: Likewise.
17015 * libio/oldiopopen.c: Likewise.
17016 * libio/oldstdfiles.c: Likewise.
17017 * libio/putc.c: Likewise.
17018 * libio/setbuf.c: Likewise.
17019 * libio/setlinebuf.c: Likewise.
17020 * libio/stdfiles.c: Likewise.
17021 * libio/strops.c: Likewise.
17022 * libio/vasprintf.c: Likewise.
17023 * libio/vscanf.c: Likewise.
17024 * libio/vsnprintf.c: Likewise.
17025 * libio/vswprintf.c: Likewise.
17026 * libio/wfiledoalloc.c: Likewise.
17027 * libio/wfileops.c: Likewise.
17028 * libio/wgenops.c: Likewise.
17029 * libio/wmemstream.c: Likewise.
17030 * libio/wstrops.c: Likewise.
17031 * libio/__fpurge.c: Likewise.
17032 * libio/__fsetlocking.c: Likewise.
17033 * assert/assert.c: Likewise.
17034 * debug/fgets_chk.c: Likewise.
17035 * debug/fgets_u_chk.c: Likewise.
17036 * debug/fread_chk.c: Likewise.
17037 * debug/fread_u_chk.c: Likewise.
17038 * debug/gets_chk.c: Likewise.
17039 * debug/obprintf_chk.c: Likewise.
17040 * debug/vasprintf_chk.c: Likewise.
17041 * debug/vdprintf_chk.c: Likewise.
17042 * debug/vsnprintf_chk.c: Likewise.
17043 * debug/vsprintf_chk.c: Likewise.
17044 * malloc/mtrace.c: Likewise.
17045 * misc/error.c: Likewise.
17046 * misc/syslog.c: Likewise.
17047 * stdio-common/asprintf.c: Likewise.
17048 * stdio-common/fxprintf.c: Likewise.
17049 * stdio-common/getw.c: Likewise.
17050 * stdio-common/isoc99_fscanf.c: Likewise.
17051 * stdio-common/isoc99_scanf.c: Likewise.
17052 * stdio-common/isoc99_vfscanf.c: Likewise.
17053 * stdio-common/isoc99_vscanf.c: Likewise.
17054 * stdio-common/isoc99_vsscanf.c: Likewise.
17055 * stdio-common/printf-prs.c: Likewise.
17056 * stdio-common/printf_fp.c: Likewise.
17057 * stdio-common/printf_fphex.c: Likewise.
17058 * stdio-common/printf_size.c: Likewise.
17059 * stdio-common/putw.c: Likewise.
17060 * stdio-common/scanf.c: Likewise.
17061 * stdio-common/sprintf.c: Likewise.
17062 * stdio-common/tmpfile.c: Likewise.
17063 * stdio-common/vfprintf.c: Likewise.
17064 * stdio-common/vfscanf.c: Likewise.
17065 * stdlib/strfmon_l.c: Likewise.
17066 * sunrpc/openchild.c: Likewise.
17067 * sunrpc/xdr_stdio.c: Likewise.
17068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17069 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17071 2012-05-24 Roland McGrath <roland@hack.frob.com>
17073 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17075 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17076 in the third column, to generate for the shared library an IFUNC
17077 that uses _dl_vdso_vsym.
17078 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17079 * Makeconfig (object-suffixes-noshared): New variable.
17081 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17082 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17083 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17084 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17087 * include/sys/time.h (__gettimeofday): Remove macro.
17088 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17089 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17091 (__gettimeofday): Add libc_hidden_def.
17092 (gettimeofday): Add libc_hidden_weak.
17093 * sysdeps/mach/gettimeofday.c: Likewise.
17094 * sysdeps/posix/gettimeofday.c: Likewise.
17095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17096 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17098 (__gettimeofday_internal): Remove strong_alias.
17099 (__gettimeofday): Add libc_hidden_def.
17100 (gettimeofday): Add libc_hidden_weak.
17101 * sysdeps/unix/syscalls.list (gettimeofday):
17102 Remove __gettimeofday_internal alias.
17104 2012-05-24 Daniel Jacobowitz <drow@false.org>
17105 H.J. Lu <hongjiu.lu@intel.com>
17108 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17109 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17110 (largebin_index_32_big): New.
17111 (largebin_index): Use it for 16-byte alignment.
17112 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17113 correction with front_misalign.
17115 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17143 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17144 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17150 * math/libm-test.inc (exp_test): Add test from bug 14036.
17151 (pow_test): Add test from bug 10846.
17153 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17155 (special_function): Do not include flags in test name.
17156 (parse_args): Likewise.
17157 * sysdeps/i386/fpu/libm-test-ulps: Update.
17158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17159 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17163 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17165 * math/libm-test.inc ("Philosophy"): Update comment about
17167 (UNDERFLOW_EXCEPTION): New macro.
17168 (UNDERFLOW_EXCEPTION_OK): Likewise.
17169 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17170 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17171 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17172 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17173 (INVALID_EXCEPTION_OK): Update value.
17174 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17175 (OVERFLOW_EXCEPTION_OK): Likewise.
17176 (IGNORE_ZERO_INF_SIGN): Likewise.
17177 (test_exceptions): Handle underflow exceptions.
17178 (acos_test): Update for underflow exception expectations.
17179 (cexp_test): Likewise.
17180 (clog_test): Likewise.
17181 (clog10_test): Likewise.
17182 (csqrt_test): Likewise.
17183 (ctan_test): Likewise.
17184 (ctanh_test): Likewise.
17185 (exp_test): Likewise.
17186 (exp10_test): Likewise.
17187 (exp2_test): Likewise.
17188 (expm1_test): Likewise.
17189 (fma_test): Likewise.
17190 (j0_test): Likewise.
17191 (jn_test): Likewise.
17192 (nexttoward_test): Likewise.
17193 (pow_test): Likewise.
17194 (scalbn_test): Likewise.
17195 (scalbln_test): Likewise.
17196 (tan_test): Likewise.
17197 (y1_test): Likewise.
17198 * sysdeps/i386/fpu/libm-test-ulps: Update.
17199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17201 2012-05-23 David S. Miller <davem@davemloft.net>
17203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17204 (__libc_sigaction): Remove unused local variables.
17206 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17208 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17210 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17212 mktime: avoid signed integer overflow
17213 * time/mktime.c (__mktime_internal): Do not mishandle the case
17214 where diff == INT_MIN.
17216 mktime: simplify computation of average
17217 * time/mktime.c (ranged_convert): Use new time_t_avg function
17218 instead of rolling our own (probably-slower) code.
17220 mktime: do not assume signed right shift propagates sign bit
17221 * time/mktime.c (isdst_differ): New static function.
17222 (__mktime_internal): No need to normalize tm_isdst now.
17223 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17226 mktime: merge another wrapv change from gnulib
17227 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17228 from some compilers.
17230 mktime: remove incorrect attempt at unusual arithmetics
17231 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17232 The code didn't really work on such machines anyway.
17233 (TYPE_MINIMUM): Assume two's complement.
17234 (twos_complement_arithmetic): Verify that long_int and time_t
17235 are two's complement (or unsigned, in the latter case).
17237 mktime: check signed shifts on long_int and time_t, too
17238 * time/mktime.c (SHR): Check that shifts work as desired
17239 on the types long_int and time_t too, as SHR is used on
17242 mktime: do not assume 'long' is wide enough
17243 * time/mktime.c (verify): Move decl up.
17244 (long_int): New type.
17245 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17246 to remove assumption in the code that 'long' is wide enough to
17247 store year values. This assumption is not true on x32 and on
17248 some non-glibc platforms.
17250 mktime: merge wrapv change from gnulib
17251 * time/mktime.c (WRAPV): New macro.
17252 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17253 (guess_time_tm, __mktime_internal): Do not assume that signed
17254 integer overflow wraps around; modern compilers generate code
17255 where this assumption is no longer valid.
17257 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17259 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17260 Replace "jmp L(pseudo_end)" with "ret".
17261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17264 2012-05-23 Andreas Jaeger <aj@suse.de>
17266 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17267 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17269 2012-05-23 Andreas Jaeger <aj@suse.de>
17270 Maximilian Attems <max@stro.at>
17272 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17275 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17278 code so that pseudo_end is just ret and the stack pointer is
17279 correct also for static library in error case.
17281 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17283 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17284 move to syscalls.list.
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17290 * manual/install.texi (Running make install): Do not mention Linux
17291 kernel version for which pt_chown is not needed.
17292 (Linux): Do not mention problems with nscd with 2.0 kernels.
17293 * INSTALL: Regenerated.
17295 2012-05-23 Andreas Jaeger <aj@suse.de>
17297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17298 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17300 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17302 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17304 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17308 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17310 * sysdeps/unix/sysv/linux/bits/in.h
17311 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17313 2012-05-22 Roland McGrath <roland@hack.frob.com>
17315 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17316 (PREPARE_VERSION): Just use assert instead, it will be elided
17317 under [NDEBUG] anyway.
17319 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17321 * sysdeps/unix/sysv/linux/Makefile: Include
17322 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17323 (sysdep_routines): Remove sysctl.
17324 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17325 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17326 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17327 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17328 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17330 2012-05-22 Andreas Jaeger <aj@suse.de>
17332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17333 that pseudo_end is just ret and the stack pointer is correct also
17334 for static library in error case.
17336 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17339 * nss/nsswitch.c (defconfig_entries): New variable.
17340 (__nss_database_lookup): Don't leak defconfig entries.
17341 (nss_parse_service_list): Don't leak on error paths.
17342 (free_database_entries): New function.
17343 (free_defconfig): New function.
17344 (free_mem): Move common code to free_database_entries.
17346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17348 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17350 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17352 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17353 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17356 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17357 (INTERNAL_SYSCALL_TYPES): Likewise.
17358 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17359 (LOAD_REGS_TYPES_[1-6]): Likewise.
17360 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17361 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17363 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17365 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17366 copysignl for GLIBC_2_0.
17367 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17368 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17370 logbl for GLIBC_2_0.
17371 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17372 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17374 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17377 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17379 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17382 * time/mktime.c: Update copyright years.
17384 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17386 mktime: merge comment-quoting-style change from gnulib
17387 * time/mktime.c: Quote 'like this' in comments.
17388 The GNU coding standards suggest that we no longer quote `like this',
17389 as "`" and "'" are typically rendered asymmetrically nowadays.
17390 The typical gnulib style is to quote 'like this' when quoting
17391 code, and "like this" when quoting English.
17393 * time/mktime.c (compile-command): Add "-I.".
17395 mktime: merge mktime-internal.h change from gnulib
17396 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17398 mktime: merge time_r change from gnulib
17399 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17401 mktime: merge DEBUG change from gnulib
17402 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17403 case system <time.h> has a #define.
17405 mktime: merge <sys/types.h> change from gnulib
17406 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17407 since <time.t> is now guaranteed to define time_t.
17409 mktime: merge HAVE_CONFIG_H change from gnulib
17410 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17412 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17417 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17419 (struct rusage): Use anonymous union to pad each field to
17422 2012-05-21 David S. Miller <davem@davemloft.net>
17424 * Makefules (o-iterator): Remove .s cases.
17425 (compile-command.s): Delete.
17426 (COMPILE.s): Delete.
17427 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17429 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17431 * configure.in (libc_cv_predef_stack_protector): Only consider
17432 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17433 * configure: Regenerated.
17435 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17438 New macro. Use R*LP on int and pointer.
17439 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17440 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17441 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17442 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17444 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17445 [__WORDSIZE_TIME64_COMPAT32] instead of
17446 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17447 (struct utmp): Likewise.
17448 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17449 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17451 (__WORDSIZE_TIME64_COMPAT32): This.
17452 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17453 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17454 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17455 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17457 (__WORDSIZE_TIME64_COMPAT32): New macro.
17459 2012-05-21 Andreas Jaeger <aj@suse.de>
17461 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17462 only if [SHARED]. Add prototype for __wcschr_ia32.
17464 2012-05-21 Roland McGrath <roland@hack.frob.com>
17466 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17467 of %rbp unmolested in the jmp_buf while mangling the low bits.
17468 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17469 unmolested high bits of %rbp while demangling the low bits.
17470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17472 2012-05-21 Andreas Jaeger <aj@suse.de>
17474 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17475 * sunrpc/svc_simple.c: Use it for registerrpc.
17476 * sunrpc/xcrypt.c: Use it for passwd2des.
17478 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17480 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17482 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17483 Don't define if [__SYSCALL_WORDSIZE != 32].
17484 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17487 2012-05-21 Bruno Haible <bruno@clisp.org>
17488 Andreas Jaeger <aj@suse.de>
17490 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17491 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17492 inptr and inend for must_buffer_ch.
17493 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17494 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17495 * stdio-common/Makefile (tests): Remove bug15.
17496 (bug15-ENV): Remove macro.
17497 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17500 2012-05-19 Andreas Jaeger <aj@suse.de>
17501 Roland McGrath <roland@hack.frob.com>
17503 * manual/contrib.texi: Completely rewritten. It contains now an
17504 alphabetical list of contributors and their contributions.
17506 2012-05-21 Richard Henderson <rth@twiddle.net>
17508 * misc/getauxval.c (__getauxval): Use unsigned long int.
17509 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17510 (getauxval): Use unsigned long int.
17512 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17516 2012-05-21 Roland McGrath <roland@hack.frob.com>
17518 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17519 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17520 __alignof__ (long double).
17522 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17526 2012-05-20 Richard Henderson <rth@twiddle.net>
17528 * misc/getauxval.c: New file.
17529 * misc/sys/auxv.h: New file.
17530 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17531 (routines): Add getauxval.
17532 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17533 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17534 * elf/dl-sysdep.c (_dl_auxv): Remove.
17535 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17536 * elf/dl-support.c (_dl_auxv): New variable.
17537 (_dl_aux_init): Initialize it.
17538 * manual/startup.texi (Auxiliary Vector): New node.
17539 * sysdeps/generic/bits/hwcap.h: New file.
17540 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17541 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17542 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17543 * sysdeps/sparc/sysdep.h: ... here. Include it.
17544 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17557 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17561 2012-05-19 David S. Miller <davem@davemloft.net>
17563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17565 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17568 * math/s_ccosh.c: Include <float.h>
17569 (__ccosh): Avoid internal overflow calculating sinh and cosh
17570 values before multiplying by sin and cos values.
17571 * math/s_ccoshf.c: Likewise.
17572 * math/s_ccoshl.c: Likewise.
17573 * math/s_csin.c: Likewise.
17574 * math/s_csinf.c: Likewise.
17575 * math/s_csinl.c: Likewise.
17576 * math/s_csinh.c: Likewise.
17577 * math/s_csinhf.c: Likewise.
17578 * math/s_csinhl.c: Likewise.
17579 * math/libm-test.inc (ccos_test): Add more tests.
17580 (ccosh_test): Likewise.
17581 (csin_test): Likewise.
17582 (csinh_test): Likewise.
17583 * sysdeps/i386/fpu/libm-test-ulps: Update.
17584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17586 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17588 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17589 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17591 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17593 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17595 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17596 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17597 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17598 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17599 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17600 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17601 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17602 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17603 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17604 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17605 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17606 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17607 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17608 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17609 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17610 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17611 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17612 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17613 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17614 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17615 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17616 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17617 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17618 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17619 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17620 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17621 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17622 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17623 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17624 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17625 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17627 2012-05-18 Andreas Jaeger <aj@suse.de>
17629 * csu/.gitignore: Delete.
17631 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17633 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17634 (timex): Use __syscall_slong_t.
17636 2012-05-18 Andreas Jaeger <aj@suse.de>
17637 Carlos O'Donell <carlos_odonell@mentor.com>
17639 * manual/install.texi (Configuring and compiling): Update
17640 description about files modified in the source directory.
17641 * INSTALL: Regenerated.
17643 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17645 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17646 value. Use "or" to set return value to -1.
17647 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17648 negate return value.
17650 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17652 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17653 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17654 failure if the compiler has Graphite support disabled.
17655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17657 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17658 CFLAGS-memmove.c): Likewise.
17659 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17662 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17664 * sysdeps/x86_64/x32/_itoa.h: New file.
17666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17667 getdents system call only if kernel and user dirents have the
17668 same d_ino and d_off.
17670 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17671 LLONG_MAX != LONG_MAX.
17672 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17673 (_fitoa_word): Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17679 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17682 include <bits/wordsize.h>. Check __x86_64__ instead of
17684 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17685 if __x86_64__ is defined. Use anonymous union on fpstate.
17687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17690 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17692 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17693 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17694 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17695 Refer to _rtld_local_ro instead of _rtld_global_ro.
17696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17698 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17700 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17702 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17703 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17704 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17706 * sysdeps/powerpc/powerpc32/dl-machine.c
17707 (__elf_machine_runtime_setup) [PROF]: Don't reference
17710 2012-05-18 Andreas Jaeger <aj@suse.de>
17712 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17713 function only available for GCCs before 3.4 since GCC 3.4
17714 introduced a builtin.
17716 (llrintf): Likewise.
17717 (llrint): Likewise.
17724 (nearbyint): Likewise.
17725 (nearbyintf): Likewise.
17729 (floorf): Likewise.
17731 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17733 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17734 on both fields and cast pointer to __syscall_ulong_t.
17736 * bits/types.h (__fsword_t): New type.
17737 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17738 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17740 (__FSWORD_T_TYPE): Likewise.
17741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17742 (__FSWORD_T_TYPE): Likewise.
17743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17744 (__FSWORD_T_TYPE): Likewise.
17745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17746 (__FSWORD_T_TYPE): Likewise.
17747 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17748 __SWORD_TYPE with __fsword_t.
17749 (statfs64): Likewise.
17751 2012-05-17 David S. Miller <davem@davemloft.net>
17753 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17755 2012-05-17 Andreas Jaeger <aj@suse.de>
17757 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17760 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17762 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17764 2012-05-17 Andreas Jaeger <aj@suse.de>
17766 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17769 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17771 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17773 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17775 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17776 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17778 2012-05-17 Andreas Jaeger <aj@suse.de>
17779 Carlos O'Donell <carlos_odonell@mentor.com>
17782 * sysdeps/x86_64/multiarch/init-arch.h
17783 (bit_YMM_Usable): Rename to...
17784 (bit_AVX_Usable): ... this.
17785 (bit_FMA4_Usable): New macro.
17786 (bit_XMM_state): New macro.
17787 (bit_YMM_state): New macro.
17788 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17789 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17790 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17791 (CPUID_OSXSAVE): New macro.
17792 (CPUID_AVX): New macro.
17793 (CPUID_FMA4): New macro.
17794 (index_YMM_Usable): Rename to...
17795 (index_AVX_Usable): ... this.
17796 (HAS_AVX): Use HAS_ARCH_FEATURE.
17797 (HAS_FMA4): Likewise.
17798 (HAS_YMM_USABLE): Remove.
17799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17800 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17802 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17803 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17804 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17805 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17806 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17808 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17810 * math/libm-test.c: Support platforms without multiple rounding modes.
17811 * math/bug-nextafter.c: Support platforms without FP exceptions.
17812 * math/bug-nexttoward.c: Likewise.
17813 * math/test-fenv.c: Likewise.
17814 * math/test-misc.c: Likewise.
17815 * stdlib/bug-getcontext.c: Likewise.
17817 2012-05-17 Andreas Jaeger <aj@suse.de>
17819 * manual/examples/search.c (critter_cmp): Change signature to
17821 * manual/string.texi (Collation Functions): Likewise.
17823 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17825 * bits/types.h: Fold copyright years.
17826 * bits/typesizes.h: Likewise.
17827 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17831 * time/time.h: Likewise.
17833 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17836 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17837 in instead of returning them. Return void.
17838 (__libc_mallinfo): Accumulate over all arenas.
17839 (__malloc_stats): Adjust for change in int_mallinfo interface.
17841 2012-05-16 Roland McGrath <roland@hack.frob.com>
17844 * configure.in (NM): Add AC_CHECK_TOOL for it.
17845 (libc_extra_cflags): New substituted variable.
17846 Check for -fstack-protector being used implicitly.
17847 * configure: Regenerated.
17848 * config.make.in (config-extra-cflags): New variable,
17849 gets @libc_extra_cflags@.
17850 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17853 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17854 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17855 * configure: Regenerated.
17856 * config.make.in (CPPUNDEFS): New substituted variable.
17857 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17858 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17859 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17863 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17864 (mq_attr): Use __syscall_slong_t.
17866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17868 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17869 Check __x86_64__ instead of __WORDSIZE.
17870 (_STAT_VER_LINUX): Likewise.
17871 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17872 __syscall_ulong_t and __syscall_slong_t.
17873 (stat64): Likewise.
17875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17881 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17885 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17889 include <bits/wordsize.h>. Check __x86_64__ instead of
17891 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17893 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17896 include <bits/wordsize.h>. Check __x86_64__ instead of
17898 (user_regs_struct): Use "__extension__ unsigned long long"
17899 instead of "unsigned long" if __x86_64__ is defined.
17900 (user): Likewise. Pad after pointer field if __ILP32__ is
17903 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17905 * configure.in (makeinfo): Require version 4.5 or later. Allow
17907 * configure: Regenerated.
17908 * manual/install.texi (texinfo): Increase version requirement to
17910 * INSTALL: Regenerated.
17912 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17914 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17916 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17918 * sysdeps/x86_64/x32/ffs.c: New file.
17920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17922 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17923 defined. Use __syscall_ulong_t.
17924 (shminfo): Use __syscall_ulong_t.
17925 (shm_info): Likewise.
17927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17930 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17932 (msgqnum_t): Use __syscall_ulong_t.
17933 (msglen_t): Likewise.
17934 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17937 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17938 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17940 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17942 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17943 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17945 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17949 include <bits/wordsize.h>. Check __x86_64__ instead of
17952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17953 "unsigned long long int" if __x86_64__ is defined.
17954 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17958 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17960 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17962 (GET_PC): Cast to uintptr_t first.
17963 (GET_FRAME): Likewise.
17964 (GET_STACK): Likewise.
17966 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17972 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17973 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17974 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17975 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17976 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17977 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17979 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17991 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17994 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17996 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17998 * Makerules (+depfiles): Also collect depfiles from .oS in
18000 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18001 .oS, $(libnldbl-routines)).
18003 * Makerules (native-compile-mkdep-flags): Define.
18004 * sunrpc/Makefile (extra-objs): Add $(addprefix
18005 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18006 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18007 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18008 calling $(make-target-directory).
18010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18012 * bits/types.h (__snseconds_t): Removed.
18013 * time/time.h (struct timespec): Replace __snseconds_t with
18015 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18016 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18019 (__SNSECONDS_T_TYPE): Likewise.
18020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18021 (__SNSECONDS_T_TYPE): Likewise.
18022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18023 (__SNSECONDS_T_TYPE): Likewise.
18025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18027 * sysdeps/mach/hurd/bits/typesizes.h
18028 (__SYSCALL_SLONG_TYPE): New macro.
18029 (__SYSCALL_ULONG_TYPE): Likewise.
18031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18033 * bits/types.h (__syscall_slong_t): New type.
18034 (__syscall_ulong_t): Likewise.
18036 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18037 (__SYSCALL_ULONG_TYPE): Likewise.
18038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18039 (__SYSCALL_SLONG_TYPE): Likewise.
18040 (__SYSCALL_ULONG_TYPE): Likewise.
18041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18042 (__SYSCALL_SLONG_TYPE): Likewise.
18043 (__SYSCALL_ULONG_TYPE): Likewise.
18044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18045 (__SYSCALL_SLONG_TYPE): Likewise.
18046 (__SYSCALL_ULONG_TYPE): Likewise.
18048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18050 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18051 Add sigaltstack-offsets.sym.
18052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18053 <sigaltstack-offsets.h>.
18054 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18055 longjmp_msg pointer.
18056 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18057 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18059 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18061 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18063 * elf/stackguard-macros.h: Remove file.
18064 * sysdeps/generic/stackguard-macros.h: New file.
18065 * sysdeps/i386/stackguard-macros.h: Likewise.
18066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18072 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18073 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18074 <elf/stackguard-macros.h>.
18077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18078 __aligned__ in attribute.
18079 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18080 (gregset_t): Likewise.
18082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18084 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18085 * sysdeps/x86_64/64/Implies-after: Here. New file.
18086 * sysdeps/x86_64/x32/Implies-after: New file.
18088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18090 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18091 and access return value for _dl_profile_fixup. Use R10_LP to
18094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18096 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18100 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18101 * sysdeps/x86_64/x32/sysdep.h: New file.
18103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18105 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18106 * sysdeps/x86_64/setjmp.S: Likewise.
18108 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18112 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18113 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18114 remove unused global constant.
18116 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18118 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18119 include of <not-cancel.h>.
18121 2012-05-15 Roland McGrath <roland@hack.frob.com>
18123 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18125 2012-05-15 Jeff Law <law@redhat.com>
18126 Andreas Jaeger <aj@suse.de>
18129 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18131 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18132 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18134 code changing __hst_map_handle.map.
18136 2012-05-15 Roland McGrath <roland@hack.frob.com>
18138 * configure.in (sysnames): Look for Implies-before and Implies-after
18140 * configure: Regenerated.
18142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18144 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18145 8-byte data alignment with LP_SIZE alignment.
18147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18154 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18159 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18166 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18167 (stackinfo_sub_sp): Likewise.
18169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18186 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18190 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18191 into R11_LP and load __x86_64_shared_cache_size_half into
18194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18196 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18199 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18208 powerpc32/power7/fpu/s_logb.c via #include.
18209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18210 powerpc32/power7/fpu/s_logbf.c via #include.
18211 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18212 powerpc32/power7/fpu/s_logbl.c via #include.
18214 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18216 * README.libm: Remove file.
18218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18220 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18221 count for x32. Use R*_LP and omit operand-size suffix.
18223 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18225 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18226 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18227 * sysdeps/x86_64/x32/shlib-versions: New file.
18229 2012-05-14 Roland McGrath <roland@hack.frob.com>
18231 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18232 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18233 Use _dl_fatal_printf instead.
18235 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18237 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18238 set if not set by the user. Do not allow for being unset.
18239 * sysdeps/unix/sysv/linux/configure: Regenerated.
18241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18243 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18244 the `q' suffix from lea and replace .quad with ASM_ADDR.
18246 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18249 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18251 (PTR_DEMANGLE): Likewise.
18253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18255 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18257 (ASM_ADDR): Likewise.
18258 (RAX_LP): Likewise.
18259 (RBP_LP): Likewise.
18260 (RBX_LP): Likewise.
18261 (RCX_LP): Likewise.
18262 (RDI_LP): Likewise.
18263 (RSI_LP): Likewise.
18264 (RSP_LP): Likewise.
18267 (R10_LP): Likewise.
18268 (R10_LP): Likewise.
18269 (R11_LP): Likewise.
18270 (R12_LP): Likewise.
18271 (R13_LP): Likewise.
18272 (R14_LP): Likewise.
18273 (R15_LP): Likewise.
18275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18277 * sysdeps/x86_64/x32/dl-machine.h: New file.
18279 2012-05-14 Andreas Jaeger <aj@suse.de>
18281 * manual/Makefile (subdir): Remove export of subdir.
18282 (all): Remove target.
18283 (.PHONY): Remove all from list.
18284 (mkinstalldirs): Remove.
18285 (.PHONY): Remove installdirs from list.
18286 ($(inst_infodir)/libc.info): Use make-target-directory.
18287 (installdirs): Remove.
18288 (subdir_%): Remove.
18289 (glibc-targets): Remove.
18292 ($(objpfx)stubs ../po/manual.pot): Remove.
18293 ($(objpfx)stamp%): Remove.
18294 (make-target-directory): Remove.
18295 (subdir_install): Remove.
18296 (routines): Remove.
18303 * manual/.gitignore: Remove, it's not needed anymore.
18304 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18306 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18308 (texis): Renamed to $(objpfx)texis.
18309 (texis-path): New, contains path to generated files.
18310 (chapters.%): Use texis-path for complete path, add extra argument
18312 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18313 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18314 (summary,texi, stamp-summary): Use complete path of
18315 files. Generate files in build dir.
18316 (dir-add.texi): Build in build dir.
18317 (libm-err.texi,stamp-libm-err): Likewise.
18318 (version.texi, stamp-version): Likewise.
18319 (.%c.texi): Likewise.
18320 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18321 (mostlyclean): Remove target.
18322 (realclean): Remove target.
18323 (generated): Add new variable with contents from mostlyclean and
18324 realclean, remove entries duplicated in common-mostlyclean, add
18325 stamp-libm-err and stamp-version.
18326 (generated-dirs): Add libc directory.
18327 ($(inst_infodir)/libc.info): Install files from build dir.
18329 * manual/install.texi (Configuring and compiling): Adjust since
18330 the info files are not part of the tar ball anymore.
18332 2012-05-14 Andreas Jaeger <aj@suse.de>
18334 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18337 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18341 to 2.2.0 where earlier.
18342 * sysdeps/unix/sysv/linux/configure: Regenerated.
18343 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18344 Remove conditional code.
18345 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18346 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18347 Remove conditional code.
18348 [!__NR_lchown]: Likewise.
18349 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18350 [__NR_lchown]: Likewise.
18351 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18352 comment referencing __ASSUME_LCHOWN_SYSCALL.
18353 * sysdeps/unix/sysv/linux/i386/sigaction.c
18354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18356 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18357 Remove conditional code.
18358 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18359 (__protocol_available): Remove #if 0 code.
18360 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18362 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18363 * sysdeps/unix/sysv/linux/kernel-features.h
18364 (__ASSUME_GETCWD_SYSCALL): Don't define.
18365 (__ASSUME_REALTIME_SIGNALS): Likewise.
18366 (__ASSUME_PREAD_SYSCALL): Likewise.
18367 (__ASSUME_PWRITE_SYSCALL): Likewise.
18368 (__ASSUME_POLL_SYSCALL): Likewise.
18369 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18370 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18372 (__ASSUME_SIOCGIFNAME): Don't define.
18373 (__ASSUME_MSG_NOSIGNAL): Likewise.
18374 (__ASSUME_SENDFILE): Define unconditionally.
18375 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18376 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18378 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18379 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18380 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18381 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18382 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18383 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18384 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18386 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18409 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18410 Remove conditional code.
18411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18412 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18413 Remove conditional code.
18414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18415 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18416 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18417 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18418 Remove conditional code.
18419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18420 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18421 Remove conditional code.
18422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18423 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18424 Remove conditional code.
18425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18426 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18427 Remove conditional code.
18428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18429 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18430 Remove conditional code.
18431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18432 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18435 * sysdeps/unix/sysv/linux/sigaction.c
18436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18438 * sysdeps/unix/sysv/linux/sigpending.c
18439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18441 * sysdeps/unix/sysv/linux/sigprocmask.c
18442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18444 * sysdeps/unix/sysv/linux/sigsuspend.c
18445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18448 (__libc_missing_rt_sigs): Remove.
18449 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18450 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18451 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18452 Remove conditional code.
18453 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18454 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18458 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18459 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18461 2012-05-14 Andreas Jaeger <aj@suse.de>
18463 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18464 it's not used in glibc.
18465 (__coshm1): Likewise.
18466 (__acosh1p): Likewise.
18469 * manual/string.texi (Copying and Concatenation): Add missing
18470 variable in concat example.
18471 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18477 __builtin_clzl with __builtin_clzll.
18479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18482 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18485 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18487 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18488 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18489 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18490 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18492 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18494 * NEWS: Update ia64 info.
18496 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18498 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18501 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18503 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18504 * sysdeps/unix/syscalls.list (dup3): Likewise.
18505 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18506 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18508 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18510 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18511 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18513 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18515 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18517 (TLS_IE): Use mov/add instead of movq/addq to load thread
18519 (TLS_GD_PREFIX): New.
18522 2012-05-11 David S. Miller <davem@davemloft.net>
18524 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18525 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18526 (_FPU_SETCW): Likewise.
18528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18530 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18531 is 32-byte aligned.
18533 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18536 * iconvdata/gb18030.c: Update tables.
18537 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18538 characters specially.
18539 (BODY for TO_LOOP): Add encoding of missing ranges.
18541 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18544 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18545 * sysdeps/mach/hurd/dup3.c: Likewise.
18546 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18547 * sysdeps/powerpc/memmove.c:: Likewise.
18549 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18552 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18554 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18556 * elf/elf.h (R_X86_64_RELATIVE64): New.
18557 (R_X86_64_NUM): Updated.
18558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18559 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18560 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18561 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18562 tst-quad1pie tst-quad2pie
18563 (modules-names): Add tst-quadmod1 tst-quadmod2.
18564 ($(objpfx)tst-quad1): New dependency.
18565 ($(objpfx)tst-quad2): Likewise.
18566 ($(objpfx)tst-quad1pie): Likewise.
18567 ($(objpfx)tst-quad2pie): Likewise.
18568 * sysdeps/x86_64/tst-quad1.c: New file.
18569 * sysdeps/x86_64/tst-quad1pie.c: New file.
18570 * sysdeps/x86_64/tst-quad2.c: Likewise.
18571 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18572 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18573 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18574 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18575 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18579 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18580 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18581 * streams/stropts.h (t_scalar_t): Define type.
18583 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18584 (_PATH_PRESERVE): Set to "/var/lib".
18585 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18587 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18590 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18591 if __dir_mkfile succeeded.
18593 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18594 checking for _hurd_dtablesize. Unlock it right after having
18595 finished _hurd_dtable allocation.
18597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18599 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18600 * sysdeps/mach/hurd/configure: Regenerated.
18601 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18602 special-casing to...
18603 * sysdeps/gnu/configure.in: ... this new file.
18604 * sysdeps/unix/sysv/linux/configure: Regenerated.
18605 * sysdeps/gnu/configure: New generated file.
18607 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18608 for Linux: use nsec instead of usec, as well as:
18609 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18610 members of type struct timespec.
18611 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18613 (struct stat64): Likewise.
18614 (_STATBUF_ST_NSEC): New macro.
18615 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18617 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18618 __strtoul_internal rather than strtoul.
18620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18622 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18627 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18628 which preserves existing values.
18629 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18631 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18633 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18634 TIMEOUT values. Return EINVAL for NFDS values either negative or
18635 greater than FD_SETSIZE.
18637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18639 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18640 allocated, call __vm_protect to finish enabling the existing space, and
18641 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18642 allocate the remainder.
18644 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18646 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18647 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18651 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18652 sysdeps/mach/hurd/readlink.c.
18654 * posix/tst-sysconf.c (posix_options): Only use
18655 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18656 _POSIX_SYNCHRONIZED_IO when they are defined
18657 * sysdeps/mach/hurd/bits/posix_opt.h:
18658 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18659 (_XOPEN_REALTIME): Undefine macro.
18660 (_XOPEN_REALTIME_THREADS): Undefine macro.
18661 (_XOPEN_SHM): Undefine macro.
18662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18664 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18666 (_POSIX_ASYNC_IO): Undefine macro.
18667 (_POSIX_PRIORITIZED_IO): Undefine macro.
18668 (_POSIX_SPIN_LOCKS): Define macro to -1.
18670 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18671 SA_NODEFER, SA_RESETHAND.
18672 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18673 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18678 * elf/Makefile (pldd-modules): Define unconditionally.
18680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18682 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18686 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18687 Return ENOENT when name is empty.
18688 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18692 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18694 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18698 Fix mlock in all cases except non-readable pages.
18699 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18700 instead of VM_PROT_ALL as parameter to __vm_wire function.
18702 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18703 (__mkdir): When path is `/', just fail with EEXIST.
18704 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18708 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18709 <sys/uio.h> (for writev).
18710 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18711 and <sys/param.h> (for MIN).
18713 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18715 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18716 REQUESTED_TIME. Properly set the remaining time and return EINTR
18719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18722 Depend on against $(link-rpcuserlibs).
18724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18726 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18727 (__libc_stack_end): Do not use attribute_relro.
18728 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18729 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18730 to libthread-provided value.
18731 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18737 * bits/libc-lock.h (__libc_once_get): New macro.
18738 * sysdeps/mach/bits/libc-lock.h: Likewise.
18739 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18741 instead of using implementation details.
18743 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18744 * libio/freopen.c: Likewise.
18745 * libio/freopen64.c: Likewise.
18746 * misc/syslog.c: Likewise.
18747 * nscd/connections.c: Likewise.
18748 * nscd/netgroupcache.c: Likewise.
18749 * sysdeps/posix/getcwd.c: Likewise.
18751 2012-05-10 Roland McGrath <roland@hack.frob.com>
18753 * math/w_ilogbf.c: Add #include <limits.h>.
18755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18757 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18758 path instead of returning without unlocking.
18760 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18761 immediate-write ioctls.
18762 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18766 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18767 __builtin_frame_address instead of making assumptions about the
18768 location of the return address relative to DATA. Force early load of
18769 the return address.
18770 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18771 __builtin_frame_address.
18774 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18775 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18776 implement dup3 and do some further code clean-ups.
18777 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18778 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18782 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18784 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18785 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18786 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18787 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18788 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18791 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18792 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18793 when handler == SIG_ERR, not when handler != SIG_ERR.
18795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18797 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18798 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18801 accept4 for GNU Hurd.
18802 * include/sys/socket.h (__libc_accept4): New prototype.
18803 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18804 to implement __libc_accept4.
18805 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18807 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18809 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18810 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18811 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18812 signal-defines.sym.
18814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18816 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18820 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18821 assertion on O_CLOEXEC flag.
18822 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18823 * hurd/intern-fd.c: Likewise.
18824 * hurd/port2fd.c: Likewise.
18826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18829 * bits/in.h (IPV6_PKTINFO): Define new macro.
18830 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18832 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18837 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18839 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18840 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18843 * math/libm-test.inc (logb_test) : Additional logb tests.
18845 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18846 Andreas Jaeger <aj@suse.de>
18848 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18849 * configure: Regenerated.
18850 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18851 * config.make.in (link-obsolete-rpc): New substituted variable.
18852 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18853 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18854 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18855 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18856 so that libc.a contains the symbols.
18857 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18858 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18859 * sunrpc/auth_none.c: Likewise.
18860 * sunrpc/auth_unix.c: Likewise.
18861 * sunrpc/authdes_prot.c: Likewise.
18862 * sunrpc/authuxprot.c: Likewise.
18863 * sunrpc/clnt_gen.c: Likewise.
18864 * sunrpc/clnt_perr.c: Likewise.
18865 * sunrpc/clnt_raw.c: Likewise.
18866 * sunrpc/clnt_simp.c: Likewise.
18867 * sunrpc/clnt_tcp.c: Likewise.
18868 * sunrpc/clnt_udp.c: Likewise.
18869 * sunrpc/clnt_unix.c: Likewise.
18870 * sunrpc/des_crypt.c: Likewise.
18871 * sunrpc/des_soft.c: Likewise.
18872 * sunrpc/get_myaddr.c: Likewise.
18873 * sunrpc/key_call.c: Likewise.
18874 * sunrpc/key_prot.c: Likewise.
18875 * sunrpc/netname.c: Likewise.
18876 * sunrpc/pm_getmaps.c: Likewise.
18877 * sunrpc/pm_getport.c: Likewise.
18878 * sunrpc/pmap_clnt.c: Likewise.
18879 * sunrpc/pmap_prot.c: Likewise.
18880 * sunrpc/pmap_prot2.c: Likewise.
18881 * sunrpc/pmap_rmt.c: Likewise.
18882 * sunrpc/publickey.c: Likewise.
18883 * sunrpc/rpc_cmsg.c: Likewise.
18884 * sunrpc/rpc_common.c: Likewise.
18885 * sunrpc/rpc_dtable.c: Likewise.
18886 * sunrpc/rpc_prot.c: Likewise.
18887 * sunrpc/rpc_thread.c: Likewise.
18888 * sunrpc/rtime.c: Likewise.
18889 * sunrpc/svc.c: Likewise.
18890 * sunrpc/svc_auth.c: Likewise.
18891 * sunrpc/svc_raw.c: Likewise.
18892 * sunrpc/svc_run.c: Likewise.
18893 * sunrpc/svc_tcp.c: Likewise.
18894 * sunrpc/svc_udp.c: Likewise.
18895 * sunrpc/svc_unix.c: Likewise.
18896 * sunrpc/svcauth_des.c: Likewise.
18897 * sunrpc/xcrypt.c: Likewise.
18898 * sunrpc/xdr.c: Likewise.
18899 * sunrpc/xdr_array.c: Likewise.
18900 * sunrpc/xdr_float.c: Likewise.
18901 * sunrpc/xdr_intXX_t.c: Likewise.
18902 * sunrpc/xdr_mem.c: Likewise.
18903 * sunrpc/xdr_rec.c: Likewise.
18904 * sunrpc/xdr_ref.c: Likewise.
18905 * sunrpc/xdr_sizeof.c: Likewise.
18906 * sunrpc/xdr_stdio.c: Likewise.
18908 2012-05-10 Roland McGrath <roland@hack.frob.com>
18910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18911 change. Update copyright years.
18913 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18915 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18917 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18918 Joseph Myers <joseph@codesourcery.com>
18919 Paul Pluzhnikov <ppluzhnikov@google.com>
18922 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18924 [cross-compiling] (extra-libs): Likewise.
18925 [cross-compiling] (extra-libs-others): Likewise.
18926 [cross-compiling] (librpcsvc-routines): Likewise.
18927 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18928 [cross-compiling] (omit-deps): Likewise.
18929 (sunrpc-CPPFLAGS): New variable.
18930 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18931 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18932 (cross-rpcgen-objs): New variable.
18933 (extra-objs): Append $(cross-rpcgen-objs).
18934 ($(cross-rpcgen-objs)): New rule.
18935 ($(objpfx)cross-rpcgen): Likewise.
18936 (rpcgen-cmd): Define to use $(built-program-file). Expand
18938 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18939 ($(objpfx)x%.stmp): Likewise.
18940 * sunrpc/proto.h [IS_IN_build] (_): Define.
18941 [IS_IN_build] (_libc_intl_domainname): Likewise.
18943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18946 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18947 and R_X86_64_TPOFF64.
18949 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18951 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18952 sysdeps/unix/sysv/syscalls.list.
18955 * sysdeps/unix/sysv/syscalls.list: Remove file.
18957 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18960 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18961 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18962 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18963 (__LC_IDENTIFICATION): Make these macros useful in #if
18964 expressions, as required by C99.
18966 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18968 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18969 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18972 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18974 * stdlib/longlong.h: Updated from GCC.
18976 2012-05-09 Andreas Jaeger <aj@suse.de>
18978 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18979 default is first entry.
18980 (run_mode): Set type.
18981 (main): Remove informal message about syslog.
18982 (options): Fix typo.
18985 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18988 (llrintf): Likewise.
18989 (llrint): Likewise.
18992 (nearbyint): Likewise.
18993 (nearbyintf): Likewise.
18995 2012-05-09 Andreas Jaeger <aj@suse.de>
18996 Pedro Alves <palves@redhat.com>
18998 * nscd/nscd.c (run_mode): Use enum.
18999 (main): Cleanup coding style issue.
19001 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19002 Andreas Jaeger <aj@suse.de>
19004 * nscd/nscd.c (go_background): Replaced with...
19005 (run_mode): ... this.
19006 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19007 (options): Add -F --foreground.
19008 (main): Implement it.
19009 (parse_opt): Parse it.
19011 2012-05-09 Andreas Jaeger <aj@suse.de>
19014 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19015 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19016 -Wconversion warning.
19017 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19020 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19022 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19024 (LC_ALL): Use macro-int-constant.
19025 (LC_COLLATE): Likewise.
19026 (LC_CTYPE): Likewise.
19027 (LC_MESSAGES): Likewise.
19028 (LC_MONETARY): Likewise.
19029 (LC_NUMERIC): Likewise.
19030 (LC_TIME): Likewise.
19031 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19032 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19034 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19036 [C99-based standards] (float_t): Expect type.
19037 [C99-based standards] (double_t): Expect type.
19038 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19040 [C99-based standards] (HUGE_VALL): Likewise.
19041 [C99-based standards] (INFINITY): Likewise.
19042 [C99-based standards] (NAN): Likewise.
19043 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19044 [C99-based standards] (FP_NAN): Likewise.
19045 [C99-based standards] (FP_NORMAL): Likewise.
19046 [C99-based standards] (FP_SUBNORMAL): Likewise.
19047 [C99-based standards] (FP_ZERO): Likewise.
19048 [C99-based standards] (FP_FAST_FMA): Use
19049 optional-macro-int-constant. Specify type. Require == 1.
19050 [C99-based standards] (FP_FAST_FMAF): Likewise.
19051 [C99-based standards] (FP_FAST_FMAL): Likewise.
19052 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19053 [C99-based standards] (FP_ILOGBNAN): Likewise.
19054 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19056 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19057 [C99-based standards] (math_errhandling): Specify type.
19058 [ISO99 || ISO11] (signgam): Do not allow.
19059 [non-C99-based standards] (copysignf): Do not allow.
19060 [non-C99-based standards] (exp2f): Likewise.
19061 [non-C99-based standards] (log2f): Likewise.
19062 [non-C99-based standards] (modff): Allow.
19063 [non-C99-based standards] (erff): Do not allow.
19064 [non-C99-based standards] (erfcf): Likewise.
19065 [non-C99-based standards] (gammaf): Likewise.
19066 [non-C99-based standards] (hypotf): Likewise.
19067 [non-C99-based standards] (j0f): Likewise.
19068 [non-C99-based standards] (j1f): Likewise.
19069 [non-C99-based standards] (jnf): Likewise.
19070 [non-C99-based standards] (lgammaf): Likewise.
19071 [non-C99-based standards] (tgammaf): Likewise.
19072 [non-C99-based standards] (y0f): Likewise.
19073 [non-C99-based standards] (y1f): Likewise.
19074 [non-C99-based standards] (ynf): Likewise.
19075 [non-C99-based standards] (isnanf): Likewise.
19076 [non-C99-based standards] (acoshf): Likewise.
19077 [non-C99-based standards] (asinhf): Likewise.
19078 [non-C99-based standards] (atanhf): Likewise.
19079 [non-C99-based standards] (cbrtf): Likewise.
19080 [non-C99-based standards] (expm1f): Likewise.
19081 [non-C99-based standards] (ilogbf): Likewise.
19082 [non-C99-based standards] (log1pf): Likewise.
19083 [non-C99-based standards] (logbf): Likewise.
19084 [non-C99-based standards] (nextafterf): Likewise.
19085 [non-C99-based standards] (remainderf): Likewise.
19086 [non-C99-based standards] (rintf): Likewise.
19087 [non-C99-based standards] (scalbf): Likewise.
19088 [non-C99-based standards] (copysignl): Likewise.
19089 [non-C99-based standards] (exp2l): Likewise.
19090 [non-C99-based standards] (log2l): Likewise.
19091 [non-C99-based standards] (modfl): Allow.
19092 [non-C99-based standards] (erfl): Do not allow.
19093 [non-C99-based standards] (erfcl): Likewise.
19094 [non-C99-based standards] (gammal): Likewise.
19095 [non-C99-based standards] (hypotl): Likewise.
19096 [non-C99-based standards] (j0l): Likewise.
19097 [non-C99-based standards] (j1l): Likewise.
19098 [non-C99-based standards] (jnl): Likewise.
19099 [non-C99-based standards] (lgammal): Likewise.
19100 [non-C99-based standards] (tgammal): Likewise.
19101 [non-C99-based standards] (y0l): Likewise.
19102 [non-C99-based standards] (y1l): Likewise.
19103 [non-C99-based standards] (ynl): Likewise.
19104 [non-C99-based standards] (isnanl): Likewise.
19105 [non-C99-based standards] (acoshl): Likewise.
19106 [non-C99-based standards] (asinhl): Likewise.
19107 [non-C99-based standards] (atanhl): Likewise.
19108 [non-C99-based standards] (cbrtl): Likewise.
19109 [non-C99-based standards] (expm1l): Likewise.
19110 [non-C99-based standards] (ilogbl): Likewise.
19111 [non-C99-based standards] (log1pl): Likewise.
19112 [non-C99-based standards] (logbl): Likewise.
19113 [non-C99-based standards] (nextafterl): Likewise.
19114 [non-C99-based standards] (remainderl): Likewise.
19115 [non-C99-based standards] (rintl): Likewise.
19116 [non-C99-based standards] (scalbl): Likewise.
19117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19118 [non-C99-based standards] (FP_*): Do not allow.
19119 [C99-based standards] (FP_*): Change to
19120 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19121 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19123 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19124 (SIG_ERR): Likewise.
19125 [X/Open-based standards] (SIG_HOLD): Likewise.
19126 (SIG_IGN): Likewise.
19127 (SIGABRT): Use macro-int-constant. Specify type. Require
19129 (SIGFPE): Likewise.
19130 (SIGILL): Likewise.
19131 (SIGINT): Likewise.
19132 (SIGSEGV): Likewise.
19133 (SIGTER): Likewise.
19134 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19135 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19136 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19137 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19138 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19139 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19140 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19141 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19142 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19143 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19144 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19145 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19146 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19147 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19148 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19149 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19150 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19151 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19152 [X/Open-based standards] (SIGTRAP): Likewise.
19153 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19154 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19155 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19156 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19157 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19160 2012-05-08 Ian Wienand <ianw@vmware.com>
19163 * time/tzset.c (__tzset_parse_tz): Update default rules for
19164 daylight time changes in the Energy Policy Act of 2005.
19166 2012-05-09 Andreas Jaeger <aj@suse.de>
19169 * elf/ldconfig.c (parse_conf): Change string to make clear that
19170 ldconfig only issued a warning if ld.so.conf does not exist.
19172 2012-05-08 David S. Miller <davem@davemloft.net>
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19175 movxtod instead of popping the value on the stack.
19177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19179 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19181 * config.h.in: Add HAVE_ARM_PCS_VFP.
19183 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19186 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19187 checking but the checks are disabled for any reason.
19189 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19191 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19192 and ELF64_R_TYPE with ELFW(R_TYPE).
19194 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19196 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19197 (ulimit): Likewise.
19199 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19200 (settimeofday): Likewise.
19202 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19204 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19205 a struct th_u2 inside the union, and move tu_block/tu_code into
19206 a new th_u3 union of tu_block/tu_code inside of that. Move
19207 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19208 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19209 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19210 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19211 (th_stuff): Change to th_u1.tu_stuff.
19213 (th_msg): Change to th_u1.th_u2.tu_data.
19215 2012-05-07 David S. Miller <davem@davemloft.net>
19217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19220 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19221 (SETUP_PIC_REG): Use it.
19222 (SETUP_PIC_REG_LEAF): Use it.
19224 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19230 (EXPL_FINITE): Likewise.
19231 (FLDLOG): Likewise.
19232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19233 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19235 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19237 (EXPL_FINITE): Likewise.
19238 (FLDLOG): Likewise.
19239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19240 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19242 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19243 test of -max_value argument for long double.
19244 * sysdeps/i386/fpu/libm-test-ulps: Update.
19245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19247 2012-05-06 David S. Miller <davem@davemloft.net>
19249 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19250 quad soft-float symbols whose references which are compiler
19252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19254 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19260 (EXPL_FINITE): Likewise.
19261 (FLDLOG): Likewise.
19264 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19265 Adjust comments for base varying.
19266 (__expl_finite): Change alias to EXPL_FINITE.
19267 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19269 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19270 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19272 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19273 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19287 * math/libm-test.inc (check_float_internal): Correct ulp
19288 calculation for subnormal expected results.
19290 2012-05-06 Andreas Jaeger <aj@suse.de>
19292 * Makeconfig (+math-flags): New, set to -frounding-math.
19293 (+cflags): Add +math-flags so that all of glibc gets compiled with
19296 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19298 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19300 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19306 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19307 (__ieee754_expl): Allow for and saturate large arguments.
19308 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19309 (u_threshold): Likewise.
19310 (__exp): Call __ieee754_exp before checking for overflow and
19312 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19313 (u_threshold): Likewise.
19314 (__expf): Call __ieee754_expf before checking for overflow and
19316 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19317 (u_threshold): Likewise.
19318 (__expl): Call __ieee754_expl before checking for overflow and
19320 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19321 (__ieee754_expl): Allow for and saturate large arguments.
19322 * math/libm-test.inc (exp_test): Add another test. Do not allow
19323 missing overflow exception on overflow.
19324 (expm1_test): Do not allow missing overflow exception on overflow.
19326 * sysdeps/i386/fpu/e_expl.c: Move to ...
19327 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19328 rather than using inline asm.
19329 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19330 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19331 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19333 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19336 (signal): Likewise.
19340 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19342 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19343 sysdeps/unix/common/syscalls.list.
19344 (fchmod): Likewise.
19345 (fchown): Likewise.
19346 (ftruncate): Likewise.
19347 (getrusage): Likewise.
19348 (gettimeofday): Likewise.
19349 (setpgid): Likewise.
19350 (setregid): Likewise.
19351 (setreuid): Likewise.
19352 (sigaction): Likewise.
19353 (truncate): Likewise.
19354 (vhangup): Likewise.
19355 * sysdeps/unix/common/syscalls.list: Remove file.
19356 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19357 * sysdeps/unix/sysv/linux/Implies: Likewise.
19359 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19376 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19382 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19385 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19389 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19396 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19400 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19406 * sysdeps/unix/common/bits/dirent.h: Remove file.
19407 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19409 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19410 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19411 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19412 * sysdeps/unix/bsd/isatty.c: Likewise.
19413 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19414 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19415 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19417 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19421 long double comparison inaccuracies.
19422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19425 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19427 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19430 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19434 nonzero digits before rounding a hex value.
19435 * stdlib/tst-strtod.c (tests): Add another test.
19437 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19439 * sysdeps/s390/fpu/libm-test-ulps: Update.
19441 2012-05-03 Andreas Jaeger <aj@suse.de>
19443 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19444 does not get optimized out.
19445 (malloc_opt_barrier): New.
19447 2012-05-03 Andreas Jaeger <aj@suse.de>
19448 Roland McGrath <roland@hack.frob.com>
19450 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19451 intermediate file deletion.
19452 (generated): Add .symlist files.
19454 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19457 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19458 Redirect under this condition.
19459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19460 [__USE_GNU] (__dprintf_chk): Not under this condition.
19461 [__USE_GNU] (__vdprintf_chk): Likewise.
19462 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19463 under this condition.
19464 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19465 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19466 [__USE_XOPEN2K8] (vdprintf): Likewise.
19467 [__USE_GNU] (__dprintf_chk): Not under this condition.
19468 [__USE_GNU] (__vdprintf_chk): Likewise.
19469 [__USE_GNU] (dprintf): Likewise.
19470 [__USE_GNU] (vdprintf): Likewise.
19472 2012-05-03 Roland McGrath <roland@hack.frob.com>
19474 * elf/Makefile (common-generated): Set this instead of generated for
19475 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19476 $(all-built-dso)-derived lists.
19478 2012-05-03 Andreas Jaeger <aj@suse.de>
19480 * sysdeps/i386/fpu/libm-test-ulps: Update.
19483 * FAQ.in: Likewise.
19484 * scripts/gen-FAQ.pl: Likewise.
19485 * manual/install.texi (Installation): Point to online location of
19487 * Makefile (files-for-dist): Remove FAQ.
19490 2012-05-02 Allan McRae <allan@archlinux.org>
19492 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19493 (LDFLAGS-reldepmod5.so): Likewise.
19494 (LDFLAGS-reldep6mod1.so): Likewise.
19495 (LDFLAGS-reldep6mod4.so): Likewise.
19496 (LDFLAGS-reldep8mod3.so): Likewise.
19497 (LDFLAGS-unload4mod1.so): Likewise.
19498 (LDFLAGS-unload4mod2.so): Likewise.
19499 (LDFLAGS-tst-initorder): Likewise.
19500 (LDFLAGS-tst-initordera2.so): Likewise.
19501 (LDFLAGS-tst-initordera3.so): Likewise.
19502 (LDFLAGS-tst-initordera4.so): Likewise.
19503 (LDFLAGS-tst-initorderb2.so): Likewise.
19504 (LDFLAGS-noload): Likewise.
19505 (LDFLAGS-next): Likewise.
19506 (LDFLAGS-order2mod1.so): Likewise.
19507 (LDFLAGS-order2mod2.so): Likewise.
19508 (LDFLAGS-tst-initorder2): Likewise.
19509 (LDFLAGS-tst-initorder2a.so): Likewise.
19510 (LDFLAGS-tst-initorder2b.so): Likewise.
19511 (LDFLAGS-tst-initorder2c.so): Likewise.
19512 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19514 2012-05-02 David S. Miller <davem@davemloft.net>
19516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19518 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19521 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19523 2012-05-02 Andreas Jaeger <aj@suse.de>
19525 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19526 since we manipulate rounding mode.
19527 (CPPFLAGS-test-idouble.c): Likewise.
19528 (CPPFLAGS-test-ifloat.c): Likewise.
19529 (CFLAGS-test-ldouble.c): Likewise.
19530 (CFLAGS-test-double.c): Likewise.
19531 (CFLAGS-test-float.c): Likewise.
19532 (CFLAGS-test-misc.c): Likewise.
19533 (CFLAGS-test-test-fenv.c): Likewise.
19535 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19540 comparisons to determine direction to adjust input.
19542 2012-05-01 Roland McGrath <roland@hack.frob.com>
19544 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19545 output to the target.
19547 * scripts/localplt.awk: New file.
19548 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19549 (check-localplt-CFLAGS): Variable removed.
19550 ($(all-built-dso:=.jmprel)): New static pattern rule.
19551 (generated): Add those targets.
19552 (localplt-built-dso): New variable.
19553 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19555 * elf/check-localplt.c: File removed.
19557 * scripts/check-execstack.awk: New file.
19558 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19559 (check-execstack-CFLAGS): Variable removed.
19560 ($(objpfx)check-execstack.h): Target removed.
19561 ($(objpfx)execstack-default): New target.
19562 (generated): Add that instead of check-execstack.h.
19563 ($(all-built-dso:=.phdr)): New static pattern rule.
19564 (generated): Add those targets.
19565 * elf/check-execstack.c: File removed.
19567 * scripts/check-textrel.awk: New file.
19568 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19569 (check-textrel-CFLAGS): Variable removed.
19570 (all-built-dso): Use := to define.o
19571 ($(all-built-dso:=.dyn)): New static pattern rule.
19572 (generated): Add those targets.
19573 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19574 * config.make.in (READELF): New substituted variable.
19575 * elf/check-textrel.c: File removed.
19577 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19579 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19581 * conform/data/ctype.h-data [C99-based standards] (isblank):
19583 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19584 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19586 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19587 Specify type. Require positive value.
19588 (EILSEQ): Likewise.
19589 (ERANGE): Likewise.
19590 [ISO || POSIX] (EILSEQ): Do not expect.
19591 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19592 Specify type. Require positive value.
19593 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19598 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19601 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19602 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19603 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19604 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19606 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19607 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19608 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19609 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19610 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19611 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19612 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19613 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19614 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19615 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19616 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19617 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19618 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19619 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19620 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19621 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19622 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19623 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19624 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19625 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19626 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19627 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19628 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19629 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19630 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19631 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19632 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19633 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19634 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19635 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19636 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19637 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19638 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19639 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19640 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19641 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19642 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19643 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19644 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19645 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19646 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19647 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19648 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19649 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19650 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19651 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19652 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19653 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19654 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19655 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19656 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19657 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19658 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19659 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19660 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19661 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19662 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19663 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19664 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19665 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19666 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19667 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19668 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19669 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19671 (FLT_ROUNDS): Expect as macro, not constant.
19672 (FLT_MANT_DIG): Use macro-int-constant.
19673 (DBL_MANT_DIG): Likewise.
19674 (LDBL_MANT_DIG): Likewise.
19675 (FLT_DIG): Likewise.
19676 (DBL_DIG): Likewise.
19677 (LDBL_DIG): Likewise.
19678 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19679 (DBL_MIN_EXP): Likewise.
19680 (LDBL_MIN_EXP): Likewise.
19681 (FLT_MAX_EXP): Use macro-int-constant.
19682 (DBL_MAX_EXP): Likewise.
19683 (LDBL_MAX_EXP): Likewise.
19684 (FLT_MAX_10_EXP): Likewise.
19685 (DBL_MAX_10_EXP): Likewise.
19686 (LDBL_MAX_10_EXP): Likewise.
19687 (FLT_MAX): Use macro-constant.
19688 (DBL_MAX): Likewise.
19689 (LDBL_MAX): Likewise.
19690 (FLT_EPSILON): Use macro-constant. Give upper bound.
19691 (DBL_EPSILON): Likewise.
19692 (LDBL_EPSILON): Likewise.
19693 (FLT_MIN): Likewise.
19694 (DBL_MIN): Likewise.
19695 (LDBL_MIN): Likewise.
19696 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19697 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19698 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19699 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19700 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19701 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19702 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19703 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19704 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19705 [ISO11] (FLT_TRUE_MIN): Likewise.
19706 [ISO11] (LDBL_TRUE_MIN): Likewise.
19707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19708 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19709 (SCHAR_MIN): Use macro-int-constant. Specify type.
19710 (SCHAR_MAX): Likewise.
19711 (UCHAR_MAX): Likewise.
19712 (CHAR_MIN): Likewise.
19713 (CHAR_MAX): Likewise.
19714 (MB_LEN_MAX): Use macro-int-constant.
19715 (SHRT_MIN): Use macro-int-constant. Specify type.
19716 (SHRT_MAX): Likewise.
19717 (USHRT_MAX): Likewise.
19718 (INT_MAX): Likewise.
19719 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19721 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19723 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19725 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19726 bound negative. Suffix upper bound with "L".
19727 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19729 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19731 [C99-based standards] (LLONG_MAX): Likewise.
19732 [C99-based standards] (ULLONG_MAX): Likewise.
19733 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19735 [ISO11] (max_align_t): Require type.
19736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19738 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19739 from $CFLAGS, without defining away __attribute__ calls.
19740 (checknamespace): Use $CFLAGS_namespace.
19742 * conform/conformtest.pl (@keywords): Only include C99 keywords
19743 for standards based on C99 or C11.
19745 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19747 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19750 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19751 usability of symbols in #if.
19753 * conform/conformtest.pl: If macro or constant types start
19754 "promoted:", expect the symbol to be of the following type
19755 promoted by the integer promotions.
19757 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19758 in one place. Also handle "macro-constant".
19760 * conform/conformtest.pl: Only accept expected macro values with
19761 "==". Parse all "macro" lines in one place.
19762 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19764 * conform/conformtest.pl: Handle braced types on "constant" lines
19765 instead of handling "typed-constant".
19766 * conform/data/signal.h-data: Use "constant" instead of
19769 * conform/conformtest.pl: Handle "optional-" at start of lines in
19770 one place rather than duplicating several cases. Handle each
19771 format of "macro" line with initial "optional-".
19773 * conform/conformtest.pl: Only accept expected constant or
19774 optional-constant values with "==". Parse all "constant" lines in
19775 one place. Parse all "optional-constant" lines in one place.
19776 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19777 * conform/data/fmtmsg.h-data: Likewise.
19778 * conform/data/netinet/in.h-data: Likewise.
19779 * conform/data/tar.h-data: Likewise.
19780 * conform/data/limits.h-data: Use "==" form on "constant" and
19781 "optional-constant" lines.
19783 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19784 Use -std=c99 for XOPEN2K.
19785 (@knownproblems): Remove.
19786 (newtoken): Don't check %isknown.
19788 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19789 Do not expect macro.
19790 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19802 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19803 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19820 [XPG3] (acosh): Likewise.
19821 [XPG3] (asinh): Likewise.
19822 [XPG3] (atanh): Likewise.
19823 [XPG3] (cbrt): Likewise.
19824 [XPG3] (expm1): Likewise.
19825 [XPG3] (ilogb): Likewise.
19826 [XPG3] (log1p): Likewise.
19827 [XPG3] (logb): Likewise.
19828 [XPG3] (nextafter): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19831 [XPG3] (remainder): Likewise.
19832 [XPG3] (rint): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19840 [UNIX98 || XOPEN2K] (scalb): Expect.
19841 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19842 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19910 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19911 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19914 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19915 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19916 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19917 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19919 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19920 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19921 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19922 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19923 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19924 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19927 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19928 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19932 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19933 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19936 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19937 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19938 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19943 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19944 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19945 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19946 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19947 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19948 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19949 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19952 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19953 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19954 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19962 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19963 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19964 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19965 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19966 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19967 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19968 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19969 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19970 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19971 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19972 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19973 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19974 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19975 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19976 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19977 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19979 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19980 _XOPEN_SOURCE_EXTENDED for XPG4.
19982 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19984 * Makeconfig (localtime): Remove variable.
19985 (inst_localtime-file): Likewise.
19987 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20008 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20012 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20013 comparisons to determine direction to adjust input.
20014 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20015 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20016 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20025 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20027 * math/libm-test.inc (nexttoward_test): Add more tests.
20029 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20033 in version GLIBC_2.1, not GLIBC_2.0.
20034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20037 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20043 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20044 * math/libm-test.inc (acos_test): Add more tests.
20045 (asin_test): Likewise.
20046 * sysdeps/i386/fpu/libm-test-ulps: Update.
20047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20052 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20053 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20054 * math/libm-test.inc (acos_test_tonearest): New function.
20055 (acos_test_towardzero): Likewise.
20056 (acos_test_downward): Likewise.
20057 (acos_test_upward): Likewise.
20058 (asin_test_tonearest): Likewise.
20059 (asin_test_towardzero): Likewise.
20060 (asin_test_downward): Likewise.
20061 (asin_test_upward): Likewise.
20062 (main): Call the new functions.
20063 * sysdeps/i386/fpu/libm-test-ulps: Update.
20064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20068 * math/e_exp10.c: Include <float.h>.
20069 (__ieee754_exp10): Handle underflow here rather than multiplying
20070 large negative argument by M_LN10.
20071 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20073 * math/e_exp10l.c: Include <float.h>.
20074 (__ieee754_exp10l): Handle underflow here rather than multiplying
20075 large negative argument by M_LN10l.
20076 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20077 spurious overflow exception on underflow.
20079 2012-04-29 Marek Polacek <polacek@redhat.com>
20081 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20082 (__fortify_function): New macro.
20083 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20084 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20085 __extern_always_inline.
20086 * libio/bits/stdio2.h: Likewise.
20087 * libio/bits/stdio.h: Likewise.
20088 * string/string.h: Likewise.
20089 * string/bits/string3.h: Likewise.
20090 * include/stdio.h: Likewise.
20091 * stdlib/bits/stdlib.h: Likewise.
20092 * stdlib/stdlib.h: Likewise.
20093 * rt/bits/mqueue2.h: Likewise.
20094 * rt/mqueue.h: Likewise.
20095 * posix/bits/unistd.h: Likewise.
20096 * posix/unistd.h: Likewise.
20097 * io/bits/poll2.h: Likewise.
20098 * io/bits/fcntl2.h: Likewise.
20099 * io/fcntl.h: Likewise.
20100 * io/sys/poll.h: Likewise.
20101 * misc/bits/syslog.h: Likewise.
20102 * misc/bits/syslog-ldbl.h: Likewise.
20103 * misc/sys/syslog.h: Likewise.
20104 * socket/bits/socket2.h: Likewise.
20105 * socket/sys/socket.h: Likewise.
20106 * debug/tst-chk1.c: Likewise.
20107 * wcsmbs/bits/wchar2.h: Likewise.
20108 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20109 * wcsmbs/wchar.h: Likewise.
20111 2012-04-29 Andreas Jaeger <aj@suse.de>
20113 * Makerules (tests): Remove enable-check-abi protection.
20114 (check-abi-warn): Remove.
20115 (check-abi-%): Remove check-abi-warn usage.
20117 * configure.in: Remove check-abi configure option.
20118 * configure: Regenerated.
20119 * config.make.in (enable-check-abi): Remove.
20121 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20124 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20125 double functions to double *_finite functions.
20128 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20129 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20131 * stdio-common/Makefile (tests): Add tst-sprintf3.
20132 * stdio-common/tst-sprintf3.c: New file.
20134 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20135 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20137 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20139 * conform/conformtest.pl: Remove duplicate typed-constant
20142 2012-04-28 David S. Miller <davem@davemloft.net>
20144 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20145 (check-abi-%): Remove AWK script prerequisite and explicit
20147 (check-abi): Rewrite to just diff the symlist with the abilist.
20148 (config-tls, config-abi-config): Delete, no longer used.
20149 (update-abi-%): Remove AWK script and explicit abilist directory.
20150 (update-abi): Rewrite to simply compare and conditionally copy the
20151 symlist and the sysdep abilist file. Remove update-abi-config
20153 * abilist/ld.abilist: Remove.
20154 * abilist/libBrokenLocale.abilist: Remove.
20155 * abilist/libanl.abilist: Remove.
20156 * abilist/libcrypt.abilist: Remove.
20157 * abilist/libdl.abilist: Remove.
20158 * abilist/librt.abilist: Remove.
20159 * abilist/libthread_db.abilist: Remove.
20160 * abilist/libutil.abilist: Remove.
20161 * scripts/extract-abilist.awk: Remove.
20162 * scripts/merge-abilist.awk: Remove.
20163 * sysdeps/generic/libcidn.abilist: New file.
20164 * sysdeps/generic/libnss_compat.abilist: New file.
20165 * sysdeps/generic/libnss_db.abilist: New file.
20166 * sysdeps/generic/libnss_dns.abilist: New file.
20167 * sysdeps/generic/libnss_files.abilist: New file.
20168 * sysdeps/generic/libnss_hesiod.abilist: New file.
20169 * sysdeps/generic/libnss_nis.abilist: New file.
20170 * sysdeps/generic/libnss_nisplus.abilist: New file.
20171 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20172 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20173 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20176 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20177 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20178 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20179 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20180 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20181 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20183 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20185 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20187 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20190 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20191 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20197 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20198 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20304 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20305 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20306 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20309 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20310 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20311 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20312 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20316 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20317 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20369 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20371 * conform/conformtest.pl: Fix typo in handling typed-constant from
20374 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20376 * README: Cut down references to pre-2.6 Linux kernels and
20377 Linuxthreads. Update lists of configurations in libc and ports
20378 and sort alphabetically. Say "or newer" with Linux kernel version
20381 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20383 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20386 * math/libm-test.inc (logb_test_downward): New test to expose
20387 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20390 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20393 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20395 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20396 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20398 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20400 * sysdeps/unix/i386/brk.S: Remove file.
20401 * sysdeps/unix/i386/dl-brk.S: Likewise.
20402 * sysdeps/unix/i386/pipe.S: Likewise.
20403 * sysdeps/unix/i386/sigreturn.S: Likewise.
20404 * sysdeps/unix/i386/syscall.S: Likewise.
20405 * sysdeps/unix/i386/vfork.S: Likewise.
20406 * sysdeps/unix/i386/wait.S: Likewise.
20408 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20409 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20411 * configure.in (arm*-none*): Do not allow without
20412 --enable-hacker-mode.
20413 (netbsd*): Remove case setting base_os.
20414 (386bsd*): Likewise.
20415 (freebsd*): Likewise.
20418 (sunos*): Likewise.
20419 (ultrix*): Likewise.
20420 (newsos*): Likewise.
20421 (dynix*): Likewise.
20427 (minix*): Likewise.
20428 (irix4*): Likewise.
20429 (irix6*): Likewise.
20430 (solaris[2-9]*): Likewise.
20432 * configure: Regenerated.
20434 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20438 overflow or cancellation in calculating denominator.
20439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20441 down expression to avoid unexpected rounding in newer GCCs.
20442 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20444 2012-04-26 David S. Miller <davem@davemloft.net>
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20447 long-double compat symbols.
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20462 2012-04-25 David S. Miller <davem@davemloft.net>
20464 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20465 HWCAP_* values only after the memory barriers have been defined.
20466 (atomic_full_barrier): Define.
20467 (atomic_read_barrier): Define.
20468 (atomic_write_barrier): Define.
20470 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20472 * shlib-versions: Add libgcc_s version information.
20473 * sysdeps/generic/libgcc_s.h: Remove.
20474 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20476 * sysdeps/gnu/unwind-resume.c: Likewise.
20477 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20479 2012-04-25 David S. Miller <davem@davemloft.net>
20481 * sysdeps/unix/sparc/brk.S: Delete.
20482 * sysdeps/unix/sparc/dl-brk.S: Delete.
20483 * sysdeps/unix/sparc/pipe.S: Delete.
20484 * sysdeps/unix/sparc/sysdep.S: Delete.
20485 * sysdeps/unix/sparc/sysdep.h: Delete.
20486 * sysdeps/unix/sparc/vfork.S: Delete.
20487 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20488 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20490 ret_ERRVAL, r0, r1, MOVE): Define.
20491 (JUMPTARGET): Remove.
20492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20493 sysdeps/unix/sparc/sysdep.h
20494 (ENTRY, END): Remove.
20495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20497 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20499 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20500 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20503 * timezone/README: Update upstream location and email address for
20505 * timezone/zdump.c: Update from tzcode 2012b.
20506 * timezone/zic.c: Likewise.
20508 * configure.in (libc_cv_as_needed): Remove test.
20509 * configure: Regenerated.
20510 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20511 conditional definition.
20512 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20513 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20514 * config.make.in (have-as-needed): Remove variable.
20516 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20517 Paul Pluzhnikov <ppluzhnikov@google.com>
20519 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20522 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20524 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20525 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20526 * sysdeps/sh/strlen.S: Likewise.
20528 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20530 * sysdeps/unix/fork.S: Remove file.
20531 * sysdeps/unix/i386/fork.S: Likewise.
20532 * sysdeps/unix/sparc/fork.S: Likewise.
20534 * sysdeps/unix/system.c: Remove file.
20535 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20537 * sysdeps/unix/getegid.S: Remove file.
20538 * sysdeps/unix/geteuid.S: Likewise.
20540 2012-04-24 Roland McGrath <roland@hack.frob.com>
20542 * scripts/check-localplt.awk: New file.
20543 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20545 * scripts/data/localplt-generic.data: Add a comment.
20547 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20548 NODE when __dir_mkfile failed.
20549 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20550 Reported by Ludovic Courtès <ludo@gnu.org>.
20552 2012-04-24 Andreas Jaeger <aj@suse.de>
20554 * Makerules (common-clean): Also remove gen-as-const-headers
20557 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20559 * Makerules (native-compile): Do not change working directory for
20560 build. Use $(OUTPUT_OPTION) in command.
20561 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20563 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20566 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20567 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20568 * math/libm-test.inc (floor_test): Add more tests.
20569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20571 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20573 * sysdeps/unix/getdents.c: Remove file.
20574 * sysdeps/unix/sysv/getdents.c: Likewise.
20575 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20577 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20578 sysdeps/unix/mman/syscalls.list.
20580 (mprotect): Likewise.
20582 (munmap): Likewise.
20583 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20584 * sysdeps/unix/mman/syscalls.list: Remove.
20585 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20587 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20588 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20589 * configure: Regenerated.
20590 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20591 $(libgcc_s_suffix).
20592 * config.make.in (libgcc_s_suffix): Remove variable.
20594 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20596 * sysdeps/unix/sysv/gethostname.c: Move to ...
20597 * sysdeps/posix/gethostname.c: ... here.
20599 * sysdeps/unix/execve.S: Remove file.
20601 * sysdeps/unix/_exit.S: Remove file.
20603 2012-04-23 Andreas Jaeger <aj@suse.de>
20606 * manual/Makefile: Remove make dist support, there's no
20607 need for a stand-alone documentation tar ball.
20608 (TEXI2DVI): Define always, it's not in Makeconfig.
20611 (edition): Removed.
20612 (glibc-doc-$(edition).tar): Removed
20616 (ETAGS): Remove, it's in Makeconfig.
20617 (move-if-change): Remove, it's in Makeconfig.
20619 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20622 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20623 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20624 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20625 (strtod_l, strtof_l, strtold_l): Remove __wur.
20626 It is not necessarily an error to ignore strtol's return value.
20627 One can reliably look at the stored endptr to decide whether
20628 the number had valid syntax.
20630 2012-04-21 Andreas Jaeger <aj@suse.de>
20633 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20635 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20638 * sysdeps/unix/sysv/Versions: Remove file.
20640 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20645 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20649 version from __vm86.
20651 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20653 * sysdeps/unix/common/lxstat.c: Remove file.
20654 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20656 * sysdeps/unix/sysv/Makefile: Remove file.
20658 * sysdeps/unix/sysv/direct.h: Remove file.
20660 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20661 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20662 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20663 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20664 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20665 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20666 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20668 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20670 * sysdeps/unix/xmknod.c: Remove file.
20671 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20673 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20675 * sysdeps/unix/sysv/i386/time.S: Remove file.
20677 * sysdeps/unix/fxstat.c: Remove file.
20678 * sysdeps/unix/xstat.c: Likewise.
20679 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20681 * sysdeps/unix/sysv/sigaction.c: Remove file.
20683 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20684 (sysdep_headers): Remove variable.
20685 [termio.h not in sysdep_headers] (generated): Likewise.
20686 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20687 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20688 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20689 * sysdeps/unix/sysv/tcflow.c: Likewise.
20690 * sysdeps/unix/sysv/tcflush.c: Likewise.
20691 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20692 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20693 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20694 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20695 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20697 * sysdeps/unix/siglist.c: Remove file.
20699 * sysdeps/unix/getppid.S: Remove file.
20701 * sysdeps/unix/mkdir.c: Remove file.
20702 * sysdeps/unix/rmdir.c: Likewise.
20704 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20706 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20709 errlist-compat value.
20711 2012-04-18 David S. Miller <davem@davemloft.net>
20713 * sysdeps/generic/memcopy.h (reg_char): Delete.
20714 * debug/strcat_chk.c: Use char, not reg_char.
20715 * debug/strcpy_chk.c: Likewise.
20716 * debug/strncat_chk.c: Likewise.
20717 * debug/strncpy_chk.c: Likewise.
20718 * string/memchr.c: Likewise.
20719 * string/memrchr.c: Likewise.
20720 * string/rawmemchr.c: Likewise.
20721 * string/strcat.c: Likewise.
20722 * string/strchr.c: Likewise.
20723 * string/strchrnul.c: Likewise.
20724 * string/strcmp.c: Likewise.
20725 * string/strcpy.c: Likewise.
20726 * string/strncat.c: Likewise.
20727 * string/strncmp.c: Likewise.
20728 * string/strncpy.c: Likewise.
20730 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20732 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20733 __builtin_memcopy is called when src and dest ranges are known to not
20736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20739 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20740 fwd_align_merge macro call.
20741 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20742 bwd_align_merge macro call.
20743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20745 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20748 bwd_align_merge macros.
20749 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20750 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20753 2012-04-18 David S. Miller <davem@davemloft.net>
20755 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20757 2012-04-18 Andreas Jaeger <aj@suse.de>
20760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20762 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20765 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20768 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20769 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20770 Adjust for changed ldbl-128 files.
20772 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20773 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20776 2012-04-17 David S. Miller <davem@davemloft.net>
20778 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20780 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20782 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20783 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20784 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20785 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20786 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20787 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20789 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20792 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20793 * math/libm-test.inc: Add ilogb errno and exception tests.
20794 * math/w_ilogb.c: New file: ilogb wrapper.
20795 * math/w_ilogbf.c: New file: ilogbf wrapper.
20796 * math/w_ilogbl.c: New file: ilogbl wrapper.
20797 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20798 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20799 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20800 exception being thrown with 0.0 as argument.
20801 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20802 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20803 exception being thrown with 0.0 as argument.
20804 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20805 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20806 exception being thrown with 0.0 as argument.
20807 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20808 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20809 exception being thrown with 0.0 as argument.
20810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20811 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20813 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20815 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20816 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20817 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20818 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20820 2012-04-17 Petr Baudis <pasky@ucw.cz>
20822 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20825 2012-04-16 Marek Polacek <polacek@redhat.com>
20827 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20829 2012-04-16 Marek Polacek <polacek@redhat.com>
20831 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20832 operands of fdivp instruction.
20834 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20836 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20837 * elf/tst-auditmod3b.c: Likewise.
20838 * elf/tst-auditmod4b.c: Likewise.
20839 * elf/tst-auditmod5b.c: Likewise.
20840 * elf/tst-auditmod6b.c: Likewise.
20841 * elf/tst-auditmod6c.c: Likewise.
20842 * elf/tst-auditmod7b.c: Likewise.
20843 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20844 * sysdeps/x86_64/preconfigure.in: Likewise.
20845 * sysdeps/x86_64/preconfigure: Regenerated.
20847 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20852 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20855 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20857 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20860 * locale/iso-639.def: Fix gl language name. Spotted by
20863 2012-04-12 Roland McGrath <roland@hack.frob.com>
20866 * libio/libio.h (__io_write_fn): Update comment.
20868 2012-04-12 Petr Baudis <pasky@ucw.cz>
20871 * stdio.texi (Hook Functions): The user provided writer function
20872 is not allowed to return -1.
20874 2012-04-11 David S. Miller <davem@davemloft.net>
20876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20878 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20880 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20881 Add a leading slash to rtkaio.
20883 2012-04-11 Jim Meyering <meyering@redhat.com>
20886 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20887 It is not necessarily an error to ignore fwrite's return
20888 value. One can reliably use ferror to test for errors after
20891 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20893 * bits/types.h (__snseconds_t): New type.
20894 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20896 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20898 (__SNSECONDS_T_TYPE): Likewise.
20899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20900 (__SNSECONDS_T_TYPE): Likewise.
20901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20902 (__SNSECONDS_T_TYPE): Likewise.
20904 2012-04-10 Andreas Jaeger <aj@suse.de>
20907 * manual/time.texi (Processor Time): Return type of times is
20908 elapsed real time since an arbitrary point in the past.
20909 (CPU Time): Move CLK_TCK from here...
20910 (Processor Time): ...to here. Correct description.
20911 * manual/conf.texi (Constants for Sysconf): Correct description of
20914 2012-04-10 David S. Miller <davem@davemloft.net>
20917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20918 where the is a gap between DT_REL(A) and DT_JMPREL.
20920 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20922 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20923 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20924 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20926 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20928 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20929 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20930 (dl_main): Handle --inhibit-cache.
20931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20933 * elf/dl-load.c (_dl_map_object): Use it.
20934 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20936 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20939 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20940 (__ieee754_powl): Saturate large exponents rather than testing for
20941 overflow of y*log2(x).
20942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20943 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20947 * math/s_ctan.c: Include <float.h>.
20948 (__ctan): Avoid internal overflow or cancellation in calculating
20950 * math/s_ctanf.c: Likewise.
20951 * math/s_ctanl.c: Likewise.
20952 * math/s_ctanh.c: Likewise.
20953 * math/s_ctanhf.c: Likewise.
20954 * math/s_ctanhl.c: Likewise.
20955 * math/libm-test.inc (ctan_test): Add more tests.
20956 (ctanh_test): Likewise.
20957 * sysdeps/i386/fpu/libm-test-ulps: Update.
20958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20960 2012-04-09 Andreas Jaeger <aj@suse.de>
20963 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20964 is an optional BSD extension.
20967 * manual/stdio.texi (Opening Streams): Document additional fopen
20970 2012-04-09 Roland McGrath <roland@hack.frob.com>
20972 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20973 %eax without telling the compiler.
20975 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20978 * manual/install.texi: Use sourceware.org.
20980 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20983 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20984 (__ieee754_pow): Generate overflow and underflow using huge*huge
20985 and tiny*tiny rather than just returning constant infinity or zero
20986 for large exponents.
20987 * math/libm-test.inc (pow_test): Require overflow exceptions for
20988 applicable cases of large exponents.
20991 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20992 (__ieee754_pow): Use iterative multiplication algorithm only for
20993 integer exponents with absolute value below 1024. Check for odd
20994 integer exponents when using algorithm for real exponents.
20995 * math/libm-test.inc (pow_test): Add more tests.
20996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20998 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21001 * math/libm-test.inc (exp_test): Do not allow overflow exception
21004 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21007 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21008 instead of __kernel_standard_f.
21010 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21012 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21013 * sysdeps/x86_64/memset_chk.S: Likewise.
21015 2012-04-08 Andreas Jaeger <aj@suse.de>
21018 * manual/startup.texi (Environment Access): Describe return value
21019 for putenv and setenv.
21022 * manual/filesys.texi (Directory Entries): Add description for
21026 * manual/filesys.texi (Directory Entries): Clarify that it's file
21027 system not operating system in the description of DT_UNKNOWN.
21030 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21032 2012-04-08 Stephen Compall <s11@member.fsf.org>
21035 * manual/llio.texi (Opening and Closing Files): Add cross
21036 reference to explain mode argument.
21038 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21040 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21041 * sysdeps/x86_64/memset_chk.S: Likewise.
21043 2012-04-07 David S. Miller <davem@davemloft.net>
21045 * elf/elf.h (R_SPARC_WDISP10): Define.
21046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21049 R_SPARC_SIZE64 and R_SPARC_H34.
21051 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21054 conditions and remove no longer applicable assertion.
21056 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21058 * bits/byteswap.h: Include <features.h>.
21059 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21060 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21062 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21064 * bits/byteswap.h (__bswap_16): Removed.
21065 Include <bits/byteswap-16.h> to get __bswap_16.
21066 * sysdeps/i386/bits/byteswap.h: Likewise.
21067 * sysdeps/s390/bits/byteswap.h: Likewise.
21068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21069 * bits/byteswap-16.h: New file.
21070 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21071 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21072 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21073 * string/Makefile (headers): Add bits/byteswap-16.h.
21075 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21078 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21080 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21081 * nss/tst-nss-static.c: New.
21083 2012-04-06 Robert Millan <rmh@gnu.org>
21086 * manual/llio.texi (File Position Primitive): lseek
21087 refers to WHENCE when it really means OFFSET.
21089 2012-04-06 Andreas Jaeger <aj@suse.de>
21091 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21092 strncmp declarations.
21094 * abilist/libc.abilist: Add __poll and __ppoll.
21096 2012-04-05 David S. Miller <davem@davemloft.net>
21098 * scripts/check-local-headers.sh: Accept a host triplet in the
21099 path matched by the exclude regexp.
21101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21103 * sysdeps/powerpc/powerpc32/dl-machine.h
21104 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21105 * sysdeps/s390/s390-32/dl-machine.h
21106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21107 * sysdeps/sparc/sparc32/dl-machine.h
21108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21109 * sysdeps/sparc/sparc64/dl-machine.h
21110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21112 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21114 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21115 undefined symbol errors.
21117 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21120 2012-04-05 Michael Matz <matz@suse.de>
21123 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21125 2012-04-05 Andreas Jaeger <aj@suse.de>
21128 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21131 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21133 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21134 which ROUND is no valid rounding mode.
21136 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21140 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21142 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21145 an exception using FPU order intentionally.
21147 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21150 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21151 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21152 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21154 2012-04-05 Simon Josefsson <simon@josefsson.org>
21157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21158 EINVAL when BUFLEN is too smal.
21160 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21163 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21164 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21166 2012-04-03 Andreas Jaeger <aj@suse.de>
21169 * manual/setjmp.texi (System V contexts): Fix sentence.
21172 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21173 New macro for this case.
21174 [!__GNUC__] (__bswap_64): New inline function for this case.
21175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21176 * bits/byteswap.h: Likewise.
21177 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21178 ull, guard with __GLIBC_HAVE_LONG_LONG.
21180 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21181 __GLIBC_HAVE_LONG_LONG.
21183 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21184 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21186 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21189 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21190 inptr and inend, rather than using last_ch.
21192 2012-04-02 David S. Miller <davem@davemloft.net>
21194 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21195 * stdio-common/printf-parse.h (read_int): Change return type to
21196 'int', return -1 on INT_MAX overflow.
21197 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21198 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21199 overflows INT_MAX. Check for overflow of in-format-string precision
21200 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21201 SIZE_MAX not INT_MAX for integer overflow test.
21202 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21203 skip the construct in the format string but do not record anything.
21204 * stdio-common/bug22.c: Adjust to test both width/prevision
21205 INT_MAX overflow as well as total length INT_MAX overflow. Check
21206 explicitly for proper errno values.
21208 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21210 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21212 * string/test-strcmp.c [! WIDE]: Likewise.
21213 * time/tst-mktime2.c: Likewise for INT_MAX.
21214 * string/test-string.h: #include <sys/param.h> for MIN.
21216 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21217 * sysdeps/i386/init-first.c (init): Likewise.
21218 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21219 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21220 * sysdeps/sh/init-first.c (init): Likewise.
21222 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21224 * po/ru.po: Update from translation team.
21225 * po/vi.po: Likewise.
21227 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21229 * resolv/nss_dns/dns-host.c: Merge copyright years.
21231 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21234 Optimize memcpy with prefetch if
21235 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21236 src, dst pointers have unequal 16 byte alignments.
21238 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21241 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21242 from a CNAME entry and return the minimum ttl for the query.
21243 (gaih_getanswer_slice): Likewise.
21245 2012-03-30 Jeff Law <law@redhat.com>
21247 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21249 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21250 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21252 * resolv/nss_dns/dns-host.c: Update copyright year.
21254 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21256 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21257 requests to save a system call. Fix check that all bytes are sent.
21259 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21260 comments for sendmmsg.
21262 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21266 with only 1 character between 0x0041 and 0x01b0.
21267 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21268 * wcsmbs/tst-mbsnrtowcs.c: New file.
21270 2012-03-29 David S. Miller <davem@davemloft.net>
21272 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21273 small copies by hand.
21275 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21278 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21279 _nss_compat_initgroups_dyn): Fall back to malloc/free
21280 for large group memberships.
21282 2012-03-28 David S. Miller <davem@davemloft.net>
21284 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21285 that branches into memcpy.
21286 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21289 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21292 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21293 implementation too.
21294 * sysdeps/sparc/mempcpy.S: New file.
21296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21297 the IFUNC routine in the libc case.
21298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21300 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21301 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21302 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21303 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21304 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21305 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21306 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21307 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21309 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21310 loop to 256 bytes instead of 64 bytes and fix test signedness.
21312 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21313 * sysdeps/sparc/sparc32/Makefile: rather than here...
21314 * sysdeps/sparc/sparc64/Makefile: and here.
21316 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21318 * malloc/mallocbug.c: Avoid warnings about unused variables.
21320 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21323 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21324 in the right place. Discard and retry query if response is
21325 larger than input buffer size.
21327 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21333 x for large integer exponent.
21334 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21335 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21336 sign of result as needed afterwards.
21337 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21339 result for underflowing pow the same as for overflow.
21340 (__kernel_standard_l): Handle powl overflow and underflow here
21341 rather than calling __kernel_standard.
21342 * math/libm-test.inc (pow_test): Add more tests.
21357 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21358 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21359 (__kernel_standard_l): New function.
21360 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21362 * math/w_acosl.c (__acosl): Likewise.
21363 * math/w_asinl.c (__asinl): Likewise.
21364 * math/w_atan2l.c (__atan2l): Likewise.
21365 * math/w_atanhl.c (__atanhl): Likewise.
21366 * math/w_coshl.c (__coshl): Likewise.
21367 * math/w_exp10l.c (__exp10l): Likewise.
21368 * math/w_exp2l.c (__exp2l): Likewise.
21369 * math/w_fmodl.c (__fmodl): Likewise.
21370 * math/w_hypotl.c (__hypotl): Likewise.
21371 * math/w_j0l.c (__j0l, __y0l): Likewise.
21372 * math/w_j1l.c (__j1l, __y1l): Likewise.
21373 * math/w_jnl.c (__jnl, __ynl): Likewise.
21374 * math/w_lgammal.c (__lgammal): Likewise.
21375 * math/w_log10l.c (__log10l): Likewise.
21376 * math/w_log2l.c (__log2l): Likewise.
21377 * math/w_logl.c (__logl): Likewise.
21378 * math/w_powl.c (__powl): Likewise.
21379 * math/w_remainderl.c (__remainderl): Likewise.
21380 * math/w_scalbl.c (sysv_scalbl): Likewise.
21381 * math/w_sinhl.c (__sinhl): Likewise.
21382 * math/w_sqrtl.c (__sqrtl): Likewise.
21383 * math/w_tgammal.c (__tgammal): Likewise.
21384 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21385 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21386 * math/libm-test.inc (acos_test): Add more tests.
21387 (acosh_test): Likewise.
21388 (asin_test): Likewise.
21389 (atanh_test): Likewise.
21390 (exp_test): Likewise.
21391 (exp10_test): Likewise.
21392 (exp2_test): Likewise.
21393 (expm1_test): Likewise.
21394 (lgamma_test): Likewise.
21395 (log_test): Likewise.
21396 (log10_test): Likewise.
21397 (log1p_test): Likewise.
21398 (log2_test): Likewise.
21399 (pow_test): Do not allow some spurious overflow exceptions.
21400 (sqrt_test): Add more tests.
21401 (tgamma_test): Likewise.
21402 (y0_test): Likewise.
21403 (y1_test): Likewise.
21404 (yn_test): Likewise.
21406 2012-03-27 Anton Blanchard <anton@samba.org>
21408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21411 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21414 2012-03-27 David S. Miller <davem@davemloft.net>
21416 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21418 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21419 have-as-vis3 check.
21421 2012-03-27 Andreas Jaeger <aj@suse.de>
21423 * sysdeps/x86_64/elf/configure.in: Moved to ...
21424 * sysdeps/x86_64/configure.in: ... here.
21425 * sysdeps/x86_64/elf/start.S: Moved to ...
21426 * sysdeps/x86_64/start.S: ... here.
21427 * sysdeps/x86_64/elf/configure: Delete.
21429 * sysdeps/x86_64/configure.in: Merge contents from
21430 sysdeps/i386/configure.in (without i686 check).
21432 * sysdeps/i386/elf/Versions: Merge into ...
21433 * sysdeps/i386/Versions: ... this.
21434 * sysdeps/i386/elf/Versions: Delete file.
21435 * sysdeps/i386/elf/start.S: Moved to ...
21436 * sysdeps/i386/start.S: ...here.
21437 * sysdeps/i386/elf/configure.in: Merge into...
21438 * sysdeps/i386/configure.in: ...here.
21439 * sysdeps/i386/elf/configure.in: Delete file.
21440 * sysdeps/i386/elf/configure: Delete file.
21442 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21443 * debug/backtracesyms.c: ... here.
21444 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21445 * debug/backtracesymsfd.c: ... here.
21446 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21447 * sysdeps/generic/ifunc-sel.h: ... here.
21449 * sysdeps/unix/i386/start.c: Delete file.
21450 * sysdeps/unix/sparc/start.c: Delete file.
21451 * sysdeps/unix/start.c: Delete file.
21453 * sysdeps/sh/elf/configure.in: Moved to ...
21454 * sysdeps/sh/configure.in: ... here.
21455 * sysdeps/sh/elf/start.S: Moved to ...
21456 * sysdeps/sh/start.S: ... here.
21457 * sysdeps/sh/elf/configure: Delete file.
21459 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21460 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21461 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21462 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21463 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21464 * sysdeps/powerpc/powerpc64/start.S: here.
21465 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21466 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21467 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21468 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21469 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21471 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21472 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21473 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21474 * sysdeps/powerpc/powerpc32/start.S: ... here.
21475 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21476 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21477 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21479 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21480 * sysdeps/powerpc/ifunc-sel.h: ... here.
21481 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21482 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21484 * sysdeps/sparc/elf/configure.in: Moved to ...
21485 * sysdeps/sparc/configure.in: ... here.
21486 * sysdeps/sparc/elf/configure: Delete file.
21487 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21488 * sysdeps/sparc/sparc32/start.S: ... here.
21489 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21490 * sysdeps/sparc/sparc64/start.S: ... here.
21491 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21492 * sysdeps/sparc/sparc32/Makefile: ... this.
21493 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21494 * sysdeps/sparc/sparc64/Makefile: ... this.
21496 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21497 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21498 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21499 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21500 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21501 * sysdeps/s390/s390-32/setjmp.S: ... here.
21502 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21503 * sysdeps/s390/s390-32/configure.in: ... here.
21504 * sysdeps/s390/s390-32/elf/configure: Delete file.
21505 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21506 * sysdeps/s390/s390-32/start.S: ... here.
21508 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21509 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21510 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21511 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21512 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21513 * sysdeps/s390/s390-64/setjmp.S: ... here.
21514 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21515 * sysdeps/s390/s390-64/configure.in: ... here
21516 * sysdeps/s390/s390-64/elf/configure: Delete file.
21517 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21518 * sysdeps/s390/s390-64/start.S: ... here.
21519 * sysdeps/s390/s390-64/elf/configure: Delete.
21521 * configure.in: Remove support for elf directories in sysdeps.
21523 * configure: Regenerated.
21524 * sysdeps/i386/configure: Regenerated.
21525 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21526 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21527 * sysdeps/s390/s390-32/configure: Regenerated.
21528 * sysdeps/s390/s390-64/configure: Regenerated.
21529 * sysdeps/sh/configure: Regenerated.
21530 * sysdeps/sparc/configure: Regenerated.
21531 * sysdeps/x86_64/configure: Regenerated.
21533 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21538 denormal result into account.
21540 2012-03-25 Roland McGrath <roland@hack.frob.com>
21542 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21543 Reported by Allan McRae <allan@archlinux.org>.
21545 2012-03-23 Jeff Law <law@redhat.com>
21547 * nss/getnssent.c (__nss_getent): Fix typo.
21549 2012-03-23 David S. Miller <davem@davemloft.net>
21551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21553 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21555 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21556 to pad to uint64_t for each field.
21557 (dl_tls_index): Replace unsigned long with uint64_t.
21559 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21560 Paul Pluzhnikov <ppluzhnikov@google.com>
21563 * grp/Makefile (otherlibs): Don't set it.
21564 * inet/Makefile (otherlibs): Likewise.
21565 * login/Makefile (otherlibs): Likewise.
21566 * nscd/Makefile (otherlibs): Likewise.
21567 * posix/Makefile (otherlibs): Likewise.
21568 * pwd/Makefile (otherlibs): Likewise.
21569 * rt/Makefile (otherlibs): Likewise.
21570 * sunrpc/Makefile (otherlibs): Likewise.
21571 * nss/Makefile (otherlibs): Likewise.
21572 Add libnss_files to routines and static-only-routines.
21573 ($(objpfx)getent): Remove rule.
21574 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21575 static-only-routines.
21577 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21580 * math/s_cexp.c: Include <float.h>.
21581 (__cexp): Handle exp result overflowing not necessarily
21582 overflowing both real and imaginary parts of result.
21583 * math/s_cexpf.c: Likewise.
21584 * math/s_cexpl.c: Likewise.
21585 * math/libm-test.inc (cexp_test): Add more tests.
21586 * sysdeps/i386/fpu/libm-test-ulps: Update.
21587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21589 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21591 * include/link.h (ELFW): New macro.
21592 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21593 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21597 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21600 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21602 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21604 (struct La_x32_retval): Likewise.
21606 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21608 * sysdeps/x86_64/preconfigure.in: New file.
21609 * sysdeps/x86_64/preconfigure: New generated file.
21611 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21614 * math/e_exp2l.c: Include <float.h>.
21615 (__ieee754_exp2l): Handle overflow and underflow cases
21616 separately. Only pass fractional part of argument to
21618 * math/libm-test.inc (exp2_test): Add more tests.
21620 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21621 negating x to take absolute value.
21622 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21627 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21628 computing low part if x was negated.
21629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21631 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21633 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21634 la_x32_gnu_pltexit.
21635 (pltexit): Cast int_retval to ptrdiff_t.
21636 * elf/tst-auditmod3b.c: Likewise.
21637 * elf/tst-auditmod4b.c: Likewise.
21638 * elf/tst-auditmod5b.c: Likewise.
21639 * elf/tst-auditmod6b.c: Likewise.
21640 * elf/tst-auditmod6c.c: Likewise.
21641 * elf/tst-auditmod7b.c: Likewise.
21643 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21644 and x32_gnu_pltexit.
21646 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21647 __ELF_NATIVE_CLASS.
21648 (La_x32_regs): New macro.
21649 (La_x32_retval): Likewise.
21650 (la_x32_gnu_pltenter): New function prototype.
21651 (la_x32_gnu_pltexit): Likewise.
21653 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21660 * configure.in (libc_cv_cc_nofma): Check for option to disable
21661 generation of FMA instructions.
21662 * configure: Regenerate.
21663 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21664 * sysdeps/ieee754/dbl-64/Makefile: New file.
21665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21666 Remove brandred-fma4.
21667 (CFLAGS-brandred-fma4.c): Remove.
21668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21669 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21674 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21677 LLONG_MAX != LONG_MAX.
21678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21679 (_fitoa_word): Likewise.
21680 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21681 LLONG_MAX != LONG_MAX.
21682 * stdio-common/_itowa.h: Include <_itoa.h>.
21683 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21684 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21685 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21686 only if not defined.
21687 (_ITOA_WORD_TYPE): Likewise.
21688 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21689 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21691 2012-03-21 David S. Miller <davem@davemloft.net>
21693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21695 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21697 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21698 of x86_64 when setting libc_cv_slibdir, libdir and
21700 * sysdeps/unix/sysv/linux/configure: Regenerated.
21702 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21704 * manual/lang.texi (Old Varargs): Remove section.
21705 (How Variadic): Update menu.
21706 (va_start): Do not mention varargs.h.
21708 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21709 Joseph Myers <joseph@codesourcery.com>
21711 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21713 * configure: Regenerated.
21715 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21717 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21718 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21721 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21724 * Makefile (files-for-dist): Remove NOTES.
21725 (NOTES): Remove rule.
21726 * README: Don't refer to NOTES.
21727 * manual/creature.texi: Don't include macros.texi.
21728 * manual/intro.texi (creature.texi): Remove comment referring to
21731 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21732 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21733 * configure: Regenerated.
21734 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21735 LIBC_TRY_CC_OPTION.
21736 (libc_cv_as_i686): Likewise.
21737 (libc_cv_cc_avx): Likewise.
21738 (libc_cv_cc_sse2avx): Likewise.
21739 (libc_cv_cc_fma4): Likewise.
21740 (libc_cv_cc_novzeroupper): Likewise.
21741 * sysdeps/i386/configure: Regenerated.
21744 * sysdeps/i386/fpu/s_cexp.S: Remove.
21745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21747 * math/libm-test.inc (cexp_test): Add more tests.
21748 * sysdeps/i386/fpu/libm-test-ulps: Update.
21749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21751 2012-03-21 Allan McRae <allan@archlinux.org>
21753 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21755 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21758 * math/w_exp2.c: Do not include <float.h>.
21759 (o_threshold, u_threshold): Remove.
21760 (__exp2): Calculate result before checking finiteness and calling
21762 * math/w_exp2f.c: Likewise.
21763 * math/w_exp2l.c: Likewise.
21764 * math/libm-test.inc (exp2_test): Require overflow exception for
21768 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21769 range of signed 64-bit integers before using fistpll. Remove
21770 checks for whether integers fit in mantissa bits.
21771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21772 the range of signed 32-bit integers before using fistpl. Remove
21773 checks for whether integers fit in mantissa bits.
21774 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21775 (__ieee754_powl): Test for y outside the range of signed 64-bit
21776 integers before using fistpll. Reduce 64-bit values to 63-bit
21778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21779 divide-by-zero is raised for zero to large negative powers.
21780 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21781 (__ieee754_powl): Test for y outside the range of signed 64-bit
21782 integers before using fistpll. Reduce 64-bit values to 63-bit
21784 * math/libm-test.inc (pow_test): Add more tests.
21786 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21788 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21789 <stdio-common/_itoa.h>.
21790 * debug/segfault.c: Likewise.
21791 * elf/dl-cache.c: Likewise.
21792 * elf/dl-minimal.c: Likewise.
21793 * elf/dl-misc.c: Likewise.
21794 * elf/dl-sysdep.c: Likewise.
21795 * elf/dl-version.c: Likewise.
21796 * elf/rtld.c: Likewise.
21797 * hurd/hurdsock.c: Likewise.
21798 * hurd/lookup-retry.c: Likewise.
21799 * malloc/malloc.c: Likewise.
21800 * malloc/mtrace.c: Likewise.
21801 * nscd/nscd_getgr_r.c: Likewise.
21802 * nscd/nscd_getpw_r.c: Likewise.
21803 * nscd/nscd_getserv_r.c: Likewise.
21804 * posix/getopt_init.c: Likewise.
21805 * posix/wordexp.c: Likewise.
21806 * stdio-common/_itoa.c: Likewise.
21807 * stdio-common/printf_fphex.c: Likewise.
21808 * stdio-common/vfprintf.c: Likewise.
21809 * string/_strerror.c: Likewise.
21810 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21811 * sysdeps/i386/i686/hp-timing.h: Likewise.
21812 * sysdeps/mach/_strerror.c: Likewise.
21813 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21814 * sysdeps/mach/hurd/sethostid.c: Likewise.
21815 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21816 * sysdeps/mach/xpg-strerror.c: Likewise.
21817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21819 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21820 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21822 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21823 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21824 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21825 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21826 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21827 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21828 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21829 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21830 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21833 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21834 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21835 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21836 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21837 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21839 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21841 * stdio-common/_itoa.h: Moved to ...
21842 * sysdeps/generic/_itoa.h: Here.
21844 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21846 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21847 instead of "_itoa.h" and "_itowa.h".
21848 * stdio-common/vfprintf.: Likewise.
21850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21854 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21855 (__signbit): Likwise.
21856 (llrintf): Likwise.
21859 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21861 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21864 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21866 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21867 OVERFLOW_EXCEPTION_OK.
21868 * math/libm-test.inc ("Philosophy"): Update comment about
21870 (OVERFLOW_EXCEPTION): Define.
21871 (OVERFLOW_EXCEPTION_OK): Likewise.
21872 (INVALID_EXCEPTION_OK): Renumber.
21873 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21874 (IGNORE_ZERO_INF_SIGN): Likewise.
21875 (test_exceptions): Handle FE_OVERFLOW.
21876 (exp10_test): Expect overflow exceptions.
21877 (exp2_test): Likewise.
21878 (expm1_test): Likewise.
21879 (nextafter_test): Likewise.
21880 (pow_test): Likewise.
21881 (scalbn_test): Likewise.
21882 (scalbln_test): Likewise.
21884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21886 * sysdeps/x86_64/bits/atomic.h
21887 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21889 (atomic_exchange_acq): Likewise.
21890 (__arch_exchange_and_add_body): Likewise.
21891 (__arch_add_body): Likewise.
21892 (atomic_add_negative): Likewise.
21893 (atomic_add_zero): Likewise.
21895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21897 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21898 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21900 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21902 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21903 Check __x86_64__ instead of __WORDSIZE.
21905 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21907 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21909 2012-03-19 David S. Miller <davem@davemloft.net>
21911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21913 * sysdeps/sparc/fpu/fenv_private.h: New file.
21914 * sysdeps/sparc/fpu/math_private.h: Use it.
21915 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21917 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21918 (libc_feholdexcept_setroundl): Remove.
21919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21921 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21922 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21926 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21927 int64_t instead of long int.
21928 (INSERT_WORDS64): Likwise.
21930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21932 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21933 _Unwind_GetCFA return to _Unwind_Ptr first.
21935 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21938 * math/s_clog.c: Include <float.h>.
21939 (__clog): Scale large or subnormal inputs.
21940 * math/s_clogf.c: Likewise.
21941 * math/s_clogl.c: Likewise.
21942 * math/s_clog10.c: Include <float.h>.
21943 (M_LOG10_2): Define.
21944 (__clog10): Scale large or subnormal inputs.
21945 * math/s_clog10f.c: Likewise.
21946 * math/s_clog10l.c: Likewise.
21947 * math/libm-test.inc (clog_test): Add more tests.
21948 (clog10_test): Likewise.
21949 * sysdeps/i386/fpu/libm-test-ulps: Update.
21950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21955 * math/libm-test.inc (atan2_test): Add another test.
21957 * Makerules (common-objdir-compile): Remove.
21958 * sysdeps/unix/Makefile (config-generated): Do not add
21959 $(unix-generated) to variable.
21960 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21961 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21963 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21965 [generic bits/local_lim.h] (before-compile): Do not append to
21967 [generic bits/local_lim.h] (common-generated): Likewise.
21968 [generic sys/param.h] (before-compile): Do not append to variable.
21969 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21970 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21971 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21972 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21974 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21975 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21976 [generic sys/param.h] ($(addprefix
21977 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21978 [generic sys/param.h] (common-generated): Do not append to
21980 [generic sys/param.h] (sysdep_headers): Likewise.
21981 [generic bits/errno.h] (before-compile): Do not append to
21983 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21985 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21986 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21987 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21988 [generic bits/errno.h] (common-generated): Do not append to
21990 [generic bits/ioctls.h] (before-compile): Do not append to
21992 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21994 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21995 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21998 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21999 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22000 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22001 [generic bits/ioctls.h] (common-generated): Do not append to
22003 [generic sys/syscall.h] (syscall.h): Remove variable.
22004 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22006 [generic sys/syscall.h] (before-compile): Do not append to
22008 [generic sys/syscall.h] (common-generated): Likewise.
22009 * sysdeps/unix/errnos-tmpl.c: Remove file.
22010 * sysdeps/unix/errnos.awk: Likewise.
22011 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22012 * sysdeps/unix/ioctls.awk: Likewise.
22013 * sysdeps/unix/mk-local_lim.c: Likewise.
22014 * sysdeps/unix/snarf-ioctls: Likewise.
22016 2012-03-19 Richard Henderson <rth@twiddle.net>
22018 * sysdeps/i386/fpu/fenv_private.h: New file.
22019 * sysdeps/i386/fpu/math_private.h: Use it.
22020 (math_opt_barrier, math_force_eval): Remove.
22021 (libc_feholdexcept_setround_53bit): Remove.
22022 (libc_feupdateenv_53bit): Remove.
22023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22024 (math_opt_barrier, math_force_eval): Remove.
22025 (libc_feholdexcept): Remove.
22026 (libc_feholdexcept_setround): Remove.
22027 (libc_fetestexcept, libc_fesetenv): Remove.
22028 (libc_feupdateenv_test): Remove.
22029 (libc_feupdateenv, libc_feholdsetround): Remove.
22030 (libc_feresetround): Remove.
22032 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22033 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22035 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22036 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22037 (libc_feupdateenv_testl): New.
22038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22039 (libc_feupdateenv_testf): New.
22040 (libc_feupdateenv): Use libc_feupdateenv_test.
22041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22044 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22045 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22046 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22047 (libc_feresetround_noex): New.
22048 (libc_feresetround_noexf): New.
22049 (libc_feresetround_noexl): New.
22050 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22051 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22052 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22053 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22058 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22060 SET_RESTORE_ROUND_NOEX.
22061 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22062 SET_RESTORE_ROUND_NOEXF.
22063 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22064 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22065 (libc_feholdsetroundf): New.
22066 (libc_feresetround, libc_feresetroundf): New.
22068 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22069 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22070 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22072 * sysdeps/generic/math_private.h: Include <fenv.h>.
22073 (default_libc_feholdexcept): New.
22074 (default_libc_feholdexcept_setround): New.
22075 (default_libc_fesetenv, default_libc_feupdateenv): New.
22076 (libc_feholdexcept): Only define if undefined.
22077 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22079 (libc_feholdexcept_setroundl): Likewise.
22080 (libc_feholdexcept_setround_53bit): Likewise.
22081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22084 (libc_feupdateenv_53bit): Likewise.
22085 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22086 (libc_feholdexcept): Convert from macro to inline function.
22087 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22088 (libc_fesetenv, libc_feupdateenv): Likewise.
22090 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22091 not previously defined.
22092 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22093 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22094 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22095 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22096 * sysdeps/ieee754/flt-32/math_private.h: New file.
22097 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22098 math_private.h below SET_FLOAT_WORD.
22099 (__isnan, __isinf_ns, __finite): Remove.
22100 (__isnanf, __isinf_nsf, __finitef): Remove.
22102 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22106 2012-03-17 David S. Miller <davem@davemloft.net>
22109 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22112 2012-03-16 David S. Miller <davem@davemloft.net>
22114 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22120 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22121 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22122 sysdep_routines when subdir is sysvipc.
22123 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22124 __getshmlba helper.
22126 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22128 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22130 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22133 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22136 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22137 (__lround): Renamed to ...
22138 (__llround): This. Replace long int with long long int.
22139 Define lround functions as aliases of llround functions.
22140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22144 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22145 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22146 adresses to uintptr_t. Replace "long int" and "unsigned long
22147 int" with "greg_t" on va_arg.
22149 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22151 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22152 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22154 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22155 Move e_machine check before EI_CLASS check. Handle x32
22156 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22157 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22158 SKIP_EM_IA_64 and include
22159 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22161 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22162 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22163 (add_system_dir): New macro.
22165 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22166 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22168 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22179 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22181 * math/w_j0f.c (j0f): Likewise.
22183 * math/w_j0l.c (__j0l): Likewise.
22185 * math/w_j1.c (j1): Likewise.
22187 * math/w_j1f.c (j1f): Likewise.
22189 * math/w_j1l.c (__j1l): Likewise.
22191 * math/w_jn.c (jn): Likewise.
22193 * math/w_jnf.c (jnf): Likewise.
22195 * math/w_jnl.c (__jnl): Likewise.
22197 * math/libm-test.inc (j0_test): Add more tests.
22198 (j1_test): Likewise.
22199 (jn_test): Likewise. Add trailing semicolon to existing test.
22200 (y0_test): Likewise.
22201 (y1_test): Likewise.
22202 * sysdeps/i386/fpu/libm-test-ulps: Update.
22203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22208 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22209 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22211 (__tanl): Set errno for infinite argument.
22212 * sysdeps/i386/fpu/mptan.c: Remove.
22213 * sysdeps/i386/fpu/s_tan.S: Likewise.
22214 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22215 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22216 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22217 * math/libm-test.inc (tan_test): Add more tests and enable more
22218 tests for double and long double.
22219 * sysdeps/i386/fpu/libm-test-ulps: Update.
22220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22222 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22224 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22225 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22227 2012-03-16 Roland McGrath <roland@hack.frob.com>
22229 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22230 * configure.in: Use it for both main tree and add-ons.
22231 * configure: Regenerated.
22233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22235 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22237 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22243 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22244 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22249 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22251 != 0 for prec == 2.
22252 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22253 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22254 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22255 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22256 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22257 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22258 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22259 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22260 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22261 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22262 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22263 * math/libm-test.inc (cos_test): Add more tests and enable more
22264 tests for long double.
22265 (sin_test): Likewise.
22266 (sincos_test): Likewise.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22270 2012-03-16 David S. Miller <davem@davemloft.net>
22272 * sysdeps/sparc/fpu/math_private.h: New file.
22274 2012-03-15 David S. Miller <davem@davemloft.net>
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22290 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22291 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22293 * sysdeps/sparc/sparc-ifunc.h: New file.
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22339 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22341 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22345 2012-03-15 Andreas Jaeger <aj@suse.de>
22348 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22349 ieee754/flt-32 implementation for sin, cos and sincos.
22350 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22351 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22352 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22353 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22354 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22355 ieee754/flt-32 implementation for tan.
22357 * math/libm-test.inc (cos_test): Enable some large input tests for
22359 (sin_test): Likewise.
22360 (sincos_test): Likewise.
22361 (tan_test): Add tests for large input.
22363 * sysdeps/i386/fpu/libm-test-ulps: Update.
22365 2012-03-15 Andreas Jaeger <aj@suse.de>
22368 * math/libm-test.inc (cos_test): Add more test cases.
22369 (sin_test): Likewise.
22370 (sincos_test): Likewise.
22372 2012-03-15 Andreas Jaeger <aj@suse.de>
22375 * math/libm-test.inc (cos_test): Add a test case for large input
22377 (sin_test): Likewise.
22378 (sincos_test): Likewise.
22380 2012-03-15 Andreas Jaeger <aj@suse.de>,
22381 Joseph Myers <joseph@codesourcery.com>
22384 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22385 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22386 * sysdeps/i386/fpu/branred.c: Likewise.
22387 * sysdeps/i386/fpu/dosincos.c: Likewise.
22388 * sysdeps/i386/fpu/mpa.c: Likewise.
22389 * sysdeps/i386/fpu/s_cos.S: Likewise.
22390 * sysdeps/i386/fpu/s_sin.S: Likewise.
22391 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22392 * sysdeps/i386/fpu/sincos32.c: Likewise.
22394 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22396 (libc_feupdateenv_53bit): Define.
22397 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22399 (libc_feupdateenv_53bit): Define.
22401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22402 53 bit (without extend i386 double precision).
22404 * math/libm-test.inc (sincos_test): Add tests for large input.
22408 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22410 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22414 2012-03-15 David S. Miller <davem@davemloft.net>
22416 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22417 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22418 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22419 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22444 fmin/fmax sysdep routines.
22445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22447 2012-03-14 David S. Miller <davem@davemloft.net>
22449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22526 * sysdeps/sparc/configure.in: New file.
22527 * sysdeps/sparc/configure: Generate.
22528 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22529 * configure: Regenerate.
22530 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22531 * config.make.in (have-as-vis3): New.
22532 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22533 available use -Av9d instead of -Av9a.
22534 * sysdeps/sparc/sparc64/Makefile: Likewise.
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22550 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22551 fzeros/fnegs to load 0x80000000 into a float register instead of
22553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22555 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22559 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22560 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22561 ($(inst_includedir)/bits/syscall.h): Remove rule.
22562 ($(objpfx)bits/syscall.d): Include instead of
22563 $(objpfx)syscall-list.d.
22564 (generated): Change syscall-list.h and syscall-list.d to
22565 bits/syscall.h and bits/syscall.d.
22567 2012-03-14 Roland McGrath <roland@hack.frob.com>
22570 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22572 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22575 * math/s_csqrt.c: Include <float.h>.
22576 (__csqrt): Scale large or subnormal inputs.
22577 * math/s_csqrtf.c: Likewise.
22578 * math/s_csqrtl.c: Likewise.
22579 * math/libm-test.inc (csqrt_test): Add more tests.
22580 * sysdeps/i386/fpu/libm-test-ulps: Update.
22581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22584 * math/libm-test.inc (hypot_test): Add more tests.
22586 2012-03-13 David S. Miller <davem@davemloft.net>
22589 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22590 double-precision for the calculation instead of scaling.
22592 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22595 manipulate bits before adding and subtracting TWO52[sx].
22596 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22601 2012-03-13 David S. Miller <davem@davemloft.net>
22603 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22604 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22606 rtld-global-offsets.h
22607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22609 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22614 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22615 'err' in the ifdef scope in which it is actually used.
22617 * nss/nss_db/db-init.c: Include string.h
22619 2012-03-12 David S. Miller <davem@davemloft.net>
22621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22622 masking out of the most significant byte of random value used.
22623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22624 Fix coding style in previous change.
22626 * sysdeps/unix/sysv/linux/kernel-features.h
22627 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22628 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22630 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22633 2012-03-11 David S. Miller <davem@davemloft.net>
22635 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22636 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22638 for 'resultvar' otherwise things get truncated on 64-bit.
22640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22641 Fix masking out of the most significant byte of random value used.
22643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22645 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22649 2012-03-09 David S. Miller <davem@davemloft.net>
22651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22652 variables with appropriate CPP guards.
22653 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22654 frame pointer, not the stack pointer. Correct layout comments. Fix test
22655 on resulting framesize and the management of the outregs buffer for pltexit.
22656 Preserve floating point return values across _dl_call_pltexit call.
22657 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22658 framesize and the management of the outregs buffer for pltexit.
22659 Preserve floating point return values across _dl_call_pltexit
22661 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22662 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22663 (print_exit): Fix format string for return register value.
22665 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22667 * sunrpc/Makefile (others): Add rpcgen.
22668 ($(objpfx)rpcgen): Remove special build rule and dependency on
22670 * sunrpc/rpcgen.c: New file.
22672 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22675 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22676 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22677 * sysdeps/i386/crti.S: Likewise.
22678 * sysdeps/i386/crtn.S: Likewise.
22679 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22680 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22681 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22682 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22683 * sysdeps/sh/crti.S: Likewise.
22684 * sysdeps/sh/crtn.S: Likewise.
22685 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22688 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22690 * locale/programs/locfile-kw.gperf: Likewise.
22691 * locale/programs/charmap-kw.h: Regenerated.
22692 * locale/programs/locfile-kw.h: Likewise.
22695 * intl/plural.y: Replace FSF snail mail address with URL.
22696 * intl/plural.c: Regenerated.
22698 2012-03-09 Richard Henderson <rth@twiddle.net>
22700 * include/math_private.h: Remove file.
22701 * math/math_private.h: Move file ...
22702 * sysdeps/generic/math_private.h: ... here.
22704 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22705 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22708 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22709 and <math_private.h>.
22710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22790 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22798 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22801 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22804 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22805 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22810 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22811 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22812 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22813 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22815 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22817 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22822 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22823 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22824 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22826 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22827 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22831 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22833 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22834 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22835 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22836 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22837 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22838 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22839 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22840 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22843 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22844 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22848 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22851 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22853 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22854 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22858 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22859 * sysdeps/ieee754/k_standard.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22911 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22937 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22956 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22957 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22964 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22968 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22976 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22987 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22992 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23009 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23020 * sysdeps/ieee754/s_lib_version.c: Likewise.
23021 * sysdeps/ieee754/s_matherr.c: Likewise.
23022 * sysdeps/ieee754/s_signgam.c: Likewise.
23023 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23024 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23026 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23029 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23030 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23031 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23032 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23033 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23034 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23035 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23036 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23037 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23040 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23041 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23045 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23047 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23048 * sunrpc/rpc_main.c: Likewise.
23049 * sunrpc/rpc_svcout.c: Likewise.
23051 2012-03-09 David S. Miller <davem@davemloft.net>
23053 * include/math_private.h: New file.
23055 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23057 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23058 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23059 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23060 from <bits/socket_type.h>.
23061 (enum __socket_type): Don't define here.
23062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23064 bits/socket_type.h.
23067 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23068 checking __USE_GNU.
23070 * Makerules ($(inst_includedir)/%.h): New rule.
23071 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23072 (install-others): Remove variable setting.
23073 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23075 2012-03-08 Richard Henderson <rth@twiddle.net>
23077 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23078 from macro to inline function; merge with the
23079 !__LIBC_INTERNAL_MATH_INLINES version.
23080 (__ieee754_sqrtf): Likewise.
23082 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23083 to inline function.
23084 (__rintf, __floor, __floorf): Likewise.
23086 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23087 macro to inline function.
23088 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23091 not <math/math_private.h>.
23093 2012-03-08 David S. Miller <davem@davemloft.net>
23095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23097 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23099 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23101 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23103 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23104 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23106 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23108 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23109 be defined individually, they must be defined as a block. Define
23110 S for printing a string instead of hidint the different by using a
23111 macro for adding the 'l'.
23112 * stdio-common/tst-fphex-wide.c: Adjust.
23114 2012-03-07 Marek Polacek <polacek@redhat.com>
23116 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23118 2012-03-08 Marek Polacek <polacek@redhat.com>
23121 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23122 * stdio-common/tst-fphex.c: Define a few macros to make the
23123 test reusable. Use them.
23124 * stdio-common/tst-fphex-wide.c: New file.
23126 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23129 * manual/macros.texi (gnusystems): New macro.
23130 (nongnusystems): Likewise.
23131 (gnulinuxhurdsystems): Likewise.
23132 (gnuhurdsystems): Likewise..
23133 (gnulinuxsystems): Likewise.
23134 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23135 variants of the GNU system, not "GNU system".
23136 * manual/conf.texi: Likewise.
23137 * manual/errno.texi: Likewise. Update example of errno macro
23139 * manual/filesys.texi: Likewise.
23140 (getumask): Document as specific to GNU/Hurd.
23141 * manual/install.texi: Likewise. Reword some references to
23143 * manual/intro.texi: Likewise.
23144 * manual/io.texi: Likewise.
23145 (File Name Portability): Detail which constraints are inapplicable
23146 to all GNU systems and which are only inapplicable to GNU/Hurd.
23147 * manual/job.texi: Likewise.
23148 * manual/llio.texi: Likewise.
23149 (O_NOCTTY): Document as present on GNU/Linux.
23150 * manual/maint.texi: Likewise.
23151 * manual/memory.texi: Likewise.
23152 * manual/pattern.texi: Likewise.
23153 * manual/pipe.texi: Likewise.
23154 * manual/process.texi: Likewise.
23155 * manual/resource.texi: Likewise.
23156 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23158 * manual/setjmp.texi: Likewise.
23159 * manual/signal.texi: Likewise.
23160 * manual/startup.texi: Likewise.
23161 * manual/stdio.texi: Likewise.
23162 * manual/terminal.texi: Likewise.
23163 (ONLCR): Document as POSIX.
23164 (OXTABS): Document availability on GNU/Linux as XTABS.
23165 (ONOEOT): Document availability separately from other bits.
23166 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23167 * manual/time.texi: Likewise.
23168 * manual/users.texi: Likewise.
23169 * INSTALL: Regenerated.
23170 * sysdeps/gnu/errlist.c: Regenerated.
23172 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23173 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23174 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23176 * configure: Regenerated.
23178 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23180 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23181 default includes instead of AC_HEADER_CHECK.
23182 * sysdeps/i386/configure: Regenerated.
23185 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23186 * math/s_cacoshf.c (__cacoshf): Likewise.
23187 * math/s_cacoshl.c (__cacoshl): Likewise.
23188 * math/s_casinh.c (__casinh): Set signs of result from argument.
23189 * math/s_casinhf.c (__casinhf): Likewise.
23190 * math/s_casinhl.c (__casinhl): Likewise.
23191 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23192 (casinh_test): Add more tests.
23193 * sysdeps/i386/fpu/libm-test-ulps: Update.
23194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23198 * po/zh_TW.po: Update from translation team.
23200 * login/Makefile (distribute): Remove variable.
23201 * catgets/Makefile: Likewise.
23202 * mach/Makefile: Likewise.
23203 * malloc/Makefile: Likewise.
23204 * misc/Makefile: Likewise.
23205 * iconv/Makefile: Likewise.
23206 * nscd/Makefile: Likewise.
23207 * hurd/Makefile: Likewise.
23208 * manual/Makefile: Likewise.
23209 * locale/Makefile: Likewise.
23210 * intl/Makefile: Likewise.
23211 * conform/Makefile: Likewise.
23212 * nss/Makefile: Likewise.
23213 * time/Makefile: Likewise.
23214 * soft-fp/Makefile: Likewise.
23215 * dirent/Makefile: Likewise.
23216 * gmon/Makefile: Likewise.
23217 * po/Makefile: Likewise.
23218 * rt/Makefile: Likewise.
23219 * socket/Makefile: Likewise.
23220 * math/Makefile: Likewise.
23221 * signal/Makefile: Likewise.
23222 * debug/Makefile: Likewise.
23223 * elf/Makefile: Likewise.
23224 * timezone/Makefile: Likewise.
23225 * stdlib/Makefile: Likewise.
23226 * iconvdata/Makefile: Likewise.
23227 * sunrpc/Makefile: Likewise.
23228 * io/Makefile: Likewise.
23229 * argp/Makefile: Likewise.
23230 * inet/Makefile: Likewise.
23231 * hesiod/Makefile: Likewise.
23232 * grp/Makefile: Likewise.
23233 * csu/Makefile: Likewise.
23234 * wctype/Makefile: Likewise.
23235 * crypt/Makefile: Likewise.
23236 * libio/Makefile: Likewise.
23237 * string/Makefile: Likewise.
23238 * nis/Makefile: Likewise.
23239 * resolv/Makefile: Likewise.
23240 * stdio-common/Makefile: Likewise.
23241 * wcsmbs/Makefile: Likewise.
23242 * dlfcn/Makefile: Likewise.
23243 * posix/Makefile: Likewise.
23246 * timezone/Makefile: Don't install timezone files, just the programs
23249 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23251 * nss/databases.def: Add missing gshadow entry.
23253 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23255 2012-03-06 Marek Polacek <polacek@redhat.com>
23258 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23259 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23260 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23261 * stdio-common/tst-long-dbl-fphex.c: New file.
23263 2012-03-06 David S. Miller <davem@davemloft.net>
23265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23266 (set_obp_int): New function.
23267 (get_obp_int): New function.
23268 (__get_clockfreq_via_dev_openprom): Likewise.
23269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23270 Avoid unused variable warnings on 'val' and use builtin_expect.
23271 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23273 (INLINE_CLONE_SYSCALL): Likewise.
23275 2012-03-05 David S. Miller <davem@davemloft.net>
23277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23279 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23284 only for |x| >= 40.
23285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23287 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23290 Replace gettimeofday with __vdso_gettimeofday.
23292 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23293 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23294 __vdso_clock_gettime and __vdso_getcpu.
23296 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23297 time with __vdso_time.
23299 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23301 * manual/lang.texi (size_t): Note types to which size_t may be
23302 equivalent with the GNU C Library, but do not describe when
23303 differences between them are significant.
23305 2012-03-05 Andreas Jaeger <aj@suse.de>
23307 * sysdeps/i386/fpu/libm-test-ulps: Update.
23309 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23312 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23313 (__ieee754_pow): Save and restore rounding mode and use
23314 round-to-nearest for main computations.
23315 * math/libm-test.inc (pow_test_tonearest): New function.
23316 (pow_test_towardzero): Likewise.
23317 (pow_test_downward): Likewise.
23318 (pow_test_upward): Likewise.
23319 (main): Call the new functions.
23320 * sysdeps/i386/fpu/libm-test-ulps: Update.
23321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23324 * math/libm-test.inc (cosh_test_tonearest): New function.
23325 (cosh_test_towardzero): Likewise.
23326 (cosh_test_downward): Likewise.
23327 (cosh_test_upward): Likewise.
23328 (sinh_test_tonearest): Likewise.
23329 (sinh_test_towardzero): Likewise.
23330 (sinh_test_downward): Likewise.
23331 (sinh_test_upward): Likewise.
23332 (main): Call the new functions.
23333 * sysdeps/i386/fpu/libm-test-ulps: Update.
23334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23336 2012-03-05 Tom de Vries <tom@codesourcery.com>
23338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23339 default stack guard is set in last bytes.
23340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23342 2012-03-05 Kees Cook <keescook@chromium.org>
23344 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23347 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23348 possibly allocate from heap instead of stack.
23349 * stdio-common/bug-vfprintf-nargs.c: New file.
23350 * stdio-common/Makefile (tests): Add nargs overflow test.
23352 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23356 2012-03-03 Marek Polacek <polacek@redhat.com>
23358 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23359 * math/math_private.h: Likewise.
23360 * stdlib/tst-strtod.c: Likewise.
23361 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23362 * sysdeps/x86_64/bits/atomic.h: Likewise.
23364 2012-03-02 David S. Miller <davem@davemloft.net>
23366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23370 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23371 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23372 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23373 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23375 2012-03-02 Roland McGrath <roland@hack.frob.com>
23378 * manual/examples/README: New file, says the example source files
23379 can be used under GPL>=2.
23380 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23381 line containing just "*/".
23382 * manual/examples/add.c: Add copyright header (GPL>=2).
23383 * manual/examples/argp-ex1.c: Likewise.
23384 * manual/examples/argp-ex2.c: Likewise.
23385 * manual/examples/argp-ex3.c: Likewise.
23386 * manual/examples/argp-ex4.c: Likewise.
23387 * manual/examples/atexit.c: Likewise.
23388 * manual/examples/db.c: Likewise.
23389 * manual/examples/dir.c: Likewise.
23390 * manual/examples/dir2.c: Likewise.
23391 * manual/examples/execinfo.c: Likewise.
23392 * manual/examples/filecli.c: Likewise.
23393 * manual/examples/filesrv.c: Likewise.
23394 * manual/examples/fmtmsgexpl.c: Likewise.
23395 * manual/examples/genpass.c: Likewise.
23396 * manual/examples/inetcli.c: Likewise.
23397 * manual/examples/inetsrv.c: Likewise.
23398 * manual/examples/isockad.c: Likewise.
23399 * manual/examples/longopt.c: Likewise.
23400 * manual/examples/memopen.c: Likewise.
23401 * manual/examples/memstrm.c: Likewise.
23402 * manual/examples/mkfsock.c: Likewise.
23403 * manual/examples/mkisock.c: Likewise.
23404 * manual/examples/mygetpass.c: Likewise.
23405 * manual/examples/pipe.c: Likewise.
23406 * manual/examples/popen.c: Likewise.
23407 * manual/examples/rprintf.c: Likewise.
23408 * manual/examples/search.c: Likewise.
23409 * manual/examples/select.c: Likewise.
23410 * manual/examples/setjmp.c: Likewise.
23411 * manual/examples/sigh1.c: Likewise.
23412 * manual/examples/sigusr.c: Likewise.
23413 * manual/examples/stpcpy.c: Likewise.
23414 * manual/examples/strdupa.c: Likewise.
23415 * manual/examples/strftim.c: Likewise.
23416 * manual/examples/strncat.c: Likewise.
23417 * manual/examples/subopt.c: Likewise.
23418 * manual/examples/swapcontext.c: Likewise.
23419 * manual/examples/termios.c: Likewise.
23420 * manual/examples/testopt.c: Likewise.
23421 * manual/examples/testpass.c: Likewise.
23422 * manual/examples/timeval_subtract.c: Likewise.
23425 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23427 * manual/timeval_subtract.c.texi: ... here, new file.
23429 2012-03-02 David S. Miller <davem@davemloft.net>
23431 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23433 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23436 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23437 (__sin): Save and restore rounding mode and use round-to-nearest
23438 for all computations.
23439 (__cos): Save and restore rounding mode and use round-to-nearest
23440 for all computations.
23441 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23443 (tan): Save and restore rounding mode and use round-to-nearest for
23445 * math/libm-test.inc (cos_test_tonearest): New function.
23446 (cos_test_towardzero): Likewise.
23447 (cos_test_downward): Likewise.
23448 (cos_test_upward): Likewise.
23449 (sin_test_tonearest): Likewise.
23450 (sin_test_towardzero): Likewise.
23451 (sin_test_downward): Likewise.
23452 (sin_test_upward): Likewise.
23453 (tan_test_tonearest): Likewise.
23454 (tan_test_towardzero): Likewise.
23455 (tan_test_downward): Likewise.
23456 (tan_test_upward): Likewise.
23457 (main): Call the new functions.
23458 * sysdeps/i386/fpu/libm-test-ulps: Update.
23459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23462 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23463 small n, then large n, before computing and testing k+n.
23464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23469 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23470 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23477 * math/libm-test.inc (scalbn_test): Add more tests.
23478 (scalbln_test): Likewise.
23480 * manual/filesys.texi (mode_t): Describe constraints on size and
23481 signedness, not exact equivalence to a particular type.
23483 (ino64_t): Likewise.
23485 (nlink_t): Likewise.
23486 (blkcnt_t): Likewise.
23487 (blkcnt64_t): Likewise.
23488 * manual/llio.texi (off_t): Likewise.
23491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23492 (__ieee754_exp): Save and restore rounding mode and use
23493 round-to-nearest for all computations.
23494 * math/libm-test.inc (exp_test_tonearest): New function.
23495 (exp_test_towardzero): Likewise.
23496 (exp_test_downward): Likewise.
23497 (exp_test_upward): Likewise.
23498 (main): Call the new functions.
23499 * sysdeps/i386/fpu/libm-test-ulps: Update.
23500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23502 2012-03-01 Chris Demetriou <cgd@google.com>
23504 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23505 have predictable order.
23507 2012-03-01 David S. Miller <davem@davemloft.net>
23509 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23511 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23512 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23513 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23514 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23516 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23517 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23518 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23520 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23521 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23522 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23523 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23524 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23529 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23532 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23533 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23534 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23535 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23536 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23539 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23540 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23541 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23542 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23543 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23548 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23549 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23550 * sysdeps/sparc/elf/configure: Regenerated.
23552 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23554 * configure.in (AS, LD): Require binutils 2.20 or later.
23555 * configure: Regenerated.
23556 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23557 as required minimum version.
23558 * INSTALL: Regenerated.
23562 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23563 before squaring exponent.
23564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23565 bottom long double and 27 bits of top long double before squaring
23567 * math/libm-test.inc (erfc_test): Add more tests.
23568 * sysdeps/i386/fpu/libm-test-ulps: Update.
23569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23572 2012-03-01 Kai Tietz <ktietz@redhat.com>
23574 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23575 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23576 containing bit-fields.
23577 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23578 * soft-fp/single.h (_FP_UNION_S): Likewise.
23579 * soft-fp/double.h (_FP_UNION_D): Likewise.
23581 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23584 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23585 not include ../strcmp.S.
23586 [USE_AS_STRNCASECMP_L]: Likewise.
23587 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23588 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23589 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23590 (__strncasecmp_l_ia32): Define as alias to
23591 __strncasecmp_l_nonascii.
23594 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23595 * sysdeps/i386/fpu/libm-test-ulps: Update.
23596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23598 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23601 2012-02-29 Jeff Law <law@redhat.com>
23603 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23604 out of bounds read.
23606 2012-02-29 Marek Polacek <polacek@redhat.com>
23609 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23610 * elf/Makefile: Add rules to run tst-unused-dep.out.
23612 2012-02-28 David S. Miller <davem@davemloft.net>
23614 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23615 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23618 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23619 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23621 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23623 * math/libm-test.inc (llround_test): Move one test from
23624 lround_test. Use TEST_f_L in moved test.
23625 (lround_test): Move misplaced test to llround_test. Add testcase
23628 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23630 * sysdeps/x86_64/fpu/e_expf.S: New file.
23631 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23633 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23636 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23637 of remain_len that may cause incomplete multi-byte character and
23639 * posix/bug-regex33.c: New file.
23640 * posix/Makefile (tests): Add bug-regex33.
23642 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23644 * manual/macros.texi: New file.
23645 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23646 * manual/libc.texinfo: Include macros.texi.
23647 * manual/creatute.texi: Likewise.
23648 * manual/install.texi: Likewise.
23649 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23650 @glibcadj{} in references to the GNU C Library.
23651 * manual/charset.texi: Likewise.
23652 * manual/conf.texi: Likewise.
23653 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23654 when not using those macros.
23655 * manual/creature.texi: Likewise.
23656 * manual/crypt.texi: Likewise.
23657 * manual/errno.texi: Likewise.
23658 * manual/filesys.texi: Likewise.
23659 * manual/header.texi: Likewise.
23660 * manual/install.texi: Likewise.
23661 * manual/intro.texi: Likewise.
23662 * manual/io.texi: Likewise.
23663 * manual/job.texi: Likewise.
23664 * manual/lang.texi: Likewise.
23665 * manual/libc.texiinfo: Likewise.
23666 * manual/llio.texi: Likewise.
23667 * manual/locale.texi: Likewise.
23668 * manual/maint.texi: Likewise.
23669 * manual/math.texi: Likewise.
23670 * manual/memory.texi: Likewise.
23671 * manual/message.texi: Likewise.
23672 * manual/nss.texi: Likewise.
23673 * manual/pattern.texi: Likewise.
23674 * manual/process.texi: Likewise.
23675 * manual/resource.texi: Likewise.
23676 * manual/search.texi: Likewise.
23677 * manual/setjmp.texi: Likewise.
23678 * manual/signal.texi: Likewise.
23679 * manual/socket.texi: Likewise.
23680 * manual/startup.texi: Likewise.
23681 * manual/stdio.texi: Likewise.
23682 * manual/string.texi: Likewise.
23683 * manual/sysinfo.texi: Likewise.
23684 * manual/syslog.texi: Likewise.
23685 * manual/terminal.texi: Likewise.
23686 * manual/time.texi: Likewise.
23687 * manual/users.texi: Likewise.
23688 * INSTALL: Regenerated.
23689 * NOTES: Regenerated.
23690 * sysdeps/gnu/errlist.c: Regenerated.
23692 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23694 * include/dirent.h: Include <dirstream.h> before
23697 2012-02-28 David S. Miller <davem@davemloft.net>
23699 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23700 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23701 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23704 2012-02-27 David S. Miller <davem@davemloft.net>
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23708 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23709 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23712 frame pointer instead of stack pointer relative arg slot.
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23714 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23715 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23717 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23720 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23722 2012-02-27 David S. Miller <davem@davemloft.net>
23724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23730 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23733 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23735 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23736 later. Allow versions 5-9.
23737 * configure: Regenerated.
23738 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23739 required minimum version and 4.6 as recommended version. Do not
23740 mention bugs in GCC 2.7 and 2.8.
23741 * INSTALL: Regenerated.
23743 2012-02-27 David S. Miller <davem@davemloft.net>
23745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23751 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23755 manipulate bits before adding and subtracting TWO112[sx].
23756 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23758 2012-02-27 Roland McGrath <roland@hack.frob.com>
23761 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23762 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23763 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23764 being in POSIX, because they are in 1003.1-2008.
23766 * rt/tst-aio.c: Include <fcntl.h>.
23767 * rt/tst-aio7.c: Likewise.
23768 * rt/tst-aio64.c: Likewise.
23770 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23772 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23774 * manual/install.texi (--with-headers): Describe headers as
23775 interface headers, not private headers.
23776 (Specific advice for GNU/Linux systems): Describe use of headers
23777 from "make headers_install", not private headers from older
23779 * INSTALL: Regenerated.
23780 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23782 * sysdeps/unix/sysv/linux/configure: Regenerated.
23784 * manual/llio.texi (fclean): Remove documentation.
23786 * manual/Makefile (libc-texi-generated): New variable. Include
23788 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23789 $(libc-texi-generated), not duplicated list of files.
23790 (version.texi, stamp-version): New rules.
23791 (realclean): Remove $(libc-texi-generated), not individual files
23792 from that list. Do not remove dir-add.texinfo.
23793 * manual/libc.texinfo: Comment out uses of edition numbers and
23794 references to printed manual. Remove last-updated dates.
23795 (EDITION): Comment out.
23797 (VERSION, UPDATED): Remove.
23798 (version.texi): Include.
23800 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23802 * sysdeps/posix/spawni.c: Include <signal.h>.
23803 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23804 * sysdeps/pthread/aio_fsync.c: Likewise.
23806 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23808 * conform/Makefile (tests): Run only when not cross-compiling and
23809 when fast-check is not defined.
23811 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23812 * conform/data/limits.h-data: Fixes for POSIX2008.
23813 * conform/run-conformtest.sh: Run all tests.
23814 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23816 * include/bits/dlfcn.h: Likewise.
23817 * include/langinfo.h: Likewise.
23818 * include/monetary.h: Likewise.
23819 * include/sys/poll.h: Likewise.
23821 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23823 * posix/spawn.h: Define __need_sigset_t.
23824 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23825 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23826 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23827 to get sigevent_t only.
23828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23829 only for __USE_GNU.
23830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23832 process_vm_writev only for __USE_GNU.
23833 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23835 * conform/Makefile: For now ignore errors from run-conformtest.
23836 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23837 POSIX to avoid namespace pollution. Don't prepend headers.
23838 * conform/data/aio.h-data: Fixes for POSIX testing.
23839 * conform/data/fcntl.h-data: Likewise.
23840 * conform/data/glob.h-data: Likewise.
23841 * conform/data/grp.h-data: Likewise.
23842 * conform/data/pthread.h-data: Likewise.
23843 * conform/data/pwd.h-data: Likewise.
23844 * conform/data/signal.h-data: Likewise.
23845 * conform/data/spawn.h-data: Likewise.
23846 * conform/data/stdio.h-data: Likewise.
23847 * conform/data/stdlib.h-data: Likewise.
23848 * conform/data/stropts.h-data: Likewise.
23849 * conform/data/sys/mman.h-data: Likewise.
23850 * conform/data/sys/stat.h-data: Likewise.
23851 * conform/data/sys/types.h-data: Likewise.
23852 * conform/data/sys/wait.h-data: Likewise.
23853 * conform/data/time.h-data: Likewise.
23854 * conform/data/unistd.h-data: Likewise.
23855 * conform/data/utime.h-data: Likewise.
23857 * io/sys/stat.h: fchmod was always in POSIX.
23858 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23859 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23860 * rt/aio.h: Define __need_timespec before including <time.h>.
23861 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23862 struct. Add forward declaration of pthread_attr_t and use it in
23864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23866 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23867 always remove CLK_TCK definition.
23869 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23871 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23873 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23875 * conform/run-conformtest.sh: New file.
23876 * conform/Makefile: Run run-conformtest for tests.
23877 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23880 * conform/data/uchar.h-data: New file.
23881 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23882 * conform/data/arpa/inet.h-data: Likewise.
23883 * conform/data/assert.h-data: Likewise.
23884 * conform/data/complex.h-data: Likewise.
23885 * conform/data/cpio.h-data: Likewise.
23886 * conform/data/ctype.h-data: Likewise.
23887 * conform/data/dirent.h-data: Likewise.
23888 * conform/data/dlfcn.h-data: Likewise.
23889 * conform/data/errno.h-data: Likewise.
23890 * conform/data/fcntl.h-data: Likewise.
23891 * conform/data/float.h-data: Likewise.
23892 * conform/data/fmtmsg.h-data: Likewise.
23893 * conform/data/fnmatch.h-data: Likewise.
23894 * conform/data/ftw.h-data: Likewise.
23895 * conform/data/glob.h-data: Likewise.
23896 * conform/data/grp.h-data: Likewise.
23897 * conform/data/iconv.h-data: Likewise.
23898 * conform/data/inttypes.h-data: Likewise.
23899 * conform/data/langinfo.h-data: Likewise.
23900 * conform/data/libgen.h-data: Likewise.
23901 * conform/data/limits.h-data: Likewise.
23902 * conform/data/locale.h-data: Likewise.
23903 * conform/data/math.h-data: Likewise.
23904 * conform/data/monetary.h-data: Likewise.
23905 * conform/data/mqueue.h-data: Likewise.
23906 * conform/data/ndbm.h-data: Likewise.
23907 * conform/data/net/if.h-data: Likewise.
23908 * conform/data/netdb.h-data: Likewise.
23909 * conform/data/netinet/in.h-data: Likewise.
23910 * conform/data/nl_types.h-data: Likewise.
23911 * conform/data/poll.h-data: Likewise.
23912 * conform/data/pthread.h-data: Likewise.
23913 * conform/data/pwd.h-data: Likewise.
23914 * conform/data/regex.h-data: Likewise.
23915 * conform/data/sched.h-data: Likewise.
23916 * conform/data/search.h-data: Likewise.
23917 * conform/data/semaphore.h-data: Likewise.
23918 * conform/data/setjmp.h-data: Likewise.
23919 * conform/data/signal.h-data: Likewise.
23920 * conform/data/spawn.h-data: Likewise.
23921 * conform/data/stdarg.h-data: Likewise.
23922 * conform/data/stdio.h-data: Likewise.
23923 * conform/data/stdlib.h-data: Likewise.
23924 * conform/data/string.h-data: Likewise.
23925 * conform/data/strings.h-data: Likewise.
23926 * conform/data/stropts.h-data: Likewise.
23927 * conform/data/sys/ipc.h-data: Likewise.
23928 * conform/data/sys/mman.h-data: Likewise.
23929 * conform/data/sys/msg.h-data: Likewise.
23930 * conform/data/sys/resource.h-data: Likewise.
23931 * conform/data/sys/select.h-data: Likewise.
23932 * conform/data/sys/sem.h-data: Likewise.
23933 * conform/data/sys/shm.h-data: Likewise.
23934 * conform/data/sys/socket.h-data: Likewise.
23935 * conform/data/sys/stat.h-data: Likewise.
23936 * conform/data/sys/statvfs.h-data: Likewise.
23937 * conform/data/sys/time.h-data: Likewise.
23938 * conform/data/sys/timeb.h-data: Likewise.
23939 * conform/data/sys/times.h-data: Likewise.
23940 * conform/data/sys/types.h-data: Likewise.
23941 * conform/data/sys/uio.h-data: Likewise.
23942 * conform/data/sys/un.h-data: Likewise.
23943 * conform/data/sys/utsname.h-data: Likewise.
23944 * conform/data/sys/wait.h-data: Likewise.
23945 * conform/data/syslog.h-data: Likewise.
23946 * conform/data/tar.h-data: Likewise.
23947 * conform/data/termios.h-data: Likewise.
23948 * conform/data/utime.h-data: Likewise.
23949 * conform/data/utmpx.h-data: Likewise.
23950 * conform/data/varargs.h-data: Likewise.
23951 * conform/data/wchar.h-data: Likewise.
23952 * conform/data/wctype.h-data: Likewise.
23953 * conform/data/wordexp.h-data: Likewise.
23955 * include/stropts.h: New file.
23956 * include/uchar.h: New file.
23957 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23958 * include/assert.h: Likewise.
23959 * include/ctype.h: Likewise.
23960 * include/dirent.h: Likewise.
23961 * include/dlfcn.h: Likewise.
23962 * include/fcntl.h: Likewise.
23963 * include/fnmatch.h: Likewise.
23964 * include/glob.h: Likewise.
23965 * include/grp.h: Likewise.
23966 * include/libio.h: Likewise.
23967 * include/locale.h: Likewise.
23968 * include/math.h: Likewise.
23969 * include/net/if.h: Likewise.
23970 * include/netdb.h: Likewise.
23971 * include/netinet/in.h: Likewise.
23972 * include/pthread.h: Likewise.
23973 * include/pwd.h: Likewise.
23974 * include/regex.h: Likewise.
23975 * include/sched.h: Likewise.
23976 * include/search.h: Likewise.
23977 * include/setjmp.h: Likewise.
23978 * include/signal.h: Likewise.
23979 * include/stdio.h: Likewise.
23980 * include/stdlib.h: Likewise.
23981 * include/string.h: Likewise.
23982 * include/sys/cdefs.h: Likewise.
23983 * include/sys/mman.h: Likewise.
23984 * include/sys/msg.h: Likewise.
23985 * include/sys/resource.h: Likewise.
23986 * include/sys/select.h: Likewise.
23987 * include/sys/socket.h: Likewise.
23988 * include/sys/stat.h: Likewise.
23989 * include/sys/statvfs.h: Likewise.
23990 * include/sys/time.h: Likewise.
23991 * include/sys/times.h: Likewise.
23992 * include/sys/uio.h: Likewise.
23993 * include/sys/utsname.h: Likewise.
23994 * include/sys/wait.h: Likewise.
23995 * include/termios.h: Likewise.
23996 * include/time.h: Likewise.
23997 * include/ulimit.h: Likewise.
23998 * include/unistd.h: Likewise.
23999 * include/utime.h: Likewise.
24000 * include/wchar.h: Likewise.
24001 * include/wctype.h: Likewise.
24002 * include/wordexp.h: Likewise.
24004 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24006 * time/time.h: TIME_UTC must be a macro.
24007 Make timespec_get available for ISO C11 only as well.
24009 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24011 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24012 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24014 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24016 * configure.in: Use -o not -a in test for unsupported multi-arch.
24018 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24020 * manual/texinfo.tex: Update to version 2012-01-19.16.
24022 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24024 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24026 2012-02-24 Roland McGrath <roland@hack.frob.com>
24029 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24030 * manual/fdl-1.3.texi: New file.
24031 * manual/fdl-1.1.texi: File removed.
24034 * manual/libc.texinfo (FDL_VERSION): New @set.
24035 Use it for mention of FDL in cover text.
24036 (Documentation License): Use it in @include file name.
24038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24039 Roland McGrath <roland@hack.frob.com>
24042 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24043 not LONG_LONG_MAX and LONG_LONG_MIN.
24044 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24045 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24047 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24049 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24053 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24054 manipulate bits before adding and subtracting TWO23[sx].
24055 * math/libm-test.inc (nearbyint_test): Add more tests.
24057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24060 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24061 bits before adding and subtracting TWO23[sx].
24062 * math/libm-test.inc (rint_test): Add more tests.
24063 (rint_test_tonearest): Likewise.
24064 (rint_test_towardzero): Likewise.
24065 (rint_test_downward): Likewise.
24066 (rint_test_upward: Likewise.
24068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24071 * include/stdc-predef.h: New file. Extracted from features.h.
24072 * include/features.h: Include stdc-predef.h.
24073 * Makefile (headers): Add stdc-predef.h.
24074 * CONFORMANCE (Compiler limitations): Update.
24076 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24078 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24080 2012-02-21 David S. Miller <davem@davemloft.net>
24082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24085 2012-02-20 David S. Miller <davem@davemloft.net>
24087 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24088 using a normal save/restore sequence, rather than allocating a
24089 dummy stack frame just to store a frame pointer and restore.
24090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24092 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24094 * manual/install.texi: Fix stray word in line-wrapped comment.
24096 2012-02-20 David S. Miller <davem@davemloft.net>
24098 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24099 both binutils and gcc support GOTDATA.
24101 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24102 "rd %pc" in the PIC register setup sequences.
24104 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24105 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24113 (SYSCALL_ERROR_HANDLER): Likewise.
24114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24117 (SYSCALL_ERROR_HANDLER): Likewise.
24119 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24120 (HAVE_GCC_GOTDATA): New.
24121 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24122 relocation support in both binutils and gcc.
24123 * sysdeps/sparc/elf/configure: Regenerate.
24125 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24126 * sysdeps/sparc/sparc32/elf/configure: Delete.
24127 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24128 * sysdeps/sparc/sparc64/elf/configure: Delete.
24129 * sysdeps/sparc/elf/configure.in: New file.
24130 * sysdeps/sparc/elf/configure: Generate.
24132 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24133 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24135 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24136 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24138 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24140 * manual/install.texi: Do not mention specific glibc version
24142 * manual/libc.texinfo (VERSION, UPDATED): Update.
24143 (@copying): Use @copyright{} and range of years.
24145 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24148 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24149 [crti.S not in sysdirs] (generated): Do not append.
24150 [crti.S not in sysdirs] (omit-deps): Likewise.
24151 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24152 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24153 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24154 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24155 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24157 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24158 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24159 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24160 * csu/defs.awk: Remove file.
24161 * sysdeps/generic/initfini.c: Likewise.
24162 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24164 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24167 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24169 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24170 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24171 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24174 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24176 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24177 (__EPOLL_PACKED): Define to empty if not defined by
24179 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24183 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24185 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24186 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24188 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24190 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24194 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24196 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24203 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24208 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24210 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24211 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24213 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24215 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24218 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24220 * math/w_acos.c: Use non-signaling floating-point comparisons.
24221 * math/w_acosf.c: Likewise.
24222 * math/w_acosh.c: Likewise.
24223 * math/w_acoshf.c: Likewise.
24224 * math/w_acoshl.c: Likewise.
24225 * math/w_acosl.c: Likewise.
24226 * math/w_asin.c: Likewise.
24227 * math/w_asinf.c: Likewise.
24228 * math/w_asinl.c: Likewise.
24229 * math/w_atanh.c: Likewise.
24230 * math/w_atanhf.c: Likewise.
24231 * math/w_atanhl.c: Likewise.
24232 * math/w_exp2.c: Likewise.
24233 * math/w_exp2f.c: Likewise.
24234 * math/w_exp2l.c: Likewise.
24235 * math/w_j0.c: Likewise.
24236 * math/w_j0f.c: Likewise.
24237 * math/w_j0l.c: Likewise.
24238 * math/w_j1.c: Likewise.
24239 * math/w_j1f.c: Likewise.
24240 * math/w_j1l.c: Likewise.
24241 * math/w_jn.c: Likewise.
24242 * math/w_jnf.c: Likewise.
24243 * math/w_log.c: Likewise.
24244 * math/w_log10.c: Likewise.
24245 * math/w_log10f.c: Likewise.
24246 * math/w_log10l.c: Likewise.
24247 * math/w_log2.c: Likewise.
24248 * math/w_log2f.c: Likewise.
24249 * math/w_log2l.c: Likewise.
24250 * math/w_logf.c: Likewise.
24251 * math/w_logl.c: Likewise.
24252 * math/w_sqrt.c: Likewise.
24253 * math/w_sqrtf.c: Likewise.
24254 * math/w_sqrtl.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24258 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24259 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24261 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24264 * manual/string.texi (strnlen): Use correct parameter name in
24265 equivalent expression.
24267 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24270 * manual/users.texi (seteuid): Consistently use neweuid for
24273 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24276 * manual/nss.texi (Services in the NSS configuration): Correct
24277 list of services in example configuration file.
24279 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24282 * manual/arith.texi: Remove statements about negative zero
24283 behaving identically to zero.
24285 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24288 * manual/install.texi: Do not document upgrading from libc5.
24290 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24293 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24295 2012-02-18 David S. Miller <davem@davemloft.net>
24297 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24298 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24299 %o7 across the call.
24300 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24303 SETUP_PIC_REG_LEAF.
24304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24305 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24306 * sysdeps/sparc/crtn.S: Likewise.
24308 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24310 * aout/Makefile: Remove.
24312 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24315 * manual/examples/argp-ex1.c (main): Format definition in GNU
24317 * manual/examples/argp-ex2.c (main): Likewise.
24318 * manual/examples/argp-ex3.c (main): Likewise.
24319 * manual/examples/argp-ex4.c (main): Likewise.
24320 * manual/examples/longopt.c (main): Use new-style prototype
24322 * manual/examples/strncat.c (main): Specify return type and use
24323 (void) for arguments.
24324 * manual/examples/subopt.c (main): Use char **argv argument.
24326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24329 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24332 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24335 * manual/string.texi (strchr): Change when strchrnul is
24338 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24341 * manual/locale.texi (setlocale): Document LOCPATH.
24343 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24346 * manual/process.texi (execle): Move @dots{} before last argument.
24348 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24351 * manual/charset.texi (Generic Charset Conversion): Fix typo
24352 (LC_TYPE -> LC_CTYPE).
24354 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24357 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24358 (scalbnf): Likewise.
24359 (scalbnl): Likewise.
24360 (scalbln): Likewise.
24361 (scalblnf): Likewise.
24362 (scalblnl): Likewise.
24363 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24364 (vwarnx): Likewise.
24367 * manual/filesys.texi (telldir): Use braces around return type.
24368 * manual/llio.texi (mmap): Add space after comma.
24369 (mmap64): Likewise.
24370 * manual/math.texi (jn): Use @var{} on parameter names.
24376 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24378 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24380 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24381 (sched_get_priority_max): Likewise.
24382 * manual/signal.texi (sigvec): Add space after comma.
24383 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24385 (if_indextoname): Likewise.
24386 (if_freenameindex): Likewise.
24387 (sendto): Use ',' instead of '.' in prototype.
24388 * manual/startup.texi (syscall): Use @dots{} instead of literal
24390 * manual/stdio.texi (__fpending): Separate initial words of
24391 paragraph from @deftypefun line.
24392 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24394 (vsyslog): Use @var{} on parameter names.
24395 * manual/terminal.texi (stty): Use @var{} on parameter names.
24396 * manual/users.texi (getutmp): Use @var{} on parameter names.
24397 (getutmpx): Likewise.
24399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24402 * manual/stdio.texi (fopen): Fix typos in description of
24405 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24408 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24409 get clock_id definition.
24411 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24414 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24415 (madvise): Cast every argument to void on its own.
24417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24420 * manual/startup.texi (Exit Status): Fix typo.
24422 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24425 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24426 * manual/examples/argp-ex2.c: Likewise.
24427 * manual/examples/argp-ex3.c: Likewise.
24429 2012-02-16 Richard Henderson <rth@redhat.com>
24431 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24432 * sysdeps/s390/s390-32/initfini.c: Remove.
24433 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24434 * sysdeps/s390/s390-64/initfini.c: Remove.
24436 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24438 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24439 compiler output for sysdeps/generic/initfini.c.
24440 * sysdeps/sh/elf/initfini.c: Remove file.
24442 2012-02-16 David S. Miller <davem@davemloft.net>
24445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24447 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24448 * sysdeps/sparc/crti.S: New file.
24449 * sysdeps/sparc/crtn.S: New file.
24450 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24451 * sysdeps/sparc/sparc64/Makefile: Likewise.
24453 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24456 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24458 2012-02-15 Roland McGrath <roland@hack.frob.com>
24461 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24463 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24464 (write, read, close): Likewise.
24465 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24467 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24469 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24470 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24471 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24472 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24474 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24478 2012-02-14 Marek Polacek <polacek@redhat.com>
24480 * sysdeps/x86_64/crti.S: New file.
24481 * sysdeps/x86_64/crtn.S: New file.
24482 * sysdeps/x86_64/elf/initfini.c: Remove file.
24484 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24486 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24487 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24488 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24489 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24491 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24495 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24497 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24498 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24500 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24502 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24506 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24508 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24509 __feraiseexcept instead of feraiseexcept.
24511 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24512 nanosleep invocations.
24513 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24514 strings, and add error checking for a nanosleep invocations.
24516 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24518 Replace FSF snail mail address with URLs, as per GNU coding standards.
24519 Most of the snail mail addresses were wrong anyway, and omitting
24520 them makes the source code easier to maintain. Almost all of the
24521 changes are to license notices and to locale LC_IDENTIFICATION
24522 addresses, except for this one:
24523 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24524 not its snail mail address.
24526 2012-02-09 Richard Henderson <rth@twiddle.net>
24528 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24529 of kernel-features.h.
24531 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24533 2012-02-08 Marek Polacek <polacek@redhat.com>
24535 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24536 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24537 * sysdeps/gnu/_G_config.h: Likewise.
24538 * sysdeps/generic/_G_config.h: Likewise.
24540 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24542 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24546 * sysdeps/powerpc/powerpc32/crti.S: New file.
24547 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24548 * sysdeps/powerpc/powerpc64/crti.S: New file.
24549 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24551 * Makeconfig (have-initfini): Don't set.
24552 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24553 * configure.in (nopic_initfini): Don't substitute.
24554 * config.h.in (HAVE_INITFINI): Don't #undef.
24555 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24556 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24558 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24560 Support crti.S and crtn.S provided directly by architectures.
24561 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24562 [crti.S in sysdirs] (omit-deps): Likewise.
24563 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24564 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24565 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24566 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24567 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24568 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24569 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24570 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24571 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24572 compiler output for sysdeps/generic/initfini.c.
24573 * sysdeps/i386/elf/Makefile: Remove file.
24574 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24576 2012-02-07 Marek Polacek <polacek@redhat.com>
24578 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24579 * sysdeps/gnu/_G_config.h: Likewise.
24580 * sysdeps/mach/hurd/_G_config.h: Likewise.
24582 2012-02-07 Marek Polacek <polacek@redhat.com>
24584 * math/Makefile (tests): Add tst-CMPLX2.
24585 * math/tst-CMPLX2.c: New file.
24587 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24591 * math/libm-test.inc (jn_test): Add missing L suffix.
24593 2012-02-06 Marek Polacek <polacek@redhat.com>
24595 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24596 * sysdeps/i386/fpu/e_powf.S: Likewise.
24597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24600 * sysdeps/i386/fpu/e_pow.S: Likewise.
24601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24605 * sysdeps/i386/fpu/e_log2.S: Likewise.
24606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24608 * sysdeps/i386/fpu/e_powl.S: Likewise.
24609 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24611 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24612 * sysdeps/i386/fpu/e_logl.S: Likewise.
24613 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24614 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24619 * sysdeps/i386/fpu/e_log.S: Likewise.
24620 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24621 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24622 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24623 * sysdeps/i386/fpu/e_logf.S: Likewise.
24624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24625 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24626 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24627 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24628 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24629 * sysdeps/i386/fpu/e_log10.S: Likewise.
24630 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24631 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24632 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24633 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24635 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24636 * sysdeps/i386/asm-syntax.h: Likewise.
24637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24640 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24641 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24642 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24643 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24644 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24646 * sysdeps/powerpc/sysdep.h: Likewise.
24647 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24650 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24653 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24655 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24657 * sysdeps/i386/sysdep.h: Include <features.h>.
24658 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24661 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24663 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24665 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24670 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24671 (SETUP_PIC_REG): Use GET_PC_THUNK.
24672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24675 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24678 for non-PIC compilation.
24679 (SETUP_PIC_REG): Add .p2align directive.
24680 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24681 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24706 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24708 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24709 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24710 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24711 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24712 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24715 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24716 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24717 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24718 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24719 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24720 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24722 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24724 * math/tst-CMPLX.c: Include <stdio.h>.
24726 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24728 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24731 * sysdeps/sparc/bits/mathdef.h: Likewise.
24733 2012-01-31 Marek Polacek <polacek@redhat.com>
24735 * libio/libio.h: Don't define _PARAMS.
24736 * locale/programs/config.h: Don't define PARAMS.
24737 * stdlib/strtol_l.c: Likewise.
24738 (__strtol_l): Remove PARAMS from the prototype.
24740 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24742 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24743 names. Just use the correct names. Remove unnecessary wrapper
24745 * malloc/arena.c: Likewise.
24746 * malloc/hooks.c: Likewise.
24748 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24749 ARENA_TEST says not to. Simplify test for creation of a new arena.
24750 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24752 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24754 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24756 (update_get_addr): New function.
24757 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24758 GET_ADDR_MODULE parameter.
24760 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24762 * crypt/cert.c: Remove __STDC__ conditionals.
24763 * crypt/crypt-entry.c: Likewise.
24764 * crypt/crypt_util.c: Likewise.
24765 * libio/filedoalloc.c: Likewise.
24766 * libio/fileops.c: Likewise.
24767 * libio/genops.c: Likewise.
24768 * libio/iofclose.c: Likewise.
24769 * libio/iofdopen.c: Likewise.
24770 * libio/iofopen.c: Likewise.
24771 * libio/iofopen64.c: Likewise.
24772 * libio/iogetdelim.c: Likewise.
24773 * libio/iopopen.c: Likewise.
24774 * libio/obprintf.c: Likewise.
24775 * libio/oldfileops.c: Likewise.
24776 * libio/oldiofclose.c: Likewise.
24777 * libio/oldiofdopen.c: Likewise.
24778 * libio/oldiofopen.c: Likewise.
24779 * libio/oldiopopen.c: Likewise.
24780 * libio/wfiledoalloc.c: Likewise.
24781 * libio/wgenops.c: Likewise.
24782 * locale/programs/xmalloc.c: Likewise.
24783 * misc/syslog.c: Likewise.
24784 * stdio-common/xbug.c: Likewise.
24785 * string/memchr.c: Likewise.
24786 * string/memcmp.c: Likewise.
24787 * string/memrchr.c: Likewise.
24788 * string/rawmemchr.c: Likewise.
24789 * sysdeps/posix/getcwd.c: Likewise.
24790 * time/strftime_l.c: Likewise.
24792 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24794 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24795 * config.make.in (config-cflags-sse2avx): Define.
24796 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24799 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24801 * scripts/config.guess: Update from upstream config git repository.
24802 * scripts/config.sub: Likewise.
24804 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24806 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24808 (R_TILEPRO_*, R_TILEGX_*): New macros.
24810 * scripts/firstversions.awk: Fix bug in version range handling.
24812 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24814 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24816 * include/sys/epoll.h: New file.
24817 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24820 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24822 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24823 Avoid unnecessary __WORDSIZE == 64 test.
24824 (fmaxf): Use VEX format if possible.
24829 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24830 * math/math_private.h: Remove libc_fegetround* and
24832 * sysdeps/i386/configure.in: Check for -msse2avx.
24833 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24834 also if SSE2AVX is defined.
24835 Remove libc_fegetround* and libc_fesetround*.
24836 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24837 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24846 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24848 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24852 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24854 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24857 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24859 * Makeconfig (libm): Define.
24860 * elf/Makefile: Add rules to build and run tst-relsort1.
24861 * elf/tst-relsort1.c: New file.
24862 * elf/tst-relsort1mod1.c: New file.
24863 * elf/tst-relsort1mod2.c: New file.
24865 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24867 * math/s_ldexp.c: Remove __STDC__ conditionals.
24868 * math/s_ldexpf.c: Likewise.
24869 * math/s_ldexpl.c: Likewise.
24870 * math/s_nextafter.c: Likewise.
24871 * math/s_nexttowardf.c: Likewise.
24872 * math/s_significand.c: Likewise.
24873 * math/s_significandf.c: Likewise.
24874 * math/s_significandl.c: Likewise.
24875 * math/w_jnl.c: Likewise.
24876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24893 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24901 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24902 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24904 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24907 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24910 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24912 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24913 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24914 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24915 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24916 * sysdeps/ieee754/k_standard.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24921 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24922 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24927 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24948 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24952 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24953 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24965 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24966 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24967 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24972 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24973 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24986 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24996 * sysdeps/ieee754/s_matherr.c: Likewise.
24997 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25002 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25004 * crypt/md5.h: Remove __STDC__ conditionals.
25005 * libio/libioP.h: Likewise.
25006 * locale/programs/config.h: Likewise.
25007 * sysdeps/generic/sysdep.h: Likewise.
25008 * sysdeps/i386/asm-syntax.h: Likewise.
25009 * sysdeps/s390/asm-syntax.h: Likewise.
25010 * sysdeps/unix/sysdep.h: Likewise.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25014 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25016 * libio/libio.h: Remove __STDC__ conditionals.
25017 * malloc/obstack.h: Likewise.
25018 * math/complex.h: Likewise.
25019 * math/math.h: Likewise.
25020 * sysdeps/generic/_G_config.h: Likewise.
25021 * sysdeps/gnu/_G_config.h: Likewise.
25022 * sysdeps/mach/hurd/_G_config.h: Likewise.
25023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25024 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25025 * sysdeps/sparc/bits/mathdef.h: Likewise.
25027 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25031 Clean up HAS_* macros.
25032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25033 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25038 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25041 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25043 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25045 * elf/tst-unique3.cc (gets): Remove declaration.
25046 * elf/tst-unique3lib.cc (gets): Likewise.
25047 * elf/tst-unique3lib2.cc (gets): Likewise.
25048 * elf/tst-unique4.cc (gets): Likewise.
25050 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25052 * include/stdio.h: Add C++ protection. Add gets declarations and
25054 * debug/tst-chk1.c: Don't declare gets here.
25055 * stdio-common/tst-gets.c: Likewise.
25057 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25059 * posix/glob: Remove directory.
25061 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25063 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25065 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25067 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25068 of the non-standard EPFNOSUPPORT.
25070 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25072 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25073 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25074 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25076 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25078 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25080 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25082 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25084 * nscd/grpcache.c (cache_addgr): Likewise.
25085 * nscd/hstcache.c (cache_addhst): Likewise.
25086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25087 * nscd/pwdcache.c (cache_addpw): Likewise.
25088 * nscd/servicescache.c (cache_addserv): Likewise.
25090 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25092 * malloc/malloc.c: Various cleanups.
25093 * malloc/hooks.c: Likewise.
25095 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25096 * stdlib/bug-fmtmsg1.c: New file.
25098 * stdlib/fmtmsg.c (init): Add missing unlock.
25099 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25101 2012-01-12 Marek Polacek <polacek@redhat.com>
25103 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25106 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25108 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25110 macro to ensure uniqueness of label name.
25111 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25112 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25114 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25116 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25119 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25123 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25127 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25128 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25131 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25133 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25134 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25138 * math/bits/math-finite.h: Add ldexp support.
25140 2012-01-10 Marek Polacek <polacek@redhat.com>
25142 * locale/programs/localedef.h (show_archive_content): Add noreturn
25145 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25149 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25151 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25153 * io/Makefile (headers): Add bits/poll2.h.
25155 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25158 typo #include statement.
25160 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25162 * include/sys/cdefs.h: Define __attribute_alloc_size.
25163 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25164 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25165 * elf/pldd.c: Likewise.
25166 * iconv/iconv_charmap.c: Likewise.
25167 * iconv/iconvconfig.c: Likewise.
25168 * iconv/strtab.c: Likewise.
25169 * locale/programs/locale.c: Likewise.
25170 * locale/programs/localedef.h: Likewise.
25171 * locale/programs/simple-hash.c: Likewise.
25172 * nscd/nscd.h: Likewise.
25173 * nss/makedb.c: Likewise.
25174 * sysdeps/generic/ldconfig.h: Likewise.
25175 * locale/programs/localedef.c: Remove xmalloc prototype.
25176 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25178 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25183 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25185 * math/Makefile (tests): Add tst-CMPLX.
25186 * math/tst-CMPLX.c: New file.
25188 * math/complex.h (CMPLXL): Fix typo.
25190 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25191 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25193 * debug/tst-chk1.c: Add poll and ppoll tests.
25194 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25195 * include/sys/poll.h: Add hidden proto for ppoll.
25196 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25197 * sysdeps/mach/hurd/ppoll.c: Likewise.
25198 * io/ppoll.c: Likewise.
25199 * debug/poll_chk.c: New file.
25200 * debug/ppoll_chk.c: New file.
25201 * include/bits/poll2.h: New file.
25202 * io/bits/poll2.h: New file.
25205 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25207 * configure.in: static is always set to yes. Remove.
25208 * config.make.in: Don't set build-static.
25209 * Makeconfig: Remove use of build-static.
25210 * dlfcn/Makefile: Likewise.
25211 * elf/Makefile: Likewise.
25212 * math/Makefile: Likewise.
25213 * misc/Makefile: Likewise.
25214 * nptl/Makefile: Likewise.
25215 * sysdeps/mach/hurd/Makefile: Likewise.
25217 * configure.in: PWD_P is not used anymore.
25218 * config.make.in: Remove PWD_P entry.
25220 * configure.in: Remove last remnants of RANLIB.
25221 No need to check for signed size_t anymore.
25222 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25224 Remove __builtin_expect test because we require at least gcc 3.4.
25225 * aclocal.m4: Likewise.
25227 * wcsmbs/mbrtoc16.c: Implement using towc function.
25228 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25229 * wcsmbs/wcsmbsload.c: Likewise.
25230 * iconv/gconv_simple.c: Likewise.
25231 * iconv/gconv_int.h: Likewise.
25232 * iconv/gconv_builtin.h: Likewise.
25233 * iconv/iconv_prog.c: Remove CHAR16 handling.
25235 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25237 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25239 * configure.in: Remove --with-elf and --enable-bounded options.
25240 Dont set base_machine for ia64. More non-ELF conditions removed.
25241 Remove testing and setting of leading underscore information.
25242 * config.make.in (build-bounded): Set to no.
25243 * config.h.in: Remove NO_UNDERSCORES entry.
25244 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25246 * csu/start.c: Remove !NO_UNDERSCORE code.
25247 * locale/localeinfo.h: Likewise.
25248 * sysdeps/generic/machine-gmon.h: Likewise.
25249 * sysdeps/generic/sysdep.h: Likewise.
25250 * sysdeps/i386/sysdep.h: Likewise.
25251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25252 * sysdeps/mach/sysdep.h: Likewise.
25253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25255 * sysdeps/sh/sysdep.h: Likewise.
25256 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25257 * sysdeps/unix/i386/sysdep.S: Likewise.
25258 * sysdeps/unix/sparc/start.c: Likewise.
25259 * sysdeps/unix/sparc/sysdep.S: Likewise.
25260 * sysdeps/unix/sparc/sysdep.h: Likewise.
25261 * sysdeps/unix/start.c: Likewise.
25262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25263 * sysdeps/x86_64/sysdep.h: Likewise.
25265 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25268 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25270 * argp/argp-fmtstream.h: Use const instead __const.
25271 * argp/argp.h: Likewise.
25272 * assert/assert.h: Likewise.
25273 * bits/fenv.h: Likewise.
25274 * bits/sched.h: Likewise.
25275 * bits/sigset.h: Likewise.
25276 * bits/sigthread.h: Likewise.
25277 * catgets/nl_types.h: Likewise.
25278 * conform/data/pthread.h-data: Likewise.
25279 * crypt/crypt-private.h: Likewise.
25280 * crypt/crypt.h: Likewise.
25281 * crypt/crypt_util.c: Likewise.
25282 * ctype/ctype.h: Likewise.
25283 * debug/execinfo.h: Likewise.
25284 * debug/mbsnrtowcs_chk.c: Likewise.
25285 * debug/mbsrtowcs_chk.c: Likewise.
25286 * debug/wcsnrtombs_chk.c: Likewise.
25287 * debug/wcsrtombs_chk.c: Likewise.
25288 * debug/wcstombs_chk.c: Likewise.
25289 * dirent/dirent.h: Likewise.
25290 * dlfcn/dlfcn.h: Likewise.
25291 * elf/neededtest4.c: Likewise.
25292 * grp/grp.h: Likewise.
25293 * gshadow/gshadow.h: Likewise.
25294 * iconv/gconv.h: Likewise.
25295 * iconv/gconv_int.h: Likewise.
25296 * iconv/gconv_simple.c: Likewise.
25297 * iconv/iconv.h: Likewise.
25298 * iconv/loop.c: Likewise.
25299 * iconv/skeleton.c: Likewise.
25300 * include/aio.h: Likewise.
25301 * include/aliases.h: Likewise.
25302 * include/argz.h: Likewise.
25303 * include/arpa/inet.h: Likewise.
25304 * include/assert.h: Likewise.
25305 * include/dirent.h: Likewise.
25306 * include/dlfcn.h: Likewise.
25307 * include/execinfo.h: Likewise.
25308 * include/fcntl.h: Likewise.
25309 * include/fenv.h: Likewise.
25310 * include/glob.h: Likewise.
25311 * include/grp.h: Likewise.
25312 * include/libintl.h: Likewise.
25313 * include/mntent.h: Likewise.
25314 * include/netdb.h: Likewise.
25315 * include/pwd.h: Likewise.
25316 * include/rpc/netdb.h: Likewise.
25317 * include/sched.h: Likewise.
25318 * include/search.h: Likewise.
25319 * include/shadow.h: Likewise.
25320 * include/signal.h: Likewise.
25321 * include/stdio.h: Likewise.
25322 * include/stdlib.h: Likewise.
25323 * include/string.h: Likewise.
25324 * include/sys/socket.h: Likewise.
25325 * include/sys/stat.h: Likewise.
25326 * include/sys/statfs.h: Likewise.
25327 * include/sys/statvfs.h: Likewise.
25328 * include/sys/syslog.h: Likewise.
25329 * include/sys/time.h: Likewise.
25330 * include/sys/uio.h: Likewise.
25331 * include/time.h: Likewise.
25332 * include/unistd.h: Likewise.
25333 * include/utmp.h: Likewise.
25334 * include/wchar.h: Likewise.
25335 * include/wctype.h: Likewise.
25336 * inet/aliases.h: Likewise.
25337 * inet/arpa/inet.h: Likewise.
25338 * inet/netinet/ether.h: Likewise.
25339 * inet/netinet/in.h: Likewise.
25340 * intl/libintl.h: Likewise.
25341 * io/bits/fcntl2.h: Likewise.
25342 * io/fcntl.h: Likewise.
25343 * io/ftw.h: Likewise.
25344 * io/sys/poll.h: Likewise.
25345 * io/sys/stat.h: Likewise.
25346 * io/sys/statfs.h: Likewise.
25347 * io/sys/statvfs.h: Likewise.
25348 * io/utime.h: Likewise.
25349 * libio/bits/stdio.h: Likewise.
25350 * libio/bits/stdio2.h: Likewise.
25351 * libio/libio.h: Likewise.
25352 * libio/libioP.h: Likewise.
25353 * libio/stdio.h: Likewise.
25354 * locale/lc-ctype.c: Likewise.
25355 * locale/locale.h: Likewise.
25356 * login/utmp.h: Likewise.
25357 * malloc/arena.c: Likewise.
25358 * malloc/malloc.c: Likewise.
25359 * malloc/malloc.h: Likewise.
25360 * malloc/mcheck.c: Likewise.
25361 * malloc/mtrace.c: Likewise.
25362 * math/bits/mathcalls.h: Likewise.
25363 * math/fenv.h: Likewise.
25364 * math/math_private.h: Likewise.
25365 * misc/bits/error.h: Likewise.
25366 * misc/bits/syslog.h: Likewise.
25367 * misc/err.h: Likewise.
25368 * misc/error.h: Likewise.
25369 * misc/fstab.h: Likewise.
25370 * misc/mntent.h: Likewise.
25371 * misc/regexp.h: Likewise.
25372 * misc/search.h: Likewise.
25373 * misc/sgtty.h: Likewise.
25374 * misc/sys/mman.h: Likewise.
25375 * misc/sys/syslog.h: Likewise.
25376 * misc/sys/uio.h: Likewise.
25377 * misc/sys/xattr.h: Likewise.
25378 * misc/ttyent.h: Likewise.
25379 * nis/rpcsvc/ypclnt.h: Likewise.
25380 * nss/nss.h: Likewise.
25381 * posix/bits/unistd.h: Likewise.
25382 * posix/fnmatch.h: Likewise.
25383 * posix/glob.h: Likewise.
25384 * posix/sched.h: Likewise.
25385 * posix/spawn.h: Likewise.
25386 * posix/sys/wait.h: Likewise.
25387 * posix/unistd.h: Likewise.
25388 * posix/wordexp.h: Likewise.
25389 * pwd/pwd.h: Likewise.
25390 * resolv/netdb.h: Likewise.
25391 * resource/sys/resource.h: Likewise.
25392 * rt/aio.h: Likewise.
25393 * rt/bits/mqueue2.h: Likewise.
25394 * rt/mqueue.h: Likewise.
25395 * shadow/shadow.h: Likewise.
25396 * signal/signal.h: Likewise.
25397 * socket/send.c: Likewise.
25398 * socket/sendto.c: Likewise.
25399 * socket/sys/socket.h: Likewise.
25400 * stdio-common/printf.h: Likewise.
25401 * stdlib/bits/stdlib.h: Likewise.
25402 * stdlib/fmtmsg.h: Likewise.
25403 * stdlib/monetary.h: Likewise.
25404 * stdlib/stdlib.h: Likewise.
25405 * stdlib/ucontext.h: Likewise.
25406 * streams/stropts.h: Likewise.
25407 * string/argz.h: Likewise.
25408 * string/bits/string2.h: Likewise.
25409 * string/string.h: Likewise.
25410 * string/strings.h: Likewise.
25411 * sunrpc/rpc/auth.h: Likewise.
25412 * sunrpc/rpc/auth_des.h: Likewise.
25413 * sunrpc/rpc/clnt.h: Likewise.
25414 * sunrpc/rpc/netdb.h: Likewise.
25415 * sunrpc/rpc/pmap_clnt.h: Likewise.
25416 * sunrpc/rpc/xdr.h: Likewise.
25417 * sysdeps/generic/inttypes.h: Likewise.
25418 * sysdeps/generic/net/if.h: Likewise.
25419 * sysdeps/generic/sys/swap.h: Likewise.
25420 * sysdeps/gnu/net/if.h: Likewise.
25421 * sysdeps/gnu/utmpx.h: Likewise.
25422 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25423 * sysdeps/i386/i486/bits/string.h: Likewise.
25424 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25425 * sysdeps/s390/bits/string.h: Likewise.
25426 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25427 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25428 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25429 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25430 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25431 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25432 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25433 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25434 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25435 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25436 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25437 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25438 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25440 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25441 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25442 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25448 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25449 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25450 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25451 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25454 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25456 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25457 * sysvipc/sys/ipc.h: Likewise.
25458 * sysvipc/sys/msg.h: Likewise.
25459 * sysvipc/sys/sem.h: Likewise.
25460 * sysvipc/sys/shm.h: Likewise.
25461 * termios/termios.h: Likewise.
25462 * time/sys/time.h: Likewise.
25463 * time/time.h: Likewise.
25464 * wcsmbs/bits/wchar2.h: Likewise.
25465 * wcsmbs/uchar.h: Likewise.
25466 * wcsmbs/wchar.h: Likewise.
25467 * wctype/wctype.h: Likewise.
25470 * Makeconfig: Remove all but ELF support including AIX support.
25471 * Makerules: Likewise.
25472 * config.h.in: Likewise.
25473 * config.make.in: Likewise.
25474 * configure: Likewise.
25475 * configure.in: Likewise.
25476 * csu/Makefile: Likewise.
25477 * csu/version.c: Likewise.
25478 * debug/Makefile: Likewise.
25479 * dlfcn/Makefile: Likewise.
25480 * elf/Makefile: Likewise.
25481 * extra-lib.mk: Likewise.
25482 * iconv/Makefile: Likewise.
25483 * include/libc-symbols.h: Likewise.
25484 * include/shlib-compat.h: Likewise.
25485 * resolv/Makefile: Likewise.
25486 * resolv/res_libc.c: Likewise.
25487 * rt/Makefile: Likewise.
25488 * sysdeps/i386/asm-syntax.h: Likewise.
25489 * sysdeps/i386/sysdep.h: Likewise.
25490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25491 * sysdeps/mach/sysdep.h: Likewise.
25492 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25493 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25494 * sysdeps/s390/asm-syntax.h: Likewise.
25495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25497 * sysdeps/sh/sysdep.h: Likewise.
25498 * sysdeps/unix/sparc/sysdep.h: Likewise.
25499 * sysdeps/wordsize-32/divdi3.c: Likewise.
25500 * sysdeps/x86_64/sysdep.h: Likewise.
25502 * argp/Versions: Remove _argp_unlock_xxx.
25505 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25506 * abilist/libBrokenLocale.abilist: Likewise.
25507 * abilist/libanl.abilist: Likewise.
25508 * abilist/libc.abilist: Likewise.
25509 * abilist/libcrypt.abilist: Likewise.
25510 * abilist/libdl.abilist: Likewise.
25511 * abilist/libm.abilist: Likewise.
25512 * abilist/libnsl.abilist: Likewise.
25513 * abilist/libpthread.abilist: Likewise.
25514 * abilist/libresolv.abilist: Likewise.
25515 * abilist/librt.abilist: Likewise.
25516 * abilist/libthread_db.abilist: Likewise.
25517 * abilist/libutil.abilist: Likewise.
25518 * abilist/libnss_db.abilist: New file.
25520 * scripts/abilist.awk: Add support for indirect functions.
25522 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25524 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25526 * shlib-versions: Remove entries for ports architectures.
25528 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25530 * elf/stackguard-macros.h: Remove support for IA-64.
25531 * elf/tst-auditmod1.c: Likewise.
25532 * sysdeps/generic/ldsodefs.h: Likewise.
25534 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25535 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25539 * configure.in: Remove --enable-omitfp support.
25541 * config.make.in: Likewise.
25542 * Makeconfig: Likewise.
25543 * manual/install.texi: Likewise.
25545 In case anyone cares, the IA-64 architecture could move to ports.
25546 * sysdeps/ia64/*: Removed.
25547 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25548 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25551 * configure.in: Remove entries for unsupported architectures.
25554 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25555 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25557 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25558 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25559 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25560 fall back to using wcrtomb.
25561 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25562 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25564 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25565 * wcsmbs/tst-c16c32-1.c: New file.
25567 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25570 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25572 * elf/tst-unique3.cc: Add explicit declaration of gets.
25573 * elf/tst-unique3lib.cc: Likewise.
25574 * elf/tst-unique3lib2.cc: Likewise.
25575 * elf/tst-unique4.cc: Likewise.
25577 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25579 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25582 * assert/assert.h (static_assert): Don't define for C++.
25583 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25584 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25586 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25588 * iconv/loop.c (single loop): Fix assertion in storing of
25591 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25593 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25595 * posix/getconf.c: Update copyright year.
25596 * nss/getent.c: Likewise.
25597 * nss/makedb.c: Likewise.
25598 * iconv/iconvconfig.c: Likewise.
25599 * iconv/iconv_prog.c: Likewise.
25600 * elf/ldconfig.c: Likewise.
25601 * elf/pldd.c: Likewise.
25602 * elf/sotruss.ksh: Likewise.
25603 * catgets/gencat.c: Likewise.
25604 * csu/version.c: Likewise.
25605 * elf/ldd.bash.in: Likewise.
25606 * elf/sprof.c (print_version): Likewise.
25607 * locale/programs/locale.c: Likewise.
25608 * locale/programs/localedef.c: Likewise.
25609 * login/programs/pt_chown.c: Likewise.
25610 * nscd/nscd.c (print_version): Likewise.
25611 * debug/xtrace.sh: Likewise.
25612 * malloc/memusage.sh: Likewise.
25613 * malloc/mtrace.pl: Likewise.
25614 * debug/catchsegv.sh: Likewise.
25616 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25618 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25621 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25624 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25625 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25627 * iconv/gconv_int.h: Likewise.
25628 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25629 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25630 from libc for GLIBC_2.16.
25631 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25632 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25633 * wcsmbs/uchar.h: Really define mbstate_t.
25634 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25635 * wcsmbs/c16rtomb.c: New file.
25636 * wcsmbs/mbrtoc16.c: New file.
25637 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25638 for C/POSIX locale.
25639 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25640 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25642 * wcsmbs/wchar.h: Add missing __restrict.
25644 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25647 * time/Makefile (routines): Add timespec_get.
25648 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25649 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25650 timespec for ISO C11.
25651 * time/timespec_get.c: New file.
25652 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25653 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25656 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25657 * stdlib/stdlib.h: Declare aligned_alloc.
25658 * Versions.def: Add GLIBC_2.16 for libc.
25659 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25662 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25665 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25669 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25672 * assert/assert.h (static_assert): Define.
25674 * version.h: Update for 2.16 development version.
25677 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25680 * version.h (RELEASE): Bump for 2.15 release.
25681 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25683 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25684 Patch by Marek Polacek <mpolacek@redhat.com>.
25686 * bits/byteswap.h: Protect long long constants with __extension__.
25687 * sysdeps/i386/bits/byteswap.h: Likewise.
25688 * sysdeps/ia64/bits/byteswap.h: Likewise.
25689 * sysdeps/s390/bits/byteswap.h: Likewise.
25690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25692 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25696 destination buffer.
25697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25699 2011-12-23 Marek Polacek <polacek@redhat.com>
25701 * elf/dl-addr.c (determine_info): Add inline keyword.
25702 * elf/tst-auditmod4b.c (check_avx): Likewise.
25703 * elf/tst-auditmod6b.c (check_avx): Likewise.
25704 * elf/tst-auditmod6c.c (check_avx): Likewise.
25705 * elf/tst-auditmod7b.c (check_avx): Likewise.
25707 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25709 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25712 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25716 processing for last bytes.
25718 2011-08-06 Bruno Haible <bruno@clisp.org>
25721 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25722 U+0385, not to U+1FEE.
25725 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25726 entry for U+00A5 U+0301.
25728 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25731 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25732 buffer for the output is too small.
25734 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25738 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25739 SSE flags if possible.
25741 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25745 processing for last bytes.
25747 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25750 (syscall-list-default-options, syscall-list-default-condition)
25751 (syscall-list-includes): Define.
25752 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25753 list of ABIs and options and #if conditions for each ABI. Do not
25754 handle common syscalls between ABIs specially.
25755 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25757 (syscall-list-variants, syscall-list-32bit-options)
25758 (syscall-list-32bit-condition, syscall-list-64bit-options)
25759 (syscall-list-64bit-condition): Define.
25760 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25761 (syscall-list-variants, syscall-list-32bit-options)
25762 (syscall-list-32bit-condition, syscall-list-64bit-options)
25763 (syscall-list-64bit-condition): Define.
25764 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25766 (syscall-list-variants, syscall-list-32bit-options)
25767 (syscall-list-32bit-condition, syscall-list-64bit-options)
25768 (syscall-list-64bit-condition): Define.
25769 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25771 (syscall-list-variants, syscall-list-32bit-options)
25772 (syscall-list-32bit-condition, syscall-list-64bit-options)
25773 (syscall-list-64bit-condition): Define.
25775 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25777 * locale/iso-639.def: Add brx entry.
25780 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25781 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25783 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25784 __feraiseexcept_renamed.
25786 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25789 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25790 EPOLLET with unsigned values.
25791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25794 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25795 to large cancellation.
25796 * math/s_cacoshf.c: Likewise.
25797 * math/s_cacoshl.c: Likewise.
25799 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25803 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25804 * math/s_cacoshf.c: Likewise.
25805 * math/s_cacoshl.c: Likewise.
25807 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25810 * iconv/gconv.h: Define __GCONV_SWAP.
25811 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25812 * iconvdata/utf-16.c: Likewise.
25813 * iconvdata/utf-32.c: Likewise.
25815 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25819 numerator after shifting it by one limb.
25821 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25824 under [__USE_EXTERN_INLINES].
25826 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25829 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25831 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25833 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25834 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25836 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25838 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25839 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25840 for strncasecmp/strncasecmp_l compilation.
25841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25842 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25844 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25847 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25853 * time/tzfile.c (__tzfile_read): Check values from file header.
25855 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25857 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25858 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25859 * powerpc/powerpc32/dl-start.S: Likewise.
25860 * powerpc/powerpc32/elf/start.S: Likewise.
25861 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25862 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25863 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25864 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25865 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25866 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25867 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25868 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25869 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25870 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25871 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25872 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25873 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25874 * powerpc/powerpc32/memset.S: Likewise.
25875 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25876 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25877 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25878 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25879 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25880 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25881 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25882 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25883 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25884 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25889 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25891 * math/libm-test.inc: Added more nearbyint tests.
25892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25897 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25899 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25902 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25904 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25905 Add wcscpy-ssse3 wcscpy-c.
25906 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25907 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25908 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25909 * sysdeps/x86_64/wcschr.S: New file.
25910 * sysdeps/x86_64/wcsrchr.S: New file.
25911 * string/test-strcmp.c: Remove checking of wcscmp function for
25913 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25914 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25915 wcsrchr-sse2 wcsrchr-c.
25916 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25917 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25918 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25919 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25920 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25921 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25922 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25923 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25924 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25925 * wcsmbc/wcschr.c (WCSCHR): New macro.
25927 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25929 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25930 * wcsmbs/test-wcsrchr.c: New file.
25931 * string/test-strrchr.c: Add wcsrchr support.
25933 * wcsmbs/test-wcscpy.c: New file.
25934 * string/test-strcpy.c: Add wcscpy support.
25937 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25942 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25945 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25947 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25950 Minor optimizations.
25952 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25953 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25954 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25956 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25958 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25959 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25960 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25961 for gcc to avoid warnings.
25962 * inet/Makefile (tests): Add tst-checks.
25963 * inet/tst-checks.c: New file.
25965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25968 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25971 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25972 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25974 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25976 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25981 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25983 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25985 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25986 conditional on GCC version.
25987 (__arch_compare_and_exchange_val_8_acq)
25988 (__arch_compare_and_exchange_val_16_acq)
25989 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25990 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25991 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25993 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25995 * sysdeps/sh/backtrace.c: New file.
25997 2011-12-02 Andreas Schwab <schwab@redhat.com>
25999 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26002 2011-12-01 Andreas Schwab <schwab@redhat.com>
26004 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26005 falling back to utime.
26007 2011-11-30 Andreas Schwab <schwab@redhat.com>
26009 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26010 expectations for float.
26012 2011-11-29 Andreas Schwab <schwab@redhat.com>
26014 * locale/weight.h (findidx): Add parameter len.
26015 * locale/weightwc.h (findidx): Likewise.
26016 * posix/fnmatch_loop.c (FCT): Adjust caller.
26017 * posix/regcomp.c (build_equiv_class): Likewise.
26018 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26019 * posix/regexec.c (check_node_accept_bytes): Likewise.
26020 * string/strcoll_l.c (STRCOLL): Likewise.
26021 * string/strxfrm_l.c (STRXFRM): Likewise.
26023 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26025 * Makefile.in: Remove CVSOPT handling.
26026 * configure.in: Remove use of AC_REVISION.
26027 * iconvdata/Makefile (distribute): No need to filter out CVS.
26028 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26031 2011-11-16 Andreas Schwab <schwab@redhat.com>
26033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26034 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26035 [USE_AS_STRNCASECMP_L]: Likewise.
26036 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26037 NO_TLS_DIRECT_SEG_REFS.
26038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26039 Fix argument offsets for non-PIC.
26040 [USE_AS_STRNCASECMP_L]: Likewise.
26041 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26042 NO_TLS_DIRECT_SEG_REFS.
26044 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26046 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26048 * locale/loadlocale.c (_nl_load_locale): Likewise.
26050 2011-11-15 Andreas Schwab <schwab@redhat.com>
26052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26053 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26055 (SYSCALL_GETTIME): Set errno on error.
26057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26058 count references to noai6ai_cached.
26060 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26062 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26064 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26065 FD_CLOEXEC for /proc/self/maps.
26067 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26068 FD_CLOEXEC for /proc/meminfo.
26070 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26073 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26074 FD_CLOEXEC for given file.
26076 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26078 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26079 FD_CLOEXEC for /etc/hosts.
26080 (_gethtent): Likewise.
26082 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26084 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26085 cancellation and set FD_CLOEXEC for /etc/netgroup.
26087 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26088 reading /etc/publickey.
26090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26091 allow cancellation when reading /etc/group.
26093 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26095 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26097 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26098 when using data file.
26100 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26102 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26103 (write_nis_obj): Use "c" and "e" in fopen.
26105 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26107 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26109 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26111 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26113 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26116 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26118 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26120 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26122 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26123 file parsing and set FD_CLOEXEC.
26125 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26127 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26129 2011-11-14 Andreas Schwab <schwab@redhat.com>
26131 * malloc/arena.c (arena_get2): Don't call reused_arena when
26132 _int_new_arena failed.
26134 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26136 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26137 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26138 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26142 to compile strcasecmp and strncasecmp.
26143 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26144 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26148 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26151 locale-defines.sym to gen-as-const-headers.
26152 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26153 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26155 to compile strcasecmp and strncasecmp.
26156 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26157 strcasecmp_l and strncasecmp_l.
26158 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26159 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26160 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26161 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26162 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26163 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26164 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26165 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26166 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26167 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26168 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26170 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26172 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26173 result of SYSDEP_GETTIME_CPU to retval.
26174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26175 parameter list to macro. Remove trailing semicolon. Adjust users.
26177 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26180 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26185 from unused variable.
26187 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26189 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26192 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26195 * sunrpc/rpc_prot.c (rejected): Fix case value.
26197 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26198 unsigned long long int to avoid warnings in shift.
26200 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26202 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26206 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26207 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26209 * nis/nis_table.c (nis_list): Use variable of correct type for
26210 result of __follow_path call.
26212 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26214 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26215 of math functions ceil, trunc, floor, round, and sqrt, when
26216 avaliable on the platform.
26217 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26223 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26225 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26228 2011-11-11 Roland McGrath <roland@hack.frob.com>
26230 * include/unistd.h: Fix __readlink return type.
26231 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26233 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26235 * stdlib/ucontext.h: Undo last change for makecontext.
26237 2011-11-11 Andreas Schwab <schwab@redhat.com>
26239 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26241 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26242 * setjmp/setjmp.h: Mark functions as non-leaf.
26243 * setjmp/bits/setjmp2.h: Likewise.
26244 * stdlib/ucontext.h: Likewise.
26246 2011-11-10 Andreas Schwab <schwab@redhat.com>
26248 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26249 (reused_arena): Don't check arena limit.
26250 (arena_get2): Atomically check arena limit.
26252 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26254 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26255 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26260 2011-11-07 Andreas Schwab <schwab@redhat.com>
26262 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26263 handler when locking.
26265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26266 Fix size of allocated buffer.
26268 2011-11-04 Andreas Schwab <schwab@redhat.com>
26271 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26272 declarations for long double functions.
26273 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26275 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26277 2011-11-03 Andreas Schwab <schwab@redhat.com>
26279 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26282 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26285 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26287 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26289 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26291 * include/alloca.h (stackinfo_alloca_round): Define.
26292 (extend_alloca): Use it.
26293 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26294 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26297 * scripts/check-local-headers.sh: Ignore libaudit.h.
26299 * nscd/Makefile (extra-objs): Make recursively expanded.
26301 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26303 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26306 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26307 * posix/tst-rfc3484-2.c: Likewise.
26308 * posix/tst-rfc3484-3.c: Likewise.
26310 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26312 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26314 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26315 process_vm_writev from libc using GLIBC_2.15 version.
26317 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26319 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26321 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26324 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26327 * nss/getent.c (initgroups_keys): Show error message in case no group
26330 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26331 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26332 __bump_nl_timestamp.
26333 * nscd/connections (nscd_init): When host database is served open
26334 netlink socket and request notification about configuration changes.
26335 (main_loop_poll): Track netlink file descriptor and bump timestamp
26336 in case data becomes available.
26337 (main_loop_epoll): Likewise.
26338 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26339 (database_pers_head): Add extra_data fileds.
26340 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26342 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26345 in6ai data, call __free_in6ai.
26346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26347 Add -DHAVE_NETLINK.
26348 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26349 interface information. Reuse previous data if netlink timestamp
26351 (__bump_nl_timestamp): New function.
26352 (__free_in6ai): New function.
26354 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26357 close_not_cancel_no_status here.
26358 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26360 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26363 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26366 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26367 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26368 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26370 2011-07-03 Andreas Jaeger <aj@suse.de>
26373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26374 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26375 * math/libm-test.inc (sin_test): Add test case.
26377 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26380 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26383 * elf/chroot_canon.c (chroot_canon): Cleanups.
26385 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26388 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26389 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26391 * string/test-strchr.c: Make usable for strchrnul testing.
26392 * string/test-strchrnul.c: New file.
26393 * string/Makefile (strop-tests): Add strchrnul.
26395 * po/it.po: Update from translation team.
26396 * po/es.po: Likewise.
26398 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26401 the three constants needed as parameters. Drop the others.
26402 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26403 __m128i_strloadu_tolower.
26404 Create and initialize variable zero and use it in all the places
26405 where _mm_setzero_si128 was used.
26407 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26408 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26409 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26412 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26413 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26414 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26415 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26416 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26417 __mpranred, __mptan.
26418 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26419 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26420 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26421 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26422 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26423 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26425 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26428 2011-10-28 Andreas Schwab <schwab@redhat.com>
26430 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26431 redefine if SHARED.
26432 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26435 wide char related routines to wcsmbs subdir.
26437 2011-10-27 Andreas Schwab <schwab@redhat.com>
26440 * misc/sys/cdefs.h (__THROWNL): Define.
26441 * posix/unistd.h: Use __THREADNL instead of __THREAD
26442 for memory synchronization functions.
26444 2011-10-26 Roland McGrath <roland@hack.frob.com>
26447 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26449 * manual/stdio.texi (Obstack Streams): Node removed.
26451 2011-10-26 Andreas Schwab <schwab@redhat.com>
26453 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26457 * math/math_private.h (math_force_eval): Allow non-addressable
26459 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26461 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26464 file is not needed.
26466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26473 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26475 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26476 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26477 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26478 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26480 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26481 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26485 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26486 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26488 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26490 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26493 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26495 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26496 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26499 place. Use VEX encoding when compiling for AVX.
26501 2011-10-25 Andreas Schwab <schwab@redhat.com>
26503 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26506 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26508 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26510 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26511 useless if() expression.
26512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26524 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26525 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26527 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26530 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26532 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26534 2011-10-25 Andreas Schwab <schwab@redhat.com>
26536 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26540 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26542 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26543 .text section. Avoid duplicate constants.
26544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26556 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26557 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26567 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26568 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26569 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26570 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26571 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26575 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26577 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26578 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26580 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26581 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26582 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26583 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26586 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26588 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26590 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26592 * sysdeps/x86_64/dla.h: Move to ...
26593 * sysdeps/x86_64/fpu/dla.h: ...here.
26594 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26595 situations. Use __builtin_fma only for gcc 4.6 and up.
26597 * config.make.in: Add have-mfma4 entry.
26598 * configure.in: Substitute libc_cv_cc_fma4.
26599 * math/Makefile (dbl-only-routines): Add sincostab.
26600 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26601 Use __sincostab not sincos.
26602 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26609 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26610 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26611 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26612 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26614 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26615 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26617 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26618 define aliases when function name is a macro.
26619 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26620 sysdeps/ieee754/dbl-64/sincos.tbl.
26621 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26622 fma4-enabled routines.
26623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26628 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26632 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26633 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26635 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26650 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26652 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26654 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26665 2011-10-24 Andreas Schwab <schwab@redhat.com>
26667 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26669 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26677 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26678 Remove unused variable magic_bits.
26679 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26681 * string/strnlen.c: Define and use STRNLEN macro.
26682 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26683 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26685 * wcsmbs/wcslen.c: Define and use WCSLEN.
26686 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26687 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26688 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26689 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26690 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26691 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26694 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26697 strnlen-sse2-no-bsf.
26698 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26700 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26701 Add strnlen support.
26702 (USE_AS_STRNLEN): New macro.
26703 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26705 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26706 * sysdeps/x86_64/wcslen.S: New file.
26708 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26711 XMM-moves are used for copying on small sizes.
26713 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26715 * wcsmbs/Makefile (strop-tests): Add wcschr.
26716 * wcsmbs/test-wcschr.c: New file.
26717 * string/test-strchr.c: Update.
26718 Add wcschr support.
26721 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26723 * wcsmbs/Makefile (strop-tests): Add wcslen.
26724 * wcsmbs/test-wcslen.c: New file.
26725 * string/test-strlen.c: Update.
26726 Add wcslen support.
26729 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26731 * po/it.po: Update from translation team.
26733 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26735 * sysdeps/x86_64/wcscmp.S: Update.
26736 Fix wrong comparison semantics.
26737 wcscmp shall use signed comparison not unsigned.
26738 Don't use substraction to avoid overflow bug.
26739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26740 * wcsmbc/wcscmp.c: Likewise.
26741 * string/test-strcmp.c: Likewise.
26742 Add new tests to check cases with negative values.
26744 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26746 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26747 * sysdeps/x86_64/dla.h: ...here. New file.
26748 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26758 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26761 __ynl_finite aliases.
26763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26767 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26769 [DLA_FMA] (EMULV): Use DLA_FMA.
26770 [DLA_FMA] (MUL12): Use EMULV.
26771 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26772 that are not needed.
26773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26781 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26783 * math/s_nan.c: Undef __nan.
26784 * math/s_nanf.c: Undef __nanf.
26785 * math/s_nanl.c: Undef __nanl.
26786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26789 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26791 * math/s_catan.c: Add branch predictions.
26792 * math/s_catanf.c: Likewise.
26793 * math/s_catanh.c: Likewise.
26794 * math/s_catanhf.c: Likewise.
26795 * math/s_catanhl.c: Likewise.
26796 * math/s_catanl.c: Likewise.
26797 * math/s_cexp.c: Likewise.
26798 * math/s_cexpf.c: Likewise.
26799 * math/s_cexpl.c: Likewise.
26800 * math/s_clog.c: Likewise.
26801 * math/s_clog10.c: Likewise.
26802 * math/s_clog10f.c: Likewise.
26803 * math/s_clog10l.c: Likewise.
26804 * math/s_clogf.c: Likewise.
26805 * math/s_clogl.c: Likewise.
26806 * math/s_csqrt.c: Likewise.
26807 * math/s_csqrtf.c: Likewise.
26808 * math/s_csqrtl.c: Likewise.
26809 * math/s_ctanf.c: Likewise.
26810 * math/s_ctanh.c: Likewise.
26811 * math/s_ctanhf.c: Likewise.
26812 * math/s_ctanhl.c: Likewise.
26813 * math/s_ctanl.c: Likewise.
26815 * math/math_private.h: Define __nan, __nanf, __nanl.
26816 * math/s_cacosh.c: Include <math_private.h>.
26817 * math/s_cacoshl.c: Likewise.
26818 * math/s_casinh.c: Likewise.
26819 * math/s_casinhf.c: Likewise.
26820 * math/s_casinhl.c: Likewise.
26821 * math/s_ccos.c: Rely entire on ccosh.
26822 * math/s_ccosf.c: Rely entire on ccoshf.
26823 * math/s_ccosl.c: Rely entirely on ccoshl.
26824 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26825 Remove tests for FE_INVALID.
26826 * math/s_ccoshf.c: Likewise.
26827 * math/s_ccoshl.c: Likewise.
26828 * math/s_csin.c: Likewise.
26829 * math/s_csinf.c: Likewise.
26830 * math/s_csinh.c Likewise.
26831 * math/s_csinhf.c: Likewise.
26832 * math/s_csinhl.c: Likewise.
26833 * math/s_csinl.c: Likewise.
26834 * math/s_ctan.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26836 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26839 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26842 compilation problems.
26844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26847 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26849 * sysdeps/i386/configure.in: Test for -mfma4 option.
26850 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26851 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26852 COMMON_CPUID_INDEX_80000001.
26853 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26854 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26855 use it if FMA3 is not supported.
26856 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26858 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26861 2011-10-20 Andreas Schwab <schwab@redhat.com>
26864 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26865 it would create a cycle with a link time dependency.
26867 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26869 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26871 * string/Makefile (strop-tests): Add rawmemchr.
26872 * string/test-rawmemchr.c: New file.
26874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26876 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26877 when compiling str{,n}casecmp and when AVX is available. Hook up
26878 new optimized code in initializers.
26880 2011-10-19 Andreas Schwab <schwab@redhat.com>
26882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26883 __feraiseexcept instead of feraiseexcept.
26885 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26887 * math/math_private.h: Define defaults for libc_fetestexcept and
26889 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26890 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26891 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26894 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26895 libc_fetestexcept and libc_feupdateenv.
26897 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26898 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26899 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26900 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26901 libc_feholdexcept_setround.
26903 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26904 Add s_nearbyint-c and s_nearbyintf-c.
26905 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26906 nearbyintf inlines.
26907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26908 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26909 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26910 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26912 * math/math_private.h: Define defaults for libc_fegetround,
26913 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26914 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26915 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26917 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26918 standard functions.
26919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26920 Remove comments and hacks for old compiler versions.
26921 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26922 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26923 libc_feholdexceptl.
26925 2011-10-18 Andreas Schwab <schwab@redhat.com>
26927 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26928 (__feraiseexcept_renamed): Add __NTH.
26929 (feraiseexcept): Add __NTH. Rename local variables to fix
26930 namespace violations.
26932 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26936 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26938 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26939 recently added interfaces.
26940 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26942 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26943 about macro parameter expansion.
26945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26946 __NO_MATH_INLINES is defined. Cleanups.
26948 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26949 and __floorf is target has SSE4.1.
26950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26953 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26955 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26957 (floorf): Likewise.
26959 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26961 2011-10-17 Andreas Schwab <schwab@redhat.com>
26963 * misc/sys/cdefs.h: Fix last change.
26965 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26968 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26970 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26972 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26975 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26977 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26981 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26982 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26983 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26984 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26985 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26986 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26987 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26988 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26989 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26990 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26991 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26992 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26993 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26995 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26996 ceil, ceilf, floor, floorf.
26998 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26999 Perform IRELATIVE relocations last.
27001 * elf/do-rel.h: Add another parameter nrelative, replacing the
27002 local variable with the same name. Change name of the function
27003 to end in Rel or Rela (uppercase).
27004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27005 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27006 elf_dynamic_do_##reloc function.
27008 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27010 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27011 is sufficient, at least on modern CPUs.
27013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27015 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27018 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27020 * math/bits/math-finite.h: Add entries for exp.
27021 * math/e_expl.c: Add __*_finite alias.
27022 * sysdeps/i386/fpu/e_exp.S: Likewise.
27023 * sysdeps/i386/fpu/e_expf.S: Likewise.
27024 * sysdeps/i386/fpu/e_expl.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27033 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27034 is sufficient, at least on modern CPUs.
27036 * ctype/ctype-info.c (__ctype_init): Define.
27037 * include/ctype.h (__ctype_init): Declare.
27038 (__ctype_b_loc): The variable is always initialized.
27039 (__ctype_toupper_loc): Likewise.
27040 (__ctype_tolower_loc): Likewise.
27041 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27042 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27044 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27046 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27048 * configure.in: Also look in $cxxmachine/include for C++ system
27051 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27053 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27054 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27055 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27056 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27058 (USE_AS_WMEMCMP): New macro.
27060 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27061 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27062 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27063 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27065 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27066 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27068 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27069 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27071 (USE_AS_WMEMCMP): New macro.
27072 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27073 * sysdeps/string/test-memcmp.c: Update.
27074 Fix simple_wmemcmp.
27076 * wcsmbs/wmemcmp.c: Update.
27077 (WMEMCMP): New macro.
27080 2011-10-12 Andreas Jaeger <aj@suse.de>
27083 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27085 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27087 * libio/iofwide.c (do_length): Avoid warning.
27089 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27091 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27093 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27095 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27096 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27097 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27098 * sysdeps/i386/i686/fpu/e_log.S: New file.
27099 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27100 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27102 * ctype/ctype.h: Add support for inlined isXXX functions when
27103 compiling C++ code.
27105 2011-10-14 Andreas Schwab <schwab@redhat.com>
27107 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27111 2011-10-13 Roland McGrath <roland@hack.frob.com>
27114 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27116 2011-10-13 Andreas Schwab <schwab@redhat.com>
27118 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27119 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27122 * sysdeps/x86_64/memrchr.S: Check for zero size.
27124 * string/stratcliff.c: Add memrchr tests.
27126 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27129 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27130 rawmemchr-sse2 rawmemchr-sse2-bsf.
27131 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27132 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27133 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27134 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27135 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27136 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27137 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27138 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27139 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27140 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27141 * string/memrchr.c (MEMRCHR): New macro.
27143 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27145 Add integration with gcc's -ffinite-math-only and optimize wrapper
27147 * Versions.def: Define GLIBC_2.15 version for libm.
27148 * math/Makefile (headers): Add bits/math-finite.h.
27149 * math/bits/math-finite.h: New file.
27150 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27151 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27152 * math/e_acoshl.c: Add __*_finite alias.
27153 * math/e_acosl.c: Likewise.
27154 * math/e_asinl.c: Likewise.
27155 * math/e_atan2l.c: Likewise.
27156 * math/e_atanhl.c: Likewise.
27157 * math/e_coshl.c: Likewise.
27158 * math/e_exp10.c: Likewise.
27159 * math/e_exp10f.c: Likewise.
27160 * math/e_exp10l.c: Likewise.
27161 * math/e_exp2l.c: Likewise.
27162 * math/e_fmodl.c: Likewise.
27163 * math/e_gammal_r.c: Likewise.
27164 * math/e_hypotl.c: Likewise.
27165 * math/e_j0l.c: Likewise.
27166 * math/e_j1l.c: Likewise.
27167 * math/e_jnl.c: Likewise.
27168 * math/e_lgammal_r.c: Likewise.
27169 * math/e_log10l.c: Likewise.
27170 * math/e_log2l.c: Likewise.
27171 * math/e_logl.c: Likewise.
27172 * math/e_powl.c: Likewise.
27173 * math/e_sinhl.c: Likewise.
27174 * math/e_sqrtl.c: Likewise.
27175 * math/e_scalb.c: Completely rewritten and optimized.
27176 * math/e_scalbf.c: Likewise.
27177 * math/e_scalbl.c: Likewise.
27178 * math/w_acos.c: Likewise.
27179 * math/w_acosf.c: Likewise.
27180 * math/w_acosl.c: Likewise.
27181 * math/w_acosh.c: Likewise.
27182 * math/w_acoshf.c: Likewise.
27183 * math/w_acoshl.c: Likewise.
27184 * math/w_asin.c: Likewise.
27185 * math/w_asinf.c: Likewise.
27186 * math/w_asinl.c: Likewise.
27187 * math/w_atan2.c: Likewise.
27188 * math/w_atan2f.c: Likewise.
27189 * math/w_atan2l.c: Likewise.
27190 * math/w_atanh.c: Likewise.
27191 * math/w_atanhf.c: Likewise.
27192 * math/w_atanhl.c: Likewise.
27193 * math/w_exp10.c: Likewise.
27194 * math/w_exp10f.c: Likewise.
27195 * math/w_exp10l.c: Likewise.
27196 * math/w_fmod.c: Likewise.
27197 * math/w_fmodf.c: Likewise.
27198 * math/w_fmodl.c: Likewise.
27199 * math/w_j0.c: Likewise.
27200 * math/w_j0f.c: Likewise.
27201 * math/w_j0l.c: Likewise.
27202 * math/w_j1.c: Likewise.
27203 * math/w_j1f.c: Likewise.
27204 * math/w_j1l.c: Likewise.
27205 * math/w_jn.c: Likewise.
27206 * math/w_jnf.c: Likewise.
27207 * math/w_log.c: Likewise.
27208 * math/w_logf.c: Likewise.
27209 * math/w_logl.c: Likewise.
27210 * math/w_log10.c: Likewise.
27211 * math/w_log10f.c: Likewise.
27212 * math/w_log10l.c: Likewise.
27213 * math/w_log2.c: Likewise.
27214 * math/w_log2f.c: Likewise.
27215 * math/w_log2l.c: Likewise.
27216 * math/w_pow.c: Likewise.
27217 * math/w_powf.c: Likewise.
27218 * math/w_powl.c: Likewise.
27219 * math/w_remainder.c: Likewise.
27220 * math/w_remainderf.c: Likewise.
27221 * math/w_remainderl.c: Likewise.
27222 * math/w_scalb.c: Likewise.
27223 * math/w_scalbf.c: Likewise.
27224 * math/w_scalbl.c: Likewise.
27225 * math/w_sqrt.c: Likewise.
27226 * math/w_sqrtf.c: Likewise.
27227 * math/w_sqrtl.c: Likewise.
27228 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27229 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27231 * math/math_private.h: Declare __kernel_standard_f.
27232 * math/w_cosh.c: Remove cruft and optimize a bit.
27233 * math/w_coshf.c: Likewise.
27234 * math/w_coshl.c: Likewise.
27235 * math/w_exp2.c: Likewise.
27236 * math/w_exp2f.c: Likewise.
27237 * math/w_exp2l.c: Likewise.
27238 * math/w_hypot.c: Likewise.
27239 * math/w_hypotf.c: Likewise.
27240 * math/w_hypotl.c: Likewise.
27241 * math/w_lgamma.c: Likewise.
27242 * math/w_lgamma_r.c: Likewise.
27243 * math/w_lgammaf.c: Likewise.
27244 * math/w_lgammaf_r.c: Likewise.
27245 * math/w_lgammal.c: Likewise.
27246 * math/w_lgammal_r.c: Likewise.
27247 * math/w_sinh.c: Likewise.
27248 * math/w_sinhf.c: Likewise.
27249 * math/w_sinhl.c: Likewise.
27250 * math/w_tgamma.c: Likewise.
27251 * math/w_tgammaf.c: Likewise.
27252 * math/w_tgammal.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27255 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27256 Minor optimizations. Pretty printing. Remove cruft.
27257 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27261 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27262 * sysdeps/i386/fpu/e_asin.S: Likewise.
27263 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27264 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27265 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27266 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27270 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27271 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27272 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27273 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27274 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27275 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27276 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27277 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27278 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27279 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27280 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27281 * sysdeps/i386/fpu/e_log.S: Likewise.
27282 * sysdeps/i386/fpu/e_log10.S: Likewise.
27283 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27285 * sysdeps/i386/fpu/e_log2.S: Likewise.
27286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27288 * sysdeps/i386/fpu/e_logf.S: Likewise.
27289 * sysdeps/i386/fpu/e_logl.S: Likewise.
27290 * sysdeps/i386/fpu/e_pow.S: Likewise.
27291 * sysdeps/i386/fpu/e_powf.S: Likewise.
27292 * sysdeps/i386/fpu/e_powl.S: Likewise.
27293 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27294 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27295 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27299 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27300 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27301 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27303 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27305 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27307 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27309 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27310 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27312 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27315 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27323 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27326 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27327 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27329 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27331 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27333 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27336 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27337 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27338 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27340 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27341 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27342 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27387 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27388 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27390 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27399 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27400 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27401 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27402 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27403 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27404 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27405 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27406 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27410 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27412 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27413 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27414 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27415 (__isnanf): Likewise.
27416 (__isinf_ns): Likewise.
27417 (__isinf_nsf): Likewise.
27418 (__finite): Likewise.
27419 (__finitef): Likewise.
27420 (__ieee754_sqrt): Define as macro.
27421 (__ieee754_sqrtf): Define as macro.
27422 (__ieee754_sqrtl): Define as macro.
27423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27425 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27426 __FINITE_MATH_ONLY__ consistent.
27427 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27429 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27431 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27436 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27438 * po/ja.po: Update from translation team.
27440 2011-10-08 Roland McGrath <roland@hack.frob.com>
27442 * locale/programs/locarchive.c (prepare_address_space): New function.
27443 (create_archive, enlarge_archive, open_archive): Use it.
27445 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27446 inside [SHARED], where it is used.
27448 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27450 * nss/getent.c (netgroup_keys): Remove unused variable.
27451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27453 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27455 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27459 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27461 * math/Makefile (libm-calls): Add s_isinf_ns.
27462 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27463 * math/multc3.c: Likewise.
27464 * math/s_casin.c: Likewise.
27465 * math/s_casinf.c: Likewise.
27466 * math/s_casinl.c: Likewise.
27467 * math/s_ccos.c: Likewise.
27468 * math/s_ccosf.c: Likewise.
27469 * math/s_ccosl.c: Likewise.
27470 * math/s_ctan.c: Likewise.
27471 * math/s_ctanf.c: Likewise.
27472 * math/s_ctanh.c: Likewise.
27473 * math/s_ctanhf.c: Likewise.
27474 * math/s_ctanhl.c: Likewise.
27475 * math/s_ctanl.c: Likewise.
27476 * math/w_fmod.c: Likewise.
27477 * math/w_fmodf.c: Likewise.
27478 * math/w_fmodl.c: Likewise.
27479 * math/w_remainder.c: Likewise.
27480 * math/w_remainderf.c: Likewise.
27481 * math/w_remainderl.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27483 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27486 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27487 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27488 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27489 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27491 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27493 * stdio-common/printf_fphex.c: Likewise.
27494 * stdio-common/printf_size.c: Likewise.
27496 * math/e_exp10.c: Include math_private.h using <...> not "...".
27497 * math/e_exp10f.c: Likewise.
27498 * math/e_exp10l.c: Likewise.
27499 * math/e_exp2l.c: Likewise.
27500 * math/e_j0l.c: Likewise.
27501 * math/e_j1l.c: Likewise.
27502 * math/e_jnl.c: Likewise.
27503 * math/e_lgammal_r.c: Likewise.
27504 * math/e_rem_pio2l.c: Likewise.
27505 * math/e_scalb.c: Likewise.
27506 * math/e_scalbf.c: Likewise.
27507 * math/e_scalbl.c: Likewise.
27508 * math/k_cosl.c: Likewise.
27509 * math/k_sinl.c: Likewise.
27510 * math/k_tanl.c: Likewise.
27511 * math/s_cacoshf.c: Likewise.
27512 * math/s_catan.c: Likewise.
27513 * math/s_catanf.c: Likewise.
27514 * math/s_catanh.c: Likewise.
27515 * math/s_catanhf.c: Likewise.
27516 * math/s_catanhl.c: Likewise.
27517 * math/s_catanl.c: Likewise.
27518 * math/s_ccosh.c: Likewise.
27519 * math/s_ccoshf.c: Likewise.
27520 * math/s_ccoshl.c: Likewise.
27521 * math/s_cexp.c: Likewise.
27522 * math/s_cexpf.c: Likewise.
27523 * math/s_cexpl.c: Likewise.
27524 * math/s_clog.c: Likewise.
27525 * math/s_clog10.c: Likewise.
27526 * math/s_clog10f.c: Likewise.
27527 * math/s_clog10l.c: Likewise.
27528 * math/s_clogf.c: Likewise.
27529 * math/s_clogl.c: Likewise.
27530 * math/s_csin.c: Likewise.
27531 * math/s_csinf.c: Likewise.
27532 * math/s_csinh.c: Likewise.
27533 * math/s_csinhf.c: Likewise.
27534 * math/s_csinhl.c: Likewise.
27535 * math/s_csinl.c: Likewise.
27536 * math/s_csqrt.c: Likewise.
27537 * math/s_csqrtf.c: Likewise.
27538 * math/s_csqrtl.c: Likewise.
27539 * math/s_ctan.c: Likewise.
27540 * math/s_ctanf.c: Likewise.
27541 * math/s_ctanh.c: Likewise.
27542 * math/s_ctanhf.c: Likewise.
27543 * math/s_ctanhl.c: Likewise.
27544 * math/s_ctanl.c: Likewise.
27545 * math/s_ldexp.c: Likewise.
27546 * math/s_ldexpf.c: Likewise.
27547 * math/s_ldexpl.c: Likewise.
27548 * math/s_significand.c: Likewise.
27549 * math/s_significandf.c: Likewise.
27550 * math/s_significandl.c: Likewise.
27551 * math/w_acos.c: Likewise.
27552 * math/w_acosf.c: Likewise.
27553 * math/w_acosh.c: Likewise.
27554 * math/w_acoshf.c: Likewise.
27555 * math/w_acoshl.c: Likewise.
27556 * math/w_acosl.c: Likewise.
27557 * math/w_asin.c: Likewise.
27558 * math/w_asinf.c: Likewise.
27559 * math/w_asinl.c: Likewise.
27560 * math/w_atan2.c: Likewise.
27561 * math/w_atan2f.c: Likewise.
27562 * math/w_atan2l.c: Likewise.
27563 * math/w_atanh.c: Likewise.
27564 * math/w_atanhf.c: Likewise.
27565 * math/w_atanhl.c: Likewise.
27566 * math/w_cosh.c: Likewise.
27567 * math/w_coshf.c: Likewise.
27568 * math/w_coshl.c: Likewise.
27569 * math/w_dremf.c: Likewise.
27570 * math/w_exp10.c: Likewise.
27571 * math/w_exp10f.c: Likewise.
27572 * math/w_exp10l.c: Likewise.
27573 * math/w_exp2.c: Likewise.
27574 * math/w_exp2f.c: Likewise.
27575 * math/w_fmod.c: Likewise.
27576 * math/w_fmodf.c: Likewise.
27577 * math/w_fmodl.c: Likewise.
27578 * math/w_hypot.c: Likewise.
27579 * math/w_hypotf.c: Likewise.
27580 * math/w_hypotl.c: Likewise.
27581 * math/w_j0.c: Likewise.
27582 * math/w_j0f.c: Likewise.
27583 * math/w_j0l.c: Likewise.
27584 * math/w_j1.c: Likewise.
27585 * math/w_j1f.c: Likewise.
27586 * math/w_j1l.c: Likewise.
27587 * math/w_jn.c: Likewise.
27588 * math/w_jnf.c: Likewise.
27589 * math/w_jnl.c: Likewise.
27590 * math/w_lgamma.c: Likewise.
27591 * math/w_lgamma_r.c: Likewise.
27592 * math/w_lgammaf.c: Likewise.
27593 * math/w_lgammaf_r.c: Likewise.
27594 * math/w_lgammal.c: Likewise.
27595 * math/w_lgammal_r.c: Likewise.
27596 * math/w_log.c: Likewise.
27597 * math/w_log10.c: Likewise.
27598 * math/w_log10f.c: Likewise.
27599 * math/w_log10l.c: Likewise.
27600 * math/w_log2.c: Likewise.
27601 * math/w_log2f.c: Likewise.
27602 * math/w_log2l.c: Likewise.
27603 * math/w_logf.c: Likewise.
27604 * math/w_logl.c: Likewise.
27605 * math/w_pow.c: Likewise.
27606 * math/w_powf.c: Likewise.
27607 * math/w_powl.c: Likewise.
27608 * math/w_remainder.c: Likewise.
27609 * math/w_remainderf.c: Likewise.
27610 * math/w_remainderl.c: Likewise.
27611 * math/w_scalb.c: Likewise.
27612 * math/w_scalbf.c: Likewise.
27613 * math/w_scalbl.c: Likewise.
27614 * math/w_sinh.c: Likewise.
27615 * math/w_sinhf.c: Likewise.
27616 * math/w_sinhl.c: Likewise.
27617 * math/w_sqrt.c: Likewise.
27618 * math/w_sqrtf.c: Likewise.
27619 * math/w_sqrtl.c: Likewise.
27620 * math/w_tgamma.c: Likewise.
27621 * math/w_tgammaf.c: Likewise.
27622 * math/w_tgammal.c: Likewise.
27624 * po/ja.po: Update from translation team.
27626 2011-09-29 Andreas Jaeger <aj@suse.de>
27629 * sunrpc/netname.c (netname2host): Fix logic.
27633 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27635 * math/w_remainder.c (__remainder): Likewise.
27636 * math/w_remainderf.c (__remainderf): Likewise.
27637 * math/libm-test.inc (remainder_test): Add test cases.
27639 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27641 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27644 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27646 * string/test-memcmp.c: Avoid unncessary #defines.
27647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27649 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27651 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27652 Use new sse2 version for core i3 - i7 as it's faster
27653 than sse42 version.
27654 (bit_Prefer_PMINUB_for_stringop): New.
27655 * sysdeps/x86_64/rawmemchr.S: Update.
27656 Replace with faster SSE2 version.
27657 * sysdeps/x86_64/memrchr.S: New file.
27658 * sysdeps/x86_64/memchr.S: Update.
27659 Replace with faster SSE2 version.
27661 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27663 * elf/dl-load.c (lose): Add cast to avoid warning.
27665 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27667 * po/ca.po: Update from translation team.
27669 * inet/getnetgrent_r.c: Hook up nscd.
27670 * nscd/Makefile (routines): Add nscd_netgroup.
27671 (nscd-modules): Add netgroupcache.
27672 (CFLAGS-netgroupcache.c): Define.
27673 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27674 (cache_search): Add const to second parameter.
27675 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27677 (dbs): Add netgrdb entry.
27678 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27679 (verify_persistent_db): Handle netgrdb.
27680 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27681 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27683 (netgroup_response_header): Define.
27684 (innetgroup_response_header): Define.
27685 (datahead): Add netgroup_response_header and innetgroup_response_header
27687 * nscd/nscd.conf: Add entries for netgroup cache.
27688 * nscd/nscd.h (dbtype): Add netgrdb.
27689 (_PATH_NSCD_NETGROUP_DB): Define.
27690 (netgroup_iov_disabled): Declare.
27691 (xmalloc, xcalloc, xrealloc): Move declarations here.
27692 (cache_search): Adjust prototype.
27693 Add netgroup-related prototypes.
27694 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27695 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27696 (__nscd_innetgr): Declare.
27697 * nscd/selinux.c (perms): Use access_vector_t as element type and
27698 add netgroup-related initializers.
27699 * nscd/netgroupcache.c: New file.
27700 * nscd/nscd_netgroup.c: New file.
27701 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27702 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27703 For four parameters use innetgr.
27704 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27705 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27706 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27707 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27709 * nscd/connections.c (register_traced_file): Don't register file
27710 for disabled databases.
27712 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27714 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27716 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27717 from tree and freeing node.
27719 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27721 * nss/nsswitch.c (__nss_database_lookup): Handle
27722 nss_parse_service_list out of memory case.
27724 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27726 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27727 out of memory case.
27729 2011-10-04 Andreas Schwab <schwab@redhat.com>
27731 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27732 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27734 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27735 elf_machine_rela, elf_machine_lazy_rel.
27736 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27737 (ELF_DYNAMIC_DO_REL): Likewise.
27738 (ELF_DYNAMIC_DO_RELA): Likewise.
27739 (ELF_DYNAMIC_RELOCATE): Likewise.
27740 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27741 to ELF_DYNAMIC_DO_REL.
27742 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27743 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27744 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27747 skip_ifunc, don't call ifunc function if non-zero.
27748 (elf_machine_rela): Likewise.
27749 (elf_machine_lazy_rel): Likewise.
27750 (elf_machine_lazy_rela): Likewise.
27751 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27752 (elf_machine_lazy_rel): Likewise.
27753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27755 (elf_machine_lazy_rel): Likewise.
27756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27758 (elf_machine_lazy_rel): Likewise.
27759 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27760 (elf_machine_lazy_rel): Likewise.
27761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27762 (elf_machine_lazy_rel): Likewise.
27763 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27764 (elf_machine_lazy_rel): Likewise.
27765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27766 (elf_machine_lazy_rel): Likewise.
27767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27768 (elf_machine_lazy_rel): Likewise.
27769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27770 (elf_machine_lazy_rel): Likewise.
27772 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27774 * nss/nss_files/files-init.c (_nss_files_init): Use static
27775 initialization for all the *_traced_file variables.
27777 2011-09-28 Andreas Schwab <schwab@redhat.com>
27779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27781 2011-09-27 Roland McGrath <roland@hack.frob.com>
27784 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27786 2011-09-27 Andreas Schwab <schwab@redhat.com>
27788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27789 Reread the line before reparsing it.
27791 2011-09-26 Andreas Schwab <schwab@redhat.com>
27793 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27795 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27796 Maxim Kuvyrkov <maxim@codesourcery.com>
27797 Joseph Myers <joseph@codesourcery.com>
27799 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27800 if needed for __stack_chk_guard.
27802 2011-09-19 Roland McGrath <roland@hack.frob.com>
27804 * sysdeps/posix/spawni.c (script_execute): Always define it.
27805 It will be optimized away if unused.
27806 (maybe_script_execute): New function.
27807 (__spawni): Call it.
27809 * Makerules: Don't include tls.make.
27810 (config-tls): Always set to thread.
27811 * tls.make.c: File removed.
27813 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27815 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27816 * config.make.in (CPPFLAGS-config): New substituted variable.
27818 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27823 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27824 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27826 2011-09-15 Roland McGrath <roland@hack.frob.com>
27828 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27829 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27831 (CALL_FAIL): Likewise.
27832 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27833 (CALL_FAIL): Macro removed.
27834 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27836 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27839 for __FINITE_MATH_ONLY__ == 1.
27841 2011-09-15 Andreas Schwab <schwab@redhat.com>
27843 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27844 __ieee754_sqrt instead of sqrt.
27845 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27846 __ieee754_sqrtf instead of sqrtf.
27847 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27848 __floorf instead of floorf.
27849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27850 __floorf, __truncf instead of floorf, truncf.
27852 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27854 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27856 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27857 __extern_always_inline.
27858 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27861 2011-09-14 Andreas Schwab <schwab@redhat.com>
27863 * elf/rtld.c (dl_main): Also relocate in dependency order when
27864 doing symbol dependency testing.
27866 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27869 Always define `refsym'.
27871 2011-09-13 Andreas Schwab <schwab@redhat.com>
27873 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27874 (__FD_ELT): Renamed from __FDELT.
27875 * misc/bits/select2.h (__FD_ELT): Likewise.
27876 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27877 __FD_MASK instead of __FDELT, __FDMASK.
27878 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27880 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27883 * elf/Makefile (gen-ldd): Fix pattern.
27885 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27886 (init_tls): Likewise.
27888 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27892 2011-09-12 Andreas Schwab <schwab@redhat.com>
27894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27895 `struct cmsghdr *' instead of `void *'.
27896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27899 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27901 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27903 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27904 ldd_rewrite_script.
27906 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27908 * configure.in: Remove --with-tls option.
27909 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27910 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27911 out in case it is missing.
27912 * sysdeps/ia64/elf/configure.in: Likewise.
27913 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27914 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27915 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27916 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27917 * sysdeps/sh/elf/configure.in: Likewise.
27918 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27920 * sysdeps/x86_64/elf/configure.in: Likewise.
27921 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27922 * sysdeps/mach/hurd/tls.h: Likewise.
27925 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27928 * configure.in: Fix use of AC_INIT.
27930 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27932 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27934 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27936 * malloc/hooks.c: Likewise.
27939 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27940 variables statically.
27941 (narenas): Initialize.
27942 (list_lock): Initialize.
27943 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27944 initializtion of main_arena and list_lock. Small cleanups.
27945 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27946 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27947 Add initializers to main_arena and mp_.
27948 (malloc_state): Remove pagesize member. Change all users to use
27951 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27952 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27953 is always initialized.
27955 * malloc/malloc.c: Removed unused configurations and dead code.
27956 * malloc/arena.c: Likewise.
27957 * malloc/hooks.c: Likewise.
27958 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27960 * include/tls.h: Removed. USE___THREAD must always be defined.
27961 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27962 * elf/dl-libc.c: Likewise.
27963 * elf/dl-tsd.c: Likewise.
27964 * include/errno.h: Likewise.
27965 * include/netdb.h: Likewise.
27966 * include/resolv.h: Likewise.
27967 * inet/herrno-loc.c: Likewise.
27968 * inet/herrno.c: Likewise.
27969 * malloc/arena.c: Likewise.
27970 * malloc/hooks.c: Likewise.
27971 * malloc/malloc.c: Likewise.
27972 * resolv/res-state.c: Likewise.
27973 * resolv/res_libc.c: Likewise.
27974 * sysdeps/i386/dl-machine.h: Likewise.
27975 * sysdeps/ia64/dl-machine.h: Likewise.
27976 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27978 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27979 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27980 * sysdeps/sh/dl-machine.h: Likewise.
27981 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27982 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27983 * sysdeps/unix/i386/sysdep.S: Likewise.
27984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27985 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27990 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27994 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27995 * sysdeps/x86_64/dl-machine.h: Likewise.
27996 * tls.make.c: Likewise.
27998 * configure.in: Remove --with-__thread option. Make tests for
27999 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28000 tls_model attribute fail if no support is available. Remove
28002 * Makeconfig: Adjust for dropped configure option. All features are
28004 * Makerules: Likewise.
28005 * Versions.def: Likewise.
28006 * argp/argp-fmtstream.c: Likewise.
28007 * argp/argp-fmtstream.h: Likewise.
28008 * argp/argp-help.c: Likewise.
28009 * assert/assert.c: Likewise.
28010 * config.h.in: Likewise.
28011 * config.make.in: Likewise.
28012 * configure: Likewise.
28013 * configure.in: Likewise.
28014 * csu/Versions: Likewise.
28015 * csu/init.c: Likewise.
28016 * elf/tst-audit2.c: Likewise.
28017 * elf/tst-tls10.c: Likewise.
28018 * elf/tst-tls10.h: Likewise.
28019 * elf/tst-tls11.c: Likewise.
28020 * elf/tst-tls12.c: Likewise.
28021 * elf/tst-tls14.c: Likewise.
28022 * elf/tst-tlsmod11.c: Likewise.
28023 * elf/tst-tlsmod12.c: Likewise.
28024 * elf/tst-tlsmod13.c: Likewise.
28025 * elf/tst-tlsmod13a.c: Likewise.
28026 * elf/tst-tlsmod14a.c: Likewise.
28027 * elf/tst-tlsmod15b.c: Likewise.
28028 * elf/tst-tlsmod16a.c: Likewise.
28029 * elf/tst-tlsmod16b.c: Likewise.
28030 * elf/tst-tlsmod7.c: Likewise.
28031 * elf/tst-tlsmod8.c: Likewise.
28032 * elf/tst-tlsmod9.c: Likewise.
28033 * gmon/gmon.c: Likewise.
28034 * grp/fgetgrent_r.c: Likewise.
28035 * grp/putgrent.c: Likewise.
28036 * hurd/fopenport.c: Likewise.
28037 * include/libc-symbols.h: Likewise.
28038 * include/tls.h: Likewise.
28039 * intl/gettextP.h: Likewise.
28040 * intl/loadinfo.h: Likewise.
28041 * locale/global-locale.c: Likewise.
28042 * locale/localeinfo.h: Likewise.
28043 * mach/devstream.c: Likewise.
28044 * malloc/arena.c: Likewise.
28045 * malloc/set-freeres.c: Likewise.
28046 * misc/err.c: Likewise.
28047 * misc/getttyent.c: Likewise.
28048 * misc/mntent_r.c: Likewise.
28049 * posix/getopt.c: Likewise.
28050 * posix/wordexp.c: Likewise.
28051 * pwd/fgetpwent_r.c: Likewise.
28052 * resolv/Versions: Likewise.
28053 * resolv/res_hconf.c: Likewise.
28054 * shadow/fgetspent_r.c: Likewise.
28055 * shadow/putspent.c: Likewise.
28056 * stdio-common/printf_fphex.c: Likewise.
28057 * stdio-common/tmpfile.c: Likewise.
28058 * stdlib/abort.c: Likewise.
28059 * stdlib/fmtmsg.c: Likewise.
28060 * sunrpc/auth_unix.c: Likewise.
28061 * sunrpc/clnt_perr.c: Likewise.
28062 * sunrpc/clnt_tcp.c: Likewise.
28063 * sunrpc/clnt_udp.c: Likewise.
28064 * sunrpc/clnt_unix.c: Likewise.
28065 * sunrpc/openchild.c: Likewise.
28066 * sunrpc/svc_simple.c: Likewise.
28067 * sunrpc/svc_tcp.c: Likewise.
28068 * sunrpc/svc_udp.c: Likewise.
28069 * sunrpc/svc_unix.c: Likewise.
28070 * sunrpc/xdr.c: Likewise.
28071 * sunrpc/xdr_array.c: Likewise.
28072 * sunrpc/xdr_rec.c: Likewise.
28073 * sunrpc/xdr_ref.c: Likewise.
28074 * sunrpc/xdr_stdio.c: Likewise.
28076 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28078 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28080 2011-07-03 Andreas Jaeger <aj@suse.de>
28082 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28083 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28084 regenerate with gen-libm-tests.pl.
28086 2010-05-12 Petr Baudis <pasky@suse.cz>
28089 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28090 around j0() zero points by switching to j1().
28091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28096 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28103 Patch in part by Pavel Roskin <proski@gnu.org>.
28106 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28108 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28109 Free memory block if necessary.
28112 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28113 be NULL. Don't lock in this case.
28115 2011-09-09 Roland McGrath <roland@hack.frob.com>
28117 * elf/elf.h (ELFOSABI_GNU): New macro.
28118 (ELFOSABI_LINUX): Define to that.
28120 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28122 * string/strncat.c (strncat): Undef the symbol in case it has been
28123 defined in bits/string.h.
28125 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28127 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28129 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28132 2011-08-17 Andreas Jaeger <aj@suse.de>
28134 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28136 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28137 Ian Lance Taylor <iant@google.com>
28139 * math/libm-test.inc (lround_test): New testcase.
28140 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28142 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28144 * Makefile: Remove support for automatic cvs check-ins.
28145 * Makerules: Likewise.
28146 * config.make.in: Likewise.
28147 * configure.in: Likewise.
28148 * intl/Makefile: Likewise.
28149 * locale/Makefile: Likewise.
28150 * po/Makefile: Likewise.
28151 * posix/Makefile: Likewise.
28152 * sysdeps/gnu/Makefile: Likewise.
28153 * sysdeps/mach/hurd/Makefile: Likewise.
28154 * sysdeps/sparc/sparc32/Makefile: Likewise.
28157 * posix/Makefile (bug-regex32-ENV): Define.
28158 Patch by John Stanley <jpsinthemix@verizon.net>.
28160 * misc/Makefile (headers): Add bits/select2.h.
28161 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28162 * misc/bits/select2.h: New file.
28163 * include/bits/select2.h: New file.
28164 * debug/Makefile (routines): Add fdelt_chk.
28165 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28166 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28168 * debug/fdelt_chk.c: New file.
28170 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28171 * wcsmbs/test-wmemcmp.c: Likewise.
28172 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28173 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28175 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28177 * string/Makefile (strop-tests): Add memcmp.
28178 * string/test-wmemcmp.c: New file.
28179 * string/test-memcmp.c: Add wmemcmp support.
28181 2011-09-08 Roland McGrath <roland@hack.frob.com>
28184 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28187 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28188 garbage value in a __mach_port_mod_refs call in the cases of the
28189 task-self and thread-self ports.
28191 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28193 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28195 2011-09-08 Andreas Schwab <schwab@redhat.com>
28197 * elf/dl-load.c (lose): Check for non-null L.
28199 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28201 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28203 * elf/dl-libc.c (dlerror_run): Pass back error code from
28207 * elf/dl-load.c (lose): Free l_origin if it is valid.
28209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28216 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28218 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28220 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28221 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28222 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28224 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28225 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28226 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28227 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28228 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28229 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28231 2011-08-15 Alan Modra <amodra@gmail.com>
28234 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28235 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28236 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28237 ppc_mcount to static-only-routines.
28238 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28240 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28241 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28243 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28245 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28246 for finite and infinity parameters.
28248 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28251 and add nop instructions for throughput optimization.
28252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28254 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28257 aligned copy for power7 with vector-scalar instructions.
28258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28260 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28265 2011-09-07 Andreas Schwab <schwab@redhat.com>
28268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28271 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28274 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28275 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28279 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28281 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28282 Forgot to demangle the pointer.
28284 * sysdeps/i386/sysdep.h: Define atom_text_section.
28285 * sysdeps/x86_64/sysdep.h: Likewise.
28286 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28287 section with atom_text_section.
28288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28290 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28296 already be defined. Change to take two parameters and don't assign
28297 result to variable. Adjust all users.
28298 Define INTERNAL_GETTIME if not already defined.
28299 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28302 HAVE_CLOCK_GETTIME_VSYSCALL.
28303 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28306 gettimeofday vsyscall, just use time.
28308 2011-09-06 Andreas Schwab <schwab@redhat.com>
28310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28313 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28315 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28319 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28321 syscall if possible.
28323 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28325 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28326 e_ident. Don't pass to find_mapsXX.
28327 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28329 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28332 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28333 * sysdeps/x86_64/multiarch/strchr.S: Update.
28334 Check bit_slow_BSF bit.
28335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28339 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28342 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28344 (tryshell): Define.
28345 (__spawni): Change last parameter to be flag. Test
28346 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28347 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28348 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28349 * posix/spawni.c: Likewise.
28350 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28351 * posix/spawnp.c: Likewise. Change normal version to use
28352 SPAWN_XFLAGS_USE_PATH.
28353 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28354 SPAWN_XFLAGS_TRY_SHELL.
28357 * posix/glob.h: Remove gcc 1.x support.
28360 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28362 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28365 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28367 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28368 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28374 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28376 * sysdeps/x86_64/wcscmp.S: New file.
28378 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28379 wcscmp-c wcscmp-sse2
28380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28381 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28383 * wcsmbs/wcscmp.c: Allow renaming.
28385 2011-09-05 David S. Miller <davem@davemloft.net>
28387 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28388 stack slot, rather than the struct return pointer slot.
28389 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28390 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28394 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28396 * po/ja.po: Update from translation team.
28399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28400 kernel in 64-bit binaries.
28402 2011-09-01 David S. Miller <davem@davemloft.net>
28404 * elf/elf.h (HWCAP_SPARC_*): Move to..
28405 * sysdeps/sparc/sysdep.h: this new file and add new values.
28406 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28407 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28408 _DL_HWCAP_COUNT to 24.
28409 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28411 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28412 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28413 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28415 instead of magic constants.
28416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28418 2011-08-31 David S. Miller <davem@davemloft.net>
28420 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28422 Reimplement to do errno handling inline.
28423 (SYSCALL_ERROR_HANDLER): New macro.
28424 (__SYSCALL_STRING): Do not do errno handling in asm.
28425 (__CLONE_SYSCALL_STRING): Delete.
28426 (__INTERNAL_SYSCALL_STRING): Delete.
28427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28428 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28429 (PSEUDO): Reimplement to do errno handling inline.
28430 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28431 (SYSCALL_ERROR_HANDLER): New macro.
28432 (__SYSCALL_STRING): Do not do errno handling in asm.
28433 (__CLONE_SYSCALL_STRING): Delete.
28434 (__INTERNAL_SYSCALL_STRING): Delete.
28435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28436 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28438 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28439 (inline_syscall*): Add 'err' argument.
28440 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28441 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28442 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28443 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28445 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28448 2011-08-30 Andreas Schwab <schwab@redhat.com>
28450 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28452 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28454 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28457 2011-08-24 David S. Miller <davem@davemloft.net>
28459 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28461 2011-08-24 Andreas Schwab <schwab@redhat.com>
28463 * elf/Makefile: Add rules to build and run unload8 test.
28464 * elf/unload8.c: New file.
28465 * elf/unload8mod1.c: New file.
28466 * elf/unload8mod1x.c: New file.
28467 * elf/unload8mod2.c: New file.
28468 * elf/unload8mod3.c: New file.
28470 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28473 2011-08-23 David S. Miller <davem@davemloft.net>
28475 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28476 subtract stack bias.
28477 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28478 %sp not %fp in calculations.
28479 (_JMPBUF_UNWINDS_ADJ): Likewise.
28481 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28482 (aio_suspend): Call it to force an exception region around the
28483 AIO_MISC_WAIT() invocation.
28485 2011-08-23 Andreas Schwab <schwab@redhat.com>
28487 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28490 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28492 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28494 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28495 and <dl-machine.h>.
28496 (Elf64_FuncDesc): Remove.
28498 2011-08-22 David S. Miller <davem@davemloft.net>
28500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28501 sigaltstack check, add missing cfi directives.
28502 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28503 missing cfi directives, and sigaltstack handling.
28505 2011-08-16 Andreas Schwab <schwab@redhat.com>
28508 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28509 object is seen twice.
28510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28512 * elf/Makefile (distribute): Add tst-initorder2.c.
28513 (tests): Add tst-initorder2.
28514 (modules-names): Add tst-initorder2a tst-initorder2b
28515 tst-initorder2c tst-initorder2d. Add rules to build them.
28516 ($(objpfx)tst-initorder2.out): New rule.
28517 * elf/tst-initorder2.c: New file.
28518 * elf/tst-initorder2.exp: New file.
28520 2011-08-22 Andreas Schwab <schwab@redhat.com>
28522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28524 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28525 dependencies back to end of function.
28527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28528 $(elfobjdir)/ld.so.
28530 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28533 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28535 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28536 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28537 of __vdso_gettimeofday.
28538 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28539 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28541 (_libc_vdso_platform_setup): Remove initialization of
28542 __vdso_gettimeofday and __vdso_time.
28544 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28546 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28547 and fgetc_unlocked.
28548 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28551 * elf/dl-open.c (add_to_global): Report additions to the global scope
28552 for LD_DEBUG=scopes.
28553 (dl_open_worker): Also print scope of newly loaded dependencies.
28554 (_dl_show_scope): Indicate if there is no scope.
28557 * stdio-common/Makefile (tests): Add bug24.
28558 * stdio-common/bug24.c: New file.
28560 2011-08-19 Andreas Jaeger <aj@suse.de>
28563 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28564 non-existant file when using close-on-exec mode.
28566 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28569 the very first instruction.
28571 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28572 the CFI state in the end.
28573 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28574 inclusion of dl-trampoline.h.
28575 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28577 2011-08-19 Andreas Schwab <schwab@redhat.com>
28579 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28580 expectations for long double.
28582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28583 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28585 2011-08-14 David S. Miller <davem@davemloft.net>
28587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28588 artificual limit depends upon the system page size.
28590 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28592 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28593 * resolv/Makefile: Define CFLAGS-libresolv.
28595 2011-08-17 Andreas Schwab <schwab@redhat.com>
28597 * nss/makedb.c (compute_tables): Make variables used in nested
28600 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28602 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28603 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28604 if buffer was too small.
28606 * elf/pldd.c (main): Attach to all threads in the process.
28607 Rewrite /proc handling to use *at functions.
28609 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28611 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28612 specifies first scope to show.
28613 (dl_open_worker): Update callers. Move printing scope of new
28614 object to before the relocation.
28615 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28616 * sysdeps/generic/ldsodefs.h: Update declaration.
28618 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28619 string for the scope number.
28621 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28623 * nscd/servicescache.c (cache_addserv): Make sure written is always
28626 2011-08-14 Roland McGrath <roland@hack.frob.com>
28628 * sysdeps/i386/i486/bits/atomic.h
28629 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28630 statement expression, so as to suppress "set but not used" warning.
28631 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28633 * string/strncat.c (STRNCAT): Use prototype definition.
28635 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28636 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28638 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28639 (localedef-modules): Add localedef.
28640 (locale-modules): Add locale.
28642 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28643 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28644 to avoid a warning.
28646 2011-08-14 David S. Miller <davem@davemloft.net>
28648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28649 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28651 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28653 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28654 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28655 * elf/rtld.c (dl_main): Set l_name of vDSO.
28656 Call _dl_show_scope when DL_DEBUG_SCOPES.
28657 (process_dl_debug): Recognize scopes flag and also set it for all.
28658 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28659 Declare _dl_show_scope.
28661 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28662 (do_dlopen): Pass caller_dlopen to dl_open.
28663 (__libc_dlopen_mode): Initialize caller_dlopen.
28665 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28666 of libc. Make tolower call locale-independent. Optimize a bit by
28667 using isdigit instead of isalnum.
28668 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28670 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28672 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28673 was a dependency or dynamically loaded.
28675 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28677 * intl/l10nflist.c: Allow architecture-specific pop function.
28678 * sysdeps/x86_64/l10nflist.c: New file.
28680 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28683 2011-08-10 Andreas Schwab <schwab@redhat.com>
28685 * include/dirent.h: Add libc_hidden_proto for scandirat and
28686 scandirat64. Don't declare __scandirat64.
28687 * dirent/scandirat.c: Add libc_hidden_def.
28688 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28689 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28691 2011-08-10 David S. Miller <davem@davemloft.net>
28693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28699 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28701 * Versions.def [libc]: Add GLIBC_2.15.
28702 * dirent/Makefile (routines): Add scandirat and scandirat64.
28703 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28705 * dirent/dirent.h: Declare scandirat and scandirat64.
28706 * dirent/scandirat.c: New file.
28707 * dirent/scandirat64.c: New file.
28708 * sysdeps/wordsize-64/scandirat.c: New file.
28709 * sysdeps/wordsize-64/scandirat64.c: New file.
28710 * dirent/opendir.c: Define opendirat.
28711 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28713 * dirent/scandir64.c: Adjust for scandir.c change.
28714 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28715 __scandirat64, and __scandir_cancel_handler.
28716 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28717 additional parameter and use openat instead of open (outside of ld.so).
28718 Add new __opendir as wrapper around __opendirat.
28719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28720 here without requiring old scandirat implementation.
28722 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28724 * dirent/scandir.c (cancel_handler): Renamed to
28725 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28726 defined. Adjust users.
28727 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28730 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28732 * string/test-string.h (IMPL): Use __STRING to expand name and then
28735 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28738 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28740 * string/Makefile: Update.
28741 (strop-tests): Append strncat.
28742 * string/test-wcscmp.c: New file.
28743 New comprehensive test for wcscmp.
28744 * string/test-strcmp.c: Update.
28745 (WIDE): New define.
28747 2011-07-22 Andreas Schwab <schwab@redhat.com>
28749 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28752 2011-07-26 Andreas Schwab <schwab@redhat.com>
28754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28755 encoding to ACE if AI_IDN.
28757 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28760 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28765 Fix overflow bug in strncat.
28766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28768 * string/test-strncat.c: Update.
28769 Add new tests for checking overflow bugs.
28771 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28774 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28775 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28776 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28778 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28779 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28780 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28781 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28784 (USE_AS_STRCAT): Define.
28785 Add strcat and strncat support.
28786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28788 2011-07-25 Andreas Schwab <schwab@redhat.com>
28790 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28791 __n bigger than INT_MAX+1.
28792 (__strncmp_g): Likewise.
28794 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28796 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28797 * libio/stido.h: Likewise.
28799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28804 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28807 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28811 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28816 (_dl_x86_64_save_sse): Likewise.
28818 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28822 (_dl_x86_64_save_sse): Likewise.
28824 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28826 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28828 2011-07-21 Andreas Schwab <schwab@redhat.com>
28830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28832 (_dl_x86_64_save_sse): Use correct AVX check.
28834 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28836 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28837 bug in strncpy/strncat.
28838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28840 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28842 * string/tester.c (test_strcat): Add tests for different alignments
28843 of source and destination.
28844 (test_strncat): Likewise.
28846 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28849 * posix/glob.c (glob): Check passed in values before using them in
28850 expressions to avoid some overflows.
28851 (glob_in_dir): Likewise.
28854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28855 check for AVX enablement so that we don't crash with old kernels and
28857 * elf/tst-audit4.c: Add same checks here.
28858 * elf/tst-audit6.c: Likewise.
28860 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28862 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28864 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28866 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28868 * po/cs.po: Update from translation team.
28869 * po/bg.po: Likewise.
28871 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28873 * misc/sys/cdefs.h: Add support for const attribute.
28874 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28875 to gnu_dev_{major,minor,makedev} functions.
28877 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28879 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28881 2011-07-20 Andreas Schwab <schwab@redhat.com>
28883 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28886 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28889 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28890 register in order to avoid conflicts with the soft frame pointer
28891 being held in r11 when necessary.
28892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28893 (INTERNAL_VSYSCALL_NCS): Likewise.
28895 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28897 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28898 * elf/dl-fini.c (_dl_fini): Adjust caller.
28899 * elf/dl-close.c (_dl_close_worker): Likewise.
28900 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28902 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28904 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28905 "aux_cache->nlibs < 0".
28907 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28908 in the reload-count case.
28910 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28913 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28914 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28915 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28916 * sysdeps/x86_64/multiarch/strcat.S: New file.
28917 * sysdeps/x86_64/multiarch/strncat.S: New file.
28918 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28920 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28921 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28923 (USE_AS_STRCAT): Define.
28924 Add strcat and strncat support.
28925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28927 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28928 * string/strncat.c: Update.
28929 (USE_AS_STRNCAT): Define.
28930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28931 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28933 * sysdeps/x86_64/multiarch/init-arch.h
28934 (bit_Prefer_PMINUB_for_stringop): New.
28935 (index_Prefer_PMINUB_for_stringop): Likewise.
28936 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28937 bit_Prefer_PMINUB_for_stringop.
28939 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28941 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28943 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28944 of casting of buffer.
28945 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28946 buffer32 and buffer64.
28947 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28948 writes instead of casting of buffer.
28949 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28951 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28954 2011-07-19 Andreas Schwab <schwab@redhat.com>
28956 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28958 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28960 * nscd/nscd.c (termination_handler): Don't do anything for a database
28961 if it has not yet been initialized.
28963 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28965 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28967 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28969 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28971 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28973 * po/nl.po: Update from translation team.
28974 * po/sv.po: Likewise.
28976 2011-07-16 Roland McGrath <roland@hack.frob.com>
28978 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28979 now disallowed by GCC.
28981 * configure.in (use-default-link): Default to yes if a test -shared
28982 link meets our qualifications.
28983 * configure: Regenerated.
28985 * config.make.in (output-format): New variable.
28986 * configure.in: Check for ld --print-output-format support.
28987 * configure: Regenerated.
28988 * Makerules ($(common-objpfx)format.lds)
28989 [$(output-format) != unknown]: Just use $(output-format),
28990 instead of the linker-script munging.
28992 2011-07-14 Roland McGrath <roland@hack.frob.com>
28994 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28995 of $(common-objpfx)shlib.lds.
28996 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28998 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28999 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29001 * configure.in (-z relro check): Adjust test code to add a large
29002 writable data section after it.
29003 * configure: Regenerated.
29005 2011-07-11 Roland McGrath <roland@hack.frob.com>
29007 * configure.in (-z relro check): Fix test code to make the variable
29009 * configure: Regenerated.
29011 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29013 * nscd/nscd.h (struct traced_file): Define.
29014 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29015 elements. Add traced_files.
29016 (inotify_fd): Declare.
29017 (register_traced_file): Declare.
29018 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29019 (inotify_fd): Export.
29020 (resolv_conf_descr): Remove.
29021 (nscd_init): Move inotify descriptor creation to main.
29022 Don't register files for notification here.
29023 (register_traced_file): New function.
29024 (invalidate_cache): Don't use reset_res to determine whether to call
29025 res_init, go through the list of registered files.
29026 (main_loop_poll): The inotify descriptors are now stored in the
29027 structures for the traced files.
29028 (main_loop_epoll): Likewise
29029 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29030 to __nss_disable_nscd.
29031 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29032 for a database anymore. Check the records for all the registered
29034 * nss/Makefile (libnss_files-routines): Add files-init.
29035 (libnss_db-routines): Add db-init.
29036 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29037 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29038 * nss/nss_db/db-init.c: New file.
29039 * nss/nss_files/files-init.c: New file.
29040 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29041 __nss_lookup_function.
29042 (__nss_lookup_function): Call nss_load_library.
29043 (nss_load_all_libraries): New function.
29044 (__nss_disable_nscd): Take parameter with callback function for files
29045 to register. Set is_nscd. Load all the DSOs for the NSS modules
29046 used for the cached services.
29047 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29049 options for features to all the files in nscd.
29051 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29053 2011-07-10 Roland McGrath <roland@hack.frob.com>
29055 * csu/elf-init.c (__libc_csu_init): Comment typo.
29057 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29059 * po/pl.po: Update from translation team.
29060 * po/ja.po: Likewise.
29061 * po/ru.po: Likewise.
29062 * po/ko.po: Likewise.
29063 * po/fr.po: Likewise.
29065 2011-07-09 Roland McGrath <roland@hack.frob.com>
29067 * configure.in (.ctors/.dtors header and trailer check):
29068 Use an empirical test on a built program.
29069 * configure: Regenerated.
29071 * configure.in (-z relro check): Use an empirical test on a built DSO.
29072 Detect, but do not require, on ia64.
29073 * configure: Regenerated.
29075 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29076 Update tests that use readelf to use $READELF instead.
29077 * configure: Regenerated.
29079 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29081 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29082 if the result is not used.
29084 2011-07-05 Andreas Jaeger <aj@suse.de>
29087 * stdlib/tst-strtod.c: Add testcase.
29089 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29091 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29092 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29093 The latter has a higher limit. Take additional parameter to pass to
29095 (__pathconf): Pass file to __statfs_link_max.
29096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29098 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29102 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29106 (__statfs_filesize_max): Likewise.
29107 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29109 2011-07-05 Andreas Jaeger <aj@suse.de>
29111 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29113 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29115 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29117 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29120 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29122 * Makefile (strop-tests): Add strncat.
29123 * string/test-strncat.c: New file.
29125 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29127 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29129 2011-06-21 Andreas Jaeger <aj@suse.de>
29131 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29132 Copy rule from iconvdata/Makefile.
29134 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29137 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29138 but no long options are defined, just return 'W'.
29140 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29143 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29145 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29147 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29149 (innetgr): Likewise.
29151 2011-07-05 Roland McGrath <roland@hack.frob.com>
29153 * config.make.in (install_root): Default to $(DESTDIR).
29155 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29159 2011-07-02 Roland McGrath <roland@hack.frob.com>
29161 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29163 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29164 containing directory rather than embedding absolute directory names.
29166 * scripts/check-local-headers.sh: Rewritten using awk.
29167 Match by word, not by line. Print error messages for matches.
29168 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29170 * Makerules [shlib-lds-flags empty]:
29171 ($(common-objpfx)libc_pic.opts): New target.
29172 ($(common-objpfx)libc_pic.os.clean): New target.
29173 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29175 * config.make.in (OBJCOPY): New variable.
29176 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29177 * configure: Regenerated.
29179 * config.make.in (use-default-link): New variable.
29180 * configure.in (use_default_link): Grok --with-default-link to set it.
29181 * configure: Regenerated.
29182 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29183 (shlib-lds, shlib-lds-flags): Define to empty.
29185 * Makerules (shlib-lds): New variable.
29186 (shlib-lds-flags): New variable.
29187 (build-shlib, build-moduile, build-module-asneeded): Use it.
29188 ($(common-objpfx)libc.so): Use $(shlib-lds).
29189 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29190 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29192 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29193 DT_FLAGS/DT_FLAGS_1 with zero flags.
29195 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29196 linker script munging.
29198 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29200 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29202 * crypt/sha512.c (sha512_process_block): Perform total addition using
29203 128-bit if possible.
29204 (__sha512_finish_ctx): Likewise.
29205 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29207 * crypt/sha256.c (SWAP64): Define.
29208 (sha256_process_block): Perform total addition using 64-bit if
29210 (__sha256_finish_ctx): Likewise.
29212 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29214 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29216 * nscd/hstcache.c (cache_addhst): Likewise.
29217 * nscd/grpcache.c (cache_addgr): Likewise.
29218 * nscd/aicache.c (addhstaiX): Likewise
29219 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29221 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29223 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29225 * nscd/hstcache.c (cache_addhst): Likewise.
29226 * nscd/grpcache.c (cache_addgr): Likewise.
29227 * nscd/aicache.c (addhstaiX): Likewise
29229 2011-07-01 Andreas Schwab <schwab@redhat.com>
29231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29232 domain only when needed.
29234 2011-06-30 Andreas Schwab <schwab@redhat.com>
29236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29237 is always restored.
29239 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29241 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29242 are re-adding the entry.
29243 * nscd/servicescache.c (cache_addserv): Likewise.
29245 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29247 * sysdeps/generic/dl-irel.h: fix protection against multiple
29249 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29251 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29254 * malloc/memusage.sh: Fix quoting in message.
29255 * debug/xtrace.sh: Likewise.
29257 * configure.in: Remove support for --experimental-malloc option, make
29259 * config.make.in: Likewise.
29260 * malloc/Makefile: Likewise.
29262 2011-06-27 Andreas Schwab <schwab@redhat.com>
29264 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29265 two-byte characters.
29267 2011-06-27 Roland McGrath <roland@hack.frob.com>
29269 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29270 AC_CACHE_CHECK invocation.
29271 * configure: Regenerated.
29273 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29275 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29278 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29279 bit from old_res_options.
29281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29283 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29284 value type for setfct.
29286 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29289 __gettimeofday instead of gettimeofday.
29291 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29293 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29295 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29302 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29305 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29306 strcpy-sse2-unaligned strncpy-sse2-unaligned
29307 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29308 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29309 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29310 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29311 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29314 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29315 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29316 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29317 (STRCPY): Support SSE2 and SSSE3 versions.
29319 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29322 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29323 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29324 kernels which artificially limit size of requests.
29326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29329 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29330 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29331 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29332 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29333 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29334 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29335 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29338 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29339 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29340 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29341 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29342 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29344 Enable unaligned load optimization for Intel Core i3, i5 and i7
29346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29348 (index_Fast_Unaligned_Load): Define.
29349 (HAS_FAST_UNALIGNED_LOAD): Define.
29351 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29353 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29355 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29359 until it is clear that the information is realy needed.
29360 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29362 2011-06-22 Andreas Schwab <schwab@redhat.com>
29364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29366 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29369 /sys/devices/system/cpu/online if it is usable.
29371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29372 reading the information from the /proc filesystem to once a second.
29374 2011-06-21 Andreas Jaeger <aj@suse.de>
29376 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29377 NULL after inclusion of kernel headers.
29379 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29381 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29382 calls to internal_setent.
29385 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29386 addresses using gethostbyname4_r ignore IPv4 addresses.
29388 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29389 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29391 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29393 2011-06-20 David S. Miller <davem@davemloft.net>
29395 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29397 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29399 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29400 (elf_irel): Use it.
29401 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29402 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29403 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29404 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29405 * sysdeps/x86_64/dl-irel.h: Likewise.
29407 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29408 * elf/dl-sym.c: Likewise.
29410 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29412 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29413 need to dereference resplen2.
29415 2011-06-14 Andreas Schwab <schwab@redhat.com>
29417 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29419 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29421 * Makeconfig: Define vardbdir and inst_vardbdir.
29422 * nss/Makefile: Add rules to install db-Makefile.
29424 * nss/nss_db/db-XXX.c: Cleanup.
29426 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29427 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29429 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29430 * nss/makedb.c: Implement -g option to specify that value strings
29431 are generated and should not be added to table iterated over for
29433 * nss/nss_db/db-initgroups.c: New file.
29435 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29438 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29439 (internal_getgrouplist): Adjust to name change.
29440 Update use_initgroups_entry if this is not the first call.
29441 * nss/databases.def: Add initgroups entry.
29443 * nss/makedb.c (compute_tables): Check result of multiple hash table
29444 sizes to minimize maximum chain length.
29446 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29448 * Versions.def: Add entry for libnss_db.
29449 * shlib-versions: Likewise.
29450 * nss/Makefile: Add rules to build libnss_db.
29451 * nss/Versions: Add libnss_db information. Organize libnss_files
29453 * nss/db-Makefile: Add gshadow support. Change rules for the new
29454 makedb progra. Some minor improvements to generate smaller files.
29455 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29457 * nss/makedb.c: ...here.
29458 Improve database format to be smaller and require less memory at
29460 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29462 * nss/nss_db/db-netgrp.c: Likewise.
29463 * nss/nss_db/db-open.c: Likewise.
29464 * nss/nss_files/flies-XXX.x: Adjust comments.
29465 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29466 * nss/nss_files/files-grp.c: Likewise.
29467 * nss/nss_files/files-hosts.c: Likewise.
29468 * nss/nss_files/files-network.c: Likewise.
29469 * nss/nss_files/files-proto.c: Likewise.
29470 * nss/nss_files/files-pwd.c: Likewise.
29471 * nss/nss_files/files-rpc.c: Likewise.
29472 * nss/nss_files/files-service.c: Likewise.
29473 * nss/nss_files/files-sgrp.c: Likewise.
29474 * nss/nss_files/files-spwd.c: Likewise.
29475 * nss/nss_db/db-alias.c: Removed.
29476 * nss/nss_db/dummy-db.h: Removed.
29478 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29480 * nss/makedb.c: Rewritten to not use database library.
29481 * nss/Makefile: Update to build new makedb program.
29483 2011-06-14 Andreas Jaeger <aj@suse.de>
29485 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29486 memset declaration.
29488 2011-06-10 Andreas Schwab <schwab@redhat.com>
29490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29493 2011-06-10 Roland McGrath <roland@hack.frob.com>
29495 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29496 * elf/Makefile ($(objpfx)ld.so): Likewise.
29498 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29499 Don't list ld.so twice in dependencies.
29501 * posix/bug-regex31.c: Include <stdlib.h>.
29503 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29505 * nis/nss_compat/compat-spwd.c
29506 (getspent_next_nss_netgr): Remove unused variable.
29507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29509 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29510 nonmembers" output to use the right array.
29512 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29514 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29516 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29517 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29518 * catgets/gencat.c (read_input_file): Likewise.
29519 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29522 variable definition inside #if's controlling its use.
29524 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29526 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29528 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29530 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29533 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29535 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29536 * configure: Regenerated.
29538 * Makerules: Revert last change.
29539 * elf/Makefile: Likewise.
29541 2011-06-09 Roland McGrath <roland@hack.frob.com>
29543 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29544 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29545 (reloc-link): Likewise.
29547 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29549 * elf/Makefile: Add rules to build pldd.
29550 * elf/pldd.c: New file.
29551 * elf/pldd-xx.c: New file.
29553 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29555 * version.h: Update for 2.15 development version.
29557 2011-06-07 David S. Miller <davem@davemloft.net>
29559 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29562 elf_machine_lazy_rel): Likewise.
29563 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29565 elf_machine_lazy_rel): Likewise.
29566 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29567 dl_hwcap via passed in argument.
29568 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29571 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29573 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29575 2011-06-06 Roland McGrath <roland@hack.frob.com>
29578 * manual/fdl-1.1.texi: New file, verbatim from:
29579 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29580 * manual/lgpl-2.1.texi: New file, verbatim from:
29581 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29582 * manual/Makefile (licenses): New variable, list those new file names.
29584 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29586 * manual/fdl.texi: File removed.
29587 * manual/lesser.texi: File removed.
29588 * manual/libc.texinfo (Copying, Documentation License):
29589 Use new @include file names, put @appendix directive before @include.
29591 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29594 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29595 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29596 (mq_open): Add __NTH.
29598 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29601 Assume Intel Core i3/i5/i7 processor if AVX is available.
29603 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29608 2011-05-31 Andreas Schwab <schwab@redhat.com>
29610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29611 memory. Use alloca_account. Fix memory leak when retrying.
29613 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29615 * version.h (RELEASE): Bump for 2.14 release.
29616 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29618 * config.make.in (RANLIB): Remove entry.
29620 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29622 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29623 (libc.pot): Work around missing support for .ksh extension in xgettext.
29626 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29627 if both request failed.
29628 (send_dg): In case of server errors clear resplen or *resplen2.
29631 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29632 when there are multiple maps.
29633 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29634 (_dl_fini): Remove test here.
29636 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29638 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29641 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29642 bit from old_res_options.
29643 (gaih_inet): Likewise.
29646 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29649 * resolv/res_init.c (res_setoptions): Make the code more compact.
29652 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29656 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29658 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29661 * malloc/malloc.h: Declare malloc hook variables as volatile.
29663 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29667 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29668 raise in the comment.
29669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29673 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29676 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29677 grow the buffers more if it already has to be sufficient.
29678 (build_wcs_upper_buffer): Likewise.
29679 * posix/regexec.c (check_matching): Likewise.
29680 (clean_state_log_if_needed): Likewise.
29681 (extend_buffers): Don't enlarge buffers beyond size of the input
29683 Patches mostly by Emil Wojak <emil@wojak.eu>.
29684 * posix/bug-regex32.c: New file.
29685 * posix/Makefile (tests): Add bug-regex32.
29687 * locale/findlocale.c (_nl_find_locale): Return right away if
29688 _nl_explode_name failed.
29689 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29691 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29693 * debug/xtrace.sh: Unify messages.
29694 * malloc/memusage.sh: Likewise.
29697 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29698 time symbol from vDSO. Substitute with vsyscall if not available.
29699 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29703 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29704 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29705 Add sendmmsg and internal_sendmmsg.
29706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29707 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29710 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29711 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29714 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29718 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29724 * iconvdata/Makefile (tests): Add bug-iconv9.
29725 * iconvdata/bug-iconv9.c: New file.
29727 2011-05-27 Andreas Schwab <schwab@redhat.com>
29730 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29732 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29735 (struct user_regs_struct): Change intcs field back to cs.
29737 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29739 * po/ja.po: Update from translation team.
29741 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29744 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29747 2011-05-20 Andreas Schwab <schwab@redhat.com>
29749 * stdlib/longlong.h: Update from GCC.
29751 2011-05-23 Andreas Schwab <schwab@redhat.com>
29753 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29755 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29756 Add parameter name.
29757 (__sysconf): Pass it down.
29759 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29762 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29765 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29766 add in in __libc_use_alloca calls. Adjust callers.
29767 (glob): Use malloc in some situations.
29769 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29770 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29773 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29775 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29776 and CLOCK_BOOTTIME_ALARM.
29779 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29782 * string/_strerror.c (__strerror_r): Print negative errors as signed
29786 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29787 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29788 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29790 * configure.in: Fix typo in redirection and correct removal of test
29791 files in two cases.
29794 * locale/setlocale.c (new_composite_name): Fix test to check for
29795 identical name of all categories.
29798 * libio/filedoalloc.c (local_isatty): New function.
29799 (_IO_file_doallocate): Use local_isatty.
29800 * stdio-common/perror.c (perror): In case a new stream is used
29801 forward the stream error.
29802 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29805 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29810 * include/alloca.h (extend_alloca_account): Define.
29813 * posix/regex.h: Fix comments with documentation of user-accessible
29814 fields after compilation and describe correct free'ing of pattern
29815 after re_compile_pattern.
29816 Patch by Reuben Thomas <rrt@sc3d.org>.
29818 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29820 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29821 and -mno-altivec to prevent the compiler from using Altivec and/or
29822 VSX instructions when the corresponding registers are not available.
29824 2011-05-19 Andreas Schwab <schwab@redhat.com>
29826 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29828 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29830 * libio/freopen.c (freopen): Use __dup2, not dup2.
29831 * libio/freopen64.c (freopen64): Likewise.
29833 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29836 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29837 * math/Makefile (tests): Add test-powl.
29838 (CFLAGS-test-powl.c): Define.
29839 * math/test-powl.c: New file.
29841 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29843 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29845 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29848 * iconvdata/gb18030.c: Update to GB18020-2005.
29850 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29852 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29853 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29854 Patch by Aharon Robbins <arnold@skeeve.com>.
29857 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29861 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29862 through underflows.
29865 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29866 point to strings before performing equality test for error_one_per_line
29870 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29874 (struct user_fpregs_struct): Avoid __uint*_t types.
29877 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29878 symbol info. Use it instead of calling _dl_addr locally.
29879 (lock_and_info): New function.
29880 (tr_freehook): Call lock_and_info and pass symbol info as additional
29881 parameter to tr_where.
29882 (tr_mallochook): Likewise.
29883 (tr_reallochook): Likewise.
29884 (tr_memalignhook): Likewise.
29886 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29887 used and couldn't be at all thread-safe.
29889 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29891 * libio/freopen.c (freopen): Don't close old file descriptor
29892 before the new one is opened. Instead dup the new file descriptor
29893 to the old one after the new stream is created.
29894 * libio/freopen64.c (freopen64): Likewise.
29895 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29896 * libio/fileops.c (_IO_new_file_close_it): Handle new
29897 _IO_FLAGS2_NOCLOSE flag.
29898 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29899 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29900 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29901 _IO_FLAGS2_NOCLOSE flag.
29902 * include/unistd.h: Add hidden_proto for dup3.
29903 Define __have_dup3.
29904 * io/dup3.c: Define hidden symbol.
29905 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29908 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29909 when an incomplete long option is used.
29910 * posix/tst-getopt_long1.c: New file.
29911 * posix/Makefile (tests): Add tst-getopt_long1.
29914 * scripts/config.guess: Update from autoconf-2.68.
29915 * scripts/config.sub: Likewise.
29918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29920 (has_cpuclock): ...this. New function.
29921 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29922 macro here based on has_cpuclock code.
29925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29926 First byte (not low byte) is now always NUL.
29927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29930 Use non-cancelable interfaces.
29933 * locale/iso-639.def: Add entry for Sorani.
29936 * include/stdlib.h: Move include protection to the right place.
29937 Define abort_msg_s. Declare __abort_msg with it.
29938 * stdlib/abort.c (__abort_msg): Adjust type.
29939 * assert/assert.c (__assert_fail_base): New function. Majority
29940 of code from __assert_fail. Allocate memory for __abort_msg with
29942 (__assert_fail): Now call __assert_fail_base.
29943 * assert/assert-perr.c: Remove bulk of implementation. Use
29944 __assert_fail_base.
29945 * include/assert.hL Declare __assert_fail_base.
29946 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29948 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29950 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29954 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29955 until all modules are registered in the DTV.
29956 * elf/Makefile: Add rules to build and run tst-tls19.
29957 * elf/tst-tls19.c: New file.
29958 * elf/tst-tls19mod1.c: New file.
29959 * elf/tst-tls19mod2.c: New file.
29960 * elf/tst-tls19mod3.c: New file.
29961 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29964 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29968 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29969 two-byte sequence errors.
29970 * iconvdata/Makefile (tests): Add bug-iconv8.
29971 * iconvdata/bug-iconv8.c: New file.
29974 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29977 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29980 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29981 (dummy_getcfa): New function.
29982 (init): Get _Unwind_GetCFA address, use dummy if not found.
29983 (backtrace_helper): In recursion check, also check whether CFA changes.
29984 (__backtrace): Completely initialize arg.
29986 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29987 storing incomplete byte sequence in state object. Avoid testing for
29988 guaranteed too small input if we know there is enough data available.
29990 2011-05-11 Andreas Schwab <schwab@redhat.com>
29992 * Makeconfig (+link-pie): Indent.
29993 * Rules (binaries-pie): Define if $(have-fpie) and
29995 (binaries-shared): Also filter out $(binaries-pie).
29996 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29997 * nscd/Makefile (others-pie): Add nscd.
29998 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29999 ($(objpfx)nscd): Remove command override.
30000 * login/Makefile (others-pie): Add pt_chown.
30001 ($(objpfx)pt_chown): Remove command override.
30002 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30003 remove command overrides.
30005 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30007 * libio/tst_putwc.c: Fix error messages.
30010 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30011 currently writing and seek to current position when not.
30012 * libio/Makefile (tests): Add bug-fclose1.
30013 * libio/bug-fclose1.c: New file.
30015 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30018 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30019 don't set DF_1_NODELETE here.
30020 (do_lookup_x): When entering new entry test for copy relocation
30021 and if necessary set DF_1_NODELETE flag.
30022 * elf/tst-unique4.cc: New file.
30023 * elf/tst-unique4.h: New file.
30024 * elf/tst-unique4lib.cc: New file.
30025 * elf/Makefile: Add rules to build and run tst-unique4.
30026 Patch by Piotr Bury <pbury@goahead.com>.
30028 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30031 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30034 * misc/mntent_r.c (addmntent): Flush the stream after the output
30037 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30038 (is_trusted_path_normalize): Skip initial colon. Append slash
30039 to empty buffer. Duplicate is_trusted_path code but allow
30040 constructed patch to be prefix.
30041 (is_dst): Allow $ORIGIN followed by /.
30042 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30043 Correct testing of result of is_trusted_path_normalize
30044 (decompose_rpath): Fix warning.
30046 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30049 * grp/initgroups.c (internal_getgrouplist): When we found the service
30050 list through the initgroups entry in nsswitch.conf do not always
30051 continue on a successful lookup. Don't always use the
30052 __nss_group_database value if it is set.
30053 * nss/nsswitch.conf (initgroups): Change action for successful db
30054 lookup to continue for compatibility.
30056 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30059 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30061 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30063 * iconvdata/tst-tables.sh: Likewise.
30064 * iconvdata/cp770.c: New file.
30065 * iconvdata/cp771.c: New file.
30066 * iconvdata/cp772.c: New file.
30067 * iconvdata/cp773.c: New file.
30068 * iconvdata/cp774.c: New file.
30069 * iconvdata/testdata/CP770: New file.
30070 * iconvdata/testdata/CP770..UTF8: New file.
30071 * iconvdata/testdata/CP771: New file.
30072 * iconvdata/testdata/CP771..UTF8: New file.
30073 * iconvdata/testdata/CP772: New file.
30074 * iconvdata/testdata/CP772..UTF8: New file.
30075 * iconvdata/testdata/CP773: New file.
30076 * iconvdata/testdata/CP773..UTF8: New file.
30077 * iconvdata/testdata/CP774: New file.
30078 * iconvdata/testdata/CP774..UTF8: New file.
30080 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30082 * iconvdata/gen-8bit-gap.sh: Likewise.
30083 * iconvdata/gen-8bit.sh: Likewise.
30085 * locale/iso-639.def: Add ary entry.
30088 * locale/C-translit.h.in: Add U20A1 transliteration.
30091 * locale/iso-639.def: Add wae entry.
30092 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30095 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30099 * locale/C-translit.h.in: Add entry for U20B9.
30100 Patch by pravin.d.s@gmail.com.
30102 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30105 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30106 ENAMETOOLONG use generic getcwd.
30107 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30108 in rtld. Use *stat64.
30109 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30110 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30111 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30112 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30113 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30114 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30115 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30116 __fstatat64 macros.
30117 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30118 * dirent/rewinddir.c: Add libc_hidden_def.
30119 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30120 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30122 * include/dirent.h (__alloc_dir): Add flags parameter.
30123 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30124 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30126 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30127 from fdopendir if O_CLOEXEC is already set.
30129 2011-03-15 Alan Modra <amodra@gmail.com>
30131 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30132 l_tls_firstbyte_offset non-zero. Save padding offset in
30133 l_tls_firstbyte_offset for later use.
30134 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30135 freeing static tls block.
30137 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30139 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30140 where #ifdef was intended. The intent is to prevent ARG_MAX from
30141 being defined by the kernel headers.
30143 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30146 * resolv/resolv.h: Define RES_NOTLDQUERY.
30147 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30148 no-tld-query and set RES_NOTLDQUERY.
30149 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30150 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30151 modern BIND to search name as TLD unless forbidden.
30153 2011-05-07 Petr Baudis <pasky@suse.cz>
30154 Ulrich Drepper <drepper@gmail.com>
30157 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30158 (is_trusted_path): ...to here.
30159 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30160 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30161 using is_trusted_path_normalize() in setuid scripts.
30163 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30166 __BEGIN/__END_DECLS.
30168 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30171 NSS_STATUS_NOTFOUND if no record was found.
30173 2011-05-05 Andreas Schwab <schwab@redhat.com>
30175 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30176 (headers-not-in-tirpc): Remove rpc/netdb.h
30177 * resolv/netdb.h: Revert last change.
30179 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30181 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30182 circular dependency between libgcc.a and libc.a.
30184 2011-05-05 Andreas Schwab <schwab@redhat.com>
30186 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30187 * nis/Makefile: Don't install rpcsvc/*.
30188 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30189 instead of <rpc/types.h>.
30190 (MAXHOSTNAMELEN): Define.
30192 2011-05-03 Andreas Schwab <schwab@redhat.com>
30194 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30196 2011-04-28 Maciej Babinski <mbabinski@google.com>
30199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30200 gethostbyname4_r when IPv6 results are possible.
30202 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30205 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30206 _PC_PIPE_BUF handling.
30208 2011-04-30 Bruno Haible <bruno@clisp.org>
30211 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30212 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30214 * inet/getnameinfo.c (getnameinfo): Likewise.
30216 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30218 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30219 to groups setting in database lookup.
30220 * nss/nsswitch.conf: Add initgroups entry.
30222 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30225 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30227 Patch by Eric Blake <eblake@redhat.com>.
30229 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30231 * sunrpc/Makefile (need-export-routines): Add svc_run.
30232 (routines): Remove svc_run.
30233 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30234 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30235 * sunrpc/svc_run.c (svc_run): Likewise.
30236 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30238 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30241 problem in reallocation in last patch.
30243 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30245 * sunrpc/Makefile: Move inclusion of Rules.
30247 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30249 * nss/nss_files/files-initgroups.c: New file.
30250 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30251 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30252 _nss_files_initgroups_dyn.
30254 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30256 * elf/elf.h (R_ARM_IRELATIVE): Define.
30258 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30260 * po/ru.po: Update from translation team.
30262 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30264 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30267 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30271 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30276 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30278 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30284 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30287 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30289 * stdlib/bug-getcontext.c: New file.
30290 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30292 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30294 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30295 instructions into .machine "z9-109".
30296 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30297 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30299 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30301 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30302 between environment variables and auxiliary vector.
30304 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30306 * Makefile: Add rules to build linkobj/libc.so.
30307 * include/libc-symbols.h: Define libc_hidden_nolink.
30308 * include/rpc/auth.h: Mark functions which are to be hidden.
30309 * include/rpc/auth_des.h: Likewise.
30310 * include/rpc/auth_unix.h: Likewise.
30311 * include/rpc/clnt.h: Likewise.
30312 * include/rpc/des_crypt.h: Likewise.
30313 * include/rpc/key_prot.h: Likewise.
30314 * include/rpc/pmap_clnt.h: Likewise.
30315 * include/rpc/pmap_prot.h: Likewise.
30316 * include/rpc/pmap_rmt.h: Likewise.
30317 * include/rpc/rpc_msg.h: Likewise.
30318 * include/rpc/svc.h: Likewise.
30319 * include/rpc/svc_auth.h: Likewise.
30320 * include/rpc/xdr.h: Likewise.
30321 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30322 * nss/Makefile: Likewise.
30323 * sunrpc/Makefile: Don't install headers. Build library with normal
30324 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30325 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30326 for the compat linking library. Remove use of INTDEF/INTUSE.
30327 * sunrpc/auth_none.c: Likewise.
30328 * sunrpc/auth_unix.c: Likewise.
30329 * sunrpc/authdes_prot.c: Likewise.
30330 * sunrpc/authuxprot.c: Likewise.
30331 * sunrpc/clnt_gen.c: Likewise.
30332 * sunrpc/clnt_perr.c: Likewise.
30333 * sunrpc/clnt_raw.c: Likewise.
30334 * sunrpc/clnt_simp.c: Likewise.
30335 * sunrpc/clnt_tcp.c: Likewise.
30336 * sunrpc/clnt_udp.c: Likewise.
30337 * sunrpc/clnt_unix.c: Likewise.
30338 * sunrpc/des_crypt.c: Likewise.
30339 * sunrpc/des_soft.c: Likewise.
30340 * sunrpc/get_myaddr.c: Likewise.
30341 * sunrpc/key_call.c: Likewise.
30342 * sunrpc/key_prot.c: Likewise.
30343 * sunrpc/netname.c: Likewise.
30344 * sunrpc/pm_getmaps.c: Likewise.
30345 * sunrpc/pm_getport.c: Likewise.
30346 * sunrpc/pmap_clnt.c: Likewise.
30347 * sunrpc/pmap_prot.c: Likewise.
30348 * sunrpc/pmap_prot2.c: Likewise.
30349 * sunrpc/pmap_rmt.c: Likewise.
30350 * sunrpc/publickey.c: Likewise.
30351 * sunrpc/rpc_cmsg.c: Likewise.
30352 * sunrpc/rpc_common.c: Likewise.
30353 * sunrpc/rpc_dtable.c: Likewise.
30354 * sunrpc/rpc_prot.c: Likewise.
30355 * sunrpc/rpc_thread.c: Likewise.
30356 * sunrpc/rtime.c: Likewise.
30357 * sunrpc/svc.c: Likewise.
30358 * sunrpc/svc_auth.c: Likewise.
30359 * sunrpc/svc_authux.c: Likewise.
30360 * sunrpc/svc_raw.c: Likewise.
30361 * sunrpc/svc_run.c: Likewise.
30362 * sunrpc/svc_simple.c: Likewise.
30363 * sunrpc/svc_tcp.c: Likewise.
30364 * sunrpc/svc_udp.c: Likewise.
30365 * sunrpc/svc_unix.c: Likewise.
30366 * sunrpc/svcauth_des.c: Likewise.
30367 * sunrpc/xcrypt.c: Likewise.
30368 * sunrpc/xdr.c: Likewise.
30369 * sunrpc/xdr_array.c: Likewise.
30370 * sunrpc/xdr_float.c: Likewise.
30371 * sunrpc/xdr_intXX_t.c: Likewise.
30372 * sunrpc/xdr_mem.c: Likewise.
30373 * sunrpc/xdr_rec.c: Likewise.
30374 * sunrpc/xdr_ref.c: Likewise.
30375 * sunrpc/xdr_sizeof.c: Likewise.
30376 * sunrpc/xdr_stdio.c: Likewise.
30378 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30381 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30382 * sysdeps/ia64/dl-tls.h: Likewise.
30383 * sysdeps/powerpc/dl-tls.h: Likewise.
30384 * sysdeps/s390/dl-tls.h: Likewise.
30385 * sysdeps/sh/dl-tls.h: Likewise.
30386 * sysdeps/sparc/dl-tls.h: Likewise.
30387 * sysdeps/x86_64/dl-tls.h: Likewise.
30388 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30390 2011-03-14 Andreas Schwab <schwab@redhat.com>
30392 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30393 rpath element also skip the following colon.
30394 (expand_dynamic_string_token): Add is_path parameter and pass
30395 down to DL_DST_REQUIRED and _dl_dst_substitute.
30396 (decompose_rpath): Call expand_dynamic_string_token with
30397 non-zero is_path. Ignore empty rpaths.
30398 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30401 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30406 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30409 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30410 Patch by Filipe David Manana <fdmanana@apache.org>.
30412 2011-04-07 Andreas Schwab <schwab@redhat.com>
30414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30415 Maintain aligned stack.
30416 (CHECK_RSP): Remove unused macro.
30418 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30420 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30423 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30425 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30427 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30429 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30432 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30433 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30434 * sysdeps/x86_64/memmove.c: New file.
30435 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30436 (memcpy): Renamed to ...
30437 (__new_memcpy): This.
30438 (memcpy): Provide GLIBC_2_14 memcpy.
30439 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30440 (memcpy): Provide GLIBC_2_2_5 memcpy.
30442 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30445 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30447 2011-03-30 Andreas Schwab <schwab@redhat.com>
30449 * misc/syncfs.c: New file.
30450 * misc/Makefile (routines): Add syncfs.
30451 * posix/unistd.h: Declare syncfs.
30452 * sysdeps/unix/syscalls.list: Add syncfs.
30454 2011-04-01 Andreas Schwab <schwab@redhat.com>
30456 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30463 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30476 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30477 sync_file_range.c with -fexceptions.
30478 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30479 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30480 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30481 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30482 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30485 sync_file_range as cancellation point
30486 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30487 now a wrapper around __call_sync_file_range with cancellation handling.
30488 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30489 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30490 function name to __call_sync_file_range.
30491 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30492 Add call_sync_file_range.
30494 2011-04-01 Andreas Schwab <schwab@redhat.com>
30496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30499 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30501 * iconv/iconv.h: Fix typo in comment.
30502 * io/fcntl.h: Likewise.
30503 * libio/stdio.h: Likewise.
30504 * posix/spawn.h: Likewise.
30505 * posix/unistd.h: Likewise.
30506 * stdlib/stdlib.h: Likewise.
30507 * time/time.h: Likewise.
30508 * wcsmbs/wchar.h: Likewise.
30510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30511 open_by_handle): Add.
30512 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30513 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30514 Augment a few comments.
30515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30520 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30523 * io/fcntl.h (AT_EMPTY_PATH): Define.
30525 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30527 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30528 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30529 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30531 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30532 * Versions.def: Add GLIBC_2.14.
30533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30536 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30540 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30542 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30545 * string/test-strncmp.c (do_page_test): New function.
30546 (check2): Likewise.
30547 (test_main): Call check2.
30548 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30550 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30554 Handle cache information in CPU leaf 4.
30555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30557 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30560 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30561 character representation.
30562 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30564 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30566 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30567 END(__isnan) to END(__isnanf) to match function entry point/label
30568 EALIGN(__isnanf,...).
30570 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30572 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30574 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30577 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30578 copy from the symbol referenced in the relocation to initialize the
30580 Patch by Piotr Bury <pbury@goahead.com>.
30581 * elf/Makefile: Add rules to build and tst-unique3.
30582 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30583 * elf/tst-unique3.cc: New file.
30584 * elf/tst-unique3.h: New file.
30585 * elf/tst-unique3lib.cc: New file.
30586 * elf/tst-unique3lib2.cc: New file.
30588 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30590 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30592 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30593 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30596 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30598 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30599 to-be-loaded object along a path to loader is ld.so.
30601 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30602 Ulrich Drepper <drepper@gmail.com>
30604 * sysdeps/x86_64/memset.S: After aligning destination, code
30605 branches to different locations depending on the value of
30606 misalignment, when multiarch is enabled. Fix this.
30608 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30610 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30611 Set _x86_64_preferred_memory_instruction for AMD processsors.
30612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30613 Set bit_Prefer_SSE_for_memop for AMD processors.
30615 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30617 * libio/fmemopen.c (fmemopen): Optimize a bit.
30619 2011-03-03 Andreas Schwab <schwab@redhat.com>
30621 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30623 2011-03-03 Roland McGrath <roland@redhat.com>
30625 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30627 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30629 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30630 __bzero_ultra1 instead of __memset_ultra1.
30632 2011-02-23 Andreas Schwab <schwab@redhat.com>
30633 Ulrich Drepper <drepper@gmail.com>
30636 * include/link.h (struct link_map): Add l_orig_initfini.
30637 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30638 returning unsuccessfully.
30639 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30640 close of a file loaded at startup, restore the original l_initfini
30642 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30643 list, store the pointer.
30644 * elf/Makefile ($(objpfx)noload-mem): New rule.
30645 (noload-ENV): Define.
30646 (tests): Add $(objpfx)noload-mem.
30647 * elf/noload.c: Include <memcheck.h>.
30648 (main): Call mtrace. Close all opened handles.
30650 2011-02-17 Andreas Schwab <schwab@redhat.com>
30653 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30654 dependencies are missing.
30656 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30658 Fix __if_freereq crash: Unlike the generic version which uses free,
30660 * sysdeps/mach/hurd/ifreq.h: New file.
30662 2011-01-27 Petr Baudis <pasky@suse.cz>
30663 Ulrich Drepper <drepper@gmail.com>
30666 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30667 to extend_alloca().
30668 * stdio-common/bug23.c: New file.
30669 * stdio-common/Makefile (tests): Add bug23.
30671 2010-09-28 Andreas Schwab <schwab@redhat.com>
30672 Ulrich Drepper <drepper@gmail.com>
30675 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30676 before performing relro protection. At old place add assertion
30677 to make sure nothing changed.
30679 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30680 Glauber de Oliveira Costa <glommer@gmail.com>
30682 * elf/elf.h: Add new ARM TLS relocs.
30684 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30687 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30689 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30691 * sysdeps/wordsize-64/tst-writev.c: New file.
30693 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30695 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30696 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30697 insns in _dl_start to prevent a TOC reference before relocs are
30700 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30703 * Makeconfig: Remove RANLIB definition.
30704 * Makerules: Don't use RANLIB.
30705 * aclocal.m4: Remove ranlib test.
30706 * configure.in: No need to check for ranlib.
30707 * elf/rtld-Rules: Don't use RANLIB.
30709 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30711 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30713 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30714 inclusion protection macro.
30716 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30717 SIGRTMIN and SIGRTMAX and print information in that case only when
30718 SIGRTMIN is defined.
30720 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30722 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30723 arginfo fn returning -1.
30725 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30726 and thousands string is zero terminated.
30728 2011-02-03 Andreas Schwab <schwab@redhat.com>
30730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30731 sysdeps/unix/sysv/linux/bits/socket.h.
30733 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30735 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30736 (__CPU_COUNT): Remove old macros.
30737 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30738 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30739 (__CPU_ALLOC, __CPU_FREE): Add macros.
30740 (__sched_cpualloc, __sched_cpufree): Add declarations.
30742 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30744 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30745 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30746 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30747 (readdhstai): Return value of addhstaiX call.
30748 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30749 (addgrbyX): Return value returned by cache_addgr.
30750 (readdgrbyname): Return value returned by addgrbyX.
30751 (readdgrbygid): Likewise.
30752 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30753 (addpwbyX): Return value returned by cache_addpw.
30754 (readdpwbyname): Return value returned by addhstbyX.
30755 (readdpwbyuid): Likewise.
30756 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30757 (addservbyX): Return value returned by cache_addserv.
30758 (readdservbyname): Return value returned by addservbyX:
30759 (readdservbyport): Likewise.
30760 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30761 (addhstbyX): Return value returned by cache_addhst.
30762 (readdhstbyname): Return value returned by addhstbyX.
30763 (readdhstbyaddr): Likewise.
30764 (readdhstbynamev6): Likewise.
30765 (readdhstbyaddrv6): Likewise.
30766 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30767 (readdinitgroups): Return value returned by addinitgroupsX.
30768 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30769 (prune_cache): Keep track of timeout value of re-added entries.
30770 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30771 * nscd/nscd.h: Adjust prototypes of readd* functions.
30773 2011-02-04 Roland McGrath <roland@redhat.com>
30775 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30776 (nis_stats): Likewise.
30777 * nis/nis_modify.c (nis_modify): Likewise.
30778 * nis/nis_remove.c (nis_remove): Likewise.
30779 * nis/nis_add.c (nis_add): Likewise.
30781 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30783 * posix/fnmatch_loop.c: Add some consts.
30785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30787 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30790 * config.make.in (config-cflags-novzeroupper): Define.
30791 * configure.in: Substitute libc_cv_cc_novzeroupper.
30792 * elf/Makefile (AVX-CFLAGS): Define.
30793 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30794 (CFLAGS-tst-auditmod4a.c): Likewise.
30795 (CFLAGS-tst-auditmod4b.c): Likewise.
30796 (CFLAGS-tst-auditmod6b.c): Likewise.
30797 (CFLAGS-tst-auditmod6c.c): Likewise.
30798 (CFLAGS-tst-auditmod7b.c): Likewise.
30799 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30801 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30803 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30804 function to the callback.
30805 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30807 2011-02-02 Andreas Schwab <schwab@redhat.com>
30809 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30812 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30815 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30817 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30819 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30822 * elf/Makefile: Add rules to build and run new test.
30823 * elf/tst-initorder.c: New file.
30824 * elf/tst-initorder.exp: New file.
30825 * elf/tst-initordera1.c: New file.
30826 * elf/tst-initordera2.c: New file.
30827 * elf/tst-initordera3.c: New file.
30828 * elf/tst-initordera4.c: New file.
30829 * elf/tst-initorderb1.c: New file.
30830 * elf/tst-initorderb2.c: New file.
30831 * elf/tst-order-a1.c: New file.
30832 * elf/tst-order-a2.c: New file.
30833 * elf/tst-order-a3.c: New file.
30834 * elf/tst-order-a4.c: New file.
30835 * elf/tst-order-b1.c: New file.
30836 * elf/tst-order-b2.c: New file.
30837 * elf/tst-order-main.c: New file.
30838 New test case by George Gensure <werkt0@gmail.com>.
30840 2010-10-01 Andreas Schwab <schwab@redhat.com>
30842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30843 decoding ACE if AI_CANONIDN.
30845 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30847 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30849 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30851 * version.h (RELEASE): Bump for 2.13 release.
30852 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30854 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30858 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30863 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30865 * posix/getconf.c: Update copyright year.
30866 * catgets/gencat.c: Likewise.
30867 * csu/version.c: Likewise.
30868 * debug/catchsegv.sh: Likewise.
30869 * debug/xtrace.sh: Likewise.
30870 * elf/ldconfig.c: Likewise.
30871 * elf/ldd.bash.in: Likewise.
30872 * elf/sprof.c (print_version): Likewise.
30873 * iconv/iconv_prog.c: Likewise.
30874 * iconv/iconvconfig.c: Likewise.
30875 * locale/programs/locale.c: Likewise.
30876 * locale/programs/localedef.c: Likewise.
30877 * malloc/memusage.sh: Likewise.
30878 * malloc/mtrace.pl: Likewise.
30879 * nscd/nscd.c (print_version): Likewise.
30880 * nss/getent.c: Likewise.
30882 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30883 PF_CAIF, and PF_ALG.
30884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30886 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30888 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30889 (modules-names): Use them.
30890 (ifunc-test-modules, ifunc-pie-tests): Define.
30891 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30892 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30893 (test-extras): Likewise.
30894 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30895 $(compile-command.c).
30896 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30897 (all-built-dso): Define.
30898 (check-textrel.out, check-execstack.out): Depend on it.
30900 * configure.in: Don't override --enable-multi-arch.
30902 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30905 * nscd/hstcache.c (tryagain): Define.
30906 (cache_addhst): Return tryagain not notfound for temporary errors.
30907 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30910 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30913 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30914 to make the syscall.
30915 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30918 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30919 and fall back to matching as normal character if the string ends before
30920 the matching ']' is found. This is what POSIX requires.
30921 * posix/testfnm.c: Adjust test result.
30922 * posix/globtest.sh: Adjust test result. Add new test.
30923 * posix/tst-fnmatch.input: Likewise.
30924 * posix/tst-fnmatch2.c: Add new test.
30926 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30928 * elf/Makefile (check-execstack): Revert last change. Depend on
30930 (check-execstack.h): New target.
30931 (generated): Add check-execstack.h.
30932 * elf/check-execstack.c: Include "check-execstack.h".
30933 (main): Revert last change.
30934 (handle_file): Return zero if GNU_STACK is absent and
30935 DEFAULT_STACK_PERMS doesn't include PF_X.
30937 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30939 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30940 in child fails because the descriptor is already closed.
30941 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30942 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30946 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30950 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30951 temporary buffer used to handle multi lookups locally.
30952 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30954 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30956 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30959 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30961 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30962 alignment for SSE2.
30964 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30967 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30968 characters. When rounding increased number of integer digits recompute
30970 * stdio-common/tst-grouping.c: New file.
30971 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30973 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30975 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30976 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30978 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30980 * bits/select.h: Likewise.
30982 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30984 * po/ja.po: Update from translation team.
30986 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30989 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30990 implementation just like for lxstat, fxstatat, et al.
30992 2010-12-27 Jim Meyering <meyering@redhat.com>
30995 * posix/regexec.c (build_trtable): Return failure indication upon
30996 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30998 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31001 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31002 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31007 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31010 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31011 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31013 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31015 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31016 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31017 script has SORT_BY_INIT_PRIORITY.
31018 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31019 NO_CTORS_DTORS_SECTIONS is defined.
31020 * elf/soinit.c: Likewise.
31021 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31022 NO_CTORS_DTORS_SECTIONS is defined.
31023 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31024 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31025 * sysdeps/sh/init-first.c: Likewise.
31026 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31028 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31030 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31031 always use the slow path.
31033 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31035 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31036 similar rule which adds the sysdep directories to the header search in
31037 order to pick up the correct platform stackinfo.h.
31038 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31039 perform test if it is, otherwise return successfully without testing.
31040 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31041 DEFAULT_STACK_PERMS define in stackinfo.h.
31042 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31043 defined in stackinfo.h.
31044 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31045 DEFAULT_STACK_PERMS defined in stackinfo.h.
31046 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31047 * sysdeps/ia64/stackinfo.h: Likewise.
31048 * sysdeps/s390/stackinfo.h: Likewise.
31049 * sysdeps/sh/stackinfo.h: Likewise.
31050 * sysdeps/sparc/stackinfo.h: Likewise.
31051 * sysdeps/x86_64/stackinfo.h: Likewise.
31052 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31053 PF_X for powerpc64. Retain PF_X for powerpc32.
31055 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31057 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31059 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31060 GETDENTS_64BIT_ALIGNED.
31062 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31064 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31066 2010-12-10 Andreas Schwab <schwab@redhat.com>
31068 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31071 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31072 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31074 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31075 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31077 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31080 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31083 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31085 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31087 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31089 * po/it.po: Update from translation team.
31091 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31096 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31098 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31100 2010-11-24 Andreas Schwab <schwab@redhat.com>
31102 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31104 (gaih_getanswer_slice): Likewise.
31106 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31110 2010-05-31 Petr Baudis <pasky@suse.cz>
31113 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31114 silently even in the chroot mode.
31116 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31118 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31119 last patch a bit. Pretty printing
31121 2010-05-31 Petr Baudis <pasky@suse.cz>
31124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31125 initialization of skip_initgroups_dyn.
31127 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31132 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31134 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31136 2010-11-11 Andreas Schwab <schwab@redhat.com>
31138 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31139 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31140 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31141 ($(objpfx)tst-fnmatch-mem): New rule.
31142 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31143 * posix/tst-fnmatch.c (main): Call mtrace.
31145 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31148 Support Intel processor model 6 and model 0x2c.
31150 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31155 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31158 * string/test-strncasecmp.c (check_result): New function.
31159 (do_one_test): Use it.
31160 (check1): New function.
31161 (test_main): Use it.
31162 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31163 Support strcasecmp and strncasecmp.
31165 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31168 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31171 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31173 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31177 * sysdeps/x86_64/multiarch/bzero.S: New file.
31178 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31179 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31180 * sysdeps/x86_64/multiarch/memset.S: New file.
31181 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31183 Set bit_Prefer_SSE_for_memop for Intel processors.
31184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31186 (index_Prefer_SSE_for_memop): Define.
31187 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31189 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31191 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31192 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31194 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31197 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31198 (__x86_64_raw_data_cache_size_half): Likewise.
31199 (__x86_64_raw_shared_cache_size): Likewise.
31200 (__x86_64_raw_shared_cache_size_half): Likewise.
31202 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31203 (__x86_64_raw_data_cache_size_half): Likewise.
31204 (__x86_64_raw_shared_cache_size): Likewise.
31205 (__x86_64_raw_shared_cache_size_half): Likewise.
31206 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31207 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31208 and __x86_64_raw_shared_cache_size_half. Round
31209 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31210 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31211 to multiple of 256 bytes.
31213 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31217 of inacessible symlinks. Verify result of symlink before returning it.
31218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31219 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31221 2010-10-28 Erich Ritz <erichritz@gmail.com>
31223 * math/math.h (isinf): Fix typo in comment.
31225 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31227 * po/da.po: Update from translation team.
31229 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31231 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31232 is added to the list.
31234 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31235 Ulrich Drepper <drepper@gmail.com>
31237 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31238 the global list here. Move code to...
31239 (_dl_add_to_namespace_list): ...here. New function.
31240 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31241 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31242 * elf/dl-load.c (lose): Don't remove the element from the list.
31243 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31244 (_dl_map_object): Likewise.
31246 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31249 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31250 into all bytes of SSE register.
31251 Patch by Richard Li <richardpku@gmail.com>.
31253 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31256 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31259 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31261 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31262 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31263 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31264 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31269 2010-10-22 Andreas Schwab <schwab@redhat.com>
31271 * include/dlfcn.h (__RTLD_SECURE): Define.
31272 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31273 mode & __RTLD_SECURE instead.
31274 (open_path): Rename preloaded parameter to secure.
31275 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31276 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31277 * elf/dl-deps.c (openaux): Likewise.
31278 * elf/rtld.c (struct map_args): Remove is_preloaded.
31279 (map_doit): Don't use it.
31280 (dl_main): Likewise.
31281 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31282 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31284 2010-09-09 Andreas Schwab <schwab@redhat.com>
31286 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31287 (sysd-rules-targets): Remove duplicates.
31288 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31289 rtld-%.$o dependency.
31291 2010-10-18 Andreas Schwab <schwab@redhat.com>
31293 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31294 _dl_map_object do it.
31296 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31298 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31299 fast fma builtins, define the macros in the C99 standard.
31300 (FP_FAST_FMAF): Likewise.
31301 (FP_FAST_FMAL): Likewise.
31302 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31304 * bits/mathdef.h: Update copyright year.
31305 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31307 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31309 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31310 builtins, define the macros in the C99 standard.
31311 (FP_FAST_FMAF): Likewise.
31312 (FP_FAST_FMAL): Likewise.
31313 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31315 (FP_FAST_FMAF): Likewise.
31317 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31320 * math/libm-test.inc (fma_test): Some new testcases.
31321 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31323 y and infinite z. Do multiplication by C already in long double.
31324 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31326 y and infinite z. Do bitwise or of inexact bit into u.d.
31327 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31328 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31329 * sysdeps/i386/fpu/s_fma.S: Removed.
31330 * sysdeps/i386/fpu/s_fmal.S: Removed.
31332 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31335 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31337 computation is not scheduled after fetestexcept. Fix value
31338 of minimum denormal long double.
31340 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31343 * math/libm-test.inc (fma_test): Add some more tests.
31344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31347 2010-10-15 Andreas Schwab <schwab@redhat.com>
31349 * scripts/data/localplt-s390-linux-gnu.data: New file.
31350 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31352 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31355 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31356 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31358 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31360 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31362 if one of x and y is very large and the other is subnormal.
31363 * sysdeps/s390/fpu/s_fmaf.c: New file.
31364 * sysdeps/s390/fpu/s_fma.c: New file.
31365 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31366 * sysdeps/powerpc/fpu/s_fma.S: New file.
31367 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31368 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31369 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31371 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31374 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31376 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31377 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31378 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31379 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31380 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31381 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31382 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31384 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31387 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31388 * posix/bug-regex31.input: Add test case.
31390 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31392 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31393 * posix/bug-regex31.input: New file.
31396 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31397 (parse_sub_exp): Fix last change, use postorder.
31399 * posix/bug-regex31.c: New file.
31400 * posix/Makefile: Add rules to build and run bug-regex31.
31402 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31405 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31408 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31409 to have entries in sys_siglist.
31412 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31415 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31418 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31419 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31420 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31421 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31422 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31423 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31424 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31425 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31426 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31427 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31428 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31429 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31431 * math/ftestexcept.c (fetestexcept): Likewise.
31432 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31433 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31434 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31435 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31436 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31437 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31440 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31443 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31446 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31448 * string/bug-strstr1.c: New file.
31449 * string/Makefile: Add rules to build and run bug-strstr1.
31451 2010-10-05 Eric Blake <eblake@redhat.com>
31454 * string/str-two-way.h (two_way_long_needle): Always clear memory
31455 when skipping input due to the shift table.
31457 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31460 * malloc/mcheck.c: Handle large requests.
31463 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31464 for strncmp and strncasecmp.
31465 * string/stratcliff.c: Add tests for strcmp and strncmp.
31466 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31468 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31470 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31473 2010-09-30 Andreas Jaeger <aj@suse.de>
31475 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31476 (CGROUP_SUPER_MAGIC): Define.
31477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31478 Handle btrfs and cgroup file systems.
31479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31482 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31484 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31485 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31487 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31490 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31491 trying to locate the ELF header.
31493 2010-09-27 Andreas Schwab <schwab@redhat.com>
31496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31497 Mask out sign-bit copies when constructing f_fsid.
31499 2010-09-24 Petr Baudis <pasky@suse.cz>
31501 * debug/stack_chk_fail_local.c: Add missing licence exception.
31502 * debug/warning-nop.c: Likewise.
31504 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31507 implementing getdents64 using getdents syscall, set d_type if
31508 __ASSUME_GETDENTS32_D_TYPE.
31510 2010-09-16 Andreas Schwab <schwab@redhat.com>
31512 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31513 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31515 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31518 * posix/unistd.h: Undo change of feature selection for ftruncate from
31521 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31523 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31526 2010-09-20 Andreas Schwab <schwab@redhat.com>
31528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31532 2010-09-14 Andreas Schwab <schwab@redhat.com>
31534 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31535 variables after CHECK_SP call.
31536 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31538 2010-09-13 Andreas Schwab <schwab@redhat.com>
31539 Ulrich Drepper <drepper@redhat.com>
31541 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31542 re-relocationg ld.so.
31543 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31544 _dl_init_paths call.
31545 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31548 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31550 * resolv/res_init.c (__res_vinit): Count the default server we added.
31552 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31553 Ulrich Drepper <drepper@redhat.com>
31556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31557 (____longjmp_chk): Use %ebx for saving value across system call.
31560 2010-09-06 Andreas Schwab <schwab@redhat.com>
31562 * manual/Makefile: Don't mix pattern rules with normal rules.
31564 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31566 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31568 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31569 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31570 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31571 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31575 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31578 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31579 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31581 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31583 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31584 * sysdeps/x86_64/addmul_1.S: Likewise.
31585 * sysdeps/x86_64/lshift.S: Likewise.
31586 * sysdeps/x86_64/mul_1.S: Likewise.
31587 * sysdeps/x86_64/rshift.S: Likewise.
31588 * sysdeps/x86_64/sub_n.S: Likewise.
31589 * sysdeps/x86_64/submul_1.S: Likewise.
31591 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31593 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31594 Define __sched_param instead of SCHED_* and sched_param when
31595 <bits/sched.h> is included with __need_schedparam defined.
31596 * bits/sched.h [__need_schedparam]
31597 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31598 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31599 (__defined_schedparam): Define to 1.
31600 (__sched_param): New structure, identical to sched_param.
31601 (__need_schedparam): Undefine.
31603 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31605 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31606 (epoll_create1): Declare.
31608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31610 2010-08-31 Andreas Schwab <schwab@redhat.com>
31613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31614 shifting retval into place.
31616 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31618 * nis/rpcsvc/nis.h: Update copyright notice.
31619 * nis/rpcsvc/nis.x: Likewise.
31620 * nis/rpcsvc/nis_callback.h: Likewise.
31621 * nis/rpcsvc/nis_callback.x: Likewise.
31622 * nis/rpcsvc/nis_object.x: Likewise.
31623 * nis/rpcsvc/nis_tags.h: Likewise.
31624 * nis/rpcsvc/yp.h: Likewise.
31625 * nis/rpcsvc/yp.x: Likewise.
31626 * nis/rpcsvc/ypupd.h: Likewise.
31627 * nis/yp_xdr.c: Likewise.
31628 * nis/ypupdate_xdr.c: Likewise.
31630 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31631 mainly the body of pmap_getport. Add parameters to specify timeouts.
31632 (pmap_getport): Use __libc_rpc_getport.
31633 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31634 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31635 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31637 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31642 2010-08-27 Roland McGrath <roland@redhat.com>
31644 * sysdeps/i386/i686/multiarch/Makefile
31645 (CFLAGS-varshift.c): New variable.
31647 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31649 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31650 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31654 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31656 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31658 * sysdeps/x86_64/strlen.S: Unroll the loop.
31659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31660 strlen-sse2 strlen-sse2-bsf.
31661 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31662 __strlen_no_bsf if bit_Slow_BSF is set.
31663 (__strlen_sse42): Removed.
31664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31665 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31667 2010-08-25 Roland McGrath <roland@redhat.com>
31669 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31670 * sysdeps/x86_64/multiarch/varshift.c: New file.
31671 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31672 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31673 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31676 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31679 strlen-sse2 strlen-sse2-bsf.
31680 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31681 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31682 (__strlen_sse2): Removed.
31683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31686 bit_Slow_BSF for Atom.
31687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31688 (index_Slow_BSF): Define.
31689 (HAS_SLOW_BSF): Define.
31691 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31694 * resolv/res_init.c (__res_vinit): When no server address at all
31695 is given default to loopback.
31697 2010-08-24 Roland McGrath <roland@redhat.com>
31699 * configure.in: Remove config-name.h generation.
31700 * configure: Regenerated.
31701 * config-name.in: File removed.
31702 * scripts/config-uname.sh: New file.
31703 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31704 ($(objdir)config-name.h): New target.
31706 * sunrpc/rpc_parse.h: Avoid nested comment.
31708 2010-08-24 Richard Henderson <rth@redhat.com>
31709 Ulrich Drepper <drepper@redhat.com>
31710 H.J. Lu <hongjiu.lu@intel.com>
31712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31714 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31715 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31716 _mm_alignr_epi8 with _mm_loadu_si128.
31717 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31718 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31719 (__m128i_shift_right): Removed.
31720 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31721 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31722 * sysdeps/x86_64/multiarch/varshift.h: New file.
31723 * sysdeps/x86_64/multiarch/varshift.S: New file.
31725 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31727 * configure.in: Move assembler checks to before sysdep dir checking.
31729 2010-08-20 Petr Baudis <pasky@suse.cz>
31731 * LICENSES: Sync the sunrpc license.
31733 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31735 * sunrpc/auth_des.c: Update copyright notice once again.
31736 * sunrpc/auth_none.c: Likewise.
31737 * sunrpc/auth_unix.c: Likewise.
31738 * sunrpc/authdes_prot.c: Likewise.
31739 * sunrpc/authuxprot.c: Likewise.
31740 * sunrpc/bindrsvprt.c: Likewise.
31741 * sunrpc/clnt_gen.c: Likewise.
31742 * sunrpc/clnt_perr.c: Likewise.
31743 * sunrpc/clnt_raw.c: Likewise.
31744 * sunrpc/clnt_simp.c: Likewise.
31745 * sunrpc/clnt_tcp.c: Likewise.
31746 * sunrpc/clnt_udp.c: Likewise.
31747 * sunrpc/clnt_unix.c: Likewise.
31748 * sunrpc/des_crypt.c: Likewise.
31749 * sunrpc/des_soft.c: Likewise.
31750 * sunrpc/get_myaddr.c: Likewise.
31751 * sunrpc/getrpcport.c: Likewise.
31752 * sunrpc/key_call.c: Likewise.
31753 * sunrpc/key_prot.c: Likewise.
31754 * sunrpc/openchild.c: Likewise.
31755 * sunrpc/pm_getmaps.c: Likewise.
31756 * sunrpc/pm_getport.c: Likewise.
31757 * sunrpc/pmap_clnt.c: Likewise.
31758 * sunrpc/pmap_prot.c: Likewise.
31759 * sunrpc/pmap_prot2.c: Likewise.
31760 * sunrpc/pmap_rmt.c: Likewise.
31761 * sunrpc/rpc/auth.h: Likewise.
31762 * sunrpc/rpc/auth_unix.h: Likewise.
31763 * sunrpc/rpc/clnt.h: Likewise.
31764 * sunrpc/rpc/des_crypt.h: Likewise.
31765 * sunrpc/rpc/key_prot.h: Likewise.
31766 * sunrpc/rpc/netdb.h: Likewise.
31767 * sunrpc/rpc/pmap_clnt.h: Likewise.
31768 * sunrpc/rpc/pmap_prot.h: Likewise.
31769 * sunrpc/rpc/pmap_rmt.h: Likewise.
31770 * sunrpc/rpc/rpc.h: Likewise.
31771 * sunrpc/rpc/rpc_des.h: Likewise.
31772 * sunrpc/rpc/rpc_msg.h: Likewise.
31773 * sunrpc/rpc/svc.h: Likewise.
31774 * sunrpc/rpc/svc_auth.h: Likewise.
31775 * sunrpc/rpc/types.h: Likewise.
31776 * sunrpc/rpc/xdr.h: Likewise.
31777 * sunrpc/rpc_clntout.c: Likewise.
31778 * sunrpc/rpc_cmsg.c: Likewise.
31779 * sunrpc/rpc_common.c: Likewise.
31780 * sunrpc/rpc_cout.c: Likewise.
31781 * sunrpc/rpc_dtable.c: Likewise.
31782 * sunrpc/rpc_hout.c: Likewise.
31783 * sunrpc/rpc_main.c: Likewise.
31784 * sunrpc/rpc_parse.c: Likewise.
31785 * sunrpc/rpc_parse.h: Likewise.
31786 * sunrpc/rpc_prot.c: Likewise.
31787 * sunrpc/rpc_sample.c: Likewise.
31788 * sunrpc/rpc_scan.c: Likewise.
31789 * sunrpc/rpc_scan.h: Likewise.
31790 * sunrpc/rpc_svcout.c: Likewise.
31791 * sunrpc/rpc_tblout.c: Likewise.
31792 * sunrpc/rpc_util.c: Likewise.
31793 * sunrpc/rpc_util.h: Likewise.
31794 * sunrpc/rpcinfo.c: Likewise.
31795 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31796 * sunrpc/rpcsvc/key_prot.x: Likewise.
31797 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31798 * sunrpc/rpcsvc/mount.x: Likewise.
31799 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31800 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31801 * sunrpc/rpcsvc/rex.x: Likewise.
31802 * sunrpc/rpcsvc/rstat.x: Likewise.
31803 * sunrpc/rpcsvc/rusers.x: Likewise.
31804 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31805 * sunrpc/rpcsvc/spray.x: Likewise.
31806 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31807 * sunrpc/rtime.c: Likewise.
31808 * sunrpc/svc.c: Likewise.
31809 * sunrpc/svc_auth.c: Likewise.
31810 * sunrpc/svc_authux.c: Likewise.
31811 * sunrpc/svc_raw.c: Likewise.
31812 * sunrpc/svc_run.c: Likewise.
31813 * sunrpc/svc_simple.c: Likewise.
31814 * sunrpc/svc_tcp.c: Likewise.
31815 * sunrpc/svc_udp.c: Likewise.
31816 * sunrpc/svc_unix.c: Likewise.
31817 * sunrpc/svcauth_des.c: Likewise.
31818 * sunrpc/xcrypt.c: Likewise.
31819 * sunrpc/xdr.c: Likewise.
31820 * sunrpc/xdr_array.c: Likewise.
31821 * sunrpc/xdr_float.c: Likewise.
31822 * sunrpc/xdr_mem.c: Likewise.
31823 * sunrpc/xdr_rec.c: Likewise.
31824 * sunrpc/xdr_ref.c: Likewise.
31825 * sunrpc/xdr_sizeof.c: Likewise.
31826 * sunrpc/xdr_stdio.c: Likewise.
31828 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31831 2010-08-19 Andreas Schwab <schwab@redhat.com>
31833 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31835 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31837 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31839 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31840 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31842 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31843 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31844 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31847 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31849 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31850 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31852 2010-07-26 Anton Blanchard <anton@samba.org>
31854 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31855 * malloc/arena.c (heap_trim): Likewise.
31857 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31859 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31862 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31864 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31866 * sysdeps/i386/elf/Makefile: New file.
31868 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31870 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31871 from fanotify_init.
31872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31875 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31877 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31879 * sysdeps/multiarch/strcmp.S: Likewise.
31881 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31884 strncase_l-nonascii.
31885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31886 Add strncase_l-ssse3.
31887 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31888 * sysdeps/x86_64/strcmp.S: Likewise.
31889 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31890 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31891 * sysdeps/x86_64/strncase.S: New file.
31892 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31893 * sysdeps/x86_64/strncase_l.S: New file.
31894 * string/Makefile (strop-tests): Add strncasecmp.
31895 * string/test-strncasecmp.c: New file.
31897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31900 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31903 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31905 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31907 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31909 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31910 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31911 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31913 2010-05-01 Alan Modra <amodra@gmail.com>
31915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31916 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31917 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31918 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31919 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31920 tidying. Don't tail-call __sigjmp_save for static lib.
31921 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31923 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31924 (CALL_MCOUNT): Add eh info, and nop after bl.
31925 (TAIL_CALL_SYSCALL_ERROR): New macro.
31926 (PSEUDO_RET): Use it.
31927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31928 Correct save location of integer regs and cr.
31929 (_dl_profile_resolve): Correct cr save location. Delete nops
31930 after bl when SHARED. Reduce cfi size a little by better
31931 placement of cfi directives.
31932 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31933 make a stack frame. Instead use parm save area as a temp.
31934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31935 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31937 Don't make a stack frame for parent, use parm save area.
31938 Increase child stack frame to 112 bytes. Don't save unused reg,
31939 and adjust reg usage. Set up cfi on error recovery and
31940 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31942 (__makecontext): Add dummy nop after jump to exit.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31944 Use correct parm save area and cr save, reduce stack frame.
31945 Correct cfi for possible PSEUDO_RET frame setup.
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31947 Branch to local label emitted by PSEUDO_RET rather than
31950 2010-08-12 Andreas Schwab <schwab@redhat.com>
31953 * locale/programs/locale.c (print_assignment): New function.
31954 (show_locale_vars): Use it.
31956 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31958 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31960 (struct statfs64): Likewise.
31961 (_STATFS_F_FLAGS): Define.
31962 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31964 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31965 (ST_VALID): Define locally.
31966 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31967 __statvfs_getflags, use the provided value.
31968 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31969 __ASSUME_STATFS_F_FLAGS.
31971 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31974 Add sys/fanotify.h.
31975 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31976 fanotify_mask for GLIBC_2.13.
31977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31978 fanotify_init and fanotify_mark.
31979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31980 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31982 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31984 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31985 prlimit64 for GLIBC_2.13.
31986 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31991 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31996 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31999 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32000 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32002 * nss/Makefile: Add rules to build and run tst-nss-test1.
32003 * shlib-versions: Add entry for libnss_test1.
32004 * nss/nss_test1.c: New file.
32005 * nss/tst-nss-test1.c: New file.
32007 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32008 (__nss_configure_lookup): Set appropriate entry in
32009 __nss_configure_lookup to true.
32010 * nss/nsswitch.h: Define enum with indeces of databases in
32011 databases and __nss_database_custom arrays. Declare
32012 __nss_database_custom.
32013 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32014 to avoid using nscd when custom rules are installed.
32015 * nss/getXXbyYY_r.c: Likewise.
32016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32018 * nss/nss_files/files-parse.c: Whitespace fixes.
32020 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32023 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32024 * posix/fnmatch_loop.c: Likewise.
32026 2010-07-17 Andi Kleen <ak@linux.intel.com>
32028 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32029 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32030 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32031 * Versions.def [GLIBC_2.13]: Add.
32033 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32036 Also fail if tpwd after pwuid call is NULL.
32038 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32040 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32041 when converting to ms.
32043 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32045 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32046 EOPNOTSUPP errors with ENOTTY.
32047 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32048 EOPNOTSUPP errors with ENOTTY.
32050 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32053 Add strcasecmp_l-ssse3.
32054 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32056 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32058 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32060 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32062 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32064 * string/Makefile (strop-tests): Add strcasecmp.
32065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32066 strcasecmp_l-nonascii.
32067 (gen-as-const-headers): Add locale-defines.sym.
32068 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32069 * sysdeps/x86_64/strcasecmp.S: New file.
32070 * sysdeps/x86_64/strcasecmp_l.S: New file.
32071 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32072 * sysdeps/x86_64/locale-defines.sym: New file.
32073 * string/test-strcasecmp.c: New file.
32075 * string/test-strcasestr.c: Test both ends of the range of characters.
32076 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32078 2010-07-29 Roland McGrath <roland@redhat.com>
32081 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32083 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32085 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32088 2010-07-27 Andreas Schwab <schwab@redhat.com>
32090 * manual/memory.texi (Malloc Tunable Parameters): Document
32093 2010-07-26 Roland McGrath <roland@redhat.com>
32096 * configure.in (-fgnu89-inline check): Set and substitute
32097 gnu89_inline, not libc_cv_gnu89_inline.
32098 * configure: Regenerated.
32099 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32101 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32103 * string/test-strnlen.c: New file.
32104 * string/Makefile (strop-tests): Add strnlen.
32105 * string/tester.c (test_strnlen): Add a few more test cases.
32106 * string/tst-strlen.c: Better error reporting.
32108 * sysdeps/x86_64/strnlen.S: New file.
32110 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32113 lower-latency instructions.
32115 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32117 * string/test-strcasestr.c: New file.
32118 * string/test-strstr.c: New file.
32119 * string/Makefile (strop-tests): Add strstr and strcasestr.
32120 * string/str-two-way.h: Don't undefine MAX.
32121 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32123 2010-07-21 Andreas Schwab <schwab@redhat.com>
32125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32126 strcasestr-nonascii.
32127 (CFLAGS-strcasestr-nonascii.c): Define.
32128 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32130 Remove unused attribute.
32132 2010-07-20 Roland McGrath <roland@redhat.com>
32134 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32135 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32136 ld.so.cache was broken. With it, there is no way to disable dsocaps
32137 like LD_HWCAP_MASK can disable hwcaps.
32139 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32141 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32143 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32145 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32146 call in strcasestr.
32147 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32148 __strcasestr_sse42_nonascii.
32149 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32150 strcasestr-nonascii.c.
32151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32153 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32156 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32160 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32165 2010-07-06 Andreas Schwab <schwab@redhat.com>
32168 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32171 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32174 _PC_PIPE_BUF using F_GETPIPE_SZ.
32176 2010-07-05 Roland McGrath <roland@redhat.com>
32178 * manual/arith.texi (Rounding Functions): Fix rint description
32179 implicit in round description.
32181 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32183 * elf/Makefile: Fix linking for a few tests to make recent linker
32186 2010-06-30 Andreas Schwab <schwab@redhat.com>
32188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32189 $(common-objpfx)libc_nonshared.a.
32191 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32193 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32194 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32195 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32196 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32197 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32198 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32200 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32215 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32216 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32217 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32218 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32219 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32220 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32221 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32222 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32223 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32224 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32225 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32226 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32242 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32244 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32245 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32246 * string/memmove.c (memmove): Renamed to ...
32247 (MEMMOVE): ...this. Default to memmove.
32248 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32249 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32252 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32253 mempcpy-ssse3-back memmove-ssse3-back.
32254 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32257 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32258 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32259 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32260 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32261 * sysdeps/x86_64/multiarch/memmove.c: New file.
32262 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32263 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32264 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32265 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32269 (index_Fast_Copy_Backward): Define.
32270 (HAS_ARCH_FEATURE): Define.
32271 (HAS_FAST_REP_STRING): Define.
32272 (HAS_FAST_COPY_BACKWARD): Define.
32274 2010-06-21 Andreas Schwab <schwab@redhat.com>
32276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32277 Restore proper fallback handling.
32279 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32282 * posix/group_member.c (__group_member): Correct checking loop.
32284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32285 OOM in getpwuid_r correctly. Return error number when the caller
32286 should return, otherwise -1.
32287 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32288 call returning > 0 value.
32289 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32291 2010-06-07 Andreas Schwab <schwab@redhat.com>
32293 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32294 libc_nonshared.a from targets in modules-names.
32296 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32298 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32301 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32304 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32308 2010-06-02 Andreas Schwab <schwab@redhat.com>
32310 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32312 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32323 2010-06-14 Roland McGrath <roland@redhat.com>
32325 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32327 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32329 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32330 __REDIRECT followed by __THROW.
32331 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32332 * posix/getopt.h (getopt): Likewise.
32334 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32336 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32337 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32338 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32340 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32341 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32343 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32347 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32351 Properly check family and model.
32353 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32355 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32357 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32359 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32361 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32363 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32366 2010-05-19 Andreas Schwab <schwab@redhat.com>
32368 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32371 2010-05-21 Andreas Schwab <schwab@redhat.com>
32373 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32374 and internal_recvmmsg.
32375 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32376 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32377 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32378 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32380 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32384 2010-05-20 Andreas Schwab <schwab@redhat.com>
32386 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32388 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32390 POWER7 optimizations.
32391 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32392 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32394 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32396 * version.h: Update for 2.13 development version.
32398 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32401 exceptions. Return 0.
32403 2010-05-07 Roland McGrath <roland@redhat.com>
32405 * elf/ldconfig.c (main): Add a const.
32407 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32409 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32410 (args_options): Add no-idn option.
32411 (ahosts_keys_int): Add idn_flags to ai_flags.
32412 (parse_option): Handle 'i' option to clear idn_flags.
32414 * malloc/malloc.c (_int_free): Possible race in the most recently
32415 added check. Only act on the data if no current modification
32418 See ChangeLog.17 for earlier changes.