1 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3 * csu/init-first.c: Fix then/than typos.
4 * locale/programs/ld-collate.c: Likewise.
5 * locale/programs/linereader.h: Likewise.
6 * manual/charset.texi: Likewise.
7 * manual/filesys.texi: Likewise.
8 * manual/stdio.texi: Likewise.
9 * manual/string.texi: Likewise.
10 * stdlib/fmtmsg.c: Likewise.
11 * sysdeps/i386/stpncpy.S: Likewise.
12 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19 * elf/dl-open.c: Fix typos.
20 * iconvdata/gbbig5.c: Likewise.
21 * iconvdata/iso-2022-jp.c: Likewise.
22 * iconv/gconv_int.h: Likewise.
23 * iconv/loop.c: Likewise.
24 * nis/rpcsvc/nis.h: Likewise.
25 * resolv/ns_name.c: Likewise.
26 * stdio-common/vfscanf.c: Likewise.
27 * streams/stropts.h: Likewise.
28 * sunrpc/rpc_thread.c: Likewise.
29 * sysdeps/i386/strpbrk.S: Likewise.
30 * sysdeps/ieee754/k_standard.c: Likewise.
31 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34 * sysdeps/mach/hurd/profil.c: Likewise.
35 * sysdeps/s390/dl-procinfo.h: Likewise.
36 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
37 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39 * sysdeps/x86_64/dl-trampoline.S: Likewise.
40 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
49 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
61 Roland McGrath <roland@hack.frob.com>
63 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
66 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
68 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
69 __executable_start symbol instead of _start.
71 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
73 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
74 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
76 * sysdeps/gnu/ldsodefs.h: ... this new file.
78 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
79 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
80 instead of ELFOSABI_LINUX.
82 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
83 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
84 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
85 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
87 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
88 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
89 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
91 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
92 (ibm_extended_long_double): Add ieee_nan member.
93 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
94 (do_test): New function.
96 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
98 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
99 functions, renamed from truncdfsf_test, trunctfsf_test,
101 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
103 (do_test): Run all these.
105 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
107 * argp/argp-help.c: Fix typos.
108 * argp/argp-parse.c: Likewise.
109 * debug/backtracesyms.c: Likewise.
110 * elf/elf.h: Likewise.
111 * malloc/malloc.c: Likewise.
112 * nis/nis_print.c: Likewise.
113 * resolv/res_comp.c: Likewise.
114 * stdlib/stdlib.h: Likewise.
115 * sunrpc/clnt_tcp.c: Likewise.
116 * sunrpc/clnt_udp.c: Likewise.
117 * sunrpc/clnt_unix.c: Likewise.
118 * sysdeps/unix/bsd/ptsname.c: Likewise.
119 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
127 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
129 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
131 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
134 2013-08-27 Mike Frysinger <vapier@gentoo.org>
137 * dlfcn/Makefile (tests): Add bug-dl-leaf.
138 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
139 ($(objpfx)bug-dl-leaf): New rule.
140 ($(objpfx)bug-dl-leaf.so): Likewise.
141 ($(objpfx)bug-dl-leaf.out): Likewise.
142 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
143 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
144 * dlfcn/bug-dl-leaf.c: New test.
145 * dlfcn/bug-dl-leaf-lib.c: Likewise.
146 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
147 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
151 2013-08-27 Roland McGrath <roland@hack.frob.com>
153 * include/netdb.h [!_ISOMAC]:
154 Don't include <tls.h>.
155 (h_errno, __libc_h_errno): Move declaration and macros out of
158 * include/resolv.h [_RESOLV_H_]:
159 Don't include <tls.h>.
160 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
161 * resolv/res_libc.c: Don't include <tls.h>.
162 (_res): Use __attribute__ ((nocommon)) in place of
163 __attribute__ ((section (".bss"))).
165 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
166 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
168 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
170 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
171 only under [SIOCGIFCONF && SIOCGIFNETMASK].
173 * resolv/res_mkquery.c: Include <sys/time.h>.
175 * inet/ifreq.c: Moved to ...
176 * sysdeps/unix/ifreq.c: ... here.
177 * inet/ifreq.c: New file, true stub version.
179 * socket/sa_len.c: New file.
180 * socket/Makefile (aux): Add it.
181 * sysdeps/unix/sysv/linux/Makefile
182 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
183 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
184 and #include <socket/sa_len.c>.
185 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
186 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
188 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
189 * bits/socket.h: ... here.
191 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
192 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
193 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
195 2013-08-27 Andreas Schwab <schwab@suse.de>
198 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
199 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
200 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
201 * string/test-strcasecmp.c (test_main): Run tests in several
203 * string/test-strncasecmp.c (test_main): Likewise.
205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
206 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
207 to __strcasecmp_nonascii and __strncasecmp_nonascii.
208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
209 (__strncasecmp_ssse3) [PIC]: Likewise.
211 2013-08-26 Roland McGrath <roland@hack.frob.com>
213 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
215 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
216 instead of explicitly declaring xdecrypt.
217 * nis/nss_nis/nis-publickey.c: Likewise.
219 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
222 * nscd/aicache.c: Include res_hconf.h.
223 (addhstaiX): Initialize res_hconf.
225 2013-08-26 Andreas Schwab <schwab@suse.de>
227 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
228 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
230 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
232 * nscd/aicache.c (addhstaiX): Fix indentation.
234 2013-08-25 Mike Frysinger <vapier@gentoo.org>
236 * configure.ac: Quote $build_pt_chown test.
237 * configure: Regenerated.
239 2013-08-23 Joseph Myers <joseph@codesourcery.com>
242 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
243 * math/s_cexpf.c (__cexpf): Likewise.
244 * math/s_cexpl.c (__cexpl): Likewise.
245 * math/libm-test.inc (cexp_test_data): Correct expected return
246 value for NaN + i0. Add another test.
248 2013-08-22 David S. Miller <davem@davemloft.net>
250 * po/ca.po: Update Catalan translation from translation project.
251 * po/uk.po: Add Ukrainian translations from translation project.
253 2013-08-21 Joseph Myers <joseph@codesourcery.com>
256 * math/s_fdim.c (__fdim): Check for infinite arguments if result
257 is infinite, not alongside NaN test.
258 * math/s_fdimf.c (__fdimf): Likewise.
259 * math/s_fdiml.c (__fdiml): Likewise.
260 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
263 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
265 * argp/argp-help.c: Fix typos.
266 * crypt/speeds.c: Likewise.
267 * csu/check_fds.c: Likewise.
268 * elf/dl-load.c: Likewise.
269 * elf/dl-open.c: Likewise.
270 * elf/reldep3.c: Likewise.
271 * elf/reldep.c: Likewise.
272 * elf/sprof.c: Likewise.
273 * iconv/iconv_charmap.c: Likewise.
274 * iconv/skeleton.c: Likewise.
275 * iconv/strtab.c: Likewise.
276 * io/lockf64.c: Likewise.
277 * libio/libioP.h: Likewise.
278 * resolv/gai_notify.c: Likewise.
279 * resolv/ns_name.c: Likewise.
280 * resolv/ns_samedomain.c: Likewise.
281 * resolv/res_send.c: Likewise.
282 * stdlib/random.c: Likewise.
283 * sunrpc/rpc/xdr.h: Likewise.
284 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
286 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
287 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
292 * sysdeps/mach/hurd/check_fds.c: Likewise.
293 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
294 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
295 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
297 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
298 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
299 * sysdeps/pthread/aio_notify.c: Likewise.
300 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
301 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
302 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
304 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
306 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
308 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
309 version if bit_Slow_SSE4_2 is set.
310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
313 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
316 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
317 trampoline stack frame information.
318 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
320 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
321 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
322 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
323 * sysdeps/unix/sysv/linux/powerpc/init-first.c
324 (_libc_vdso_platform_setup): Initialize the signal trampolines.
325 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
327 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
328 interrupting a syscall and set with option SA_SIGINFO.
330 2013-08-20 Joseph Myers <joseph@codesourcery.com>
333 * math/s_cproj.c (__cproj): Only return an infinity if one part of
334 argument is infinite.
335 * math/s_cprojf.c (__cprojf): Likewise.
336 * math/s_cprojl.c (__cprojl): Likewise.
337 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
338 * math/libm-test.inc (cproj_test_data): Add more tests.
340 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
342 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
343 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
344 size. Use __ffs to determine corresponding shift.
346 2013-08-20 Joseph Myers <joseph@codesourcery.com>
347 Roland McGrath <roland@hack.frob.com>
349 * Makefile (INSTALL): Remove trailing blank lines from output of
352 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
354 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
355 Align 32 bit compat elf_greg to 8 bytes.
357 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
359 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
361 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
363 * string/strcoll_l.c (coll_seq): New structure.
364 (get_next_seq_cached): New function.
365 (get_next_seq): New function.
366 (do_compare): New function.
367 (STRCOLL): Use GNU style definition. Simplify implementation
368 by using get_next_seq, get_next_seq_cached and do_compare.
370 2013-08-16 Florian Weimer <fweimer@redhat.com>
374 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
376 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
378 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
379 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
380 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
382 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
383 GETDENTS_64BIT_ALIGNED.
384 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
385 * manual/filesys.texi (Reading/Closing Directory): Document
386 ENAMETOOLONG return value of readdir_r. Recommend readdir more
388 * manual/conf.texi (Limits for Files): Add portability note to
390 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
392 2013-08-13 Andreas Schwab <schwab@suse.de>
395 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
397 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
398 LDBL_MAX_EXP >= 16384]: Add tests for it.
400 2013-08-12 David S. Miller <davem@davemloft.net>
402 * version.h (RELEASE): Set to "development".
403 (VERSION): Set to "2.18.90".
404 * NEWS: Add 2.19 section.
406 2013-08-03 David S. Miller <davem@davemloft.net>
408 * po/ko.po: Update Korean translation from translation project.
410 2013-08-01 David S. Miller <davem@davemloft.net>
412 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
413 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
416 2013-07-30 David S. Miller <davem@davemloft.net>
418 * po/fr.po: Update French translation from translation project.
420 2013-07-28 David S. Miller <davem@davemloft.net>
422 * po/cs.po: Update Czech translation from translation project.
424 * po/sv.po: Update Swedish translation from translation project.
426 2013-07-27 David S. Miller <davem@davemloft.net>
428 * po/eo.po: Update Esperanto translation from translation project.
430 * po/vi.po: Update Vietnamese translation from translation project.
432 * po/de.po: Update German translation from translation project.
434 2013-07-26 David S. Miller <davem@davemloft.net>
436 * po/bg.po: Update Bulgarian translation from translation project.
438 * po/nl.po: Update Dutch translation from translation project.
439 * po/pl.po: Update Polish translation from translation project.
440 * po/ru.po: Update Russian translation from translation project.
442 2013-07-24 David S. Miller <davem@davemloft.net>
444 * po/libc.pot: Update.
446 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
448 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
450 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
452 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
454 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
456 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
458 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
459 Andreas Schwab <schwab@suse.de>
460 Roland McGrath <roland@hack.frob.com>
461 Joseph Myers <joseph@codesourcery.com>
462 Carlos O'Donell <carlos@redhat.com>
465 * config.h.in: Define HAVE_PT_CHOWN.
466 * config.make.in (build-pt-chown): New variable.
467 * configure.in (--enable-pt_chown): New configure option.
468 * configure: Regenerate.
469 * login/Makefile: Include Makeconfig. Build pt_chown only if
470 build-pt-chown is enabled.
471 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
472 pt_chown to fix pty ownership.
473 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
475 * manual/install.texi (Configuring and compiling): Mention
476 --enable-pt_chown. Add @findex for grantpt.
477 * INSTALL: Regenerate.
479 2013-07-20 David S. Miller <davem@davemloft.net>
481 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
482 difference between 32-bit and 64-bit.
484 2013-07-15 Carlos O'Donell <carlos@redhat.com>
487 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
488 Avoid system header dependency with -ffreestanding.
489 ($(objpfx)bits/syscall%d): Likewise.
491 2013-07-13 David S. Miller <davem@davemloft.net>
493 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
494 underflows from atanl/atan2l due to bug 15319.
495 (casinh_test_data): Likewise.
497 2013-07-07 David S. Miller <davem@davemloft.net>
499 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
501 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
503 * sysdeps/i386/fpu/libm-test-ulps: Update.
504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
506 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * configure.in (--enable-lock-elision): Fix message text.
509 * INSTALL: Regenerate.
510 * configure: Regenerate.
512 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
516 2013-07-03 Andreas Jaeger <aj@suse.de>
518 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
520 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
521 (ptrace_peeksiginfo_args): Add.
522 (__ptrace_peeksiginfo_flags): Add.
523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
527 2013-07-03 Allan McRae <allan@archlinux.org>
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
531 2013-07-02 David S. Miller <davem@davemloft.net>
533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
535 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
539 2013-07-02 Joseph Myers <joseph@codesourcery.com>
541 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
544 2013-07-02 Andi Kleen <ak@linux.intel.com>
546 * config.h.in (ENABLE_LOCK_ELISION): Add.
547 * configure.in (--enable-lock-elision): Add option.
548 * manual/install.texi: Document --enable lock elision.
549 * configure: Regenerate
550 * INSTALL: Regenerate.
552 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
554 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
555 SSE4.2 strcasecmp for libc.a.
556 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
558 2013-07-02 Joseph Myers <joseph@codesourcery.com>
561 * soft-fp/op-common.h (_FP_FMA): New macro.
562 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
563 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
564 (_FP_MUL_MEAT_1_imm): ... here.
565 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
566 (_FP_MUL_MEAT_1_wide): ... here.
567 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
568 (_FP_MUL_MEAT_1_hard): ... here.
569 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
570 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
571 (_FP_MUL_MEAT_2_wide): ... here.
572 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
573 (_FP_MUL_MEAT_2_wide_3mul): ... here.
574 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
575 (_FP_MUL_MEAT_2_gmp): ... here.
576 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
577 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
578 (_FP_MUL_MEAT_4_wide): ... here.
579 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
580 (_FP_MUL_MEAT_4_gmp): ... here.
581 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
582 (_FP_WFRACBITS_DW_S): Likewise.
583 (_FP_WFRACXBITS_DW_S): Likewise.
584 (_FP_HIGHBIT_DW_S): Likewise.
585 (FP_FMA_S): Likewise.
586 (_FP_FRAC_HIGH_DW_S): Likewise.
587 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
588 (_FP_WFRACBITS_DW_D): Likewise.
589 (_FP_WFRACXBITS_DW_D): Likewise.
590 (_FP_HIGHBIT_DW_D): Likewise.
591 (FP_FMA_D): Likewise.
592 (_FP_FRAC_HIGH_DW_D): Likewise.
593 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
594 (_FP_WFRACBITS_DW_E): Likewise.
595 (_FP_WFRACXBITS_DW_E): Likewise.
596 (_FP_HIGHBIT_DW_E): Likewise.
597 (FP_FMA_E): Likewise.
598 (_FP_FRAC_HIGH_DW_E): Likewise.
599 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
600 (_FP_WFRACBITS_DW_Q): Likewise.
601 (_FP_WFRACXBITS_DW_Q): Likewise.
602 (_FP_HIGHBIT_DW_Q): Likewise.
603 (FP_FMA_Q): Likewise.
604 (_FP_FRAC_HIGH_DW_Q): Likewise.
605 * soft-fp/fmasf4.c: New file.
606 * soft-fp/fmadf4.c: Likewise.
607 * soft-fp/fmatf4.c: Likewise.
609 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
612 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
614 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
616 (index_Slow_SSE4_2): Likewise.
617 (index_Prefer_PMINUB_for_stringop): Likewise.
618 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
619 bit_Slow_SSE4_2 is set.
620 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
621 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
623 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
625 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
626 rtld_global._dl_hwcap2.
627 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
629 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
630 POWER8 feature descriptions defined in _dl_hwcap2.
631 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
632 string handling for POWER8 feature bits.
633 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
634 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
635 _dl_powerpc_cap_flags.
636 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
637 * sysdeps/powerpc/rtld-global-offsets.sym
638 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
639 _dl_hwcap2 in the rtld_global_ro structure.
641 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
643 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
644 hardware capabilities in support of AT_HWCAP2.
645 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
646 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
648 (_dl_show_auxv): Add support for calling _dl_procinfo to display
649 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
650 explicitly the unknown a_type display mechanism is used.
651 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
652 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
654 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
655 to macro prototype for AT_HWCAP2 support.
656 * sysdeps/i386/dl-procinfo.h: Likewise.
657 * sysdeps/s390/dl-procinfo.h: Likewise.
658 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
659 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
660 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
661 return -1 for unknown a_type display fallback.
662 * sysdeps/sparc/dl-procinfo.h: Likewise.
663 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
664 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
666 2013-06-28 Joseph Myers <joseph@codesourcery.com>
668 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
669 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
671 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
674 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
675 mprotect making __stack_prot writable.
677 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
678 Joseph Myers <joseph@codesourcery.com>
680 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
681 as being properly aligned.
683 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
685 * dlfcn/modstatic5.c: New file.
686 * dlfcn/tststatic5.c: New file.
687 * dlfcn/Makefile (tests): Add tststatic5.
688 (tests-static): Likewise.
689 (modules-names): Add modstatic5.
690 (tststatic5-ENV): New variable.
691 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
694 * elf/dl-support.c (_dl_main_map): New variable.
695 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
696 (_dl_nns, _dl_load_adds): Set to 1.
697 (_dl_initial_searchlist): Refer to _dl_main_map.
698 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
699 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
700 call to _dl_get_origin.
701 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
703 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
704 * dlfcn/modstatic3.c: New file.
705 * dlfcn/tststatic3.c: New file.
706 * dlfcn/tststatic4.c: New file.
707 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
708 (tests-static): Likewise.
709 (modules-names): Add modstatic3.
710 (tststatic3-ENV, tststatic4-ENV): New variables.
711 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
712 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
714 2013-06-26 Joseph Myers <joseph@codesourcery.com>
716 * configure.in (CC): Require GCC version 4.4 or later.
717 * configure: Regenerated.
718 * manual/install.texi (Tools for Compilation): Update GCC version
720 * INSTALL: Regenerated.
722 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
725 * string/test-memcmp.c (check2): New.
728 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
730 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
733 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
735 (dl_open_worker) [!SHARED]: ... here.
737 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
739 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
741 2013-06-25 Richard Henderson <rth@redhat.com>
743 * locale/programs/locarchive.c: Include <libc-internal.h>
745 2013-06-25 Joseph Myers <joseph@codesourcery.com>
747 * manual/texinfo.tex: Update to version 2013-06-21.17, with
748 trailing whitespace removed.
750 2013-06-24 Mike Frysinger <vapier@gentoo.org>
753 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
754 * locale/programs/locarchive.c: Include libc-mmap.h.
755 (prepare_address_space): Take two new outputs (the mmap base and len).
756 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
758 (create_archive): Declare new mmap base and len values for
759 prepare_address_space, and store the result in ah.
760 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
761 (enlarge_archive): If ah->mmap_base is not NULL, use that and
762 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
763 Declare new mmap base and len values for
764 prepare_address_space, and store the result in new_ah.
765 (open_archive): Declare new mmap base and len values for
766 prepare_address_space, and store the result in ah.
767 (close_archive): If ah->mmap_base is not NULL, use that and
768 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
769 * sysdeps/generic/libc-mmap.h: New file.
771 2013-06-24 Mike Frysinger <vapier@gentoo.org>
773 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
774 (ALIGN_UP): Likewise.
775 (PTR_ALIGN_DOWN): Likewise.
776 (PTR_ALIGN_UP): Likewise.
778 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
781 entry mapped to PPC_PLATFORM_POWER8.
782 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
784 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
785 (_dl_string_platform): Add case for exporting platform position for
787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
788 search path to sysdeps/powerpc/powerpc32/power8 directory.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
790 search path to sysdeps/powerpc/powerpc64/power8 directory.
791 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
793 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
796 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
798 * INSTALL: Regenerate.
800 * nscd/connections.c (nscd_init): Fix comment.
802 2013-06-22 Joseph Myers <joseph@codesourcery.com>
804 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
807 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
808 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
810 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
812 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
814 (DL_DST_REQ_STATIC): Remove macro.
816 2013-06-21 Joseph Myers <joseph@codesourcery.com>
819 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
820 with a shift of 0 bits.
822 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
824 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
827 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
830 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
832 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
835 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
836 accepts -fno-tree-loop-distribute-patterns.
837 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
838 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
840 * string/memset.c (memset): Likewise.
841 * string/test-memmove.c (simple_memmove): Disable loop transformation
843 * string/test-memset.c (simple_memset): Likewise.
844 * benchtests/bench-memmove.c (simple_memmove): Likewise.
845 * benchtests/bench-memset.c (simple_memset): Likewise.
846 * configure: Regenerated.
848 2013-06-20 Joseph Myers <joseph@codesourcery.com>
850 * math/test-misc.c (main): Ignore fesetround failure when failures
851 of subsequent rounding tests would be ignored.
854 * math/fedisblxcpt.c (fedisableexcept): Return 0.
855 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
856 * math/fegetenv.c (__fegetenv): Return 0.
857 * math/fegetexcept.c (fegetexcept): Return 0.
858 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
860 * math/feholdexcpt.c (feholdexcept): Return 0.
861 * math/fesetenv.c (__fesetenv): Return 0.
862 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
863 argument FE_TONEAREST.
864 * math/feupdateenv.c (__feupdateenv): Return 0.
865 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
867 2013-06-18 Roland McGrath <roland@hack.frob.com>
869 * elf/rtld-Rules (rtld-compile-command.S): New variable.
870 (rtld-compile-command.s, rtld-compile-command.c): New variables.
871 ($(objpfx)rtld-%.os rules): Use them.
873 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
878 2013-06-17 Roland McGrath <roland@hack.frob.com>
880 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
881 length of target pattern, then descending length of dependency pattern.
882 * configure.in (AWK): Require gawk 3.1.2 or newer.
883 * manual/install.texi (Tools for Compilation): Say that we do.
884 * configure: Regenerated.
886 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
887 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
888 * scripts/sysd-rules.awk: ... this new script.
889 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
890 than a glob-style pattern.
892 2013-06-17 Joseph Myers <joseph@codesourcery.com>
894 * math/test-misc.c (main): Do not treat incorrectly rounded
895 conversions as failure unless ROUNDING_TESTS passes.
897 2013-06-15 Joseph Myers <joseph@codesourcery.com>
900 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
901 restore exception state around main square root computation, then
902 check for inexactness explicitly.
904 * math/libm-test.inc (fma_test_data): Add another test.
906 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
908 * manual/threads.texi (Non-POSIX Extensions): New document
909 node. Document pthread_getattr_default_np and
910 pthread_setattr_default_np.
912 * Versions.def (libpthread): Add GLIBC_2.18.
913 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
922 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
933 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
936 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
938 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
939 H.J. Lu <hjl.tools@gmail.com>
942 * sysdeps/x86_64/rtld-memset.c: Remove file.
943 * sysdeps/x86_64/rtld-memset.S: New file.
945 2013-06-14 Joseph Myers <joseph@codesourcery.com>
947 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
948 (test_in_one_mode): Take arguments for whether the rounding mode
949 is supported for each floating-point type.
950 (do_test): Pass new arguments to test_in_one_mode using
953 2013-06-13 Roland McGrath <roland@hack.frob.com>
955 * posix/tst-waitid.c (do_test): Distinguish different instances of
956 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
957 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
958 before entering the kernel for waitpid.
960 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
962 * NEWS: Fix note on clock function precision. Text by Roland
965 2013-06-13 Roland McGrath <roland@hack.frob.com>
967 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
968 it into place only when and if the sanity check passes.
970 2013-06-13 Joseph Myers <joseph@codesourcery.com>
972 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
973 output for whether conversion result is exact. Take argument
974 indicating whether type is IBM long double.
975 (round_for_all): Change need_exact field to ibm_ld.
976 * stdlib/tst-strtod-round.c (struct exactness): New type.
977 (struct test): Change bool ld_ok field to struct exactness exact.
978 (TEST): Update all definitions for change to field.
979 (tests): Regenerate array contents.
980 (test_in_one_mode): Take pointer to new field instead of old ld_ok
981 field value. Check for IBM long double here.
982 (do_test): Update calls to test_in_one_mode.
984 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
987 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
988 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
990 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
994 generated by the compiler on loop optimizations.
995 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
998 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1000 * math/bug-nextafter.c: Include <math-tests.h>.
1001 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1003 * math/bug-nexttoward.c: Include <math-tests.h>.
1004 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1006 * math/test-misc.c: Include <math-tests.h>.
1007 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1010 2013-06-12 Andreas Jaeger <aj@suse.de>
1012 * po/ia.po: Update Interlingua translation from translation
1015 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1017 * include/fenv.h: Include stdbool.h.
1018 (struct rm_ctx): New structure.
1019 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1021 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1022 (SET_RESTORE_ROUNDF): Likewise.
1023 (SET_RESTORE_ROUNDL): Likewise.
1024 (SET_RESTORE_ROUND_NOEX): Likewise.
1025 (SET_RESTORE_ROUND_NOEXF): Likewise.
1026 (SET_RESTORE_ROUND_NOEXL): Likewise.
1027 (SET_RESTORE_ROUND_53BIT): Likewise.
1028 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1029 (libc_feresetround_noexf_ctx): Likewise.
1030 (libc_feresetround_noexl_ctx): Likewise.
1031 (libc_feholdsetround_53bit_ctx): Likewise.
1032 (libc_feresetround_53bit_ctx): Likewise.
1033 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1034 (libc_feholdexcept_setround_sse_ctx): New function.
1035 (libc_fesetenv_sse_ctx): Likewise.
1036 (libc_feupdateenv_sse_ctx): Likewise.
1037 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1038 (libc_feholdexcept_setround_387_ctx): Likewise.
1039 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1040 (libc_feholdsetround_387_prec_ctx): Likewise.
1041 (libc_feholdsetround_387_ctx): Likewise.
1042 (libc_feholdsetround_387_53bit_ctx): Likewise.
1043 (libc_feholdsetround_sse_ctx): Likewise.
1044 (libc_feresetround_sse_ctx): Likewise.
1045 (libc_feresetround_387_ctx): Likewise.
1046 (libc_feupdateenv_387_ctx): Likewise.
1047 (libc_feholdexcept_setroundf_ctx): Define macro.
1048 (libc_fesetenvf_ctx): Likewise.
1049 (libc_feupdateenvf_ctx): Likewise.
1050 (libc_feholdsetroundf_ctx): Likewise.
1051 (libc_feresetroundf_ctx): Likewise.
1052 (libc_feholdexcept_setround_ctx): Likewise.
1053 (libc_fesetenv_ctx): Likewise.
1054 (libc_feupdateenv_ctx): Likewise.
1055 (libc_feholdsetround_ctx): Likewise.
1056 (libc_feresetround_ctx): Likewise.
1057 (libc_feholdexcept_setroundl_ctx): Likewise.
1058 (libc_feupdateenvl_ctx): Likewise.
1059 (libc_feholdsetroundl_ctx): Likewise.
1060 (libc_feresetroundl_ctx): Likewise.
1061 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1062 (libc_feresetround_53bit_ctx): Likewise.
1064 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1066 * locale/iso-639.def: Convert to UTF-8.
1068 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1070 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1071 (EXCEPTION_TESTS_double): Likewise.
1072 (EXCEPTION_TESTS_long_double): Likewise.
1073 (EXCEPTION_TESTS): Likewise.
1074 * math/libm-test.inc (test_exceptions): Only test exceptions if
1075 EXCEPTION_TESTS (FLOAT).
1077 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1079 * benchtests/Makefile (string-bench): Add strcpy_chk and
1081 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1082 * benchtests/bench-stpcpy_chk.c: New file.
1083 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1084 * benchtests/bench-strcpy_chk.c: New file.
1085 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1087 (do_test): Likewise.
1089 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1091 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1092 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1093 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1094 with tabs where appropriate.
1095 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1097 [PPC_PLATFORM_PPC440]: Likewise.
1098 [PPC_PLATFORM_PPC464]: Likewise.
1099 [PPC_PLATFORM_PPC476]: Likewise.
1100 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1101 ppc464, and ppc476 platform strings merging from ports/
1104 2013-06-11 Andreas Schwab <schwab@suse.de>
1107 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1108 (from_ucs4_idx): Regenerate.
1109 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1110 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1111 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1112 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1113 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1114 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1115 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1116 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1117 from FROM_LOOP and TO_LOOP specific macros.
1118 (BODY): Handle combining characters.
1119 * iconvdata/BIG5HKSCS.irreversible: Update.
1120 * iconvdata/BIG5HKSCS.precomposed: New file.
1121 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1123 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1125 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1127 * include/sys/time.h: Fix indentation and add copyright header.
1129 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1130 (do_test): Likewise.
1131 * string/test-memchr.c (do_one_test): Likewise.
1132 (do_test): Likewise.
1133 * string/test-memcmp.c (do_one_test): Likewise.
1134 (do_test): Likewise.
1135 * string/test-memcpy.c (do_one_test): Likewise.
1136 (do_test): Likewise.
1137 * string/test-memmem.c (do_one_test): Likewise.
1138 (do_test): Likewise.
1139 (do_random_tests): Likewise.
1140 * string/test-memmove.c (do_one_test): Likewise.
1141 (do_test): Likewise.
1142 * string/test-memset.c (do_one_test): Likewise.
1143 (do_test): Likewise.
1144 * string/test-rawmemchr.c (do_one_test): Likewise.
1145 (do_test): Likewise.
1146 * string/test-strcasecmp.c (do_one_test): Likewise.
1147 (do_test): Likewise.
1148 * string/test-strcasestr.c (do_one_test): Likewise.
1149 (do_test): Likewise.
1150 * string/test-strcat.c (do_one_test): Likewise.
1151 (do_test): Likewise.
1152 * string/test-strchr.c (do_one_test): Likewise.
1153 (do_test): Likewise.
1154 * string/test-strcmp.c (do_one_test): Likewise.
1155 (do_test): Likewise.
1156 * string/test-strcpy.c (do_one_test): Likewise.
1157 (do_test): Likewise.
1158 * string/test-string.h: Likewise.
1159 (test_init): Likewise.
1160 * string/test-strlen.c (do_one_test): Likewise.
1161 (do_test): Likewise.
1162 * string/test-strncasecmp.c (do_one_test): Likewise.
1163 (do_test): Likewise.
1164 * string/test-strncat.c (do_one_test): Likewise.
1165 (do_test): Likewise.
1166 * string/test-strncmp.c (do_one_test): Likewise.
1167 (do_test_limit): Likewise.
1168 (do_test): Likewise.
1169 * string/test-strncpy.c (do_one_test): Likewise.
1170 (do_test): Likewise.
1171 * string/test-strnlen.c (do_one_test): Likewise.
1172 (do_test): Likewise.
1173 * string/test-strpbrk.c (do_one_test): Likewise.
1174 (do_test): Likewise.
1175 * string/test-strrchr.c (do_one_test): Likewise.
1176 (do_test): Likewise.
1177 * string/test-strspn.c (do_one_test): Likewise.
1178 (do_test): Likewise.
1179 * string/test-strstr.c (do_one_test): Likewise.
1180 (do_test): Likewise.
1182 * benchtests/Makefile (string-bench): Add string benchmarks.
1183 * benchtests/bench-bcopy-ifunc.c: New file.
1184 * benchtests/bench-bcopy.c: New file.
1185 * benchtests/bench-bzero-ifunc.c: New file.
1186 * benchtests/bench-bzero.c: New file.
1187 * benchtests/bench-memccpy-ifunc.c: New file.
1188 * benchtests/bench-memccpy.c: New file.
1189 * benchtests/bench-memchr-ifunc.c: New file.
1190 * benchtests/bench-memchr.c: New file.
1191 * benchtests/bench-memcmp-ifunc.c: New file.
1192 * benchtests/bench-memcmp.c: New file.
1193 * benchtests/bench-memmem-ifunc.c: New file.
1194 * benchtests/bench-memmem.c: New file.
1195 * benchtests/bench-memmove-ifunc.c: New file.
1196 * benchtests/bench-memmove.c: New file.
1197 * benchtests/bench-mempcpy-ifunc.c: New file.
1198 * benchtests/bench-mempcpy.c: New file.
1199 * benchtests/bench-memset-ifunc.c: New file.
1200 * benchtests/bench-memset.c: New file.
1201 * benchtests/bench-rawmemchr-ifunc.c: New file.
1202 * benchtests/bench-rawmemchr.c: New file.
1203 * benchtests/bench-stpcpy-ifunc.c: New file.
1204 * benchtests/bench-stpcpy.c: New file.
1205 * benchtests/bench-stpncpy-ifunc.c: New file.
1206 * benchtests/bench-stpncpy.c: New file.
1207 * benchtests/bench-strcasecmp-ifunc.c: New file.
1208 * benchtests/bench-strcasecmp.c: New file.
1209 * benchtests/bench-strcasestr-ifunc.c: New file.
1210 * benchtests/bench-strcasestr.c: New file.
1211 * benchtests/bench-strcat-ifunc.c: New file.
1212 * benchtests/bench-strcat.c: New file.
1213 * benchtests/bench-strchr-ifunc.c: New file.
1214 * benchtests/bench-strchr.c: New file.
1215 * benchtests/bench-strchrnul-ifunc.c: New file.
1216 * benchtests/bench-strchrnul.c: New file.
1217 * benchtests/bench-strcmp-ifunc.c: New file.
1218 * benchtests/bench-strcmp.c: New file.
1219 * benchtests/bench-strcpy-ifunc.c: New file.
1220 * benchtests/bench-strcpy.c: New file.
1221 * benchtests/bench-strcspn-ifunc.c: New file.
1222 * benchtests/bench-strcspn.c: New file.
1223 * benchtests/bench-strlen-ifunc.c: New file.
1224 * benchtests/bench-strlen.c: New file.
1225 * benchtests/bench-strncasecmp-ifunc.c: New file.
1226 * benchtests/bench-strncasecmp.c: New file.
1227 * benchtests/bench-strncat-ifunc.c: New file.
1228 * benchtests/bench-strncat.c: New file.
1229 * benchtests/bench-strncmp-ifunc.c: New file.
1230 * benchtests/bench-strncmp.c: New file.
1231 * benchtests/bench-strncpy-ifunc.c: New file.
1232 * benchtests/bench-strncpy.c: New file.
1233 * benchtests/bench-strnlen-ifunc.c: New file.
1234 * benchtests/bench-strnlen.c: New file.
1235 * benchtests/bench-strpbrk-ifunc.c: New file.
1236 * benchtests/bench-strpbrk.c: New file.
1237 * benchtests/bench-strrchr-ifunc.c: New file.
1238 * benchtests/bench-strrchr.c: New file.
1239 * benchtests/bench-strspn-ifunc.c: New file.
1240 * benchtests/bench-strspn.c: New file.
1241 * benchtests/bench-strstr-ifunc.c: New file.
1242 * benchtests/bench-strstr.c: New file.
1244 * benchtests/Makefile: Disable parallel execution of targets.
1245 (string-bench): Add memcpy.
1246 (benchset): New variable to store a list of benchmark sets.
1247 (bench-func): Renamed from bench.
1248 (bench-set): New target.
1249 (bench): Depend on bench-func and bench-set.
1250 * benchtests/README: Add section on benchmark sets.
1251 * benchtests/bench-memcpy-ifunc.c: New file.
1252 * benchtests/bench-memcpy.c: New file.
1253 * benchtests/bench-string.h: New file.
1255 2013-06-11 Andreas Schwab <schwab@suse.de>
1258 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1259 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1260 values in the triple.
1261 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1262 terminator in the group key.
1264 2013-06-11 Andreas Jaeger <aj@suse.de>
1266 * po/zh_TW.po: Update Chinese (traditional) translation from
1267 translation project.
1269 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1272 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1273 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1274 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1275 (clock_getcpuclockid): Likewise.
1276 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1277 Add weak_alias and libc_hidden_def.
1278 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1279 * rt/clock_gettime.c (clock_gettime): Rename to
1280 __clock_gettime. Add weak_alias and libc_hidden_def.
1281 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1282 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1283 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1284 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1285 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1287 * rt/clock_settime.c (clock_settime): Rename to
1288 __clock_settime. Add weak_alias and libc_hidden_def.
1289 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1291 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1293 * mach/err_boot.sub: Remove trailing whitespace.
1294 * mach/err_ipc.sub: Likewise.
1295 * mach/err_mach.sub: Likewise.
1297 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1298 (ROUNDING_TESTS_double): Likewise.
1299 (ROUNDING_TESTS_long_double): Likewise.
1300 (ROUNDING_TESTS): Likewise.
1301 * math/libm-test.inc: Include <math-tests.h>.
1302 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1303 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1304 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1305 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1307 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1309 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1312 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1314 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1315 otherwise empty TRANS lines.
1316 * sysdeps/gnu/errlist.c: Regenerated.
1318 * catgets/gencat.c (error_print): Use (void) in function
1320 * crypt/crypt_util.c (__init_des): Likewise.
1321 * crypt/speeds.c (Stop): Likewise.
1323 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1324 * inet/ruserpass.c (token): Likewise.
1325 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1326 * intl/localealias.c (extend_alias_table): Likewise.
1327 * intl/plural-exp.c (init_germanic_plural): Likewise.
1328 * libio/fcloseall.c (__fcloseall): Likewise.
1329 * libio/genops.c (_IO_flush_all): Likewise.
1330 (_IO_flush_all_linebuffered): Likewise.
1331 (_IO_cleanup): Likewise.
1332 (_IO_iter_begin): Likewise.
1333 (_IO_iter_end): Likewise.
1334 (_IO_list_lock): Likewise.
1335 (_IO_list_unlock): Likewise.
1336 (_IO_list_resetlock): Likewise.
1337 * libio/getchar.c (getchar): Likewise.
1338 * libio/getchar_u.c (getchar_unlocked): Likewise.
1339 * libio/getwchar.c (getwchar): Likewise.
1340 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1341 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1342 * login/getpt.c (__getpt): Likewise.
1343 * login/tst-utmp.c (main): Likewise.
1344 * malloc/hooks.c (__malloc_check_init): Likewise.
1345 * malloc/malloc.c (__malloc_stats): Likewise.
1346 * malloc/mtrace.c (tr_break): Likewise.
1348 (muntrace): Likewise.
1349 * misc/fstab.c (endfsent): Likewise.
1350 * misc/getclktck.c (__getclktck): Likewise.
1351 * misc/getdtsz.c (__getdtablesize): Likewise.
1352 * misc/gethostid.c (gethostid): Likewise.
1353 * misc/getpagesize.c (__getpagesize): Likewise.
1354 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1355 (__get_nprocs): Likewise.
1356 (__get_phys_pages): Likewise.
1357 (__get_avphys_pages): Likewise.
1358 * misc/getttyent.c (getttyent): Likewise.
1359 (setttyent): Likewise.
1360 (endttyent): Likewise.
1361 * misc/getusershell.c (getusershell): Likewise.
1362 (endusershell): Likewise.
1363 (setusershell): Likewise.
1364 (initshells): Likewise.
1365 * misc/hsearch.c (__hdestroy): Likewise.
1366 * misc/sync.c (sync): Likewise.
1367 * misc/syslog.c (closelog_internal): Likewise.
1368 (closelog): Likewise.
1369 * misc/ttyslot.c (ttyslot): Likewise.
1370 * misc/vhangup.c (vhangup): Likewise.
1371 * posix/fork.c (__fork): Likewise.
1372 * posix/getegid.c (__getegid): Likewise.
1373 * posix/geteuid.c (__geteuid): Likewise.
1374 * posix/getgid.c (__getgid): Likewise.
1375 * posix/getpid.c (__getpid): Likewise.
1376 * posix/getppid.c (__getppid): Likewise.
1377 * posix/getuid.c (__getuid): Likewise.
1378 * posix/pause.c (pause): Likewise.
1379 * posix/setpgrp.c (setpgrp): Likewise.
1380 * posix/setsid.c (__setsid): Likewise.
1381 * posix/test-vfork.c (noop): Likewise.
1382 * resolv/gethnamaddr.c (_endhtent): Likewise.
1383 (_gethtent): Likewise.
1384 (ht_endhostent): Likewise.
1385 (gethostent): Likewise.
1386 (dns_service): Likewise.
1387 * stdlib/drand48.c (drand48): Likewise.
1388 * stdlib/lrand48.c (lrand48): Likewise.
1389 * stdlib/mrand48.c (mrand48): Likewise.
1390 * stdlib/rand.c (rand): Likewise.
1391 * stdlib/random.c (__random): Likewise.
1392 * stdlib/setenv.c (clearenv): Likewise.
1393 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1394 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1395 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1396 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1397 (__get_nprocs): Likewise.
1398 (__get_phys_pages): Likewise.
1399 (__get_avphys_pages): Likewise.
1400 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1401 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1402 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1403 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1404 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1405 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1406 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1407 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1408 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1409 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1410 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1411 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1412 * sysdeps/posix/clock.c (clock): Likewise.
1413 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1414 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1415 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1416 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1417 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1419 (__get_nprocs_conf): Likewise.
1420 (__get_phys_pages): Likewise.
1421 (__get_avphys_pages): Likewise.
1422 * time/clock.c (clock): Likewise.
1423 * time/tzset.c (__tzname_max): Likewise.
1425 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1427 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1428 (__bswap_32): Do not use "register".
1429 * crypt/crypt.c (_ufc_doit_r): Likewise.
1430 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1431 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1432 * gmon/gmon.c (__monstartup): Likewise.
1433 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1434 * hurd/hurdmalloc.c (more_memory): Likewise.
1437 (realloc): Likewise.
1438 (malloc_fork_prepare): Likewise.
1439 (malloc_fork_parent): Likewise.
1440 (malloc_fork_child): Likewise.
1441 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1442 (_svcauth_des): Likewise.
1443 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1444 * inet/inet_net.c (inet_network): Likewise.
1445 * inet/inet_netof.c (inet_netof): Likewise.
1446 * inet/rcmd.c (__validuser2_sa): Likewise.
1447 * io/fts.c (fts_open): Likewise.
1448 (fts_load): Likewise.
1449 (fts_close): Likewise.
1450 (fts_read): Likewise.
1451 (fts_children): Likewise.
1452 (fts_build): Likewise.
1453 (fts_stat): Likewise.
1454 (fts_sort): Likewise.
1455 (fts_alloc): Likewise.
1456 (fts_lfree): Likewise.
1457 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1458 (_IO_file_xsgetn): Likewise.
1459 (_IO_file_xsgetn_mmap): Likewise.
1460 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1461 (_IO_cookie_write): Likewise.
1462 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1463 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1464 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1465 * malloc/obstack.c (_obstack_begin): Likewise.
1466 (_obstack_begin_1): Likewise.
1467 (_obstack_newchunk): Likewise.
1468 (_obstack_allocated_p): Likewise.
1469 (obstack_free): Likewise.
1470 (_obstack_memory_used): Likewise.
1471 * misc/getttyent.c (getttynam): Likewise.
1472 (getttyent): Likewise.
1475 * misc/getusershell.c (initshells): Likewise.
1476 * misc/syslog.c (__vsyslog_chk): Likewise.
1477 * misc/ttyslot.c (ttyslot): Likewise.
1478 * nis/nis_hash.c (__nis_hash): Likewise.
1479 * posix/fnmatch_loop.c (FCT): Likewise.
1480 * posix/getconf.c (print_all): Likewise.
1482 * posix/getopt.c (exchange): Likewise.
1483 * posix/glob.c (globfree): Likewise.
1484 (prefix_array): Likewise.
1485 (__glob_pattern_type): Likewise.
1486 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1487 (NS_GET32): Likewise.
1488 (NS_PUT16): Likewise.
1489 (NS_PUT32): Likewise.
1490 * resolv/gethnamaddr.c (getanswer): Likewise.
1491 (gethostbyname2): Likewise.
1492 (gethostbyaddr): Likewise.
1493 (_gethtent): Likewise.
1494 (_gethtbyname2): Likewise.
1495 (_gethtbyaddr): Likewise.
1496 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1497 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1498 * resolv/res_init.c (__res_vinit): Likewise.
1499 (net_mask): Likewise.
1500 * resolv/res_mkquery.c (outchar): Likewise.
1502 * stdio-common/printf_fp.c (outchar): Likewise.
1504 * stdio-common/printf_fphex.c (outchar): Likewise.
1506 * stdio-common/printf_size.c (outchar): Likewise.
1508 * stdio-common/test_rdwr.c (main): Likewise.
1509 * stdio-common/tfformat.c (matches): Likewise.
1510 * stdio-common/vfprintf.c (outchar): Likewise.
1511 (printf_unknown): Likewise.
1512 (buffered_vfprintf): Likewise.
1513 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1514 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1515 (ReadFile): Likewise.
1516 * stdlib/qsort.c (SWAP): Likewise.
1517 (_quicksort): Likewise.
1518 * stdlib/setenv.c (__add_to_environ): Likewise.
1519 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1520 * stdlib/strtol_l.c (__strtol_l): Likewise.
1521 * stdlib/tst-strtod.c (main): Likewise.
1522 * stdlib/tst-strtol.c (main): Likewise.
1523 * stdlib/tst-strtoll.c (main): Likewise.
1524 * string/bits/string2.h (__strcmp_cc): Likewise.
1525 (__strcmp_cg): Likewise.
1526 (__strcspn_c1): Likewise.
1527 (__strcspn_c2): Likewise.
1528 (__strcspn_c3): Likewise.
1529 (__strspn_c1): Likewise.
1530 (__strspn_c2): Likewise.
1531 (__strspn_c3): Likewise.
1532 (__strsep_1c): Likewise.
1533 (__strsep_2c): Likewise.
1534 (__strsep_3c): Likewise.
1535 * string/memccpy.c (__memccpy): Likewise.
1536 * string/stpcpy.c (__stpcpy): Likewise.
1537 * string/strcmp.c (strcmp): Likewise.
1538 * string/strrchr.c (strrchr): Likewise.
1539 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1541 * sysdeps/mach/hurd/getcwd.c
1542 (_hurd_canonicalize_directory_name_internal): Likewise.
1543 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1544 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1545 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1546 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1547 Likewise, in both definitions.
1548 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1550 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1551 64] (__bswap_64): Likewise.
1552 * time/test_time.c (main): Likewise.
1553 * time/tzfile.c (__tzfile_read): Likewise.
1554 (__tzfile_compute): Likewise.
1555 * time/tzset.c (__tzset_parse_tz): Likewise.
1556 (tzset_internal): Likewise.
1557 (compute_change): Likewise.
1558 * wcsmbs/wcscat.c (__wcscat): Likewise.
1559 * wcsmbs/wcschr.c (wcschr): Likewise.
1560 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1561 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1562 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1563 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1564 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1565 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1566 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1567 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1568 * wcsmbs/wmemset.c (wmemset): Likewise.
1570 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1572 * scripts/config.guess: Update to version 2013-05-16.
1573 * scripts/config.sub: Update to version 2013-04-24.
1574 * scripts/install-sh: Update to version 2011-11-20.07.
1575 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1576 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1578 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1580 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1581 * elf/sln.c: Likewise.
1582 * hurd/hurd/ioctl.h: Likewise.
1583 * hurd/hurdmalloc.c: Likewise.
1584 * hurd/xattr.c: Likewise.
1585 * include/shlib-compat.h: Likewise.
1586 * inet/ruserpass.c: Likewise.
1587 * libio/iofgets_u.c: Likewise.
1588 * libio/iofgetws_u.c: Likewise.
1589 * locale/programs/ld-identification.c: Likewise.
1590 * locale/programs/ld-time.c: Likewise.
1591 * mach/msg-destroy.c: Likewise.
1592 * nss/nss_files/files-netgrp.c: Likewise.
1593 * resolv/res_data.c: Likewise.
1594 * soft-fp/op-1.h: Likewise.
1595 * soft-fp/op-2.h: Likewise.
1596 * soft-fp/op-4.h: Likewise.
1597 * soft-fp/op-common.h: Likewise.
1598 * stdio-common/printf_fphex.c: Likewise.
1599 * stdlib/strtod_l.c: Likewise.
1600 * sunrpc/rpc/clnt.h: Likewise.
1601 * sysdeps/generic/framestate.c: Likewise.
1602 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1603 * sysdeps/i386/bsd-setjmp.S: Likewise.
1604 * sysdeps/i386/__longjmp.S: Likewise.
1605 * sysdeps/i386/setjmp.S: Likewise.
1606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1607 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1624 * sysdeps/ieee754/support.c: Likewise.
1625 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1626 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1627 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1628 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1629 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1630 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1631 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1632 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1633 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1634 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1635 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1636 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1637 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1638 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1639 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1640 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1641 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1644 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1646 * posix/transbug.c: Remove executable mode.
1648 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1650 * crypt/speeds.c: Remove trailing whitespace.
1651 * dlfcn/default.c: Likewise.
1652 * elf/ifuncdep2.c: Likewise.
1653 * elf/ifuncmain1.c: Likewise.
1654 * elf/ifuncmain1vis.c: Likewise.
1655 * elf/testobj.h: Likewise.
1656 * elf/tst-stackguard1.c: Likewise.
1657 * gmon/sys/gmon.h: Likewise.
1658 * hurd/hurdmsg.c: Likewise.
1659 * hurd/new-fd.c: Likewise.
1660 * hurd/ports-get.c: Likewise.
1661 * iconvdata/ibm1008_420.c: Likewise.
1662 * inet/tst-getni1.c: Likewise.
1663 * inet/tst-getni2.c: Likewise.
1664 * libio/ioungetc.c: Likewise.
1665 * libio/wfiledoalloc.c: Likewise.
1666 * manual/libm-err-tab.pl: Likewise.
1667 * math/w_dremf.c: Likewise.
1668 * misc/ftruncate.c: Likewise.
1669 * posix/bug-glob2.c: Likewise.
1670 * posix/tst-pcre.c: Likewise.
1671 * posix/wait4.c: Likewise.
1672 * resolv/README: Likewise.
1673 * resolv/res_debug.h: Likewise.
1674 * resolv/tst-inet_ntop.c: Likewise.
1675 * setjmp/bug269-setjmp.c: Likewise.
1676 * soft-fp/extended.h: Likewise.
1677 * soft-fp/op-1.h: Likewise.
1678 * soft-fp/op-2.h: Likewise.
1679 * soft-fp/op-4.h: Likewise.
1680 * soft-fp/op-8.h: Likewise.
1681 * soft-fp/testit.c: Likewise.
1682 * stdio-common/bug16.c: Likewise.
1683 * stdlib/random.c: Likewise.
1684 * sunrpc/rpcsvc/rquota.x: Likewise.
1685 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1686 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1688 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1689 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1690 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1691 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1692 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1694 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1714 * sysdeps/ieee754/s_lib_version.c: Likewise.
1715 * sysdeps/mach/hurd/check_fds.c: Likewise.
1716 * sysdeps/mach/hurd/getsockname.c: Likewise.
1717 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1718 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1719 * sysdeps/powerpc/bits/link.h: Likewise.
1720 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1721 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1722 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1723 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1724 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1725 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1726 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1727 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1728 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1729 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1730 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1731 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1732 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1733 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1734 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1735 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1737 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1740 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1741 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1743 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1744 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1745 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1746 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1747 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1750 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1751 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1753 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1754 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1755 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1758 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1759 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1760 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1761 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1762 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1763 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1764 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1765 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1766 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1767 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1772 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1773 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1775 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1776 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1778 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1780 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1782 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1783 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1784 * sysdeps/powerpc/sysdep.h: Likewise.
1785 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1786 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1787 * sysdeps/sh/dl-trampoline.S: Likewise.
1788 * sysdeps/sh/memset.S: Likewise.
1789 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1790 * sysdeps/sh/strlen.S: Likewise.
1791 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1792 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1793 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1794 * sysdeps/sparc/sparc32/rem.S: Likewise.
1795 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1796 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1797 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1798 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1799 * sysdeps/sparc/sparc32/urem.S: Likewise.
1800 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1801 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1802 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1803 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1805 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1806 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1807 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1808 * sysdeps/unix/bsd/times.c: Likewise.
1809 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1810 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1814 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1815 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1817 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1818 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1820 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1821 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1822 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1824 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1825 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1826 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1827 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1828 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1829 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1830 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1832 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1833 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1834 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1835 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1837 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1838 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1839 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1840 * sysdeps/x86_64/strcspn.S: Likewise.
1842 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1844 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1845 generated file. Regenerate properly from gen-translit.pl.
1846 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1847 locale/C-translit.h.
1849 2013-06-05 Andreas Schwab <schwab@suse.de>
1852 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1853 week as 6 instead of -1.
1854 * time/tst-strptime.c (day_tests): Add test case.
1856 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1858 * sysdeps/generic/math_private.h
1859 (libc_feholdexcept_setround_53bit): Replace with
1860 libc_feholdsetround_53bit.
1861 (libc_feupdateenv_53bit): Replace with
1862 libc_feresetround_53bit.
1863 (SET_RESTORE_ROUND_53BIT): Adjust.
1865 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1867 * string/test-strchrnul.c: Add copyright header.
1869 * posix/tst-getaddrinfo4.c: Increase test timeout.
1871 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1874 * math/libm-test.inc (MAX_EXP): Remove
1876 (ulp): Use MIN_EXP - MANT_DIG.
1877 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1879 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1881 * po/be.po: Revert last change.
1882 * po/zh_CN.po: Likewise.
1883 * po/header.pot: Likewise.
1885 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1887 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1888 link-libc-deps to empty as target-specific variable.
1889 * Makerules (link-libc-args): New variable.
1890 (libc-for-link): Likewise.
1891 (link-libc-deps): Likewise.
1892 (lib%.so): Depend on $(link-libc-deps). Link with
1894 (build-module): Link with $(link-libc-args).
1895 (build-module-asneeded): Likewise.
1896 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1898 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1899 target-specific variable.
1900 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1901 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1902 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1904 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1906 ($(objpfx)libpcprofile.so): Likewise.
1907 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1909 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1910 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1911 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1913 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1914 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1915 * login/Makefile ($(objpfx)libutil.so): Likewise.
1916 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1917 * math/Makefile ($(objpfx)libm.so): Likewise.
1918 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1919 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1920 variable instead of depending directly on libc.
1921 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1922 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1924 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1926 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1927 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1928 ($(objpfx)libanl.so): Likewise.
1929 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1931 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1933 * sysdeps/i386/fpu/Makefile: Remove file.
1934 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1935 ($(objpfx)libm.so): Remove dependency on ld.so.
1937 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1940 * nis/yp_xdr.c (XDRMAXNAME): Define.
1941 (XDRMAXRECORD): Define.
1942 (xdr_domainname): Use XDRMAXNAME.
1943 (xdr_mapname): Likewise.
1944 (xdr_peername): Likewise.
1945 (xdr_keydat): Use XDRMAXRECORD.
1946 (xdr_valdat): Likewise.
1948 2013-05-30 Jeff Law <law@redhat.com>
1951 * manual/errno.texi (ESTALE): Update to account for more than
1952 just NFS file systems.
1953 * sysdeps/gnu/errlist.c: Regenerated.
1955 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1958 * elf/Makefile (tests): Add tst-null-argv.
1959 (modules-names): Add tst-null-argv-lib.
1960 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1961 (tst-null-argv-ENV): Set environment for tst-null-argv.
1962 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1963 (RTLD_PROGNAME): New macro.
1964 * elf/tst-null-argv.c: New test case.
1965 * elf/tst-null-argv-lib.c: Library for test case.
1966 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1967 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1968 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1969 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1970 * elf/dl-init.c (call_init): Likewise.
1971 (_dl_init): Likewise.
1972 * elf/dl-load.c (print_search_path): Likewise.
1973 (_dl_map_object): Likewise.
1974 * elf/dl-lookup.c (do_lookup_x): Likewise.
1975 (add_dependency): Likewise.
1976 (_dl_lookup_symbol_x): Likewise.
1977 (_dl_debug_bindings): Likewise.
1978 * elf/dl-open.c (_dl_show_scope): Likewise.
1979 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1980 * elf/dl-version.c (match_symbol): Likewise.
1981 (_dl_check_map_versions): Likewise.
1982 * elf/rtld.c (dl_main): Likewise.
1983 (print_unresolved): Use RTLD_PROGNAME.
1984 (print_missing_version): Likewise.
1985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1986 (elf_machine_rela): Likewise.
1987 * sysdeps/powerpc/powerpc32/dl-machine.c
1988 (__process_machine_rela): Likewise.
1989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1993 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1995 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1996 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2000 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2002 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2004 * po/be.po: Add descriptive title.
2005 * po/zh_CN.po: Likewise.
2006 * po/header.pot: Likewise.
2008 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2010 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2012 (enlarge_archive): Likewise.
2014 2013-05-28 Ben North <ben@redfrontdoor.org>
2016 * manual/arith.texi (frexp): It is the magnitude of the return
2017 value which lies in [0.5, 1), not the return value itself.
2019 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2023 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2025 * stdio-common/bug26.c (main): Correct fscanf template.
2027 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2028 declare _dl_skip_args.
2030 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2033 * manual/platform.texi: Add missing @end deftypefun.
2035 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2039 bit of mantissa of 2^16382.
2040 * math/libm-test.inc (hypot_test_data): Add more tests.
2042 * math/libm-test.inc: Add drem and pow10 to list of tested
2044 (pow10_test): New function.
2045 (drem_test): Likewise.
2046 (drem_test_tonearest): Likewise.
2047 (drem_test_towardzero): Likewise.
2048 (drem_test_downward): Likewise.
2049 (drem_test_upward): Likewise.
2050 (main): Call the new functions.
2052 * math/libm-test.inc (finite_test_data): Remove.
2053 (finite_test): Run tests from isfinite_test_data.
2054 (gamma_test_data): Remove.
2055 (gamma_test): Run tests from lgamma_test_data.
2056 * sysdeps/i386/fpu/libm-test-ulps: Update.
2057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2059 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061 * manual/platform.texi: Add PowerPC PPR function set documentation.
2062 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2065 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2067 * math/libm-test.inc (MAX_EXP): Define.
2069 (ulp): New function.
2070 (check_float_internal): Use ULPDIFF.
2071 (cpow_test): Disable failing test.
2072 (check_ulp): Test ulp() implemetnation.
2073 (main): Call check_ulp before starting tests.
2075 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2077 * math/gen-libm-test.pl (generate_testfile): Do not handle
2078 START_DATA and END_DATA.
2079 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2081 (acos_tonearest_test_data): Likewise.
2082 (acos_towardzero_test_data): Likewise.
2083 (acos_downward_test_data): Likewise.
2084 (acos_upward_test_data): Likewise.
2085 (acosh_test_data): Likewise.
2086 (asin_test_data): Likewise.
2087 (asin_tonearest_test_data): Likewise.
2088 (asin_towardzero_test_data): Likewise.
2089 (asin_downward_test_data): Likewise.
2090 (asin_upward_test_data): Likewise.
2091 (asinh_test_data): Likewise.
2092 (atan_test_data): Likewise.
2093 (atanh_test_data): Likewise.
2094 (atan2_test_data): Likewise.
2095 (cabs_test_data): Likewise.
2096 (cacos_test_data): Likewise.
2097 (cacosh_test_data): Likewise.
2098 (carg_test_data): Likewise.
2099 (casin_test_data): Likewise.
2100 (casinh_test_data): Likewise.
2101 (catan_test_data): Likewise.
2102 (catanh_test_data): Likewise.
2103 (cbrt_test_data): Likewise.
2104 (ccos_test_data): Likewise.
2105 (ccosh_test_data): Likewise.
2106 (ceil_test_data): Likewise.
2107 (cexp_test_data): Likewise.
2108 (cimag_test_data): Likewise.
2109 (clog_test_data): Likewise.
2110 (clog10_test_data): Likewise.
2111 (conj_test_data): Likewise.
2112 (copysign_test_data): Likewise.
2113 (cos_test_data): Likewise.
2114 (cos_tonearest_test_data): Likewise.
2115 (cos_towardzero_test_data): Likewise.
2116 (cos_downward_test_data): Likewise.
2117 (cos_upward_test_data): Likewise.
2118 (cosh_test_data): Likewise.
2119 (cosh_tonearest_test_data): Likewise.
2120 (cosh_towardzero_test_data): Likewise.
2121 (cosh_downward_test_data): Likewise.
2122 (cosh_upward_test_data): Likewise.
2123 (cpow_test_data): Likewise.
2124 (cproj_test_data): Likewise.
2125 (creal_test_data): Likewise.
2126 (csin_test_data): Likewise.
2127 (csinh_test_data): Likewise.
2128 (csqrt_test_data): Likewise.
2129 (ctan_test_data): Likewise.
2130 (ctan_tonearest_test_data): Likewise.
2131 (ctan_towardzero_test_data): Likewise.
2132 (ctan_downward_test_data): Likewise.
2133 (ctan_upward_test_data): Likewise.
2134 (ctanh_test_data): Likewise.
2135 (ctanh_tonearest_test_data): Likewise.
2136 (ctanh_towardzero_test_data): Likewise.
2137 (ctanh_downward_test_data): Likewise.
2138 (ctanh_upward_test_data): Likewise.
2139 (erf_test_data): Likewise.
2140 (erfc_test_data): Likewise.
2141 (exp_test_data): Likewise.
2142 (exp_tonearest_test_data): Likewise.
2143 (exp_towardzero_test_data): Likewise.
2144 (exp_downward_test_data): Likewise.
2145 (exp_upward_test_data): Likewise.
2146 (exp10_test_data): Likewise.
2147 (exp2_test_data): Likewise.
2148 (expm1_test_data): Likewise.
2149 (fabs_test_data): Likewise.
2150 (fdim_test_data): Likewise.
2151 (finite_test_data): Likewise.
2152 (floor_test_data): Likewise.
2153 (fma_test_data): Likewise.
2154 (fma_towardzero_test_data): Likewise.
2155 (fma_downward_test_data): Likewise.
2156 (fma_upward_test_data): Likewise.
2157 (fmax_test_data): Likewise.
2158 (fmin_test_data): Likewise.
2159 (fmod_test_data): Likewise.
2160 (fpclassify_test_data): Likewise.
2161 (frexp_test_data): Likewise.
2162 (gamma_test_data): Likewise.
2163 (hypot_test_data): Likewise.
2164 (ilogb_test_data): Likewise.
2165 (isfinite_test_data): Likewise.
2166 (isgreater_test_data): Likewise.
2167 (isgreaterequal_test_data): Likewise.
2168 (isinf_test_data): Likewise.
2169 (isless_test_data): Likewise.
2170 (islessequal_test_data): Likewise.
2171 (islessgreater_test_data): Likewise.
2172 (isnan_test_data): Likewise.
2173 (isnormal_test_data): Likewise.
2174 (issignaling_test_data): Likewise.
2175 (isunordered_test_data): Likewise.
2176 (j0_test_data): Likewise.
2177 (j1_test_data): Likewise.
2178 (jn_test_data): Likewise.
2179 (ldexp_test_data): Likewise.
2180 (lgamma_test_data): Likewise.
2181 (lrint_test_data): Likewise.
2182 (lrint_tonearest_test_data): Likewise.
2183 (lrint_towardzero_test_data): Likewise.
2184 (lrint_downward_test_data): Likewise.
2185 (lrint_upward_test_data): Likewise.
2186 (llrint_test_data): Likewise.
2187 (llrint_tonearest_test_data): Likewise.
2188 (llrint_towardzero_test_data): Likewise.
2189 (llrint_downward_test_data): Likewise.
2190 (llrint_upward_test_data): Likewise.
2191 (log_test_data): Likewise.
2192 (log10_test_data): Likewise.
2193 (log1p_test_data): Likewise.
2194 (log2_test_data): Likewise.
2195 (logb_test_data): Likewise.
2196 (logb_downward_test_data): Likewise.
2197 (lround_test_data): Likewise.
2198 (llround_test_data): Likewise.
2199 (modf_test_data): Likewise.
2200 (nearbyint_test_data): Likewise.
2201 (nextafter_test_data): Likewise.
2202 (nexttoward_test_data): Likewise.
2203 (pow_test_data): Likewise.
2204 (pow_tonearest_test_data): Likewise.
2205 (pow_towardzero_test_data): Likewise.
2206 (pow_downward_test_data): Likewise.
2207 (pow_upward_test_data): Likewise.
2208 (remainder_test_data): Likewise.
2209 (remainder_tonearest_test_data): Likewise.
2210 (remainder_towardzero_test_data): Likewise.
2211 (remainder_downward_test_data): Likewise.
2212 (remainder_upward_test_data): Likewise.
2213 (remquo_test_data): Likewise.
2214 (rint_test_data): Likewise.
2215 (rint_tonearest_test_data): Likewise.
2216 (rint_towardzero_test_data): Likewise.
2217 (rint_downward_test_data): Likewise.
2218 (rint_upward_test_data): Likewise.
2219 (round_test_data): Likewise.
2220 (scalb_test_data): Likewise.
2221 (scalbn_test_data): Likewise.
2222 (scalbln_test_data): Likewise.
2223 (signbit_test_data): Likewise.
2224 (sin_test_data): Likewise.
2225 (sin_tonearest_test_data): Likewise.
2226 (sin_towardzero_test_data): Likewise.
2227 (sin_downward_test_data): Likewise.
2228 (sin_upward_test_data): Likewise.
2229 (sincos_test_data): Likewise.
2230 (sinh_test_data): Likewise.
2231 (sinh_tonearest_test_data): Likewise.
2232 (sinh_towardzero_test_data): Likewise.
2233 (sinh_downward_test_data): Likewise.
2234 (sinh_upward_test_data): Likewise.
2235 (sqrt_test_data): Likewise.
2236 (tan_test_data): Likewise.
2237 (tan_tonearest_test_data): Likewise.
2238 (tan_towardzero_test_data): Likewise.
2239 (tan_downward_test_data): Likewise.
2240 (tan_upward_test_data): Likewise.
2241 (tanh_test_data): Likewise.
2242 (tgamma_test_data): Likewise.
2243 (trunc_test_data): Likewise.
2244 (y0_test_data): Likewise.
2245 (y1_test_data): Likewise.
2246 (yn_test_data): Likewise.
2247 (significand_test_data): Likewise.
2249 * math/gen-libm-test.pl (@functions): Remove variable.
2250 (generate_testfile): Don't handle START and END lines.
2251 * math/libm-test.inc (START): New macro.
2253 (END_COMPLEX): Likewise.
2254 (acos_test): Use END macro without arguments.
2255 (acos_test_tonearest): Likewise.
2256 (acos_test_towardzero): Likewise.
2257 (acos_test_downward): Likewise.
2258 (acos_test_upward): Likewise.
2259 (acosh_test): Likewise.
2260 (asin_test): Likewise.
2261 (asin_test_tonearest): Likewise.
2262 (asin_test_towardzero): Likewise.
2263 (asin_test_downward): Likewise.
2264 (asin_test_upward): Likewise.
2265 (asinh_test): Likewise.
2266 (atan_test): Likewise.
2267 (atanh_test): Likewise.
2268 (atan2_test): Likewise.
2269 (cabs_test): Likewise.
2270 (cacos_test): Use END_COMPLEX macro without arguments.
2271 (cacosh_test): Likewise.
2272 (carg_test): Use END macro without arguments.
2273 (casin_test): Use END_COMPLEX macro without arguments.
2274 (casinh_test): Likewise.
2275 (catan_test): Likewise.
2276 (catanh_test): Likewise.
2277 (cbrt_test): Use END macro without arguments.
2278 (ccos_test): Use END_COMPLEX macro without arguments.
2279 (ccosh_test): Likewise.
2280 (ceil_test): Use END macro without arguments.
2281 (cexp_test): Use END_COMPLEX macro without arguments.
2282 (cimag_test): Use END macro without arguments.
2283 (clog_test): Use END_COMPLEX macro without arguments.
2284 (clog10_test): Likewise.
2285 (conj_test): Likewise.
2286 (copysign_test): Use END macro without arguments.
2287 (cos_test): Likewise.
2288 (cos_test_tonearest): Likewise.
2289 (cos_test_towardzero): Likewise.
2290 (cos_test_downward): Likewise.
2291 (cos_test_upward): Likewise.
2292 (cosh_test): Likewise.
2293 (cosh_test_tonearest): Likewise.
2294 (cosh_test_towardzero): Likewise.
2295 (cosh_test_downward): Likewise.
2296 (cosh_test_upward): Likewise.
2297 (cpow_test): Use END_COMPLEX macro without arguments.
2298 (cproj_test): Likewise.
2299 (creal_test): Use END macro without arguments.
2300 (csin_test): Use END_COMPLEX macro without arguments.
2301 (csinh_test): Likewise.
2302 (csqrt_test): Likewise.
2303 (ctan_test): Likewise.
2304 (ctan_test_tonearest): Likewise.
2305 (ctan_test_towardzero): Likewise.
2306 (ctan_test_downward): Likewise.
2307 (ctan_test_upward): Likewise.
2308 (ctanh_test): Likewise.
2309 (ctanh_test_tonearest): Likewise.
2310 (ctanh_test_towardzero): Likewise.
2311 (ctanh_test_downward): Likewise.
2312 (ctanh_test_upward): Likewise.
2313 (erf_test): Use END macro without arguments.
2314 (erfc_test): Likewise.
2315 (exp_test): Likewise.
2316 (exp_test_tonearest): Likewise.
2317 (exp_test_towardzero): Likewise.
2318 (exp_test_downward): Likewise.
2319 (exp_test_upward): Likewise.
2320 (exp10_test): Likewise.
2321 (exp2_test): Likewise.
2322 (expm1_test): Likewise.
2323 (fabs_test): Likewise.
2324 (fdim_test): Likewise.
2325 (finite_test): Likewise.
2326 (floor_test): Likewise.
2327 (fma_test): Likewise.
2328 (fma_test_towardzero): Likewise.
2329 (fma_test_downward): Likewise.
2330 (fma_test_upward): Likewise.
2331 (fmax_test): Likewise.
2332 (fmin_test): Likewise.
2333 (fmod_test): Likewise.
2334 (fpclassify_test): Likewise.
2335 (frexp_test): Likewise.
2336 (gamma_test): Likewise.
2337 (hypot_test): Likewise.
2338 (ilogb_test): Likewise.
2339 (isfinite_test): Likewise.
2340 (isgreater_test): Likewise.
2341 (isgreaterequal_test): Likewise.
2342 (isinf_test): Likewise.
2343 (isless_test): Likewise.
2344 (islessequal_test): Likewise.
2345 (islessgreater_test): Likewise.
2346 (isnan_test): Likewise.
2347 (isnormal_test): Likewise.
2348 (issignaling_test): Likewise.
2349 (isunordered_test): Likewise.
2350 (j0_test): Likewise.
2351 (j1_test): Likewise.
2352 (jn_test): Likewise.
2353 (ldexp_test): Likewise.
2354 (lgamma_test): Likewise.
2355 (lrint_test): Likewise.
2356 (lrint_test_tonearest): Likewise.
2357 (lrint_test_towardzero): Likewise.
2358 (lrint_test_downward): Likewise.
2359 (lrint_test_upward): Likewise.
2360 (llrint_test): Likewise.
2361 (llrint_test_tonearest): Likewise.
2362 (llrint_test_towardzero): Likewise.
2363 (llrint_test_downward): Likewise.
2364 (llrint_test_upward): Likewise.
2365 (log_test): Likewise.
2366 (log10_test): Likewise.
2367 (log1p_test): Likewise.
2368 (log2_test): Likewise.
2369 (logb_test): Likewise.
2370 (logb_test_downward): Likewise.
2371 (lround_test): Likewise.
2372 (llround_test): Likewise.
2373 (modf_test): Likewise.
2374 (nearbyint_test): Likewise.
2375 (nextafter_test): Likewise.
2376 (nexttoward_test): Likewise.
2377 (pow_test): Likewise.
2378 (pow_test_tonearest): Likewise.
2379 (pow_test_towardzero): Likewise.
2380 (pow_test_downward): Likewise.
2381 (pow_test_upward): Likewise.
2382 (remainder_test): Likewise.
2383 (remainder_test_tonearest): Likewise.
2384 (remainder_test_towardzero): Likewise.
2385 (remainder_test_downward): Likewise.
2386 (remainder_test_upward): Likewise.
2387 (remquo_test): Likewise.
2388 (rint_test): Likewise.
2389 (rint_test_tonearest): Likewise.
2390 (rint_test_towardzero): Likewise.
2391 (rint_test_downward): Likewise.
2392 (rint_test_upward): Likewise.
2393 (round_test): Likewise.
2394 (scalb_test): Likewise.
2395 (scalbn_test): Likewise.
2396 (scalbln_test): Likewise.
2397 (signbit_test): Likewise.
2398 (sin_test): Likewise.
2399 (sin_test_tonearest): Likewise.
2400 (sin_test_towardzero): Likewise.
2401 (sin_test_downward): Likewise.
2402 (sin_test_upward): Likewise.
2403 (sincos_test): Likewise.
2404 (sinh_test): Likewise.
2405 (sinh_test_tonearest): Likewise.
2406 (sinh_test_towardzero): Likewise.
2407 (sinh_test_downward): Likewise.
2408 (sinh_test_upward): Likewise.
2409 (sqrt_test): Likewise.
2410 (tan_test): Likewise.
2411 (tan_test_tonearest): Likewise.
2412 (tan_test_towardzero): Likewise.
2413 (tan_test_downward): Likewise.
2414 (tan_test_upward): Likewise.
2415 (tanh_test): Likewise.
2416 (tgamma_test): Likewise.
2417 (trunc_test): Likewise.
2418 (y0_test): Likewise.
2419 (y1_test): Likewise.
2420 (yn_test): Likewise.
2421 (significand_test): Likewise.
2423 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2426 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2428 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2431 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2432 __ppc_mdoio and __ppc_mdoom.
2433 * manual/platform.texi: Document new functions __ppc_yield,
2434 __ppc_mdoio and __ppc_mdoom.
2436 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2438 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2439 (main): Mention "tls" pseudo-hwcap is legacy.
2440 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2442 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2444 * math/gen-libm-test.pl (parse_args): Output only string of
2445 arguments as text for test name, not full call or descriptions of
2446 tests for extra outputs.
2447 (generate_testfile): Do not pass function name to parse_args.
2448 Generate this_func variable from START.
2449 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2451 (struct test_ff_f_data): Likewise.
2452 (test_ff_f_data_nexttoward): Likewise.
2453 (struct test_fi_f_data): Likewise.
2454 (struct test_fl_f_data): Likewise.
2455 (struct test_if_f_data): Likewise.
2456 (struct test_fff_f_data): Likewise.
2457 (struct test_c_f_data): Likewise.
2458 (struct test_f_f1_data): Likewise. Remove field extra_name.
2459 (struct test_fF_f1_data): Likewise.
2460 (struct test_ffI_f1_data): Likewise.
2461 (struct test_c_c_data): Rename test_name field to arg_str.
2462 (struct test_cc_c_data): Likewise.
2463 (struct test_f_i_data): Likewise.
2464 (struct test_ff_i_data): Likewise.
2465 (struct test_f_l_data): Likewise.
2466 (struct test_f_L_data): Likewise.
2467 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2469 (COMMON_TEST_SETUP): New macro.
2470 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2471 (COMMON_TEST_CLEANUP): Likewise.
2472 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2473 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2475 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2476 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2478 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2479 (RUN_TEST_fff_f): Take argument string. Call new setup and
2481 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2482 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2484 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2485 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2487 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2488 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2490 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2491 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2493 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2494 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2496 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2497 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2499 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2500 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2502 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2503 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2505 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2506 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2508 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2509 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2511 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2512 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2514 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2515 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2517 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2518 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2520 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2521 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2523 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2524 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2526 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2528 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2530 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2531 to _sifields.sigfault.
2532 (si_addr_lsb): Define new macro.
2533 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2535 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2537 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2540 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2542 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2544 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2547 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2549 * math/gen-libm-test.pl (parse_args): Do not include expected
2550 result in test name.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2554 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2558 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2560 * benchtests/Makefile: Sort function entries.
2562 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2563 tanh, asinh, acosh, atanh.
2564 * benchtests/acos-inputs: New file.
2565 * benchtests/acosh-inputs: New file.
2566 * benchtests/asin-inputs: New file.
2567 * benchtests/asinh-inputs: New file.
2568 * benchtests/atanh-inputs: New file.
2569 * benchtests/cosh-inputs: New file.
2570 * benchtests/log-inputs: New file.
2571 * benchtests/sinh-inputs: New file.
2572 * benchtests/tanh-inputs: New file.
2574 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2577 * posix/tst-getaddrinfo4.c: New test.
2578 * posix/Makefile (tests): Add it.
2580 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2583 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2584 when no services were used.
2585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2586 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2588 2013-05-21 Andreas Schwab <schwab@suse.de>
2591 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2592 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2594 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2595 redundant variable declarations and reallocation of buffer when
2596 parsing as IPv6 address. Always set NSS status when called from
2597 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2598 buffer too small. Correct computation of needed size.
2599 * nss/Makefile (tests): Add test-digits-dots.
2600 * nss/test-digits-dots.c: New test.
2602 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2604 * benchtests/Makefile: Remove instructions for adding
2606 * benchtests/README: New file to explain how to execute and
2607 enhance the benchmark tests.
2609 2013-05-21 Andreas Schwab <schwab@suse.de>
2612 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2613 * setjmp/tst-sigsetjmp.c: New test.
2615 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2617 * sysdeps/x86_64/memset.S (memset): New implementation.
2618 (__bzero): Likewise.
2619 (__memset_tail): New function.
2621 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2623 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2624 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2625 __memcpy_sse2_unaligned ifunc selection.
2626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2627 Add memcpy-sse2-unaligned.S.
2628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2629 Add: __memcpy_sse2_unaligned.
2631 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2634 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2635 math_force_eval before restoring floating-point envrionment.
2636 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2639 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2641 (__nearbyintl): Use math_force_eval before restoring
2642 floating-point environment.
2643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2645 * math/gen-libm-test.pl (special_functions): Remove.
2646 (parse_args): Don't handle TEST_extra. Handle functions with no
2648 * math/libm-test.inc (struct test_sincos_data): Replace with
2649 struct test_fFF_11_data.
2650 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2651 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2652 (sincos_test_data): Change element type to struct
2653 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2654 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2655 RUN_TEST_LOOP_sincos.
2656 * math/README.libm-test: Don't mention special handling of
2657 individual functions.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2659 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2660 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2661 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2662 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2665 * math/gen-libm-test.pl (get_variable): Remove function.
2666 (parse_args): Don't show pointer parameters to call in test
2667 names. Use "extra output N" in test names for extra outputs
2668 rather than naming variables.
2670 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2673 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2674 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2675 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2677 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2679 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2682 * math/gen-libm-test.pl (@tests): Remove variable.
2684 (new_test): Remove function.
2685 (show_exceptions): New function.
2686 (special_functions): Use show_exceptions instead of new_test.
2687 (parse_args): Likewise.
2688 (generate_testfile): Pass only function name in generated call to
2689 print_max_error or print_complex_max_error.
2690 (get_ulps): Do not handle complex tests specially.
2691 (output_test): Rename to ...
2692 (get_all_ulps_for_test): ... this. Return a string rather than
2693 printing to a file. Require ulps to be present.
2694 (output_ulps): Generate arrays rather than #defines.
2695 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2696 (struct ulp_data): New type.
2697 (BUILD_COMPLEX_ULP): Remove macro.
2698 (compare_ulp_data): New function.
2699 (find_ulps): Likewise.
2700 (find_test_ulps): Likewise.
2701 (find_function_ulps): Likewise.
2702 (find_complex_function_ulps): Likewise.
2703 (print_max_error): Determine allowed ulps using
2705 (print_complex_max_error): Determine allowed ulps using
2706 find_complex_function_ulps.
2707 (check_float_internal): Determine max ulps using find_test_ulps.
2708 (check_float): Do not take max_ulp parameter. Update call to
2709 check_float_internal.
2710 (check_complex): Likewise.
2711 (check_int): Do not take max_ulp parameter.
2712 (check_long): Likewise.
2713 (check_bool): Likewise.
2714 (check_longlong): Likewise.
2715 (struct test_f_f_data): Remove max_ulp field.
2716 (struct test_ff_f_data): Likewise.
2717 (struct test_ff_f_data_nexttoward): Likewise.
2718 (struct test_fi_f_data): Likewise.
2719 (struct test_fl_f_data): Likewise.
2720 (struct test_if_f_data): Likewise.
2721 (struct test_fff_f_data): Likewise.
2722 (struct test_c_f_data): Likewise.
2723 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2724 (struct test_fF_f1_data): Likewise.
2725 (struct test_ffI_f1_data): Likewise.
2726 (struct test_c_c_data): Remove max_ulp field.
2727 (struct test_cc_c_data): Likewise.
2728 (struct test_f_i_data): Likewise.
2729 (struct test_ff_i_data): Likewise.
2730 (struct test_f_l_data): Likewise.
2731 (struct test_f_L_data): Likewise.
2732 (struct test_sincos_data): Likewise.
2733 (RUN_TEST_f_f): Do not handle ulps.
2734 (RUN_TEST_LOOP_f_f): Likewise.
2735 (RUN_TEST_2_f): Likewise.
2736 (RUN_TEST_LOOP_2_f): Likewise.
2737 (RUN_TEST_fff_f): Likewise.
2738 (RUN_TEST_LOOP_fff_f): Likewise.
2739 (RUN_TEST_c_f): Likewise.
2740 (RUN_TEST_LOOP_c_f): Likewise.
2741 (RUN_TEST_f_f1): Likewise.
2742 (RUN_TEST_LOOP_f_f1): Likewise.
2743 (RUN_TEST_fF_f1): Likewise.
2744 (RUN_TEST_LOOP_fF_f1): Likewise.
2745 (RUN_TEST_fI_f1): Likewise.
2746 (RUN_TEST_LOOP_fI_f1): Likewise.
2747 (RUN_TEST_ffI_f1): Likewise.
2748 (RUN_TEST_LOOP_ffI_f1): Likewise.
2749 (RUN_TEST_c_c): Likewise.
2750 (RUN_TEST_LOOP_c_c): Likewise.
2751 (RUN_TEST_cc_c): Likewise.
2752 (RUN_TEST_LOOP_cc_c): Likewise.
2753 (RUN_TEST_f_i): Likewise.
2754 (RUN_TEST_LOOP_f_i): Likewise.
2755 (RUN_TEST_f_i_tg): Likewise.
2756 (RUN_TEST_LOOP_f_i_tg): Likewise.
2757 (RUN_TEST_ff_i_tg): Likewise.
2758 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2759 (RUN_TEST_f_b): Likewise.
2760 (RUN_TEST_LOOP_f_b): Likewise.
2761 (RUN_TEST_f_b_tg): Likewise.
2762 (RUN_TEST_LOOP_f_b_tg): Likewise.
2763 (RUN_TEST_f_l): Likewise.
2764 (RUN_TEST_LOOP_f_l): Likewise.
2765 (RUN_TEST_f_L): Likewise.
2766 (RUN_TEST_LOOP_f_L): Likewise.
2767 (RUN_TEST_sincos): Likewise.
2768 (RUN_TEST_LOOP_sincos): Likewise.
2770 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2774 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2775 main case of finite arguments, set rounding mode to FE_TONEAREST
2776 and discard exceptions.
2777 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2779 (remainder_tonearest_test_data): New variable.
2780 (remainder_test_tonearest): New function.
2781 (remainder_towardzero_test_data): New variable.
2782 (remainder_test_towardzero): New function.
2783 (remainder_downward_test_data): New variable.
2784 (remainder_test_downward): New function.
2785 (remainder_upward_test_data): New variable.
2786 (remainder_test_upward): New function.
2787 (main): Call the new test functions.
2789 * math/libm-test.inc (struct test_f_f1_data): Remove field
2791 (struct test_fF_f1_data): Likewise.
2792 (struct test_ffI_f1_data): Likewise.
2793 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2794 based on value of EXTRA_EXPECTED.
2795 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2796 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2797 EXTRA_VAR based on value of EXTRA_EXPECTED.
2798 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2799 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2800 EXTRA_VAR based on value of EXTRA_EXPECTED.
2801 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2802 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2803 EXTRA_VAR based on value of EXTRA_EXPECTED.
2804 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2805 * math/gen-libm-test.pl (parse_args): Don't output initializers
2806 for extra output values.
2808 * math/libm-test.inc (check_int): Expect result to be exactly
2809 equal to expected value and do not handle ulps.
2810 (check_long): Likewise.
2811 (check_longlong): Likewise.
2813 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2815 (cimag_test_data): Likewise.
2816 (conj_test_data): Likewise.
2817 (copysign_test_data): Likewise.
2818 (cproj_test_data): Likewise.
2819 (creal_test_data): Likewise.
2820 (fabs_test_data): Likewise.
2821 (fdim_test_data): Likewise.
2822 (finite_test_data): Likewise.
2823 (floor_test_data): Likewise.
2824 (fmax_test_data): Likewise.
2825 (fmin_test_data): Likewise.
2826 (fmod_test_data): Likewise.
2827 (fpclassify_test_data): Likewise.
2828 (frexp_test_data): Likewise.
2829 (ilogb_test_data): Likewise.
2830 (isfinite_test_data): Likewise.
2831 (isgreater_test_data): Likewise.
2832 (isgreaterequal_test_data): Likewise.
2833 (isinf_test_data): Likewise.
2834 (isless_test_data): Likewise.
2835 (islessequal_test_data): Likewise.
2836 (islessgreater_test_data): Likewise.
2837 (isnan_test_data): Likewise.
2838 (isnormal_test_data): Likewise.
2839 (issignaling_test_data): Likewise.
2840 (isunordered_test_data): Likewise.
2841 (ldexp_test_data): Likewise.
2842 (lrint_test_data): Likewise.
2843 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2844 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2845 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2846 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2847 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2848 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2850 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2851 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2852 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2853 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2855 (lrint_downward_test_data): Test for "inexact" exceptions.
2856 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2857 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2858 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2860 (lrint_upward_test_data): Test for "inexact" exceptions.
2861 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2863 (llrint_test_data): Test for "inexact" exceptions.
2864 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2865 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2866 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2867 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2868 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2869 (llrint_downward_test_data): Test for "inexact" exceptions.
2870 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2871 (llrint_upward_test_data): Test for "inexact" exceptions.
2872 (logb_test_data): Likewise.
2873 (logb_downward_test_data): Likewise.
2874 (nextafter_test_data): Likewise.
2875 (nexttoward_test_data): Likewise.
2876 (remainder_test_data): Likewise.
2877 (remquo_test_data): Likewise.
2878 (scalbn_test_data): Likewise.
2879 (scalbln_test_data): Likewise.
2880 (signbit_test_data): Likewise.
2881 (sqrt_test_data): Likewise.
2882 (significand_test_data): Likewise.
2884 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 * benchtests/bench-modf.c (struct args): Mark arg0 as
2889 * scripts/bench.pl: Mark members of struct args as volatile.
2891 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2894 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2895 negative infinity on POWER6 or lower.
2896 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2898 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2901 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2902 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2903 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2904 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2905 (_FP_SETQNAN): New macro.
2906 (_FP_SETQNAN_SEMIRAW): Likewise.
2907 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2908 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2909 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2910 (FP_EXTEND): Use _FP_FRAC_SNANP.
2911 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2912 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2914 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2916 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2919 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2921 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2922 with DIVIDE_BY_ZERO_EXCEPTION.
2923 (gamma_test_data): Likewise.
2924 (lgamma_test_data): Likewise.
2925 (log_test_data): Likewise.
2926 (log10_test_data): Likewise.
2927 (log2_test_data): Likewise.
2928 (tgamma_test_data): Likewise.
2930 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2931 (acos_test_tonearest): Likewise.
2932 (acos_test_towardzero): Likewise.
2933 (acos_test_downward): Likewise.
2934 (acos_test_upward): Likewise.
2935 (acosh_test): Likewise.
2936 (asin_test): Likewise.
2937 (asin_test_tonearest): Likewise.
2938 (asin_test_towardzero): Likewise.
2939 (asin_test_downward): Likewise.
2940 (asin_test_upward): Likewise.
2941 (asinh_test): Likewise.
2942 (atan_test): Likewise.
2943 (atanh_test): Likewise.
2944 (atan2_test): Likewise.
2945 (cabs_test): Likewise.
2946 (cacos_test): Likewise.
2947 (cacosh_test): Likewise.
2948 (casin_test): Likewise.
2949 (casinh_test): Likewise.
2950 (catan_test): Likewise.
2951 (catanh_test): Likewise.
2952 (cbrt_test): Likewise.
2953 (ccos_test): Likewise.
2954 (ccosh_test): Likewise.
2955 (cexp_test): Likewise.
2956 (clog_test): Likewise.
2957 (clog10_test): Likewise.
2958 (cos_test): Likewise.
2959 (cos_test_tonearest): Likewise.
2960 (cos_test_towardzero): Likewise.
2961 (cos_test_downward): Likewise.
2962 (cos_test_upward): Likewise.
2963 (cosh_test): Likewise.
2964 (cosh_test_tonearest): Likewise.
2965 (cosh_test_towardzero): Likewise.
2966 (cosh_test_downward): Likewise.
2967 (cosh_test_upward): Likewise.
2968 (cpow_test): Likewise.
2969 (csin_test): Likewise.
2970 (csinh_test): Likewise.
2971 (csqrt_test): Likewise.
2972 (ctan_test): Likewise.
2973 (ctan_test_tonearest): Likewise.
2974 (ctan_test_towardzero): Likewise.
2975 (ctan_test_downward): Likewise.
2976 (ctan_test_upward): Likewise.
2977 (ctanh_test): Likewise.
2978 (ctanh_test_tonearest): Likewise.
2979 (ctanh_test_towardzero): Likewise.
2980 (ctanh_test_downward): Likewise.
2981 (ctanh_test_upward): Likewise.
2982 (erf_test): Likewise.
2983 (erfc_test): Likewise.
2984 (exp_test): Likewise.
2985 (exp_test_tonearest): Likewise.
2986 (exp_test_towardzero): Likewise.
2987 (exp_test_downward): Likewise.
2988 (exp_test_upward): Likewise.
2989 (exp10_test): Likewise.
2990 (exp2_test): Likewise.
2991 (expm1_test): Likewise.
2992 (fmod_test): Likewise.
2993 (gamma_test): Likewise.
2994 (hypot_test): Likewise.
2995 (j0_test): Likewise.
2996 (j1_test): Likewise.
2997 (jn_test): Likewise.
2998 (lgamma_test): Likewise.
2999 (log_test): Likewise.
3000 (log10_test): Likewise.
3001 (log1p_test): Likewise.
3002 (log2_test): Likewise.
3003 (logb_test_downward): Likewise.
3004 (pow_test): Likewise.
3005 (pow_test_tonearest): Likewise.
3006 (pow_test_towardzero): Likewise.
3007 (pow_test_downward): Likewise.
3008 (pow_test_upward): Likewise.
3009 (remainder_test): Likewise.
3010 (remquo_test): Likewise.
3011 (sin_test): Likewise.
3012 (sin_test_tonearest): Likewise.
3013 (sin_test_towardzero): Likewise.
3014 (sin_test_downward): Likewise.
3015 (sin_test_upward): Likewise.
3016 (sincos_test): Likewise.
3017 (sinh_test): Likewise.
3018 (sinh_test_tonearest): Likewise.
3019 (sinh_test_towardzero): Likewise.
3020 (sinh_test_downward): Likewise.
3021 (sinh_test_upward): Likewise.
3022 (sqrt_test): Likewise.
3023 (tan_test): Likewise.
3024 (tan_test_tonearest): Likewise.
3025 (tan_test_towardzero): Likewise.
3026 (tan_test_downward): Likewise.
3027 (tan_test_upward): Likewise.
3028 (tanh_test): Likewise.
3029 (tgamma_test): Likewise.
3030 (y0_test): Likewise.
3031 (y1_test): Likewise.
3032 (yn_test): Likewise.
3034 * math/gen-libm-test.pl (adjust_arg): Remove function.
3035 (special_function): Remove argument $in_func. Only handle
3036 generating output for tables of tests, not inside functions.
3037 (parse_args): Likewise.
3038 (generate_testfile): Remove variable $in_func. Update call to
3040 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3041 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3042 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3043 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3044 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3045 (MAX_VALUE_INIT): Rename macro to max_value.
3046 (MIN_VALUE_INIT): Rename macro to min_value.
3047 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3048 (plus_zero): Remove variable.
3049 (minus_zero): Likewise.
3050 (plus_infty): Likewise.
3051 (minus_infty): Likewise.
3052 (qnan_value): Likewise.
3053 (max_value): Likewise.
3054 (min_value): Likewise.
3055 (min_subnorm_value): Likewise.
3057 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3059 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3060 uint64_t or uint32_t usage.
3061 * crypt/sha256-block.c: Likewise.
3062 * crypt/sha256-crypt.c: Likewise.
3063 * crypt/sha256.c: Likewise.
3064 * crypt/sha512-block.c: Likewise.
3065 * crypt/sha512-crypt.c: Likewise.
3066 * crypt/sha512.c: Likewise.
3067 * debug/backtrace-tst.c: Likewise.
3068 * debug/pcprofiledump.c: Likewise.
3069 * elf/cache.c: Likewise.
3070 * elf/dl-cache.c: Likewise.
3071 * elf/dl-misc.c: Likewise.
3072 * elf/dl-profile.c: Likewise.
3073 * elf/dl-support.c: Likewise.
3074 * elf/ldconfig.c: Likewise.
3075 * elf/sprof.c: Likewise.
3076 * iconv/dummy-repertoire.c: Likewise.
3077 * iconv/iconv_charmap.c: Likewise.
3078 * iconv/skeleton.c: Likewise.
3079 * iconvdata/8bit-generic.c: Likewise.
3080 * iconvdata/cp737.h: Likewise.
3081 * iconvdata/cp775.h: Likewise.
3082 * iconvdata/ibm1008.h: Likewise.
3083 * iconvdata/ibm1025.h: Likewise.
3084 * iconvdata/ibm1046.h: Likewise.
3085 * iconvdata/ibm1097.h: Likewise.
3086 * iconvdata/ibm1112.h: Likewise.
3087 * iconvdata/ibm1122.h: Likewise.
3088 * iconvdata/ibm1123.h: Likewise.
3089 * iconvdata/ibm1124.h: Likewise.
3090 * iconvdata/ibm1129.h: Likewise.
3091 * iconvdata/ibm1130.h: Likewise.
3092 * iconvdata/ibm1132.h: Likewise.
3093 * iconvdata/ibm1133.h: Likewise.
3094 * iconvdata/ibm1137.h: Likewise.
3095 * iconvdata/ibm1140.h: Likewise.
3096 * iconvdata/ibm1141.h: Likewise.
3097 * iconvdata/ibm1142.h: Likewise.
3098 * iconvdata/ibm1143.h: Likewise.
3099 * iconvdata/ibm1144.h: Likewise.
3100 * iconvdata/ibm1145.h: Likewise.
3101 * iconvdata/ibm1146.h: Likewise.
3102 * iconvdata/ibm1147.h: Likewise.
3103 * iconvdata/ibm1148.h: Likewise.
3104 * iconvdata/ibm1149.h: Likewise.
3105 * iconvdata/ibm1153.h: Likewise.
3106 * iconvdata/ibm1154.h: Likewise.
3107 * iconvdata/ibm1155.h: Likewise.
3108 * iconvdata/ibm1156.h: Likewise.
3109 * iconvdata/ibm1157.h: Likewise.
3110 * iconvdata/ibm1158.h: Likewise.
3111 * iconvdata/ibm1160.h: Likewise.
3112 * iconvdata/ibm1161.h: Likewise.
3113 * iconvdata/ibm1162.h: Likewise.
3114 * iconvdata/ibm1163.h: Likewise.
3115 * iconvdata/ibm1164.h: Likewise.
3116 * iconvdata/ibm1166.h: Likewise.
3117 * iconvdata/ibm1167.h: Likewise.
3118 * iconvdata/ibm12712.h: Likewise.
3119 * iconvdata/ibm1390.h: Likewise.
3120 * iconvdata/ibm1399.h: Likewise.
3121 * iconvdata/ibm16804.h: Likewise.
3122 * iconvdata/ibm4517.h: Likewise.
3123 * iconvdata/ibm4899.h: Likewise.
3124 * iconvdata/ibm4909.h: Likewise.
3125 * iconvdata/ibm4971.h: Likewise.
3126 * iconvdata/ibm5347.h: Likewise.
3127 * iconvdata/ibm803.h: Likewise.
3128 * iconvdata/ibm856.h: Likewise.
3129 * iconvdata/ibm901.h: Likewise.
3130 * iconvdata/ibm902.h: Likewise.
3131 * iconvdata/ibm9030.h: Likewise.
3132 * iconvdata/ibm9066.h: Likewise.
3133 * iconvdata/ibm921.h: Likewise.
3134 * iconvdata/ibm922.h: Likewise.
3135 * iconvdata/ibm9448.h: Likewise.
3136 * iconvdata/isiri-3342.h: Likewise.
3137 * iconvdata/jis0201.h: Likewise.
3138 * include/link.h: Likewise.
3139 * include/netdb.h: Likewise.
3140 * inet/check_native.c: Likewise.
3141 * inet/check_pf.c: Likewise.
3142 * inet/getipv4sourcefilter.c: Likewise.
3143 * inet/getnameinfo.c: Likewise.
3144 * inet/getsourcefilter.c: Likewise.
3145 * inet/htonl.c: Likewise.
3146 * inet/setipv4sourcefilter.c: Likewise.
3147 * inet/setsourcefilter.c: Likewise.
3148 * inet/test-inet6_opt.c: Likewise.
3149 * inet/tst-network.c: Likewise.
3150 * locale/C-collate.c: Likewise.
3151 * locale/C-ctype.c: Likewise.
3152 * locale/C-time.c: Likewise.
3153 * locale/C-translit.h: Likewise.
3154 * locale/loadarchive.c: Likewise.
3155 * locale/programs/3level.h: Likewise.
3156 * locale/programs/charmap.c: Likewise.
3157 * locale/programs/charmap.h: Likewise.
3158 * locale/programs/ld-address.c: Likewise.
3159 * locale/programs/ld-collate.c: Likewise.
3160 * locale/programs/ld-ctype.c: Likewise.
3161 * locale/programs/ld-identification.c: Likewise.
3162 * locale/programs/ld-measurement.c: Likewise.
3163 * locale/programs/ld-messages.c: Likewise.
3164 * locale/programs/ld-monetary.c: Likewise.
3165 * locale/programs/ld-name.c: Likewise.
3166 * locale/programs/ld-numeric.c: Likewise.
3167 * locale/programs/ld-paper.c: Likewise.
3168 * locale/programs/ld-telephone.c: Likewise.
3169 * locale/programs/ld-time.c: Likewise.
3170 * locale/programs/linereader.c: Likewise.
3171 * locale/programs/locale.c: Likewise.
3172 * locale/programs/locarchive.c: Likewise.
3173 * locale/programs/locfile.h: Likewise.
3174 * locale/programs/repertoire.c: Likewise.
3175 * locale/programs/simple-hash.c: Likewise.
3176 * locale/programs/simple-hash.h: Likewise.
3177 * malloc/memusage.c: Likewise.
3178 * malloc/memusagestat.c: Likewise.
3179 * nis/nis_defaults.c: Likewise.
3180 * nis/nis_hash.c: Likewise.
3181 * nis/nis_print.c: Likewise.
3182 * nis/nis_xdr.c: Likewise.
3183 * nscd/connections.c: Likewise.
3184 * nscd/hstcache.c: Likewise.
3185 * nscd/nscd_gethst_r.c: Likewise.
3186 * nscd/nscd_getserv_r.c: Likewise.
3187 * nscd/nscd_helper.c: Likewise.
3188 * nscd/servicescache.c: Likewise.
3189 * nss/makedb.c: Likewise.
3190 * nss/nss_db/db-XXX.c: Likewise.
3191 * nss/nss_db/db-initgroups.c: Likewise.
3192 * nss/nss_db/db-netgrp.c: Likewise.
3193 * nss/nss_files/files-network.c: Likewise.
3194 * nss/nss_files/files-parse.c: Likewise.
3195 * posix/bug-regex5.c: Likewise.
3196 * posix/fnmatch_loop.c: Likewise.
3197 * posix/regcomp.c: Likewise.
3198 * posix/regexec.c: Likewise.
3199 * posix/tst-rfc3484-2.c: Likewise.
3200 * posix/tst-rfc3484-3.c: Likewise.
3201 * posix/tst-rfc3484.c: Likewise.
3202 * resolv/nss_dns/dns-canon.c: Likewise.
3203 * resolv/nss_dns/dns-network.c: Likewise.
3204 * resolv/res_init.c: Likewise.
3205 * resolv/res_mkquery.c: Likewise.
3206 * resolv/tst-aton.c: Likewise.
3207 * stdlib/cxa_atexit.c: Likewise.
3208 * stdlib/cxa_finalize.c: Likewise.
3209 * stdlib/gen-fpioconst.c: Likewise.
3210 * stdlib/strtol_l.c: Likewise.
3211 * string/tst-endian.c: Likewise.
3212 * sunrpc/auth_des.c: Likewise.
3213 * sunrpc/clnt_udp.c: Likewise.
3214 * sunrpc/rtime.c: Likewise.
3215 * sunrpc/svcauth_des.c: Likewise.
3216 * sunrpc/xdr.c: Likewise.
3217 * sunrpc/xdr_intXX_t.c: Likewise.
3218 * sunrpc/xdr_rec.c: Likewise.
3219 * sysdeps/generic/ldconfig.h: Likewise.
3220 * sysdeps/generic/ldsodefs.h: Likewise.
3221 * sysdeps/generic/memusage.h: Likewise.
3222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3224 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3228 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3229 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3232 * sysdeps/posix/getaddrinfo.c: Likewise.
3233 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3234 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3235 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3236 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3237 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3238 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3239 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3240 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3241 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3243 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3244 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3245 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3246 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3247 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3248 * sysdeps/x86_64/dl-tls.h: Likewise.
3249 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3250 * time/alt_digit.c: Likewise.
3251 * time/era.c: Likewise.
3252 * wcsmbs/tst-c16c32-1.c: Likewise.
3254 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3256 * math/libm-test.inc (struct test_sincos_data): New type.
3257 (RUN_TEST_LOOP_sincos): New macro.
3258 (sincos_test_data): New variable.
3259 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3261 2013-05-16 Richard Henderson <rth@redhat.com>
3263 * math/atest-exp2.c (LIMB64): New macro.
3264 (CONSTSZ): New macro.
3265 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3267 (print_mpn_fp): ... to function scope.
3268 (read_mpn_hex): Remove.
3270 (exp2_mpn): Use mp_log2.
3271 (main): Use mp_exp1.
3273 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3275 * math/libm-test.inc: Remove comment about not testing "inexact"
3277 (INEXACT_EXCEPTION): New macro.
3278 (NO_INEXACT_EXCEPTION): Likewise.
3279 (INVALID_EXCEPTION_OK): Update value.
3280 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3281 (OVERFLOW_EXCEPTION_OK): Likewise.
3282 (UNDERFLOW_EXCEPTION_OK): Likewise.
3283 (IGNORE_ZERO_INF_SIGN): Likewise.
3284 (ERRNO_UNCHANGED): Likewise.
3285 (ERRNO_EDOM): Likewise.
3286 (ERRNO_ERANGE): Likewise.
3287 (test_exceptions): Handle testing "inexact" exceptions.
3288 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3289 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3290 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3291 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3293 (rint_towardzero_test_data): Likewise.
3294 (rint_downward_test_data): Likewise.
3295 (rint_upward_test_data): Likewise.
3297 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3298 with OVERFLOW_EXCEPTION.
3299 (exp10_test_data): Likewise.
3300 (exp2_test_data): Likewise.
3301 (expm1_test_data): Likewise.
3302 (lgamma_test_data): Likewise.
3303 (pow_test_data): Likewise.
3304 (tgamma_test_data): Likewise.
3305 (yn_test_data): Remove duplicate test of overflow.
3307 * math/libm-test.inc (struct test_cc_c_data): New type.
3308 (RUN_TEST_LOOP_cc_c): New macro.
3309 (cpow_test_data): New variable.
3310 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3312 * math/libm-test.inc (struct test_f_L_data): New type.
3313 (RUN_TEST_LOOP_f_L): New macro.
3314 (llrint_test_data): New variable.
3315 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3316 (llrint_tonearest_test_data): New variable.
3317 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3318 (llrint_towardzero_test_data): New variable.
3319 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3320 (llrint_downward_test_data): New variable.
3321 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3322 (llrint_upward_test_data): New variable.
3323 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3324 (llround_test_data): New variable.
3325 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3327 2013-05-13 Peter Collingbourne <pcc@google.com>
3329 * math/atest-exp2.c (get_log2): Remove const attribute.
3331 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3333 * math/libm-test.inc (struct test_f_l_data): New type.
3334 (RUN_TEST_LOOP_f_l): New macro.
3335 (lrint_test_data): New variable.
3336 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3337 (lrint_tonearest_test_data): New variable.
3338 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3339 (lrint_towardzero_test_data): New variable.
3340 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3341 (lrint_downward_test_data): New variable.
3342 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3343 (lrint_upward_test_data): New variable.
3344 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3345 (lround_test_data): New variable.
3346 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3348 2013-05-15 Peter Collingbourne <pcc@google.com>
3350 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3351 (EXTRACT_WORDS64) Use where appropriate.
3352 (INSERT_WORDS64) Likewise.
3354 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3355 constraints with x constraints.
3356 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3358 * malloc/obstack.c (_obstack_compat): Add initializer.
3360 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3363 si_trapno and add si_addr_lsb to _sifields.sigfault.
3364 (si_trapno): Remove macro.
3365 (si_addr_lsb): Define new macro.
3366 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3368 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3370 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3371 instead of TEST_f_l.
3372 (llrint_test_tonearest): Likewise.
3373 (llrint_test_towardzero): Likewise.
3374 (llrint_test_downward): Likewise.
3375 (llrint_test_upward): Likewise.
3376 (llround_test): Likewise.
3378 * math/libm-test.inc (struct test_f_i_data): Add comment.
3379 (RUN_TEST_LOOP_f_b): New macro.
3380 (RUN_TEST_LOOP_f_b_tg): Likewise.
3381 (finite_test_data): New variable.
3382 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3383 (isfinite_test_data): New variable.
3384 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3385 (isinf_test_data): New variable.
3386 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3387 (isnan_test_data): New variable.
3388 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3389 (isnormal_test_data): New variable.
3390 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3391 (issignaling_test_data): New variable.
3392 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3393 (signbit_test_data): New variable.
3394 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3396 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3397 with INVALID_EXCEPTION.
3398 (acosh_test_data): Likewise.
3399 (asin_test_data): Likewise.
3400 (atanh_test_data): Likewise.
3401 (fmod_test_data): Likewise.
3402 (log_test_data): Likewise.
3403 (log10_test_data): Likewise.
3404 (log2_test_data): Likewise.
3405 (pow_test_data): Likewise.
3406 (sqrt_test_data): Likewise.
3407 (y0_test_data): Likewise.
3408 (y1_test_data): Likewise.
3409 (yn_test_data): Likewise.
3411 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3414 * math/libm-test.inc (struct test_ff_i_data): New type.
3415 (RUN_TEST_LOOP_ff_i_tg): New macro.
3416 (isgreater_test_data): New variable.
3417 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3418 (isgreaterequal_test_data): New variable.
3419 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3420 (isless_test_data): New variable.
3421 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3422 (islessequal_test_data): New variable.
3423 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3424 (islessgreater_test_data): New variable.
3425 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3426 (isunordered_test_data): New variable.
3427 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3429 2013-05-14 David S. Miller <davem@davemloft.net>
3431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3433 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3435 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3437 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3439 (struct test_f_i_data): Change type of max_ulp to int.
3441 * math/libm-test.inc (test_ffI_f1_data): New type.
3442 (RUN_TEST_LOOP_ffI_f1): New macro.
3443 (remquo_test_data): New variable.
3444 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3446 * setjmp/tst-setjmp-fp.c: New file.
3447 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3448 (link-libm): New variable.
3449 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3451 * math/libm-test.inc (struct test_f_i_data): New type.
3452 (RUN_TEST_LOOP_f_i): New macro.
3453 (RUN_TEST_LOOP_f_i_tg): Likewise.
3454 (fpclassify_test_data): New variable.
3455 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3456 (ilogb_test_data): New variable.
3457 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3459 * math/libm-test.inc (scalbln_test): Correct function name in END
3462 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3463 (RUN_TEST_LOOP_fI_f1): New macro.
3464 (frexp_test_data): New variable.
3465 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3467 * math/libm-test.inc (struct test_fF_f1_data): New type.
3468 (RUN_TEST_LOOP_fF_f1): New macro.
3469 (modf_test_data): New variable.
3470 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3472 * math/libm-test.inc (struct test_f_f1_data): New type.
3473 (RUN_TEST_LOOP_f_f1): New macro.
3474 (gamma_test_data): New variable.
3475 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3476 (lgamma_test_data): New variable.
3477 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3479 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3481 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3482 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3483 (main): Comment "tls" pseudo-hwcap.
3485 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3487 * math/libm-test.inc (struct test_fl_f_data): New type.
3488 (RUN_TEST_LOOP_fl_f): New variable.
3489 (scalbln_test_data): New variable.
3490 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3492 * math/libm-test.inc (struct test_fi_f_data): New type.
3493 (RUN_TEST_LOOP_fi_f): New macro.
3494 (ldexp_test_data): New variable.
3495 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3496 (scalbn_test_data): New variable.
3497 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3499 * math/libm-test.inc (struct test_c_f_data): New type.
3500 (RUN_TEST_LOOP_c_f): New macro.
3501 (cabs_test_data): New variable.
3502 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3503 (carg_test_data): New variable.
3504 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3505 (cimag_test_data): New variable.
3506 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3507 (creal_test_data): New variable.
3508 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3510 * math/libm-test.inc (struct test_if_f_data): New type.
3511 (RUN_TEST_LOOP_if_f): New macro.
3512 (jn_test_data): New variable.
3513 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3514 (yn_test_data): New variable.
3515 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3517 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3519 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3521 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3522 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3524 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3526 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3527 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3528 (bench-deps): Add bench-timing.h.
3529 * benchtests-bench-skeleton.c: Include bench-timing.h.
3530 (main): Use TIMING_* macros instead of clock_gettime.
3531 * benchtests/bench-timing.h: New file.
3534 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3535 Renamed from _LIB_VERSION.
3536 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3538 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3540 * math/libm-test.inc (struct test_fff_f_data): New type.
3541 (RUN_TEST_LOOP_fff_f): New macro.
3542 (fma_test_data): New variable.
3543 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3544 (fma_towardzero_test_data): New variable.
3545 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3546 (fma_downward_test_data): New variable.
3547 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3548 (fma_upward_test_data): New variable.
3549 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3551 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3552 (struct test_c_c_data): New type.
3553 (RUN_TEST_LOOP_c_c): New macro.
3554 (cacos_test_data): New variable.
3555 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3556 (cacosh_test_data): New variable.
3557 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3558 (casin_test_data): New variable.
3559 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3560 (casinh_test_data): New variable.
3561 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3562 (catan_test_data): New variable.
3563 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3564 (catanh_test_data): New variable.
3565 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3566 (ccos_test_data): New variable.
3567 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3568 (ccosh_test_data): New variable.
3569 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3570 (cexp_test_data): New variable.
3571 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3572 (clog_test_data): New variable.
3573 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3574 (clog10_test_data): New variable.
3575 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3576 (conj_test_data): New variable.
3577 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3578 (cproj_test_data): New variable.
3579 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3580 (csin_test_data): New variable.
3581 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3582 (csinh_test_data): New variable.
3583 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3584 (csqrt_test_data): New variable.
3585 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3586 (ctan_test_data): New variable.
3587 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3588 (ctan_tonearest_test_data): New variable.
3589 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3590 (ctan_towardzero_test_data): New variable.
3591 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3592 (ctan_downward_test_data): New variable.
3593 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3594 (ctan_upward_test_data): New variable.
3595 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3596 (ctanh_test_data): New variable.
3597 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3598 (ctanh_tonearest_test_data): New variable.
3599 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3600 (ctanh_towardzero_test_data): New variable.
3601 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3602 (ctanh_downward_test_data): New variable.
3603 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3604 (ctanh_upward_test_data): New variable.
3605 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3606 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3609 * math/libm-test.inc (struct test_ff_f_data): New type.
3610 (struct test_ff_f_data_nexttoward): Likewise.
3611 (RUN_TEST_LOOP_2_f): New macro.
3612 (RUN_TEST_LOOP_ff_f): Likewise.
3613 (atan2_test_data): New variable.
3614 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3615 (copysign_test_data): New variable.
3616 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3617 (fdim_test_data): New variable.
3618 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3619 (fmax_test_data): New variable.
3620 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3621 (fmin_test_data): New variable.
3622 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3623 (fmod_test_data): New variable.
3624 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3625 (hypot_test_data): New variable.
3626 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3627 (nextafter_test_data): New variable.
3628 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3629 (nexttoward_test_data): New variable.
3630 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3631 (pow_test_data): New variable.
3632 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3633 (pow_tonearest_test_data): New variable.
3634 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3635 (pow_towardzero_test_data): New variable.
3636 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3637 (pow_downward_test_data): New variable.
3638 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3639 (pow_upward_test_data): New variable.
3640 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3641 (remainder_test_data): New variable.
3642 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3643 (scalb_test_data): New variable.
3644 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3645 * sysdeps/i386/fpu/libm-test-ulps: Update.
3647 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3649 * math/libm-test.inc (fma_test): Use max_value instead of local
3651 (nextafter_test): Likewise.
3653 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3654 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3655 (acos_downward_test_data): New variable.
3656 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3657 (acos_upward_test_data): New variable.
3658 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3659 (acosh_test_data): New variable.
3660 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3661 (asin_test_data): New variable.
3662 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3663 (asin_tonearest_test_data): New variable.
3664 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3665 (asin_towardzero_test_data): New variable.
3666 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3667 (asin_downward_test_data): New variable.
3668 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3669 (asin_upward_test_data): New variable.
3670 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3671 (asinh_test_data): New variable.
3672 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3673 (atan_test_data): New variable.
3674 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3675 (atanh_test_data): New variable.
3676 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3677 (cbrt_test_data): New variable.
3678 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3679 (ceil_test_data): New variable.
3680 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3681 (cos_test_data): New variable.
3682 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3683 (cos_tonearest_test_data): New variable.
3684 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3685 (cos_towardzero_test_data): New variable.
3686 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3687 (cos_downward_test_data): New variable.
3688 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3689 (cos_upward_test_data): New variable.
3690 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3691 (cosh_test_data): New variable.
3692 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3693 (cosh_tonearest_test_data): New variable.
3694 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3695 (cosh_towardzero_test_data): New variable.
3696 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3697 (cosh_downward_test_data): New variable.
3698 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3699 (cosh_upward_test_data): New variable.
3700 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3701 (erf_test_data): New variable.
3702 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3703 (erfc_test_data): New variable.
3704 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3705 (exp_test_data): New variable.
3706 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3707 (exp_tonearest_test_data): New variable.
3708 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3709 (exp_towardzero_test_data): New variable.
3710 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3711 (exp_downward_test_data): New variable.
3712 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3713 (exp_upward_test_data): New variable.
3714 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3715 (exp10_test_data): New variable.
3716 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3717 (exp2_test_data): New variable.
3718 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3719 (expm1_test_data): New variable.
3720 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3721 (fabs_test_data): New variable.
3722 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3723 (floor_test_data): New variable.
3724 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3725 (j0_test_data): New variable.
3726 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3727 (j1_test_data): New variable.
3728 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3729 (log_test_data): New variable.
3730 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3731 (log10_test_data): New variable.
3732 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3733 (log1p_test_data): New variable.
3734 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3735 (log2_test_data): New variable.
3736 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3737 (logb_test_data): New variable.
3738 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3739 (logb_downward_test_data): New variable.
3740 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3741 (nearbyint_test_data): New variable.
3742 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3743 (rint_test_data): New variable.
3744 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3745 (rint_tonearest_test_data): New variable.
3746 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3747 (rint_towardzero_test_data): New variable.
3748 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3749 (rint_downward_test_data): New variable.
3750 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3751 (rint_upward_test_data): New variable.
3752 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3753 (round_test_data): New variable.
3754 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3755 (sin_test_data): New variable.
3756 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3757 (sin_tonearest_test_data): New variable.
3758 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3759 (sin_towardzero_test_data): New variable.
3760 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3761 (sin_downward_test_data): New variable.
3762 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3763 (sin_upward_test_data): New variable.
3764 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3765 (sinh_test_data): New variable.
3766 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3767 (sinh_tonearest_test_data): New variable.
3768 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3769 (sinh_towardzero_test_data): New variable.
3770 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3771 (sinh_downward_test_data): New variable.
3772 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3773 (sinh_upward_test_data): New variable.
3774 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3775 (sqrt_test_data): New variable.
3776 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3777 (tan_test_data): New variable.
3778 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3779 (tan_tonearest_test_data): New variable.
3780 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3781 (tan_towardzero_test_data): New variable.
3782 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3783 (tan_downward_test_data): New variable.
3784 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3785 (tan_upward_test_data): New variable.
3786 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3787 (tanh_test_data): New variable.
3788 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3789 (tgamma_test_data): New variable.
3790 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3791 (trunc_test_data): New variable.
3792 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3793 (y0_test_data): New variable.
3794 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3795 (y1_test_data): New variable.
3796 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3797 (significand_test_data): New variable.
3798 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3800 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3803 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3805 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3807 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3809 2013-05-10 Andreas Jaeger <aj@suse.de>
3812 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3813 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3815 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3817 * math/gen-libm-test.pl (adjust_arg): New function.
3818 (special_functions): Handle generating output in both functions
3820 (parse_args): Likewise.
3821 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3822 $in_func argument to parse_args.
3823 * math/libm-test.inc (struct test_f_f_data): New type.
3824 (IF_ROUND_INIT_): New macro.
3825 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3826 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3827 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3828 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3829 (ROUND_RESTORE_): Likewise.
3830 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3831 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3832 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3833 (ROUND_RESTORE_FE_UPWARD): Likewise.
3834 (RUN_TEST_LOOP_f_f): New macro.
3835 (acos_test_data): New variable.
3836 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3837 (acos_tonearest_test_data): New variable.
3838 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3840 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3842 * benchtests/bench-skeleton.c (startup): Fix coding style.
3844 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3847 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3848 negative infinity argument.
3849 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3850 negative infinity argument.
3851 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3852 negative infinity argument.
3853 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3856 2013-05-10 Florian Weimer <fweimer@redhat.com>
3858 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3859 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3860 * iconv/iconv_prog.c (main): Likewise.
3861 * locale/programs/charmap-dir.c (charmap_readdir)
3862 (fopen_uncompressed): Likewise.
3863 * locale/programs/locfile.c (siblings_uncached)
3864 (write_locale_data): Use lstat64 instead of lstat.
3865 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3868 2013-05-10 Andreas Jaeger <aj@suse.de>
3871 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3875 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3877 * elf/dl-close.c (_dl_close_worker): Add comments.
3879 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3882 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3884 (__ieee754_rem_pio2l): Update comments.
3887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3889 (__ieee754_rem_pio2l): Update comments.
3891 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3892 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3894 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3897 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3898 (M_PI_34_LOG10El): Likewise.
3899 (M_PI2_LOG10El): Likewise.
3900 (M_PI4_LOG10El): Likewise.
3901 (M_PI_LOG10El): Likewise.
3903 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3907 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3909 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3910 (MINUS_ZERO_INIT): Likewise.
3911 (PLUS_INFTY_INIT): Likewise.
3912 (MINUS_INFTY_INIT): Likewise.
3913 (QNAN_VALUE_INIT): Likewise.
3914 (MAX_VALUE_INIT): Likewise.
3915 (MIN_VALUE_INIT): Likewise.
3916 (MIN_SUBNORM_VALUE_INIT): Likewise.
3917 (plus_zero): Initialize with PLUS_ZERO_INIT.
3918 (minus_zero): Initialize with MINUS_ZERO_INIT.
3919 (plus_infty): Initialize with PLUS_INFTY_INIT.
3920 (minus_infty): Initialize with MINUS_INFTY_INIT.
3921 (qnan_value): Initialize with QNAN_VALUE_INIT.
3922 (max_value): Initialize with MAX_VALUE_INIT.
3923 (min_value): Initialize with MIN_VALUE_INIT.
3924 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3926 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3927 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3928 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3929 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3931 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3932 (RUN_TEST_2_f): Likewise.
3933 (RUN_TEST_ff_f): Likewise.
3934 (RUN_TEST_fi_f): Likewise.
3935 (RUN_TEST_fl_f): Likewise.
3936 (RUN_TEST_fff_f): Likewise.
3937 (RUN_TEST_c_f): Likewise.
3938 (RUN_TEST_f_f1): Likewise.
3939 (RUN_TEST_fF_f1): Likewise.
3940 (RUN_TEST_fI_f1): Likewise.
3941 (RUN_TEST_ffI_f1): Likewise.
3942 (RUN_TEST_c_c): Likewise.
3943 (RUN_TEST_cc_c): Likewise.
3944 (RUN_TEST_f_i): Likewise.
3945 (RUN_TEST_f_i_tg): Likewise.
3946 (RUN_TEST_ff_i_tg): Likewise.
3947 (RUN_TEST_f_b): Likewise.
3948 (RUN_TEST_f_b_tg): Likewise.
3949 (RUN_TEST_f_l): Likewise.
3950 (RUN_TEST_f_L): Likewise.
3951 (RUN_TEST_sincos): Likewise.
3952 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3953 whether to show exceptions. Do not include ");\n" in return
3955 (special_functions): Output call to RUN_TEST_sincos instead of
3956 check_float calls. Update calls to new_test.
3957 (parse_args): Output call to single RUN_TEST_* macro instead of
3958 check_* calls and other assignments. Update calls to new_test.
3964 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3965 input to result for tgamma overflow.
3966 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3967 (gamma_coeff): New variable.
3968 (NCOEFF): New macro.
3969 (gamma_positive): New function.
3970 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3971 underflow here. Use gamma_positive instead of exp (lgamma) for
3973 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3974 (gamma_coeff): New variable.
3975 (NCOEFF): New macro.
3976 (gammaf_positive): New function.
3977 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3978 underflow here. Use gamma_positive instead of exp (lgamma) for
3980 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3981 (gamma_coeff): New variable.
3982 (NCOEFF): New macro.
3983 (gammal_positive): New function.
3984 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3985 underflow here. Use gamma_positive instead of exp (lgamma) for
3987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3988 (gamma_coeff): New variable.
3989 (NCOEFF): New macro.
3990 (gammal_positive): New function.
3991 (__ieee754_gammal_r): Handle positive infinity, overflow and
3992 underflow here. Handle NaN the same as positive infinity. Remove
3993 check x < 0xffffffff for negative integers. Use gamma_positive
3994 instead of exp (lgamma) for other arguments.
3995 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3996 (gamma_coeff): New variable.
3997 (NCOEFF): New macro.
3998 (gammal_positive): New function.
3999 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4000 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4005 * sysdeps/generic/math_private.h (__gamma_productf): New
4007 (__gamma_product): Likewise.
4008 (__gamma_productl): Likewise.
4009 * math/Makefile (libm-calls): Add gamma_product.
4010 * math/libm-test.inc (tgamma_test): Add more tests.
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4014 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4016 * benchtests/bench-skeleton.c (main): Preheat CPU.
4018 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4020 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4022 2013-05-07 Roland McGrath <roland@hack.frob.com>
4024 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4025 and _dl_skip_args_internal.
4027 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4029 * manual/message.texi (Message Translation): Talk about users.
4030 Message to key mapping impacts design.
4032 2013-05-06 Roland McGrath <roland@hack.frob.com>
4034 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4036 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4038 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4039 * sysdeps/wordsize-64/glob64.c: ... here.
4041 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4042 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4045 * debug/getlogin_r_chk.c: Moved to ...
4046 * login/getlogin_r_chk.c: ... here.
4047 * debug/Makefile (routines): Move getlogin_r_chk to ...
4048 * login/Makefile (routines): ... here.
4049 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4050 * login/Versions (libc: GLIBC_2.4): ... here.
4052 * io/poll.c (__poll): Renamed from poll.
4053 Add libc_hidden_def.
4054 (poll): Define as weak alias.
4056 * debug/ptsname_r_chk.c: Moved to ...
4057 * login/ptsname_r_chk.c: ... here.
4058 * debug/Makefile (routines): Move ptsname_r_chk to ...
4059 * login/Makefile (routines): ... here.
4060 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4061 * login/Versions (libc: GLIBC_2.4): ... here.
4063 * posix/getlogin.c: Moved to ...
4064 * login/getlogin.c: ... here.
4065 * posix/getlogin_r.c: Moved to ...
4066 * login/getlogin_r.c: ... here.
4067 * posix/getlogin_r.c: Moved to ...
4068 * login/getlogin_r.c: ... here.
4069 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4070 * login/Makefile (routines): ... here.
4071 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4072 * login/Versions (libc: GLIBC_2.0): ... here.
4074 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4075 (setrlimit): Define as weak alias.
4077 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4078 Call __ names for open, ftruncate, and close.
4079 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4080 (truncate): Define as weak alias.
4082 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4084 * math/gen-libm-test.pl (parse_args): Initialize x before each
4085 test of frexp, modf and remquo.
4087 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4090 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4094 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4096 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4098 2013-05-06 Roland McGrath <roland@hack.frob.com>
4100 * elf/dl-writev.h: New file.
4101 * elf/dl-misc.c: Include it.
4102 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4103 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4105 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4107 * math/libm-test.inc (noXFails): Remove variable.
4108 (noXPasses): Likewise.
4109 (BUILD_COMPLEX_INT): Remove macro.
4110 (print_screen): Remove xfail argument.
4111 (print_screen_max_error): Likewise.
4112 (update_stats): Likewise.
4113 (print_max_error): Likewise. Update calls to other affected
4115 (print_complex_max_error): Likewise.
4116 (test_single_exception): Update calls to print_screen.
4117 (test_single_errno): Likewise.
4118 (check_float_internal): Remove xfail argument. Update calls to
4119 other affected functions.
4120 (check_float): Likewise.
4121 (check_complex): Likewise.
4122 (check_int): Likewise.
4123 (check_long): Likewise.
4124 (check_bool): Likewise.
4125 (check_longlong): Likewise.
4126 (main): Don't print noXFails and noXPasses.
4127 * math/gen-libm-test.pl (top level): Don't mention expected
4128 failure handling in comment.
4129 (new_test): Don't handle expected failures.
4130 (parse_args): Don't mention expected failure handling in comment.
4131 (generate_testfile): Don't handle expected failures.
4132 (parse_ulps): Likewise.
4133 (print_ulps_file): Likewise.
4134 (get_failure): Remove function.
4135 (output_test): Don't handle expected failures.
4136 * make/README.libm-test: Don't mention expected failure handling.
4138 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4139 (minus_zero): Likewise.
4140 (plus_infty): Likewise.
4141 (minus_infty): Likewise.
4142 (qnan_value): Likewise.
4143 (max_value): Likewise.
4144 (min_value): Likewise.
4145 (min_subnorm_value): Likewise.
4146 (initialize): Do not initialize those variables dynamically.
4148 2013-05-03 Roland McGrath <roland@hack.frob.com>
4150 * io/open.c (__open_2): Moved to ...
4151 * io/open_2.c: ... this new file.
4152 * io/open64.c (__open64_2): Moved to ...
4153 * io/open64_2.c: ... this new file.
4154 * io/openat.c (__openat_2): Moved to ...
4155 * io/openat_2.c: ... this new file.
4156 * io/openat64.c (__openat64_2): Moved to ...
4157 * io/openat64_2.c: ... this new file.
4158 * io/Makefile (routines): Add them.
4159 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4160 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4161 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4162 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4163 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4164 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4165 (__openat64): Add hidden_ver.
4166 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4167 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4169 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4170 Separately conditionalize setting of GLRO(dl_sysinfo) so
4171 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4172 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4174 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4177 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4179 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4180 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4181 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4182 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4183 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4185 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4187 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4190 * math/libm-test.inc (hypot_test): Do not use
4191 IGNORE_ZERO_INF_SIGN.
4193 2013-05-03 Andreas Jaeger <aj@suse.de>
4195 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4197 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4198 (PF_MAX): Adjust for VSOCK change.
4200 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4204 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4207 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4208 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4209 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4211 2013-05-02 David S. Miller <davem@davemloft.net>
4213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4215 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4217 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4219 2013-05-01 Roland McGrath <roland@hack.frob.com>
4221 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4223 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4226 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4227 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4228 Use __attribute__ ((__gnu_inline__)).
4229 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4230 Don't use __attribute__ ((__gnu_inline__)).
4232 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4235 * math/s_catan.c (__catan): Handle small real or imaginary part of
4236 input specially to avoid spurious underflow.
4237 * math/s_catanf.c (__catanf): Likewise.
4238 * math/s_catanh.c (__catanh): Likewise.
4239 * math/s_catanhf.c (__catanhf): Likewise.
4240 * math/s_catanhl.c (__catanhl): Likewise.
4241 * math/s_catanl.c (__catanl): Likewise.
4242 * math/libm-test.inc (catan_test): Add more tests.
4243 (catanh_test): Likewise.
4244 * sysdeps/i386/fpu/libm-test-ulps: Update.
4245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4251 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4254 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4255 accurately for denominator in atan2.
4256 * math/s_catanf.c (__catanf): Likewise.
4257 * math/s_catanh.c (__catanh): Likewise.
4258 * math/s_catanhf.c (__catanhf): Likewise.
4259 * math/s_catanhl.c (__catanhl): Likewise.
4260 * math/s_catanl.c (__catanl): Likewise.
4261 * math/libm-test.inc (catan_test): Add more tests.
4262 (catanh_test): Likewise.
4263 * sysdeps/i386/fpu/libm-test-ulps: Update.
4264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4266 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4268 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4270 * benchtests/Makefile (bench): Remove slow benchmarks.
4271 * benchtests/atan-inputs: Add slow benchmark inputs.
4272 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4273 (BENCH_FUNC): Accept variant offset.
4275 * benchtests/bench-skeleton.c (main): Run benchmark for each
4277 * benchtests/cos-inputs: Add slow benchmark inputs.
4278 * benchtests/exp-inputs: Likewise.
4279 * benchtests/pow-inputs: Likewise.
4280 * benchtests/sin-inputs: Likewise.
4281 * benchtests/slowatan-inputs: Remove.
4282 * benchtests/slowatan.c: Remove.
4283 * benchtests/slowcos-inputs: Remove.
4284 * benchtests/slowcos.c: Remove.
4285 * benchtests/slowexp-inputs: Remove.
4286 * benchtests/slowexp.c: Remove.
4287 * benchtests/slowpow-inputs: Remove.
4288 * benchtests/slowpow.c: Remove.
4289 * benchtests/slowsin-inputs: Remove.
4290 * benchtests/slowsin.c: Remove.
4291 * benchtests/slowtan-inputs: Remove.
4292 * benchtests/slowtan.c: Remove.
4293 * benchtests/tan-inputs: Add slow benchmark inputs.
4294 * scripts/bench.pl: Parse comments and directives.
4296 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4298 ($(objpfx)bench-%.c): Remove *-ITER.
4299 * benchtests/bench-modf.c: Remove definition of ITER.
4300 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4301 (main): Loop for DURATION seconds instead of fixed number of
4303 * scripts/bench.pl: Don't expect iterations in parameters.
4305 2013-04-29 Roland McGrath <roland@hack.frob.com>
4307 * io/fchdir.c (__fchdir): Renamed from fchdir.
4308 (fchdir): Define as weak alias.
4310 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4312 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4313 (ERRNO_EDOM): Likewise.
4314 (ERRNO_ERANGE): Likewise.
4315 (noErrnoTests): New variable.
4316 (init_max_error): Set errno to 0.
4317 (test_single_errno): New function.
4318 (test_errno): Likewise.
4319 (check_float_internal): Call test_errno. Set errno to 0.
4320 (check_complex): Refer to errno tests in comment.
4321 (check_int): Call test_errno. Set errno to 0.
4322 (check_long): Likewise.
4323 (check_bool): Likewise.
4324 (check_longlong): Likewise.
4325 (cos_test): Use ERRNO_* flags for errno tests instead of
4327 (expm1_test): Likewise.
4328 (fmod_test): Likewise.
4329 (ilogb_test): Likewise.
4330 (lgamma_test): Likewise.
4331 (pow_test): Likewise.
4332 (remainder_test): Likewise.
4333 (sin_test): Likewise.
4334 (tan_test): Likewise.
4335 (yn_test): Likewise.
4336 (initialize): Set errno to 0.
4337 (main): Print number of errno tests.
4338 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4340 2013-04-29 Andreas Jaeger <aj@suse.de>
4343 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4347 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4348 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4352 * stdlib/random.c (__initstate): Return NULL if
4356 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4357 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4360 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4364 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4366 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4367 of individual tests.
4368 (casin_test): Likewise.
4369 (casinh_test): Likewise.
4371 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4374 * math/s_catan.c (__catan): Handle arguments with large real or
4375 imaginary part separately without squaring.
4376 * math/s_catanf.c (__catanf): Likewise.
4377 * math/s_catanh.c (__catanh): Likewise.
4378 * math/s_catanhf.c (__catanhf): Likewise.
4379 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4381 (__catanhl): Handle arguments with large real or imaginary part
4382 separately without squaring.
4383 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4385 (__catanl): Handle arguments with large real or imaginary part
4386 separately without squaring.
4387 * math/libm-test.inc (catan_test): Add more tests.
4388 (catanh_test): Likewise.
4389 * sysdeps/i386/fpu/libm-test-ulps: Update.
4390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4392 2013-04-27 Andreas Jaeger <aj@suse.de>
4395 * stdlib/stdlib.h: Update guards for qecvt.
4396 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4399 2013-04-27 Allan McRae <allan@archlinux.org>
4401 * sysdeps/i386/fpu/libm-test-ulps: Update.
4403 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4406 * math/s_catan.c: Include <float.h>.
4407 (__catan): Ensure underflow exception occurs for underflowed
4409 * math/s_catanf.c: Include <float.h>.
4410 (__catanf): Ensure underflow exception occurs for underflowed
4412 * math/s_catanh.c: Include <float.h>.
4413 (__catanh): Ensure underflow exception occurs for underflowed
4415 * math/s_catanhf.c: Include <float.h>.
4416 (__catanhf): Ensure underflow exception occurs for underflowed
4418 * math/s_catanhl.c: Include <float.h>.
4419 (__catanhl): Ensure underflow exception occurs for underflowed
4421 * math/s_catanl.c: Include <float.h>.
4422 (__catanl): Ensure underflow exception occurs for underflowed
4424 * math/libm-test.inc (catan_test): Add more tests.
4425 (catanh_test): Likewise.
4428 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4430 * math/s_ccoshf.c (__ccoshf): Likewise.
4431 * math/s_ccoshl.c (__ccoshl): Likewise.
4432 * math/s_csin.c (__csin): Likewise.
4433 * math/s_csinf.c (__csinf): Likewise.
4434 * math/s_csinh.c (__csinh): Likewise.
4435 * math/s_csinhf.c (__csinhf): Likewise.
4436 * math/s_csinhl.c (__csinhl): Likewise.
4437 * math/s_csinl.c (__csinl): Likewise.
4438 * math/libm-test.inc (ccos_test): Add more tests.
4439 (ccosh_test): Likewise.
4440 (csin_test): Likewise.
4441 (csinh_test): Likewise.
4443 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4445 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4446 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4447 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4448 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4449 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4450 powerpc/power5+/fpu folders.
4451 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4454 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4458 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4460 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4461 additions to variable.
4462 [$(config-machine) = x86_64] (modules-names): Likewise.
4463 ($(objpfx)tst-audit3): Remove dependency.
4464 ($(objpfx)tst-audit3.out): Likewise.
4465 ($(objpfx)tst-audit4): Likewise.
4466 ($(objpfx)tst-audit4.out): Likewise.
4467 ($(objpfx)tst-audit5): Likewise.
4468 ($(objpfx)tst-audit5.out): Likewise.
4469 ($(objpfx)tst-audit6): Likewise.
4470 ($(objpfx)tst-audit6.out): Likewise.
4471 ($(objpfx)tst-audit7): Likewise.
4472 ($(objpfx)tst-audit7.out): Likewise.
4473 (tst-audit3-ENV): Remove variable.
4474 (tst-audit4-ENV): Likewise.
4475 (tst-audit5-ENV): Likewise.
4476 (tst-audit6-ENV): Likewise.
4477 (tst-audit7-ENV): Likewise.
4478 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4479 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4480 addition to variable.
4481 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4482 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4483 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4484 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4485 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4486 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4487 tst-audit3, tst-audit4 and tst-audit5.
4488 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4489 tst-audit6 and tst-audit7.
4490 [$(subdir) = elf] (modules-names): Add audit modules for those
4492 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4493 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4494 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4495 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4496 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4497 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4498 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4499 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4500 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4501 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4502 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4503 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4504 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4505 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4506 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4507 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4509 [$(subdir) = elf && $(config-cflags-avx) = yes]
4510 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4511 [$(subdir) = elf && $(config-cflags-avx) = yes]
4512 (CFLAGS-tst-auditmod4a.c): Likewise.
4513 [$(subdir) = elf && $(config-cflags-avx) = yes]
4514 (CFLAGS-tst-auditmod4b.c): Likewise.
4515 [$(subdir) = elf && $(config-cflags-avx) = yes]
4516 (CFLAGS-tst-auditmod6b.c): Likewise.
4517 [$(subdir) = elf && $(config-cflags-avx) = yes]
4518 (CFLAGS-tst-auditmod6c.c): Likewise.
4519 [$(subdir) = elf && $(config-cflags-avx) = yes]
4520 (CFLAGS-tst-auditmod7b.c): Likewise.
4521 * elf/tst-audit3.c: Move to ...
4522 * sysdeps/x86_64/tst-audit3.c: ... here.
4523 * elf/tst-audit4.c: Move to ...
4524 * sysdeps/x86_64/tst-audit4.c: ... here.
4525 * elf/tst-audit5.c: Move to ...
4526 * sysdeps/x86_64/tst-audit5.c: ... here.
4527 * elf/tst-audit6.c: Move to ...
4528 * sysdeps/x86_64/tst-audit6.c: ... here.
4529 * elf/tst-audit7.c: Move to ...
4530 * sysdeps/x86_64/tst-audit7.c: ... here.
4531 * elf/tst-auditmod3a.c: Move to ...
4532 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4533 * elf/tst-auditmod3b.c: Move to ...
4534 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4535 * elf/tst-auditmod4a.c: Move to ...
4536 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4537 * elf/tst-auditmod4b.c: Move to ...
4538 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4539 * elf/tst-auditmod5a.c: Move to ...
4540 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4541 * elf/tst-auditmod5b.c: Move to ...
4542 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4543 * elf/tst-auditmod6a.c: Move to ...
4544 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4545 * elf/tst-auditmod6b.c: Move to ...
4546 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4547 * elf/tst-auditmod6c.c: Move to ...
4548 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4549 * elf/tst-auditmod7a.c: Move to ...
4550 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4551 * elf/tst-auditmod7b.c: Move to ...
4552 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4554 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4557 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4558 define unconditionally.
4559 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4560 define unconditionally.
4561 (INT8_C, INT16_C, etc.): Likewise.
4563 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4565 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4566 __ehdr_start with hidden visibility.
4568 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4570 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4572 * math/libm-test.inc (cos_test): Use accurate hex constants.
4573 (sincost_test): Likewise.
4575 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4577 * math/libm-test.inc (catan_test): Add more tests.
4578 (catanh_test): Likewise.
4580 * math/s_catanf.c (__catanf): Use suffixed floating-point
4582 * math/s_catanhf.c (__catanhf): Likewise.
4583 * math/s_catanhl.c (__catanhl): Likewise.
4584 * math/s_catanl.c (__catanl): Likewise.
4587 * math/s_catan.c (__catan): Calculate imaginary part of result
4588 with log1p not log unless computing log of number close to 0.
4589 * math/s_catanf.c (__catanf): Likewise.
4590 * math/s_catanl.c (__catanl): Likewise.
4591 * math/s_catanh.c (__catanh): Calculate real part of result with
4592 log1p not log unless computing log of number close to 0.
4593 * math/s_catanhf.c (__catanhf): Likewise.
4594 * math/s_catanhl.c (__catanhl): Likewise.
4595 * math/libm-test.inc (catan_test): Add more tests.
4596 (catanh_test): Likewise.
4597 * sysdeps/i386/fpu/libm-test-ulps: Update.
4598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4600 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4602 * benchtests/Makefile: Mention files in which fast and slow
4603 paths of math functions are implemented.
4605 2013-04-23 Roland McGrath <roland@hack.frob.com>
4607 * sysdeps/posix/timespec_get.c: New file.
4609 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4613 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4615 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4616 powerpc/power5/fpu folders.
4617 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4618 * benchtests/Makefile: Add modf testcase.
4619 * benchtests/bench-modf.c: New file: Benchmark test for mo
4621 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4624 * time/Makefile (tests): Add tst-strptime-whitespace.
4625 * time/strptime_l.c (get_number): Use ISSPACE.
4626 (__strptime_internal): Likewise.
4627 * time/tst-strptime-whitespace.c: New test case.
4629 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4631 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4633 (_nss_files_init): Set it here.
4635 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4637 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4638 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4641 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4643 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4645 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4650 2013-04-21 David S. Miller <davem@davemloft.net>
4652 * po/ru.po: Update Russion translation from translation project.
4654 2013-04-17 Adam Conrad <adconrad@0c3.net>
4656 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4659 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4661 * configure.in: Remove i386 configure warning. Remove i386 case.
4662 * configure: Regenerate.
4663 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4664 Add example to error message.
4665 * sysdeps/i386/configure: Regenerate.
4667 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4669 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4671 * benchtests/cos-inputs: New file.
4672 * benchtests/slowcos-inputs: New file.
4673 * benchtests/slowcos.c: New file.
4674 * benchtests/slowtan-inputs: New file.
4675 * benchtests/slowtan.c: New file.
4676 * benchtests/tan-inputs: New file.
4678 2013-04-16 Roland McGrath <roland@hack.frob.com>
4680 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4683 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4685 * benchtests/Makefile: Include cppflags-iterator.mk to add
4686 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4688 * Makefile.in (bench-clean): New target.
4689 * benchtests/Makefile (bench-clean): Likewise.
4691 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4693 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4695 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4697 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4699 2013-04-15 Andreas Schwab <schwab@suse.de>
4701 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4702 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4703 * nscd/pwdcache.c (cache_addpw): Likewise.
4704 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4707 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709 * benchtests/Makefile (bench): Write all output to
4710 bench-out.tmp together.
4712 2013-04-15 Andreas Schwab <schwab@suse.de>
4714 * nscd/nscd.c (main): Don't fork again after closing files.
4716 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4718 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4720 * benchtests/Rules (bench-deps): Collect dependencies into a
4721 single variable. Add Makefile to dependencies.
4722 ($(objpfx)bench-%.c): Depend on bench-deps.
4724 2013-04-12 Roland McGrath <roland@hack.frob.com>
4725 Xavier Roche <roche+kml2@exalead.com>
4728 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4729 just that it's a file descriptor.
4730 * manual/llio.texi (Synchronizing AIO Operations): Update description
4731 for EBADF error from aio_fsync.
4733 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4735 * Rules (bench): Move target definition...
4736 * benchtests/Makefile: ... here.
4738 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4740 * math/libm-test.inc (cos_test): Fix PI/2 test.
4741 (sincos_test): Likewise.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4743 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4745 2013-04-11 Andreas Schwab <schwab@suse.de>
4748 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4749 accept exponent character only when digits were seen.
4750 * stdio-common/Makefile (tests): Add bug26.
4751 * stdio-common/bug26.c: New file.
4754 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4757 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4759 * Makeconfig (rtld-prefix): Define built linker prefix.
4760 * Rules (run-bench): Use it.
4761 * math/Makefile (run-regen-ulps): Likewise.
4763 * Rules (bench): Remove eval.
4765 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4766 Roland McGrath <roland@hack.frob.com>
4767 Ondrej Bilka <neleai@seznam.cz>
4770 * time/getdate.c: Include ctype.h and alloca.h.
4771 (__getdate_r): Trim leading and trailing spaces of input.
4772 * time/tst-getdate.c (tests): Add tests with leading and
4775 2013-04-08 Roland McGrath <roland@hack.frob.com>
4778 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4779 when computing value.
4781 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4783 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4784 Use testrun.sh to run libm tests.
4787 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4789 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4792 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4794 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4796 * Makefile.in (regen-ulps): New target.
4797 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4798 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4799 [ifneq (no,$(PERL)] (regen-ulps): New target.
4800 [ifeq (no,$(PERL)] (regen-ulps): New target.
4801 * math/libm-test.inc (ulps_file_name): Define.
4802 (output_dir): New variable.
4803 (options): Add "output-dir" option.
4804 (parse_opt): Handle 'o' case.
4805 (main): If output_dir is non-NULL use it as a prefix
4807 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4809 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4812 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4813 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4814 fail configure if __sync_val_compare_and_swap is not inlined.
4815 * sysdeps/i386/configure: Regenerate.
4816 * configure.in: Build for i686 when configured for i386.
4817 * configure: Regenerate.
4818 * README: Remove i386 reference.
4820 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4822 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4823 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4825 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4827 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4828 (lmsnanval): New variables.
4829 (F): Add conversion tests.
4830 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4831 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4833 * stdio-common/tstdiomisc.c (F): Properly collect individual
4837 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4838 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4839 Instead, use input NaN values or generate a qNaN by arithmetic
4840 operation. Also fix bugs to comply with the standard.
4841 * math/libm-test.inc (remainder_test): Add more tests.
4844 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4846 input NaN values or generate a qNaN by arithmetic operation.
4848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4851 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4854 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4857 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4859 * math/s_cexpf.c (__cexpf): Likewise.
4860 * math/s_cexpl.c (__cexpl): Likewise.
4861 * math/libm-test.inc (cexp_test): Add more tests.
4863 2013-04-03 Andreas Schwab <schwab@suse.de>
4866 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4867 order arrays from heap if bigger than alloca cutoff.
4869 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4871 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4872 (SNAN_TESTS_double): Refer to GCC PR56831.
4873 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4876 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4878 * Rules (bench): Move bench.out after the run is complete.
4880 * Rules (bench): Echo currently running benchmark.
4882 * benchtests/Makefile (bench): Add atan and slowatan.
4883 * benchtests/atan-inputs: New file.
4884 * benchtests/slowatan-inputs: New file.
4885 * benchtests/slowatan.c: New file.
4887 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4888 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4892 * sysdeps/unix/sysv/linux/kernel-features.h
4893 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4894 __ASSUME_XFS_RESTRICTED_CHOWN.
4895 * sysdeps/unix/sysv/linux/pathconf.c
4896 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4897 Save and restore errno.
4899 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4902 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4903 arguments using __kernel_casinh.
4904 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4905 arguments using __kernel_casinhf.
4906 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4907 arguments using __kernel_casinhl.
4908 * math/libm-test.inc (cacosh_test): Add more tests.
4909 * sysdeps/i386/fpu/libm-test-ulps: Update.
4910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4912 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4914 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4917 * bench/Makefile (bench): Add sin and slowsin.
4918 * benchtests/sin-inputs: New file.
4919 * benchtests/slowsin-inputs: New file.
4920 * benchtests/slowsin.c: New file.
4922 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4923 (bench): Add slowexp and slowpow.
4924 (exp-ITER): Increase iterations.
4925 (pow-ITER): Likewise.
4926 * benchtests/exp-inputs: Change input.
4927 * benchtests/pow-inputs: Likewise.
4928 * benchtests/slowexp-inputs: New file.
4929 * benchtests/slowexp.c: New file.
4930 * benchtests/slowpow-inputs: New file.
4931 * benchtests/slowpow.c: New file.
4933 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4937 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4938 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4939 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4940 * benchtests/Makefile: Add rint benchtest.
4941 * benchtests/rint-inputs: Input for rint benchtest.
4943 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4945 * Versions.def (libm): Add GLIBC_2.18.
4946 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4947 hidden libm prototypes.
4948 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4949 * math/Makefile (libm-calls): Add s_issignaling.
4950 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4951 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4952 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4954 * math/math.h [__USE_GNU] (issignaling): New macro.
4955 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4956 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4961 * manual/arith.texi (issignaling): New section.
4962 * manual/libm-err-tab.pl (@all_functions): Update comment.
4963 * math/gen-libm-test.pl (parse_args): Apply special handling for
4965 * math/libm-test.inc (print_float, issignaling_test): New
4967 (check_float_internal): Add issignaling checks.
4968 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4970 * sysdeps/powerpc/math-tests.h: New file.
4971 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4973 * math/test-snan.c (TEST_FUNC): Likewise.
4975 2013-03-30 David S. Miller <davem@davemloft.net>
4977 * po/de.po: Update from translation team.
4979 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4982 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4983 imaginary part less than 1.0 and real part less than 0.5
4985 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4986 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4987 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4988 (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-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4996 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4999 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5000 (__pow_mp): Replace ONE and MONE with their values.
5001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5003 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5004 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5005 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5006 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5008 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5010 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5011 (__pow_mp): Replace ZERO and MZERO with their values.
5012 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5014 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5016 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5017 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5020 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5022 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5024 2013-03-28 Roland McGrath <roland@hack.frob.com>
5026 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5027 Declare with __attribute__ ((weak)).
5028 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5029 Call __call_tls_dtors only if it's not NULL.
5031 2013-03-28 Roland McGrath <roland@hack.frob.com>
5033 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5034 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5035 magic __ehdr_start linker symbol if it's defined.
5036 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5037 them up here if it was already done.
5039 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5040 (_dl_aux_init): Use const in cast when setting it.
5041 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5042 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5043 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5045 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5047 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5048 * csu/libc-tls.c: Nor here.
5049 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5051 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5052 (__libc_message): Never call vsyslog.
5054 2013-03-28 Alan Modra <amodra@gmail.com>
5056 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5058 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5061 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5068 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5071 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5072 Don't add gid passed as argument.
5074 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5076 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5079 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5080 imaginary part between 1.0 and 1.5 and real part less than 0.5
5082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5084 * math/libm-test.inc (cacos_test): Add more tests.
5085 (casin_test): Likewise.
5086 (casinh_test): Likewise.
5087 * sysdeps/i386/fpu/libm-test-ulps: Update.
5088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5092 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5096 (__dbl_mp): Likewise.
5097 (add_magnitudes): Likewise.
5098 (sub_magnitudes): Likewise.
5106 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5108 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5109 (__dubcos): Likewise.
5110 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5111 (__ieee754_acos): Likewise.
5112 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5118 (my_log2): Likewise.
5119 (checkint): Likewise.
5120 * sysdeps/ieee754/dbl-64/e_remainder.c
5121 (__ieee754_remainder): Likewise.
5122 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5127 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5128 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5129 MANTISSA_STORE_T to store computations on mantissa. Use
5130 macros for rounding and division.
5132 (__dbl_mp): Likewise.
5133 (add_magnitudes): Likewise.
5134 (sub_magnitudes): Likewise.
5137 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5138 powers of two in terms of TWOPOW macro.
5139 (mp_no): Make type of mantissa as MANTISSA_T.
5140 [!RADIXI]: Define RADIXI.
5141 [!TWO52]: Define TWO52.
5142 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5144 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5146 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5147 llroundl symbol when building for PPC32.
5149 2013-03-24 Mark H Weaver <mhw@netris.org>
5151 * manual/arith.texi (Normalization Functions): Fix prototypes for
5152 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5154 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5158 high value to check if expl overflow.
5159 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5160 to check for underflow and overflow.
5161 * math/libm-test.inc: Add exp test.
5163 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5166 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5169 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5174 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5176 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5177 wrap blocks consisting of several statements.
5179 * sysdeps/generic/math-tests.h: New file.
5180 * sysdeps/i386/fpu/math-tests.h: Likewise.
5181 * math/test-snan.c: Include it.
5182 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5184 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5187 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5188 (__ieee754_j0l): Do not improve calculations using cos of twice
5189 input for inputs above LDBL_MAX / 2.0L.
5190 (__ieee754_y0l): Likewise.
5191 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5192 (__ieee754_j1l): Do not improve calculations using cos of twice
5193 input for inputs above LDBL_MAX / 2.0L.
5194 (__ieee754_y1l): Likewise.
5195 * math/libm-test.inc (j0_test): Add another test.
5196 (j1_test): Likewise.
5197 (y0_test): Likewise.
5198 (y1_test): Likewise.
5199 * sysdeps/i386/fpu/libm-test-ulps: Update.
5201 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5203 * Rules ($(objpfx)bench-%.c): Include code from a C source
5206 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5209 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5210 imaginary part 1.0 and real part less than 0.5 specially.
5211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5213 * math/libm-test.inc (cacos_test): Add more tests.
5214 (casin_test): Likewise.
5215 (casinh_test): Likewise.
5216 * sysdeps/i386/fpu/libm-test-ulps: Update.
5217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5221 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5222 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5224 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5226 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5227 * config.make.in (config-cflags-sse4): Remove variable.
5228 (config-cflags-avx): Likewise.
5229 (config-cflags-sse2avx): Likewise.
5230 (config-cflags-novzeroupper): Likewise.
5231 (config-asflags-i686): Likewise.
5232 (have-mfma4): Likewise.
5233 (have-as-vis3): Likewise.
5235 * configure.in (MIG): Do not AC_SUBST.
5236 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5237 (libc_cv_cc_sse4): Do not AC_SUBST.
5238 (libc_cv_cc_avx): Likewise.
5239 (libc_cv_cc_sse2avx): Likewise.
5240 (libc_cv_cc_novzeroupper): Likewise.
5241 (libc_cv_cc_fma4): Likewise.
5242 (libc_cv_as_i686): Likewise.
5243 (libc_cv_sparc_as_vis3): Likewise.
5244 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5246 (config-asflags-i686): Likewise.
5247 (config-cflags-avx): Likewise.
5248 (config-cflags-sse2avx): Likewise.
5249 (have-mfma4): Likewise.
5250 (config-cflags-novzeroupper): Likewise.
5251 * sysdeps/mach/configure.in (MIG): Likewise.
5252 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5253 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5255 (config-cflags-avx): Likewise.
5256 (config-cflags-sse2avx): Likewise.
5257 (have-mfma4): Likewise.
5258 (config-cflags-novzeroupper): Likewise.
5259 * configure: Regenerated.
5260 * sysdeps/i386/configure: Likewise.
5261 * sysdeps/mach/configure: Likewise.
5262 * sysdeps/sparc/configure: Likewise.
5263 * sysdeps/x86_64/configure: Likewise.
5265 2013-03-20 Roland McGrath <roland@hack.frob.com>
5268 * locale/programs/localedef.c (options): Put N_ translation marker
5269 on argument names, not just descriptions.
5271 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5273 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5275 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5278 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5280 2013-03-19 Roland McGrath <roland@hack.frob.com>
5282 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5283 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5284 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5285 [!BEFORE_ABORT] (before_abort): New function.
5286 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5287 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5288 (writev_for_fatal): New function.
5289 (WRITEV_FOR_FATAL): New macro; call that.
5290 (backtrace_and_maps): New function.
5291 (BEFORE_ABORT): New macro; call that.
5292 (struct str_list): Type removed.
5293 (__libc_message, __libc_fatal): Functions removed.
5294 Include <sysdeps/posix/libc_fatal.c> instead.
5296 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5298 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5300 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5303 2013-03-19 Andreas Schwab <schwab@suse.de>
5305 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5306 * sysdeps/gnu/configure: Regenerate.
5308 * configure.in: Substitute libc_cv_rtlddir.
5309 * configure: Regenerate.
5310 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5311 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5312 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5313 * elf/Makefile (install-others, CFLAGS-interp.c)
5314 (ldso_install, common-ldd-rewrite): Likewise.
5315 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5316 $(inst_slibdir)/$(rtld-installed-name).
5317 * scripts/rellns-sh: Add -p option.
5318 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5321 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5323 * manual/nptl.texi: Renamed to ...
5324 * manual/threads.texi: ... this.
5325 * manual/Makefile (chapters): Update.
5327 2013-03-18 Roland McGrath <roland@hack.frob.com>
5330 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5331 on argument names, not just descriptions.
5332 * malloc/memusagestat.c (options): Likewise.
5333 * nss/getent.c (options): Likewise.
5335 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5338 * iconv/iconv_prog.c (options): Put N_ translation marker
5339 on argument names, not just descriptions.
5340 * iconv/iconvconfig.c (options): Likewise.
5342 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5344 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5345 implementation which is faster on all x86_64 architectures.
5346 Tested on AMD, Intel Nehalem, SNB, IVB.
5347 * sysdeps/x86_64/strnlen.S: Likewise.
5349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5350 Remove all multiarch strlen and strnlen versions.
5351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5352 Remove strlen and strnlen related parts.
5354 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5358 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5359 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5360 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5361 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5362 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5363 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5365 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5367 * manual/memory.texi (Malloc Tunable Parameters):
5368 Sort parameters alphabetically. Add comments for missing entries.
5370 2013-03-17 David S. Miller <davem@davemloft.net>
5372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5374 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5378 for arguments at most half maximum finite value.
5379 * math/libm-test.inc (j0_test): Add more tests.
5380 (j1_test): Likewise.
5381 (y0_test): Likewise.
5382 (y1_test): Likewise.
5383 * sysdeps/i386/fpu/libm-test-ulps: Update.
5384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5387 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5388 1 / x and functions P and Q for arguments above 0x1p256L.
5389 (__ieee754_y0l): Likewise.
5390 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5391 (__ieee754_y1l): Likewise.
5392 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5393 (j1_test): Likewise.
5394 (y0_test): Likewise.
5395 (y1_test): Likewise.
5397 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5399 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5402 2013-03-15 Roland McGrath <roland@hack.frob.com>
5404 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5405 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5406 zero since it's initialized to EXEC_PAGESIZE.
5408 * sysdeps/unix/sysv/linux/ldsodefs.h
5409 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5410 * sysdeps/generic/ldsodefs.h: ... here.
5412 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5414 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5416 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5418 * math/test-snan.c: Renamed from
5419 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5420 * math/Makefile (tests): Add test-snan.
5421 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5424 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5425 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5427 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5428 __builtin_nan family of functions.
5429 * math/libm-test.inc (initialize): Initialize qnan_value with
5430 __builtin_nan family of functions.
5431 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5433 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5435 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5436 storage class. Initialize qNaN_var and sNaN_var with
5437 __builtin_nan and __builtin_nans families of functions,
5440 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5441 (sqrt_test): Remove duplicate test with qNaN input.
5442 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5443 (round_test, signbit_test, significand_test): Note missing +/-Inf
5444 as well as qNaN tests.
5446 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5447 qNaN_var. Fix a few strings, too.
5448 * math/libm-test.inc (nan_value): Rename to qnan_value.
5449 * math/gen-libm-test.pl (%beautify): Adjust to that.
5450 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5451 * math/test-misc.c (main): Likewise.
5452 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5453 to __qnan_bytes, and __qnan_union, respectively.
5454 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5456 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5457 and lqnanval, respectively.
5458 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5459 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5460 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5461 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5463 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5464 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5467 * math/test-misc.c (main): Fix copy'n'pastos.
5468 * misc/tst-efgcvt.c (special): Likewise.
5470 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5471 Remove declarations.
5473 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5475 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5476 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5477 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5478 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5480 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5482 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5483 macro to return vdso values correctly in IFUNC implementations.
5484 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5485 Optimization by using IFUNC.
5487 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5488 Richard Henderson <rth@redhat.com>
5489 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5491 * Makefile.in (bench): New target.
5492 * NEWS: Mention the benchmark framework.
5493 * Rules (bench): Likewise.
5494 (binaries-bench): Generate binaries for functions to
5496 * benchtests/Makefile: New makefile for benchmark tests.
5497 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5499 * benchtests/exp-inputs: New input file for EXP function.
5500 * benchtests/pow-inputs: New input file for POW function.
5501 * scripts/bench.pl: New script to generate source files for
5504 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5507 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5508 computations on mantissa. Use macros for rounding and
5511 (__dbl_mp): Likewise.
5512 (add_magnitudes): Likewise.
5513 (sub_magnitudes): Likewise.
5516 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5517 powers of two in terms of TWOPOW macro.
5518 (mp_no): Make type of mantissa as MANTISSA_T.
5519 [!RADIXI]: Define RADIXI.
5520 [!TWO52]: Define TWO52.
5521 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5523 * manual/nptl.texi (cindex): Modify threads to pthreads.
5525 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/x86_64/preconfigure: Regenerated.
5529 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5532 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5534 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5535 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5537 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5538 * math/libm-test.inc (j0_test): Do not allow one spurious
5539 underflow exception.
5540 (y1_test): Likewise.
5542 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5544 * manual/Makefile (chapters): Add nptl.
5545 * manual/debug.texi (Debugging Support): Add link to Threads
5547 * manual/nptl.texi: New file.
5549 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5551 2013-03-14 Petr Baudis <pasky@ucw.cz>
5553 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5554 for non-NULL pointer before the memory validity test. Pointed
5555 out by Holger Brunck <holger.brunck@keymile.com>.
5557 2013-03-13 Andreas Schwab <schwab@suse.de>
5559 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5562 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5564 * timezone/zic.c: Update from tzcode 2013b.
5566 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5568 * manual/install.texi (Configuring and compiling):
5569 Mention i686 and i586.
5570 * INSTALL: Regenerate.
5572 2013-03-12 Roland McGrath <roland@hack.frob.com>
5574 * sysdeps/init_array/elf-init.c: New file.
5576 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5577 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5579 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5580 __gmon_start__ as global, but as static with a .preinit_array pointer.
5581 * sysdeps/init_array/gmon-start.c: New file. Use that.
5582 * sysdeps/init_array/crti.S: New file, empty except for comments.
5583 * sysdeps/init_array/crtn.S: Likewise.
5585 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5587 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5590 Remove Prefer_SSE_for_memop.
5591 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5592 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5593 HAS_PREFER_SSE_FOR_MEMOP.
5594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5597 Remove bzero, memset ifunc support.
5598 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5599 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5600 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5601 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5603 2013-03-11 Andreas Schwab <schwab@suse.de>
5606 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5609 (GLIBC_2.16): Remove pthread_atfork.
5611 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5613 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5614 (ptestcases.h): Likewise.
5616 2013-03-08 Roland McGrath <roland@hack.frob.com>
5618 * Makeconfig ($(common-objpfx)config.status): Depend on
5619 sysdeps/*/preconfigure{,.in} too.
5621 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5623 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5624 (__free_hook): Use void * instead of __malloc_ptr_t.
5625 (__malloc_hook): Likewise.
5626 (__realloc_hook): Likewise.
5627 (__memalign_hook): Likewise.
5628 (__after_morecore_hook): Likewise.
5629 * malloc/arena.c (save_malloc_hook): Likewise.
5630 (save_free_hook): Likewise.
5631 * malloc/hooks.c (malloc_hook_ini): Likewise.
5632 (realloc_hook_ini): Likewise.
5633 (memalign_hook_ini): Likewise.
5634 * malloc/malloc.c (malloc_hook_ini): Likewise.
5635 (realloc_hook_ini): Likewise.
5636 (memalign_hook_ini): Likewise.
5637 (__free_hook): Likewise.
5638 (__malloc_hook): Likewise.
5639 (__realloc_hook): Likewise.
5640 (__memalign_hook): Likewise.
5641 (__libc_malloc): Likewise.
5642 (__libc_free): Likewise.
5643 (__libc_realloc): Likewise.
5644 (__libc_memalign): Likewise.
5645 (__libc_valloc): Likewise.
5646 (__libc_pvalloc): Likewise.
5647 (__libc_calloc): Likewise.
5648 (__posix_memalign): Likewise.
5649 * malloc/morecore.c (__sbrk): Likewise.
5650 (__default_morecore): Likewise.
5652 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5654 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5655 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5658 * malloc/malloc.h (__malloc_size_t): Remove macro.
5659 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5661 (old_memalign_hook): Likewise.
5662 (old_realloc_hook): Likewise.
5663 (struct hdr): Likewise.
5665 (mallochook): Likewise.
5666 (memalignhook): Likewise.
5667 (reallochook): Likewise.
5668 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5669 (tr_old_realloc_hook): Likewise.
5670 (tr_old_memalign_hook): Likewise.
5671 (tr_mallochook): Likewise.
5672 (tr_reallochook): Likewise.
5673 (tr_memalignhook): Likewise.
5675 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5678 default_ldbl_pack and using as default implementation.
5679 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5681 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5682 redundant definition.
5683 (ldbl_insert_mantissa): Likewise.
5684 (ldbl_canonicalize): Likewise.
5685 (ldbl_nearbyint): Likewise.
5686 (ldbl_pack): Rename to ldbl_pack_ppc.
5687 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5688 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5689 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5691 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5694 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5696 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5699 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5700 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5702 2013-03-07 Andreas Jaeger <aj@suse.de>
5704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5707 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5709 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5710 Include mpa.h and declare __MPEXP.
5711 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5713 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5714 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5716 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5717 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5719 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5720 (__slowpow): Use long double EXPL and LOGL functions to
5722 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5723 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5725 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5726 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5727 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5730 intermediate variable to calculate exponent.
5732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5736 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5737 [!NO__SQR]: Define __sqr.
5738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5739 and NO__SQR. Remove all code except __mul and __sqr. Include
5740 sysdeps/ieee754/dbl-64/mpa.c.
5741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5744 * posix/Makefile (tests): Add tst-pathconf.
5745 * posix/tst-pathconf.c: New test case.
5746 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5748 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5750 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5752 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5754 2013-03-06 Andreas Jaeger <aj@suse.de>
5756 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5757 definition via __MAP_ANONYMOUS.
5759 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5760 it's not part of Linux headers.
5762 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5763 (MAP_HUGE_MASK): Define.
5765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5767 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5770 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5771 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5773 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5776 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5778 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5779 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5780 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5781 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5782 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5785 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5789 Handle f2fs and efivarfs.
5791 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5794 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5795 (EFIVARFS_MAGIC): Add.
5796 (F2FS_LINK_MAX): Add.
5798 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5800 * stdio-common/vfprintf.c: Replace __builtin_expect with
5803 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5806 * sysdeps/generic/bp-sym.h: Remove file.
5807 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5808 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5809 <bp-sym.h> and <bp-asm.h>.
5810 (__longjmp): Don't use BP_SYM.
5811 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5813 (memcpy): Don't use BP_SYM.
5814 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5815 <bp-sym.h> and <bp-asm.h>.
5816 (memcpy): Don't use BP_SYM.
5817 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5819 (memcpy): Don't use BP_SYM.
5820 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5822 (memset): Don't use BP_SYM.
5823 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5824 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5825 (__bzero): Don't use BP_SYM.
5826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5829 <bp-sym.h> and <bp-asm.h>.
5830 (memcmp): Don't use BP_SYM. Remove comment about bounded
5832 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5833 <bp-sym.h> and <bp-asm.h>.
5834 (memcpy): Don't use BP_SYM.
5835 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5836 <bp-sym.h> and <bp-asm.h>.
5837 (memset): Don't use BP_SYM.
5838 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5839 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5840 (__bzero): Don't use BP_SYM.
5841 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5842 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5843 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5844 <bp-sym.h> and <bp-asm.h>.
5845 (strncmp): Don't use BP_SYM. Remove comment about bounded
5847 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5848 <bp-sym.h> and <bp-asm.h>.
5849 (memcpy): Don't use BP_SYM.
5850 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5851 <bp-sym.h> and <bp-asm.h>.
5852 (memset): Don't use BP_SYM.
5853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5855 (__bzero): Don't use BP_SYM.
5856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5859 <bp-sym.h> and <bp-asm.h>.
5860 (__memchr): Don't use BP_SYM.
5861 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5862 <bp-sym.h> and <bp-asm.h>.
5863 (memcmp): Don't use BP_SYM. Remove comment about bounded
5865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5866 <bp-sym.h> and <bp-asm.h>.
5867 (memcpy): Don't use BP_SYM.
5868 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5869 <bp-sym.h> and <bp-asm.h>.
5870 (__mempcpy): Don't use BP_SYM.
5871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5872 <bp-sym.h> and <bp-asm.h>.
5873 (__memrchr): Don't use BP_SYM.
5874 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5875 <bp-sym.h> and <bp-asm.h>.
5876 (memset): Don't use BP_SYM.
5877 (__bzero): Likewise.
5878 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5879 <bp-sym.h> and <bp-asm.h>.
5880 (__rawmemchr): Don't use BP_SYM.
5881 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5882 <bp-sym.h> and <bp-asm.h>.
5883 (__STRCMP): Don't use BP_SYM.
5884 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5885 <bp-sym.h> and <bp-asm.h>.
5886 (strchr): Don't use BP_SYM.
5887 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5888 <bp-sym.h> and <bp-asm.h>.
5889 (__strchrnul): Don't use BP_SYM.
5890 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (strlen): Don't use BP_SYM.
5893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5894 <bp-sym.h> and <bp-asm.h>.
5895 (strncmp): Don't use BP_SYM. Remove comment about bounded
5897 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5898 <bp-sym.h> and <bp-asm.h>.
5899 (__strnlen): Don't use BP_SYM.
5900 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5901 <bp-sym.h> and <bp-asm.h>.
5902 (__GI__setjmp): Don't use BP_SYM.
5903 (_setjmp): Likewise.
5904 (__sigsetjmp): Likewise.
5905 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5906 (L(start_addresses)): Don't use BP_SYM.
5908 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5910 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5911 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5912 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5913 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5914 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5916 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5917 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5918 about bounded pointers.
5919 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5920 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5921 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5923 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5924 about bounded pointers. Remove GKM FIXME comments.
5925 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5926 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5928 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5929 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5930 Remove GKM FIXME comments.
5931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5933 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5936 about bounded pointers. Remove GKM FIXME comment.
5937 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5939 (strncmp): Don't use BP_SYM. Remove comment about bounded
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5942 <bp-sym.h> and <bp-asm.h>.
5943 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5945 <bp-sym.h> and <bp-asm.h>.
5946 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5949 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5951 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5954 2013-03-05 David S. Miller <davem@davemloft.net>
5956 * po/es.po: Update from translation team.
5958 2013-03-05 Andreas Jaeger <aj@suse.de>
5960 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5961 <bits/mman-linux.h>.
5962 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5964 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5965 <bits/mman-linux.h> to end of file.
5966 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5968 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5969 <bits/mman-linux.h> to end of file.
5970 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5973 <bits/mman-linux.h> to end of file.
5975 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5976 (MCL_CURRENT, MCL_FUTURE): Define here.
5978 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5983 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5985 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5987 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5988 fourth parameter needed for rt_sigprocmask syscall.
5989 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5990 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5991 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5992 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5994 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5996 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6000 comment about bounded pointers.
6001 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6002 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6004 2013-03-04 Andreas Jaeger <aj@suse.de>
6006 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6010 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6011 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6016 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6020 __ieee754_sqrl instead of __sqrl.
6022 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6024 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6025 * sysdeps/powerpc/fpu_control.h: ... here.
6026 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6027 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6028 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6029 * sysdeps/powerpc/bits/mathinline.h: ... here.
6031 2013-03-01 Roland McGrath <roland@hack.frob.com>
6033 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6034 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6035 to just [NEED_DL_SYSINFO_DSO].
6036 * elf/dl-support.c: Likewise.
6037 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6038 * elf/rtld.c (dl_main): Likewise.
6039 * elf/setup-vdso.h (setup_vdso): Likewise.
6040 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6041 * sysdeps/unix/sysv/linux/dl-sysdep.c
6042 (_dl_discover_osversion): Likewise.
6044 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6046 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6047 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6049 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * NEWS: Mention libm performance improvements and non-x86 PI
6054 * csu/libc-start.c (__pthread_initialize_minimal): Change
6056 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6058 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6061 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6062 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6063 <bp-sym.h> and <bp-asm.h>.
6064 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6067 (memcpy): Don't use BP_SYM.
6068 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6070 (__mpn_add_n): Don't use BP_SYM.
6071 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6072 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6074 (__mpn_addmul_1): Don't use BP_SYM.
6075 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6076 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6078 (_setjmp): Don't use BP_SYM.
6079 (__novmx_setjmp): Likewise.
6080 (__GI__setjmp): Likewise.
6081 (__vmx_setjmp): Likewise.
6082 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6084 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6085 (__bzero): Don't use BP_SYM.
6086 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6087 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6088 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6089 <bp-sym.h> and <bp-asm.h>.
6090 (memcpy): Don't use BP_SYM.
6091 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6092 <bp-sym.h> and <bp-asm.h>.
6093 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6094 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6095 <bp-sym.h> and <bp-asm.h>.
6096 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6097 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6099 (__mpn_lshift): Don't use BP_SYM.
6100 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6101 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6103 (memset): Don't use BP_SYM.
6104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6106 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6108 (__mpn_mul_1): Don't use BP_SYM.
6109 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6111 <bp-sym.h> and <bp-asm.h>.
6112 (memcmp): Don't use BP_SYM.
6113 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6114 <bp-sym.h> and <bp-asm.h>.
6115 (memcpy): Don't use BP_SYM.
6116 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6117 <bp-sym.h> and <bp-asm.h>.
6118 (memset): Don't use BP_SYM.
6119 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6120 <bp-sym.h> and <bp-asm.h>.
6121 (strncmp): Don't use BP_SYM.
6122 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6123 <bp-sym.h> and <bp-asm.h>.
6124 (memcpy): Don't use BP_SYM.
6125 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6126 <bp-sym.h> and <bp-asm.h>.
6127 (memset): Don't use BP_SYM.
6128 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6129 <bp-sym.h> and <bp-asm.h>.
6130 (__memchr): Don't use BP_SYM.
6131 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6132 <bp-sym.h> and <bp-asm.h>.
6133 (memcmp): Don't use BP_SYM.
6134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6135 <bp-sym.h> and <bp-asm.h>.
6136 (memcpy): Don't use BP_SYM.
6137 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6138 <bp-sym.h> and <bp-asm.h>.
6139 (__mempcpy): Don't use BP_SYM.
6140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6141 <bp-sym.h> and <bp-asm.h>.
6142 (__memrchr): Don't use BP_SYM.
6143 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6144 <bp-sym.h> and <bp-asm.h>.
6145 (memset): Don't use BP_SYM.
6146 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6147 <bp-sym.h> and <bp-asm.h>.
6148 (__rawmemchr): Don't use BP_SYM.
6149 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6150 <bp-sym.h> and <bp-asm.h>.
6151 (__STRCMP): Don't use BP_SYM.
6152 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6153 <bp-sym.h> and <bp-asm.h>.
6154 (strchr): Don't use BP_SYM.
6155 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6156 <bp-sym.h> and <bp-asm.h>.
6157 (__strchrnul): Don't use BP_SYM.
6158 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6159 <bp-sym.h> and <bp-asm.h>.
6160 (strlen): Don't use BP_SYM.
6161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6162 <bp-sym.h> and <bp-asm.h>.
6163 (strncmp): Don't use BP_SYM.
6164 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6165 <bp-sym.h> and <bp-asm.h>.
6166 (__strnlen): Don't use BP_SYM.
6167 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6169 (__mpn_rshift): Don't use BP_SYM.
6170 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6171 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6172 <bp-sym.h> and <bp-asm.h>.
6173 (__sigsetjmp): Don't use BP_SYM.
6174 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6175 (L(start_addresses)): Don't use BP_SYM.
6177 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6179 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6180 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6181 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6182 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6184 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6185 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6186 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6187 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6189 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6191 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6192 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6194 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6196 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6197 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6198 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6200 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6202 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6204 (strncmp): Don't use BP_SYM,
6205 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6207 (__mpn_sub_n): Don't use BP_SYM.
6208 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6209 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6211 (__mpn_submul_1): Don't use BP_SYM.
6212 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6214 <bp-sym.h> and <bp-asm.h>.
6215 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6217 <bp-sym.h> and <bp-asm.h>.
6218 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6221 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6224 Use ZK to minimize writes to Z.
6225 (sub_magnitudes): Simplify code a bit.
6226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6227 Use ZK to minimize writes to Z.
6228 (sub_magnitudes): Simplify code a bit.
6230 2013-02-27 Roland McGrath <roland@hack.frob.com>
6232 * csu/gmon-start.c: Add special exception to license text.
6234 2013-02-27 Richard Henderson <rth@redhat.com>
6236 * scripts/config.guess: Update from config.git.
6237 * scripts/config.sub: Likewise.
6239 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6243 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6245 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6247 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6249 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6251 2013-02-26 Roland McGrath <roland@hack.frob.com>
6253 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6254 [$(build-shared = yes].
6256 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6258 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6259 (__mul): Reduce iterations for calculating mantissa.
6261 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6263 (__mpranred): Likewise.
6266 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6267 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6269 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6271 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6272 Define __attribute__.
6274 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6276 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6278 * posix/regex_internal.h (__attribute): Remove.
6279 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6280 (re_string_context_at): Likewise.
6281 (bitset_not): Use __attribute__ and mark function as possibly
6283 (bitset_merge): Likewise.
6284 (bitset_mask): Likewise.
6285 (re_string_char_size_at): Likewise.
6286 (re_string_wchar_at): Likewise.
6287 (re_string_elem_size_at): Likewise.
6289 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6295 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6300 (__dbl_mp): Likewise.
6301 (add_magnitudes): Likewise.
6302 (sub_magnitudes): Likewise.
6306 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6309 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6312 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6316 up changes with default code.
6317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6320 2013-02-24 Allan McRae <allan@archlinux.org>
6322 * manual/socket.texi (The Internet Namespace): Order menu items
6323 to match that in the file.
6325 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6326 node listing of the info page menu.
6328 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6331 * sysdeps/i386/bp-asm.h: Remove file.
6332 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6333 (PARMS): Do not use macros from bp-asm.h.
6337 (__mpn_add_n): Do not use BP_SYM
6338 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6340 (PARMS): Do not use macros from bp-asm.h.
6343 (__mpn_addmul_1): Do not use BP_SYM
6344 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6346 (PARMS): Do not use macros from bp-asm.h.
6348 (_setjmp): Likewise. Do not use BP_SYM.
6349 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6351 (PARMS): Do not use macros from bp-asm.h.
6353 (setjmp): Likewise. Do not use BP_SYM.
6354 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6356 (PARMS): Do not use macros from bp-asm.h.
6357 (__frexp): Do not use BP_SYM.
6359 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6361 (PARMS): Do not use macros from bp-asm.h.
6362 (__frexpf): Do not use BP_SYM.
6364 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6366 (PARMS): Do not use macros from bp-asm.h.
6367 (__frexpl): Do not use BP_SYM.
6369 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6371 (PARMS): Do not use macros from bp-asm.h.
6372 (__remquo): Do not use BP_SYM.
6374 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6376 (PARMS): Do not use macros from bp-asm.h.
6377 (__remquof): Do not use BP_SYM.
6378 (remquof): Likewise.
6379 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6381 (PARMS): Do not use macros from bp-asm.h.
6382 (__remquol): Do not use BP_SYM.
6383 (remquol): Likewise.
6384 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6386 (PARMS): Do not use macros from bp-asm.h.
6389 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6390 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6392 (PARMS): Do not use macros from bp-asm.h.
6393 (strlen): Do not use BP_SYM.
6394 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6396 (PARMS): Do not use macros from bp-asm.h.
6400 (__mpn_add_n): Do not use BP_SYM.
6401 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6403 (PARMS): Do not use macros from bp-asm.h.
6406 (__mpn_addmul_1): Do not use BP_SYM.
6407 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6410 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6412 (PARMS): Do not use macros from bp-asm.h.
6415 (__mpn_lshift): Do not use BP_SYM.
6416 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6418 (PARMS): Do not use macros from bp-asm.h.
6422 (memcpy): Likewise. Do not use BP_SYM.
6423 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6424 libc_hidden_def and weak_alias.
6425 (mempcpy): Do not use BP_SYM in weak_alias.
6426 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6428 (PARMS): Do not use macros from bp-asm.h.
6431 [!BZERO_P] (CHR): Likewise.
6432 (memset): Likewise. Do not use BP_SYM.
6433 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6435 (PARMS): Do not use macros from bp-asm.h.
6438 (__mpn_mul_1): Do not use BP_SYM.
6439 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6441 (PARMS): Do not use macros from bp-asm.h.
6444 (__mpn_rshift): Do not use BP_SYM.
6445 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6447 (PARMS): Do not use macros from bp-asm.h.
6450 (strchr): Likewise. Do not use BP_SYM.
6451 (index): Do not use BP_SYM in weak_alias.
6452 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6454 (PARMS): Do not use macros from bp-asm.h.
6457 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6458 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6460 (PARMS): Do not use macros from bp-asm.h.
6461 (strlen): Do not use BP_SYM.
6462 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6464 (PARMS): Do not use macros from bp-asm.h.
6468 (__mpn_sub_n): Do not use BP_SYM.
6469 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6471 (PARMS): Do not use macros from bp-asm.h.
6474 (__mpn_submul_1): Do not use BP_SYM.
6475 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6477 (PARMS): Do not use macros from bp-asm.h.
6481 (__mpn_add_n): Do not use BP_SYM.
6482 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6485 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6487 (PARMS): Do not use macros from bp-asm.h.
6490 (memcmp): Do not use BP_SYM.
6491 (bcmp): Do not use BP_SYM in weak_alias.
6492 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6494 (PARMS): Do not use macros from bp-asm.h.
6498 (memcpy): Likewise. Do not use BP_SYM.
6499 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6501 (PARMS): Do not use macros from bp-asm.h.
6505 (memmove): Likewise. Do not use BP_SYM.
6506 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6508 (PARMS): Do not use macros from bp-asm.h.
6512 (__mempcpy): Likewise. Do not use BP_SYM.
6513 (mempcpy): Do not use BP_SYM in weak_alias.
6514 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6516 (PARMS): Do not use macros from bp-asm.h.
6519 [!BZERO_P] (CHR): Likewise.
6520 (memset): Likewise. Do not use BP_SYM.
6521 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6523 (PARMS): Do not use macros from bp-asm.h.
6525 (strcmp): Do not use BP_SYM.
6526 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6528 (PARMS): Do not use macros from bp-asm.h.
6531 [USE_AS_STRTOK_R] (SAVE): Likewise.
6532 (FUNCTION): Likewise. Do not use BP_SYM.
6533 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6535 (strtok_r): Likewise.
6536 (__GI___strtok_r): Likewise.
6537 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6538 (PARMS): Do not use macros from bp-asm.h.
6541 (__mpn_lshift): Do not use BP_SYM.
6542 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6543 (PARMS): Do not use macros from bp-asm.h.
6546 (__memchr): Do not use BP_SYM.
6547 (memchr): Do not use BP_SYM in weak_alias.
6548 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6549 (PARMS): Do not use macros from bp-asm.h.
6552 (memcmp): Do not use BP_SYM.
6553 (bcmp): Do not use BP_SYM in weak_alias.
6554 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6555 (PARMS): Do not use macros from bp-asm.h.
6558 (__mpn_mul_1): Do not use BP_SYM.
6559 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6561 (PARMS): Do not use macros from bp-asm.h.
6564 (__rawmemchr): Do not use BP_SYM.
6565 (rawmemchr): Do not use BP_SYM in weak_alias.
6566 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6567 (PARMS): Do not use macros from bp-asm.h.
6570 (__mpn_rshift): Do not use BP_SYM.
6571 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6572 (PARMS): Do not use macros from bp-asm.h.
6574 (__sigsetjmp): Likewise. Do not use BP_SYM.
6575 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6576 (_start): Do not use BP_SYM.
6577 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6578 (PARMS): Do not use macros from bp-asm.h.
6581 (__stpcpy): Likewise. Do not use BP_SYM.
6582 (stpcpy): Do not use BP_SYM in weak_alias.
6583 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6585 (PARMS): Do not use macros from bp-asm.h.
6589 (__stpncpy): Likewise. Do not use BP_SYM.
6590 (stpncpy): Do not use BP_SYM in weak_alias.
6591 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6592 (PARMS): Do not use macros from bp-asm.h.
6595 (strchr): Likewise. Do not use BP_SYM.
6596 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6598 (PARMS): Do not use macros from bp-asm.h.
6601 (__strchrnul): Likewise. Do not use BP_SYM.
6602 (strchrnul): Do not use BP_SYM in weak_alias.
6603 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6605 (PARMS): Do not use macros from bp-asm.h.
6607 (strcspn): Do not use BP_SYM.
6608 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6610 (PARMS): Do not use macros from bp-asm.h.
6613 (strpbrk): Likewise. Do not use BP_SYM.
6614 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6616 (PARMS): Do not use macros from bp-asm.h.
6619 (strrchr): Likewise. Do not use BP_SYM.
6620 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6621 (PARMS): Do not use macros from bp-asm.h.
6623 (strspn): Do not use BP_SYM.
6624 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6625 (PARMS): Do not use macros from bp-asm.h.
6629 (FUNCTION): Likewise. Do not use BP_SYM.
6630 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6632 (strtok_r): Likewise.
6633 (__GI___strtok_r): Likewise.
6634 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6635 (PARMS): Do not use macros from bp-asm.h.
6639 (__mpn_sub_n): Do not use BP_SYM.
6640 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6642 (PARMS): Do not use macros from bp-asm.h.
6645 (__mpn_submul_1): Do not use BP_SYM.
6646 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6648 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6650 (PARMS): Do not use macros from bp-asm.h.
6655 (__clone): Do not use BP_SYM.
6656 (clone): Do not use BP_SYM in weak_alias.
6657 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6659 (PARMS): Do not use macros from bp-asm.h.
6661 (__mmap64): Do not use BP_SYM.
6662 (mmap64): Do not use BP_SYM in weak_alias.
6663 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6664 <bp-sym.h> and <bp-asm.h>.
6665 (PARMS): Do not use macros from bp-asm.h.
6666 (__posix_fadvise64_l64): Do not use BP_SYM.
6667 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6668 (PARMS): Do not use macros from bp-asm.h.
6670 (semtimedop): Do not use BP_SYM.
6671 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6674 2013-02-21 Allan McRae <allan@archlinux.org>
6676 * manual/message.texi (Charset conversion in gettext):
6677 Move @end statement to beginning of line.
6679 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6686 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6691 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6693 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6694 tail-call to the resolved function if pltexit isn't needed.
6696 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6699 or Y being zero as being unlikely.
6700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6703 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6705 * manual/nss.texi (System Databases and Name Service Switch):
6706 Remove frobnicate @pxref.
6708 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6710 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6711 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6713 2013-02-20 Petr Machata <pmachata@redhat.com>
6715 * elf/elf.h (R_ARM_TARGET1): New macro.
6716 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6717 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6718 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6719 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6720 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6721 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6722 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6723 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6724 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6725 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6726 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6727 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6728 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6729 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6730 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6731 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6732 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6733 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6734 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6735 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6736 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6737 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6738 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6739 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6740 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6741 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6742 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6743 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6744 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6745 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6746 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6747 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6748 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6749 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6750 (R_ARM_THM_GOT_BREL12): Likewise.
6751 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6752 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6753 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6754 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6755 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6756 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6757 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6758 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6759 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6761 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6763 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6764 __attribute_used__ to __attribute__ ((unused)).
6766 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6768 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6774 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6777 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6779 (ENTER): Remove both macro definitions.
6781 (CHECK_BOUNDS_LOW): Likewise.
6782 (CHECK_BOUNDS_HIGH): Likewise.
6783 (CHECK_BOUNDS_BOTH): Likewise.
6784 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6785 (RETURN_BOUNDED_POINTER): Likewise.
6786 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6787 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6788 (POP_ERRNO_LOCATION_RETURN): Likewise.
6789 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6790 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6791 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6793 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6794 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6795 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6796 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6797 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6798 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6799 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6800 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6801 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6802 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6803 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6804 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6805 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6806 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6808 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6809 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6811 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6812 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6813 * sysdeps/i386/i586/memset.S (memset): Likewise.
6814 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6815 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6816 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6818 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6819 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6820 Change uses of L(2) to L(out).
6821 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6822 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6823 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6824 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6825 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6827 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6828 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6830 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6831 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6832 (RETURN): Do not use macro LEAVE.
6833 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6834 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6835 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6836 * sysdeps/i386/i686/memset.S (memset): Likewise.
6837 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6838 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6839 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6840 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6842 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6843 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6844 L(1_2) and L(1_3) into L(1).
6845 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6846 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6847 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6848 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6849 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6850 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6851 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6852 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6853 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6855 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6856 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6857 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6858 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6859 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6860 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6861 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6862 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6863 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6864 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6865 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6866 * sysdeps/i386/strspn.S (strspn): Likewise.
6867 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6869 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6870 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6871 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6872 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6874 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6875 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6876 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6878 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6880 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6882 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6885 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6887 * math/atest-exp.c (exp_mpn): Remove ROUND.
6888 * math/atest-exp2.c (exp_mpn): Likewise.
6889 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6891 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6892 * stdlib/tst-tls-atexit-lib.c: Likewise.
6893 * stdlib/tst-tls-atexit.c: Likewise.
6895 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6897 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6898 and __attribute_alloc_size__.
6900 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6902 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6903 __attribute_alloc_size__.
6904 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6905 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6907 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6909 * include/programs/xmalloc.h: New file.
6910 * catgets/gencat.c: Include it.
6911 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6912 * elf/pldd.c: Likewise.
6913 * iconv/iconv_charmap.c: Likewise.
6914 * iconv/iconvconfig.c: Likewise.
6915 * iconv/strtab.c: Likewise.
6916 * locale/programs/locale.c: Likewise.
6917 * locale/programs/localedef.h: Likewise.
6918 * locale/programs/simple-hash.c: Likewise.
6919 * nscd/nscd.h: Likewise.
6920 * nss/makedb.c: Likewise.
6921 * sysdeps/generic/ldconfig.h: Likewise.
6923 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6925 * Versions.def: Add GLIBC_2.18.
6926 * include/link.h (struct link_map): New member l_tls_dtor_count.
6927 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6928 (__call_tls_dtors): Likewise.
6929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6930 __cxa_thread_atexit_impl.
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6939 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6947 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6948 (tests): Add test case tst-tls-atexit.
6949 (modules-names): Add shared library for tst-tls-atexit.
6950 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6951 (GLIBC_PRIVATE): Add __call_tls_dtors.
6952 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6954 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6955 * stdlib/tst-tls-atexit.c: New test case.
6956 * stdlib/tst-tls-atexit-lib.c: New test case.
6958 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6960 * elf/Versions (ld): Add _dl_find_dso_for_object.
6961 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6962 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6963 (dl_open_worker): Use _dl_find_dso_for_object.
6964 * elf/dl-sym.c (do_sym): Likewise.
6965 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6967 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6969 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6970 Syntactic changes only.
6971 (_dl_runtime_profile): Do a tail-call to the resolved function.
6973 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/x86_64/bp-asm.h: Remove file.
6977 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6978 <bp-sym.h> and <bp-asm.h>.
6979 (__clone): Do not use BP_SYM.
6980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6981 <bp-sym.h> and <bp-asm.h>.
6982 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6983 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6985 (_setjmp): Do not use BP_SYM.
6986 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6988 (setjmp): Do not use BP_SYM.
6989 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6991 (mempcpy): Do not use BP_SYM in weak_alias.
6992 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6994 (strchr): Do not use BP_SYM.
6995 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6997 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6998 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6999 (_start): Do not use BP_SYM.
7000 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7002 (strcat): Do not use BP_SYM.
7003 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7005 (STRCMP): Do not use BP_SYM.
7006 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7008 (STRCPY): Do not use BP_SYM.
7009 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7011 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7013 (FUNCTION): Do not use BP_SYM.
7014 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7016 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7018 2013-02-17 Andreas Jaeger <aj@suse.de>
7020 * time/Versions: Sort entries.
7021 * string/Versions: Likewise.
7022 * resolv/Versions: Likewise.
7023 * posix/Versions: Likewise.
7024 * iconv/Versions: Likewise.
7025 * elf/Versions: Likewise.
7026 * wcsmbs/Versions: Likewise.
7028 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7030 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7031 loop termination condition.
7033 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7034 variable to calculate EZ.
7037 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7038 the lower precision input.
7040 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7043 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7044 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7045 (run-via-rtld-prefix): Do not handle %-bp tests.
7046 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7047 (all-object-suffixes): Remove .ob.
7048 (bppfx): Remove variable.
7049 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7050 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7051 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7052 [$(build-bounded) = yes] (libtype.ob): Likewise.
7053 * Makerules (elide-routines.ob): Remove variable.
7054 (do-tests-clean): Do not handle *-bp.out.
7055 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7056 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7057 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7058 (tests): Do not include $(tests-bp.out).
7059 (xtests): Do not include $(xtests-bp.out).
7060 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7061 [$(build-bounded) = yes] ($(addprefix
7062 $(objpfx),$(binaries-bounded))): Remove rule.
7063 ($(objpfx)%-bp.out): Remove rule.
7064 * config.make.in (build-bounded): Remove variable.
7065 * crypt/Makefile [$(build-bounded) = yes]
7066 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7067 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7069 [$(build-bounded) = yes] (install-lib): Likewise.
7070 [$(build-bounded) = yes] (generated): Likewise.
7071 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7073 * intl/Makefile [$(build-bounded) = yes]
7074 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7075 * math/Makefile [$(build-bounded) = yes]
7076 ($(tests:%=$(objpfx)%-bp): Likewise.
7077 * misc/Makefile [$(build-bounded) = yes]
7078 ($(objpfx)tst-tsearch-bp): Likewise.
7079 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7080 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7082 * string/Makefile (o-objects.ob): Remove variable.
7083 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7084 (CFLAGS-.ob): Remove variable.
7085 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7086 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7087 both definitions of variable.
7088 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7089 (ASFLAGS-.ob): Remove variable.
7091 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7094 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7095 Remove __BOUNDED_POINTERS__ from condition.
7096 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7097 * string/bits/string2.h [!__NO_STRING_INLINES &&
7098 !__BOUNDED_POINTERS__]: Likewise.
7099 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7101 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7102 Remove conditional code.
7103 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7104 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7105 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7109 * csu/libc-start.c: Do not include <bp-sym.h>.
7110 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7111 * elf/dl-open.c: Do not include <bp-sym.h>.
7112 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7113 * math/fegetenv.c: Do not include <bp-sym.h>.
7114 (fegetenv): Do not use BP_SYM in versioned symbols.
7115 * nptl/sysdeps/pthread/bits/libc-lockP.h
7116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7119 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7121 (__pthread_mutex_destroy): Likewise.
7122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7123 (__pthread_mutex_lock): Likewise.
7124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7125 (__pthread_mutex_trylock): Likewise.
7126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7127 (__pthread_mutex_unlock): Likewise.
7128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7129 (__pthread_mutexattr_init): Likewise.
7130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7131 (__pthread_mutexattr_destroy): Likewise.
7132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7133 (__pthread_mutexattr_settype): Likewise.
7134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7135 (__pthread_rwlock_init): Likewise.
7136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7137 (__pthread_rwlock_destroy): Likewise.
7138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7139 (__pthread_rwlock_rdlock): Likewise.
7140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7141 (__pthread_rwlock_tryrdlock): Likewise.
7142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7143 (__pthread_rwlock_wrlock): Likewise.
7144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7145 (__pthread_rwlock_trywrlock): Likewise.
7146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7147 (__pthread_rwlock_unlock): Likewise.
7148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7149 (__pthread_key_create): Likewise.
7150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7151 (__pthread_setspecific): Likewise.
7152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7153 (__pthread_getspecific): Likewise.
7154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7157 (_pthread_cleanup_push_defer): Likewise.
7158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7159 (_pthread_cleanup_pop_restore): Likewise.
7160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7161 (pthread_setcancelstate): Likewise.
7162 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7164 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7165 (memchr): Do not use BP_SYM in weak_alias.
7166 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7167 (fegetenv): Do not use BP_SYM in versioned symbols.
7168 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7169 (fesetenv): Do not use BP_SYM in versioned symbols.
7170 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7171 (feupdateenv): Do not use BP_SYM in versioned symbols.
7172 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7173 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7174 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7175 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7176 (open64): Do not use BP_SYM in weak_alias.
7177 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7178 (fegetenv): Do not use BP_SYM in versioned symbols.
7179 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7180 (fesetenv): Do not use BP_SYM in versioned symbols.
7181 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7182 (feupdateenv): Do not use BP_SYM in versioned symbols.
7183 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7184 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7185 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7186 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7187 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7188 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7189 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7191 (__libc_start_main): Do not use BP_SYM.
7193 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7196 redundant return line.
7200 (sub_magnitudes): Likewise.
7206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7210 (sub_magnitudes): Likewise.
7217 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7220 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7223 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7224 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7226 of __mul for squares.
7227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7231 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7234 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7237 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7239 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7240 prototype or function definition. Rename ubp_* variables and
7241 parameters. Remove argv definitions conditional on
7242 [__BOUNDED_POINTERS__].
7243 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7244 * elf/dl-runtime.c (_dl_fixup): Likewise.
7245 * include/set-hooks.h (RUN_HOOK): Likewise.
7246 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7248 * string/strcpy.c (strcpy): Do not use __unbounded.
7249 * sysdeps/generic/frame.h (struct layout): Likewise.
7250 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7251 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7252 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7253 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7254 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7255 (__backtrace): Likewise.
7256 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7258 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7259 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7260 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7262 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7263 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7264 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7265 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7266 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7267 Do not use __unbounded.
7268 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7269 Rename __unboundedrlimits parameter to rlimits in prototype.
7270 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7271 Do not use __unbounded.
7272 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7274 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7275 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7276 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7277 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7278 __ptrvalue or __unbounded.
7279 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7280 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7282 (__new_msgctl): Do not use __ptrvalue.
7283 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7285 (__libc_msgrcv): Do not use __ptrvalue.
7286 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7287 startup_info): Do not use __unbounded.
7288 (__libc_start_main): Likewise. Rename ubp_* variables and
7289 parameters. Remove argv definitions conditional on
7290 [__BOUNDED_POINTERS__].
7291 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7293 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7295 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7297 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7299 (__new_shmctl): Do not use __ptrvalue.
7300 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7301 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7303 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7304 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7305 (__libc_sigaction): Likewise.
7306 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7307 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7309 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7311 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7313 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7315 * string/mempcpy.c: Implement by calling memcpy.
7317 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7325 values in the mantissa.
7327 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7328 minimize writes to Z.
7329 (sub_magnitudes): Simplify code a bit.
7331 2013-02-12 Roland McGrath <roland@hack.frob.com>
7333 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7334 from the message. The linker prefixes all warnings with that already.
7336 2013-02-12 Andreas Schwab <schwab@suse.de>
7339 * posix/regexec.c (extend_buffers): Add parameter min_len.
7340 (check_matching): Pass minimum needed length.
7341 (clean_state_log_if_needed): Likewise.
7342 (get_subexp): Likewise.
7343 * posix/Makefile (tests): Add bug-regex34.
7344 (bug-regex34-ENV): Define.
7345 * posix/bug-regex34.c: New file.
7348 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7349 elements compare against the byte sequence of it, not its name.
7350 * posix/Makefile (tests): Add bug-regex35.
7351 (bug-regex35-ENV): Define.
7352 * posix/bug-regex35.c: New file.
7354 2013-02-11 Tom de Vries <tom@codesourcery.com>
7356 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7358 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7359 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7360 (CHECK_EOL): Add undef.
7362 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7364 * bits/stdlib-bsearch.h: New file.
7365 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7366 * stdlib/stdlib.h: Likewise.
7368 2013-02-11 Roland McGrath <roland@hack.frob.com>
7370 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7371 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7373 * manual/search.texi (Array Search Function): Add missing const in
7375 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7376 declaration to use rlim_t.
7377 (Basic Scheduling Functions): Remove erroneous const from
7378 sched_getparam prototype. Remove erroneous * from
7379 sched_get_priority_max and sched_get_priority_min prototypes.
7380 (Resource Usage): Fix summary @comment on vtimes to refer to
7381 sys/vtimes.h rather than vtimes.h.
7382 Add missing *s in vtimes prototype.
7383 (Limits on Resources): Fix ulimit prototype to return long int.
7384 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7385 prototypes to use long int rather than double.
7386 (BSD Random): Fix initstate and setstate to use char *, not void *.
7387 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7388 prototype to make second argument 'struct aiocb64 *const[]'.
7389 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7390 (Status of AIO Operations): Remove erroneous const in aio_return and
7391 aio_return64 prototypes.
7392 (Synchronizing I/O): Fix sync prototype to return void.
7393 * manual/startup.texi (Suboptions): Remove an erroneous const in
7394 getsubopt prototype.
7395 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7396 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7397 use size_t rather than int.
7398 (Scanning All Users): Likewise for getpwent_r.
7399 (Setting Groups): Add missing const to setgroups prototype.
7400 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7401 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7402 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7403 'const void *' rather than 'const char *'.
7404 (Host Address Functions): Likewise for inet_ntop.
7405 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7406 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7407 ssize_t for return value.
7408 (Sending Data): Likewise for send, sendto, sendmsg.
7409 (Socket Option Functions): Add a missing const in setsockopt prototype.
7410 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7411 use wchar_t for the argument.
7412 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7413 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7415 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7416 double/float/long double for second argument.
7417 Fix return types of significand, significandf, significandl.
7418 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7419 argument in fchmod prototype.
7420 (File Owner): Use uid_t and gid_t in fchown prototype.
7421 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7422 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7423 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7424 use 'const struct dirent **' as argument types to CMP function pointer
7426 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7427 (File Times): Fix summary magic @comment for struct utimbuf and utime
7428 to refer to utime.h, not time.h.
7429 * manual/string.texi (Argz Functions): Add missing const in
7430 argz_extract and argz_next prototypes.
7431 (Finding Tokens in a String): Likewise for basename.
7432 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7433 (Copying and Concatenation): Fix typo in wmemmove prototype.
7434 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7435 (Signal Stack): Remove erroneous const in sigstack prototype.
7436 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7438 (Simple Calendar Time): Likewise for stime.
7439 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7441 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7442 say sys/sysctl.h instead.
7443 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7444 and vsyslog prototypes.
7446 2013-02-11 Tom de Vries <tom@codesourcery.com>
7448 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7451 2013-02-11 Roland McGrath <roland@hack.frob.com>
7453 * misc/sys/mman.h: Fix typo in mremap comment.
7455 2013-02-08 Roland McGrath <roland@hack.frob.com>
7457 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7458 the '\0' terminator.
7460 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7463 * debug/segfault.c: Don't include <bp-checks.h>.
7464 * sysdeps/generic/bp-checks.h: Remove file.
7465 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7466 (__GETDENTS): Don't use CHECK_N.
7467 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7468 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7469 (__getgroups): Don't use CHECK_N.
7470 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7471 (setgroups): Don't use CHECK_N.
7472 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7473 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7474 (__libc_msgrcv): Don't use CHECK_N.
7475 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7476 (__libc_msgsnd): Don't use CHECK_N.
7477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7479 (__libc_pread): Don't use CHECK_N.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7481 include <bp-checks.h>.
7482 (__libc_pread64): Don't use CHECK_N.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7484 include <bp-checks.h>.
7485 (__libc_pwrite): Don't use CHECK_N.
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7487 include <bp-checks.h>.
7488 (__libc_pwrite64): Don't use CHECK_N.
7489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7491 (__libc_pread): Don't use CHECK_N.
7492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7493 include <bp-checks.h>.
7494 (__libc_pread64): Don't use CHECK_N.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7496 include <bp-checks.h>.
7497 (__libc_pwrite): Don't use CHECK_N.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7499 include <bp-checks.h>.
7500 (__libc_pwrite64): Don't use CHECK_N.
7501 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7502 (do_pread): Don't use CHECK_N.
7503 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7504 (do_pread64): Don't use CHECK_N.
7505 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7506 (do_pwrite): Don't use CHECK_N.
7507 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7508 (do_pwrite64): Don't use CHECK_N.
7509 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7510 (__libc_readv): Don't use CHECK_N.
7511 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7512 (semop): Don't use CHECK_N.
7513 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7515 (semtimedop): Don't use CHECK_N.
7516 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7517 (__libc_pread): Don't use CHECK_N.
7518 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7520 (__libc_pread64): Don't use CHECK_N.
7521 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7523 (__libc_pwrite): Don't use CHECK_N.
7524 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7526 (__libc_pwrite64): Don't use CHECK_N.
7527 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7529 (__libc_msgrcv): Don't use CHECK_N.
7530 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7531 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7532 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7533 (__libc_writev): Don't use CHECK_N.
7535 2013-02-08 Roland McGrath <roland@hack.frob.com>
7537 * string/strcpy.c: Removed unused variable.
7539 * Makeconfig (+sysdep-includes): Define with := rather than =.
7540 Use an existing include/ subdir of each sysdeps dir before it.
7542 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7544 * nscd/connection.c (register_traced_file): Comment function.
7545 [HAVE_INOTIFY] (union __inev): Define.
7546 [HAVE_INOTIFY] (inotify_check_files): New function.
7547 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7548 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7550 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7552 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7554 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7555 loaded if not already and that a failure is permanent.
7557 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7560 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7561 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7563 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7566 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7567 (CHECK_1_NULL_OK): Likewise.
7568 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7569 (__fxstat): Do not use CHECK_1.
7570 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7572 (___fxstat64): Do not use CHECK_1.
7573 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7575 (__fxstatat): Do not use CHECK_1.
7576 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7578 (__fxstatat64): Do not use CHECK_1.
7579 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7581 (__fxstat): Do not use CHECK_1.
7582 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7584 (__fxstatat): Do not use CHECK_1.
7585 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7587 (__getresgid): Do not use CHECK_1.
7588 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7590 (__getresuid): Do not use CHECK_1.
7591 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7593 (__lxstat): Do not use CHECK_1.
7594 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7596 (__old_msgctl): Do not use CHECK_1.
7597 (__new_msgctl): Likewise.
7598 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7600 (__new_setrlimit): Do not use CHECK_1.
7601 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7603 (__old_shmctl): Do not use CHECK_1.
7604 (__new_shmctl): Likewise.
7605 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7607 (__xstat): Do not use CHECK_1.
7608 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7609 (__lxstat): Do not use CHECK_1.
7610 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7612 (___lxstat64): Do not use CHECK_1.
7613 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7614 (__old_msgctl): Do not use CHECK_1.
7615 (__new_msgctl): Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7618 (__gettimeofday): Do not use CHECK_1.
7619 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7620 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7621 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7623 (__gettimeofday): Do not use CHECK_1.
7624 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7625 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7626 (__new_shmctl): Do not use CHECK_1.
7627 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7629 (do_sigtimedwait): Do not use CHECK_1.
7630 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7632 (do_sigwaitinfo): Do not use CHECK_1.
7633 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7635 (msgctl): Do not use CHECK_1.
7636 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7638 (shmctl): Do not use CHECK_1.
7639 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7640 (ustat): Do not use CHECK_1.
7641 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7643 (__fxstat): Do not use CHECK_1.
7644 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7646 (__fxstatat): Do not use CHECK_1.
7647 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7649 (__lxstat): Do not use CHECK_1.
7650 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7652 (__xstat): Do not use CHECK_1.
7653 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7654 (__xstat): Do not use CHECK_1.
7655 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7656 (___xstat64): Do not use CHECK_1.
7659 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7661 (CHECK_BOUNDS_HIGH): Likewise.
7662 * string/strcpy.c: Do not include <bp-checks.h>.
7663 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7665 2013-02-07 Roland McGrath <roland@hack.frob.com>
7667 * nscd/nscd-client.h (__nscd_drop_map_ref):
7668 Add __attribute__ ((unused)).
7669 * nis/nss-nisplus.h (niserr2nss): Likewise.
7671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7672 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7674 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7675 Remove inline keyword.
7676 * include/rounding-mode.h (round_away): Likewise.
7677 * libio/wfileops.c (adjust_wide_data): Likewise.
7678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7679 (__m128i_strloadu_tolower): Likewise.
7680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7681 (__m128i_strloadu_tolower): Likewise.
7682 * time/mktime.c (ydhms_diff): Likewise.
7683 * locale/elem-hash.h (elem_hash): Likewise.
7684 * locale/setlocale.c (setdata): Likewise.
7685 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7686 (re_string_wchar_at): Likewise.
7687 (bitset_not, bitset_merge, bitset_mask): Likewise.
7688 [!(__GNUC__ > 3)] (inline): Remove macro.
7689 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7690 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7691 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7692 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7693 * string/memcmp.c (memcmp_bytes): Likewise.
7694 * locale/programs/locarchive.c (compute_hashval): Likewise.
7695 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7696 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7697 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7698 * nss/getent.c (print_rpc, print_protocols): Likewise.
7699 (print_passwd, print_group, print_aliases): Likewise.
7700 * nis/nss-nisplus.h (niserr2nss): Likewise.
7701 * nscd/connections.c (restart_p): Likewise.
7702 Change return type to bool.
7704 2013-02-05 Roland McGrath <roland@hack.frob.com>
7706 * Makeconfig (all-Depend-files): Add existing
7707 $(sorted-subdirs:=/Depend) files.
7708 (all-subdirs): Remove nss.
7709 * sysdeps/unix/inet/Subdirs: Add it here instead.
7710 * hesiod/Depend: New file.
7712 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7713 instead of calling alloca.
7715 * io/lseek.c (__lseek): Rename to __libc_lseek.
7716 Define __lseek as an alias.
7718 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7720 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7722 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7723 else clause and remove check for non-standard endianness.
7725 2013-02-04 David S. Miller <davem@davemloft.net>
7727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7729 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7732 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7733 (__ubp_memchr): Remove prototype.
7734 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7735 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7736 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7737 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7738 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7740 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7741 (__ubp_memchr): Likewise.
7742 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7743 (__ubp_memchr): Likewise.
7744 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7745 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7746 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7747 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7749 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7750 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7751 (__getcwd): Do not use CHECK_STRING.
7752 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7754 (__real_chown): Do not use CHECK_STRING.
7755 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7757 (fchownat): Do not use CHECK_STRING.
7758 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7760 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7762 (__lchown): Do not use CHECK_STRING.
7763 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7764 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7765 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7766 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7768 include <bp-checks.h>.
7769 (truncate64): Do not use CHECK_STRING.
7770 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7772 (__real_chown): Do not use CHECK_STRING.
7773 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7775 (__lchown): Do not use CHECK_STRING.
7776 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7778 (__chown): Do not use CHECK_STRING.
7779 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7781 (truncate64): Do not use CHECK_STRING.
7782 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7784 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7785 (__xmknod): Do not use CHECK_STRING.
7786 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7788 (__xmknodat): Do not use CHECK_STRING.
7789 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7790 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7792 2013-02-04 Andreas Schwab <schwab@suse.de>
7795 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7796 * include/netdb.h: Likewise for h_errno.
7797 * elf/tst-stackguard1.c: Include <tls.h>.
7799 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7801 * elf/link.h (struct link_map): Extend the l_addr comment.
7802 * include/link.h (struct link_map): Likewise.
7804 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7807 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7808 (BOUNDED_1): Remove macro.
7809 * debug/backtrace.c: Don't include <bp-checks.h>.
7810 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7811 (__backtrace): Likewise.
7812 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7814 (__backtrace): Don't use BOUNDED_1.
7815 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7817 (__backtrace): Don't use BOUNDED_1.
7818 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7819 (__backtrace): Don't use BOUNDED_1.
7820 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7821 (shmat): Don't use BOUNDED_N.
7823 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7826 * sysdeps/generic/bp-start.h: Remove file.
7827 * csu/libc-start.c: Don't include <bp-start.h>.
7828 (LIBC_START_MAIN): Set up __environ directly instead of using
7829 INIT_ARGV_and_ENVIRON.
7830 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7834 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7836 (CHECK_FCNTL): Likewise.
7837 (CHECK_N_PAGES): Likewise.
7840 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7842 (CHECK_SIGSET_NULL_OK): Likewise.
7843 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7845 (sigpending): Don't use CHECK_SIGSET.
7846 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7848 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7849 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7851 (do_sigsuspend): Don't use CHECK_SIGSET.
7852 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7854 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7855 (do_sigwait): Don't use CHECK_SIGSET.
7856 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7858 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7859 include <bp-checks.h>.
7860 (sigpending): Don't use CHECK_SIGSET.
7861 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7862 include <bp-checks.h>.
7863 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7864 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7866 (sigpending): Don't use CHECK_SIGSET.
7867 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7869 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7872 * sysdeps/generic/bp-semctl.h: Remove file.
7873 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7874 <bp-checks.h> and <bp-semctl.h>.
7875 (__old_semctl): Don't use CHECK_SEMCTL.
7876 (__new_semctl): Likewise.
7877 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7879 (__old_semctl): Don't use CHECK_SEMCTL.
7880 (__new_semctl): Likewise.
7881 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7882 <bp-checks.h> and <bp-semctl.h>.
7883 (__old_semctl): Don't use CHECK_SEMCTL.
7884 (__new_semctl): Likewise.
7885 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7886 <bp-checks.h> and <bp-semctl.h>.
7887 (semctl): Don't use CHECK_SEMCTL.
7890 * Makerules (elide-bp-thunks): Remove variable.
7891 (elide-routines.oS): Don't use $(elide-bp-thunks).
7892 (elide-routines.os): Likewise.
7893 (elide-routines.o): Likewise.
7894 (elide-routines.op): Likewise.
7895 (elide-routines.og): Likewise.
7896 (objects): Don't use $(bp-thunks).
7897 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7899 (common-generated): Do not add s-proto-bp.d.
7900 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7903 Do not generate makefile rules for bounded-pointer thunks.
7904 * sysdeps/generic/bp-thunks.h: Remove file.
7905 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7906 * sysdeps/unix/s-proto-bp.S: Likewise.
7909 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7910 parts of result separately when argument is not close to line from
7911 -i to i and one part of argument is small.
7912 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7913 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7914 * math/libm-test.inc (cacos_test): Add more tests.
7915 (casin_test): Likewise.
7916 (casinh_test): Likewise.
7917 * sysdeps/i386/fpu/libm-test-ulps: Update.
7918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7920 2013-01-31 David S. Miller <davem@davemloft.net>
7922 * po/de.po: Update from translation team.
7924 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7926 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7928 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7930 * configure.in (_AC_PROG_CC_C89): New definition.
7931 * configure: Regenerate.
7933 * configure.in (AC_PROG_CPP): New definition.
7934 * configure: Regenerate.
7936 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7938 * debug/tst-backtrace.h: New file.
7939 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7940 (ret): Remove variable.
7942 (FAIL): Remove macro.
7943 (NO_INLINE): Likewise.
7944 (fn1): Use match function instead of strstr.
7945 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7946 (ret): Remove variable.
7948 (FAIL): Remove macro.
7949 (NO_INLINE): Likewise.
7950 (fn): Use match function instead of strstr.
7951 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7952 (ret): Remove variable.
7954 (FAIL): Remove macro.
7955 (NO_INLINE): Likewise.
7956 (handle_signal): Use match function instead of strstr.
7957 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7958 (ret): Remove variable.
7960 (FAIL): Remove macro.
7961 (NO_INLINE): Likewise.
7962 (handle_signal): Use match function instead of strstr.
7964 2013-01-23 Roland McGrath <roland@hack.frob.com>
7966 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7968 2013-01-23 David S. Miller <davem@davemloft.net>
7970 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7971 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7972 argument of CAS if possible.
7973 * sysdeps/sparc/sparc64/bits/atomic.h
7974 (__arch_compare_and_exchange_val_32_acq): Likewise.
7975 (__arch_compare_and_exchange_val_64_acq): Likewise.
7977 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7979 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7980 * sysdeps/posix/ulimit.c: ... this.
7982 * sysdeps/unix/bsd/ulimit.c: Remove file.
7984 2013-01-23 Adam Conrad <adconrad@0c3.net>
7986 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7987 (LDFLAGS-tst-array5): Likewise.
7989 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7992 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7993 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7994 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7995 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7997 2013-01-21 David S. Miller <davem@davemloft.net>
7999 * sysdeps/sparc/backtrace.c: New file.
8000 * sysdeps/sparc/sparc32/backtrace.h: New file.
8001 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8002 * sysdeps/sparc/sparc64/backtrace.h: New file.
8003 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8004 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8007 2013-01-21 Andreas Schwab <schwab@suse.de>
8010 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8013 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8019 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8020 Mark Mitchell <mark@codesourcery.com>
8021 Tom de Vries <tom@codesourcery.com>
8022 Paul Pluzhnikov <ppluzhnikov@google.com>
8024 * debug/tst-backtrace2.c: New file.
8025 * debug/tst-backtrace3.c: Likewise.
8026 * debug/tst-backtrace4.c: Likewise.
8027 * debug/tst-backtrace5.c: Likewise.
8028 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8029 (CFLAGS-tst-backtrace3.c): Likewise.
8030 (CFLAGS-tst-backtrace4.c): Likewise.
8031 (CFLAGS-tst-backtrace5.c): Likewise.
8032 (LDFLAGS-tst-backtrace2): Likewise.
8033 (LDFLAGS-tst-backtrace3): Likewise.
8034 (LDFLAGS-tst-backtrace4): Likewise.
8035 (LDFLAGS-tst-backtrace5): Likewise.
8036 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8037 tst-backtrace4 and tst-backtrace5.
8039 2013-01-18 Anton Blanchard <anton@samba.org>
8040 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8042 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8043 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8045 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8047 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8048 "+r" and remove output regs list as redundant. Add explicit inline
8049 asm to specify register of return val to work around compiler codegen
8050 bug. Remove (int) cast on return value. Add return type parameter to
8051 use in macro so that this macro does not truncate return value for
8053 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8054 pass to INTERNAL_VSYSCALL_NCS.
8055 (INLINE_VSYSCALL): Add 'long int' as return type to
8056 INTERNAL_VSYSCALL_NCS macro invocation.
8057 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8058 INTERNAL_VSYSCALL_NCS macro invocation.
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8061 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8064 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8065 Fix application of SIMD FP exception mask.
8067 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8068 mp_no from a power of two.
8069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8070 __mpexp_twomm1. Use __pow_mp.
8072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8075 2013-01-17 David S. Miller <davem@davemloft.net>
8077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8079 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8082 * include/complex.h: Condition contents on [!_COMPLEX_H].
8083 (__kernel_casinhf): New prototype.
8084 (__kernel_casinh): Likewise.
8085 (__kernel_casinhl): Likewise.
8086 * math/Makefile (libm_calls): Add k_casinh.
8087 * math/k_casinh.c: New file.
8088 * math/k_casinhf.c: Likewise.
8089 * math/k_casinhl.c: Likewise.
8090 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8091 finite nonzero arguments.
8092 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8093 finite nonzero arguments.
8094 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8095 finite nonzero arguments.
8096 * math/s_casinh.c: Do not include <float.h>.
8097 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8098 * math/s_casinhf.c: Do not include <float.h>.
8099 (__casinhf): Move code for finite nonzero arguments to
8101 * math/s_casinhl.c: Do not include <float.h>.
8102 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8104 (__casinhl): Move code for finite nonzero arguments to
8106 * math/libm-test.inc (cacos_test): Add more tests.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8110 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8112 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8113 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8114 [!HAVE_MREMAP]: Remove [defined linux] case.
8115 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8117 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8119 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8121 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8123 * elf/elf.h (R_386_SIZE32): New relocation.
8124 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8126 (elf_machine_rela): Likewise.
8127 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8128 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8130 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8132 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8133 (FP_FAST_FMA): Do not define.
8134 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8135 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8136 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8137 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8138 !_SOFT_FLOAT]: Likewise.
8139 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8140 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8143 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8144 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8145 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8146 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8147 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8150 2013-01-16 Andreas Schwab <schwab@suse.de>
8153 * include/stdlib.h (__mktemp): Add declaration.
8154 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8155 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8157 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8159 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8161 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8162 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8163 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8165 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8166 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8170 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8171 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8174 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8175 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8177 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8179 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8181 2013-01-15 David S. Miller <davem@davemloft.net>
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8184 trunc{,f} to libm-sysdep_routes.
8185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8195 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8196 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8197 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8198 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8199 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8200 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8203 nearbyint{,f} to libm-sysdep_routes.
8204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8217 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8218 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8220 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8221 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8222 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8224 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8225 libc_feholdexcept and libc_fesetenv.
8227 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8229 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8231 2013-01-14 David S. Miller <davem@davemloft.net>
8233 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8234 (SPARC_ASM_VIS2_IFUNC): Likewise.
8235 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8237 use of 'siam' instruction.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8271 routines to libm-sysdep_routines.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8275 fdim/fdimf to libm-sysdep_routines.
8276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8284 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8285 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8289 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8291 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8294 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8299 local variable MPTWO.
8300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8303 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8305 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8308 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8310 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8312 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8314 * manual/pattern.texi (glob_t): Document gl_flags.
8315 (glob64_t): Likewise.
8317 2013-01-11 David S. Miller <davem@davemloft.net>
8319 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8320 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8321 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8322 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8323 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8324 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8325 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8326 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8327 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8328 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8329 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8330 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8331 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8334 sparc V9 rather than using V8 code.
8335 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8336 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8340 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8343 2013-01-11 Roland McGrath <roland@hack.frob.com>
8345 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8346 not in the main loop.
8347 * configure: Regenerated.
8349 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8351 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8352 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8354 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8355 [!__GLIBC_HAVE_LONG_LONG] case.
8356 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8357 condition to just #else.
8358 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8359 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8360 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8361 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8363 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8364 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8365 #elif condition to just #else.
8366 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8367 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8368 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8369 #elif condition to just #else.
8371 2013-01-11 Steve Ellcey <sellcey@mips.com>
8373 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8374 (EF_MIPS_ARCH_64): Fix value.
8375 (EF_MIPS_ARCH_32R2): New.
8376 (EF_MIPS_ARCH_64R2): New.
8378 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8380 * Makeconfig (+link-pie-before-libc): New.
8381 (+link-pie-after-libc): Likewise.
8382 (+link-pie-tests): Likewise.
8383 (+link-pie): Rewritten.
8384 (link-before-libc): Remove $(config-LDFLAGS).
8385 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8386 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8387 (config-LDFLAGS): Renamed to ...
8388 (rtld-LDFLAGS): This.
8389 (rtld-tests-LDFLAGS): New macro.
8390 (link-libc-rpath-link): Likewise.
8391 (link-libc-tests-rpath-link): Likewise.
8392 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8393 (link-libc): Prepand $(link-libc-rpath-link).
8394 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8395 (test-program-prefix): New macro.
8396 (test-via-rtld-prefix): Likewise.
8397 (test-program-cmd): Likewise.
8398 (host-test-program-cmd): Likewise.
8399 * Makefile ($(common-objpfx)testrun.sh): Replace
8400 $(run-program-prefix) with $(test-program-prefix).
8401 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8403 ($(common-objpfx)shlib.lds): Likewise.
8404 (build-module-helper): Likewise.
8405 ($(common-objpfx)format.lds): Likewise.
8406 * Rules (binaries-pie-tests): New.
8407 (binaries-pie-notests): Likewise.
8408 (binaries-pie): Rewritten.
8409 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8410 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8411 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8412 (make-test-out): Replace $(host-built-program-cmd) with
8413 $(host-test-program-cmd).
8414 * config.make.in (build-hardcoded-path-in-tests): New variable.
8415 * configure.in (--enable-hardcoded-path-in-tests): New configure
8417 (hardcoded_path_in_tests): New AC_SUBST.
8418 * configure: Regenerated.
8419 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8420 $(built-program-cmd) with $(test-program-cmd).
8421 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8422 (test_program_cmd): This.
8423 * elf/Makefile ($(objpfx)order.out): Run test with
8424 $(test-program-prefix).
8425 ($(objpfx)order2.out): Likewise.
8426 ($(objpfx)tst-initorder.out): Likewise.
8427 ($(objpfx)tst-initorder2.out): Likewise.
8428 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8429 $(test-program-cmd).
8430 ($(objpfx)tst-array1-static.out): Likewise.
8431 ($(objpfx)tst-array2.out): Likewise.
8432 ($(objpfx)tst-array3.out): Likewise.
8433 ($(objpfx)tst-array4.out): Likewise.
8434 ($(objpfx)tst-array5.out): Likewise.
8435 ($(objpfx)tst-array5-static.out): Likewise.
8436 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8437 $(test-program-cmd).
8438 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8439 $(run-program-prefix) with $(test-program-prefix).
8440 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8441 (test_program_prefix): This.
8442 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8443 $(run-program-prefix) with $(test-program-prefix).
8444 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8445 (test_program_prefix): This.
8446 * iconvdata/tst-tables.sh: Likewise.
8447 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8448 $(run-program-prefix) with $(test-program-prefix).
8449 ($(objpfx)tst-translit.out): Likewise.
8450 ($(objpfx)tst-gettext2.out): Likewise.
8451 ($(objpfx)tst-gettext4.out): Likewise.
8452 ($(objpfx)tst-gettext6.out): Likewise.
8453 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8454 (test_program_prefix): This.
8455 * intl/tst-gettext2.sh: Likewise.
8456 * intl/tst-gettext4.sh Likewise.
8457 * intl/tst-gettext6.sh: Likewise.
8458 * intl/tst-translit.sh: Likewise.
8459 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8460 with $(test-program-cmd).
8461 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8462 $(run-program-prefix) with $(test-program-prefix).
8463 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8464 (test_program_prefix): This.
8465 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8466 $(run-program-prefix) with $(test-program-prefix).
8467 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8468 (test_program_prefix): This.
8469 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8470 * posix/Makefile ($(objpfx)globtest.out): Replace
8471 $(run-via-rtld-prefix) and $(test-wrapper) with
8472 $(test-program-prefix) and $(test-via-rtld-prefix).
8473 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8474 $(test-program-prefix).
8475 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8476 $(host-test-program-cmd).
8477 (tst-spawn-ARGS): Likewise.
8478 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8479 $(test-program-prefix).
8480 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8481 (test_via_rtld_prefix): This.
8482 (test_wrapper): Renamed to ...
8483 (test_program_prefix): This.
8484 (run_program_prefix): Replaced by test_program_prefix.
8485 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8486 (test_program_prefix): This.
8487 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8488 with $(host-test-program-cmd).
8489 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8490 $(run-program-prefix) with $(test-program-prefix).
8491 ($(objpfx)tst-printf.out): Likewise.
8492 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8493 $(test-program-cmd).
8494 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8495 (test_program_prefix): This.
8496 * stdio-common/tst-unbputc.sh: Likewise.
8497 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8498 $(run-program-prefix) with $(test-program-prefix).
8499 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8500 (test_program_prefix): This.
8501 * string/Makefile ($(objpfx)tst-svc.out): Replace
8502 $(built-program-cmd) with $(test-program-cmd).
8504 2013-01-11 Andreas Jaeger <aj@suse.de>
8507 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8508 value. Sync with Linux 3.7.
8510 2013-01-10 David S. Miller <davem@davemloft.net>
8512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8516 2013-01-10 Roland McGrath <roland@hack.frob.com>
8518 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8520 * configure: Regenerated.
8522 2013-01-10 David S. Miller <davem@davemloft.net>
8524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8525 sparc V9 rather than using V8 code.
8526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8529 2013-01-10 Roland McGrath <roland@hack.frob.com>
8531 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8532 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8533 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8534 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8535 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8536 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8537 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8538 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8539 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8540 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8541 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8542 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8543 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8544 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8545 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8546 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8547 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8548 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8549 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8550 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8551 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8552 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8553 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8554 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8555 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8556 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8557 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8559 2013-01-10 David S. Miller <davem@davemloft.net>
8561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8563 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8565 * posix/Makefile (tests-static): New variable.
8566 (tests): Add $(tests-static).
8567 (tst-exec-static-ARGS): New variable.
8568 (tst-spawn-static-ARGS): Likewise.
8569 * posix/tst-exec-static.c: New file.
8570 * posix/tst-spawn-static.c: Likewise.
8571 * posix/tst-exec.c: Support run directly.
8572 * posix/tst-spawn.c: Likewise.
8574 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8576 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8578 * math/bits/mathcalls.h (llrint): Likewise.
8579 (llround): Likewise.
8580 * stdlib/stdlib.h (struct drand48_data): Likewise.
8581 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8582 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8583 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8585 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8587 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8588 (elf_greg_t): Likewise.
8589 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8590 (__jmp_buf): Likewise.
8591 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8593 (llrint): Likewise, for all definitions.
8594 (llrintl): Likewise.
8596 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8597 Remove [__GNUC__] condition.
8598 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8599 condition to just [__USE_ISOC99].
8600 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8602 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8605 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8606 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8608 (_POSIX_V6_ILP32_OFF32): Likewise.
8609 (_XBS5_ILP32_OFF32): Likewise.
8610 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8611 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8613 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8615 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8618 doubles __mpexp_twomm1. Adjust usage.
8619 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8622 2013-01-10 Andreas Schwab <schwab@suse.de>
8625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8626 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8628 2013-01-09 David S. Miller <davem@davemloft.net>
8631 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8632 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8633 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8634 TCP_FASTOPEN): Define.
8635 (tcp_repair_opt): New structure.
8636 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8638 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8639 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8640 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8641 (tcp_cookie_transactions): New structure.
8643 2013-01-09 Anton Blanchard <anton@samba.org>
8645 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8646 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8650 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8652 * include/features.h (__USE_ANSI): Remove.
8654 2013-01-09 Roland McGrath <roland@hack.frob.com>
8656 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8658 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8660 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8662 * sysdeps/s390/fpu/libm-test-ulps: Update.
8664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8666 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8671 (__mp_dbl): Likewise.
8672 (__dbl_mp): Likewise.
8673 (add_magnitudes): Likewise.
8674 (sub_magnitudes): Likewise.
8680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8685 (__mp_dbl): Likewise.
8686 (__dbl_mp): Likewise.
8687 (add_magnitudes): Likewise.
8688 (sub_magnitudes): Likewise.
8694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8699 (__mp_dbl): Likewise.
8700 (__dbl_mp): Likewise.
8701 (add_magnitudes): Likewise.
8702 (sub_magnitudes): Likewise.
8709 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8711 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8712 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8713 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8714 2 && __USE_EXTERN_INLINES]: Likewise.
8716 2013-01-08 Andreas Jaeger <aj@suse.de>
8719 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8721 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8722 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8724 2013-01-07 Anton Blanchard <anton@samba.org>
8726 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8727 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8728 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8729 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8730 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8731 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8732 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8733 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8735 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8736 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8738 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8739 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8740 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8741 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8742 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8744 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8745 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8746 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8747 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8749 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8750 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8751 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8753 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8755 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8756 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8759 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8760 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8761 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8762 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8764 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8765 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8766 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8767 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8770 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8772 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8773 (__MALLOC_PMT): Likewise.
8774 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8775 [__GNUC__], only on [_LIBC].
8776 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8777 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8778 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8779 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8780 forward declaration.
8781 (realloc_hook_ini): Likewise.
8782 (memalign_hook_ini): Likewise.
8783 (__libc_memalign): Do not use __MALLOC_PMT in variable
8785 (__libc_valloc): Likewise.
8786 (__libc_pvalloc): Likewise.
8787 (__libc_calloc): Likewise.
8788 (__posix_memalign): Likewise.
8791 * math/s_casinh.c: Include <float.h>.
8792 (__casinh): Do not do computation with squaring and square root
8793 for large arguments.
8794 * math/s_casinhf.c: Include <float.h>.
8795 (__casinhf): Do not do computation with squaring and square root
8796 for large arguments.
8797 * math/s_casinhl.c: Include <float.h>.
8798 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8799 (__casinhl): Do not do computation with squaring and square root
8800 for large arguments.
8801 * math/libm-test.inc (casin_test): Add more tests.
8802 (casinh_test): Likewise.
8803 * sysdeps/i386/fpu/libm-test-ulps: Update.
8804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8806 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8808 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8809 (__x86_64_raw_data_cache_size): Likewise.
8810 (__x86_64_data_cache_size_half): Likewise.
8811 (__x86_64_raw_data_cache_size_half): Likewise.
8812 (__x86_64_shared_cache_size): Likewise.
8813 (__x86_64_raw_shared_cache_size): Likewise.
8814 (__x86_64_shared_cache_size_half): Likewise.
8815 (__x86_64_raw_shared_cache_size_half): Likewise.
8816 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8818 (__x86_data_cache_size): This.
8819 (__x86_64_raw_data_cache_size): Renamed to ...
8820 (__x86_raw_data_cache_size): This.
8821 (__x86_64_data_cache_size_half): Renamed to ...
8822 (__x86_data_cache_size_half): This.
8823 (__x86_64_raw_data_cache_size_half): Renamed to ...
8824 (__x86_raw_data_cache_size_half): This.
8825 (__x86_64_shared_cache_size): Renamed to ...
8826 (__x86_shared_cache_size): This.
8827 (__x86_64_raw_shared_cache_size): Renamed to ...
8828 (__x86_raw_shared_cache_size): This.
8829 (__x86_64_shared_cache_size_half): Renamed to ...
8830 (__x86_shared_cache_size_half): This.
8831 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8832 (__x86_raw_shared_cache_size_half): This.
8833 * sysdeps/x86_64/memcpy.S: Updated.
8834 * sysdeps/x86_64/memset.S: Likewise.
8835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8839 2013-01-04 David S. Miller <davem@davemloft.net>
8841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8843 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8845 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8846 1 to avoid redefinition warning.
8847 (__USE_GNU): Don't define.
8848 (init_signaling_nan): Protoize.
8850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8852 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8854 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8856 (__cpymn): Likewise.
8857 (norm): Remove commented code.
8859 (__mp_dbl): Likewise.
8861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8862 (__cpymn): Likewise.
8863 (norm): Remove commented code.
8865 (__mp_dbl): Likewise.
8868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8869 mp_no value for 1.0 and 2.0.
8870 (norm): Use RADIXI instead of radixi.d.
8872 (__mul): Use 0.0 instead of zero.d.
8873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8874 mp_no value for 1.0 and 2.0.
8875 (norm): Use RADIXI instead of radixi.d.
8877 (__mul): Use 0.0 instead of zero.d.
8879 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8882 * math/s_casinh.c (__casinh): Reduce finite argument to first
8883 quadrant then set signs of results at the end.
8884 * math/s_casinhf.c (__casinhf): Likewise.
8885 * math/s_casinhl.c (__casinhl): Likewise.
8886 * math/libm-test.inc (casin_test): Add more tests.
8887 (casinh_test): Likewise.
8888 * sysdeps/i386/fpu/libm-test-ulps: Update.
8889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8891 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8893 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8895 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8897 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8900 (__mp_dbl): Likewise.
8903 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8904 and adjust the header comment.
8906 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8907 variable name from declaration.
8909 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8912 Initialize COMMON_CPUID_INDEX_7 element.
8913 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8914 (CPUID_RTM): Likewise.
8915 (HAS_RTM): Likewise.
8916 (COMMON_CPUID_INDEX_7): New enum.
8918 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8921 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8922 size is zero, record memory as freed.
8924 2013-01-03 Andreas Jaeger <aj@suse.de>
8926 * po/ia.po: Add new Interlingua translation.
8928 2012-01-03 Allan McRae <allan@archlinux.org>
8930 * locale/programs/localedef.c: Fix description of '--posix' flag.
8932 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8934 * NEWS: Update dates in second copyright notice.
8935 * README: Update copyright dates in example.
8936 * manual/libc.texinfo: Update copyright dates.
8937 * scripts/test-installation.pl: Update copyright date in --version
8940 * hurd/ctty-input.c: Fix copyright notice formatting.
8941 * hurd/ctty-output.c: Likewise.
8942 * hurd/dtable.c: Likewise.
8943 * hurd/hurd-raise.c: Likewise.
8944 * hurd/hurdprio.c: Likewise.
8945 * hurd/msgportdemux.c: Likewise.
8946 * misc/sys/file.h: Likewise.
8947 * misc/sys/ioctl.h: Likewise.
8948 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8949 * sysdeps/mach/hurd/chdir.c: Likewise.
8950 * sysdeps/mach/hurd/fchdir.c: Likewise.
8951 * sysdeps/mach/hurd/rename.c: Likewise.
8952 * sysdeps/mach/hurd/rmdir.c: Likewise.
8953 * sysdeps/mach/hurd/seekdir.c: Likewise.
8954 * sysdeps/mach/hurd/setsid.c: Likewise.
8955 * sysdeps/posix/wait3.c: Likewise.
8957 * All files with FSF copyright notices: Update copyright dates
8958 using scripts/update-copyrights.
8959 * intl/plural.c: Regenerated.
8960 * locale/programs/charmap-kw.h: Likewise.
8961 * locale/programs/locfile-kw.h: Likewise.
8963 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8965 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8969 calculation loop and add branch prediction.
8971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8972 check access beyond bounds of m1np.
8974 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8976 (__inv): Remove local variable MPTWO to use the global
8978 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8982 MP3HALFS static const.
8984 2013-01-01 David S. Miller <davem@davemloft.net>
8986 * po/ca.po: Update from translation team.
8988 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8990 * scripts/update-copyrights: New file.
8991 * Makeconfig: Reformat copyright notice.
8992 * ctype/ctype.h: Likewise.
8993 * debug/swprintf_chk.c: Likewise.
8994 * elf/dl-cache.c: Likewise.
8995 * elf/dl-debug.c: Likewise.
8996 * elf/dl-object.c: Likewise.
8997 * grp/initgroups.c: Likewise.
8998 * hurd/Makefile: Likewise.
8999 * hurd/hurd/signal.h: Likewise.
9000 * hurd/hurdfault.c: Likewise.
9001 * hurd/hurdioctl.c: Likewise.
9002 * hurd/hurdlookup.c: Likewise.
9003 * hurd/intr-msg.c: Likewise.
9004 * iconv/gconv_open.c: Likewise.
9005 * libio/swprintf.c: Likewise.
9006 * locale/lc-ctype.c: Likewise.
9007 * locale/nl_langinfo.c: Likewise.
9008 * mach/Machrules: Likewise.
9009 * mach/Makefile: Likewise.
9010 * malloc/obstack.h: Likewise.
9011 * manual/Makefile: Likewise.
9012 * manual/tsort.awk: Likewise.
9013 * misc/bits/stab.def: Likewise.
9014 * nis/nis_print_group_entry.c: Likewise.
9015 * nis/nis_table.c: Likewise.
9016 * nis/nss_compat/compat-pwd.c: Likewise.
9017 * nis/nss_compat/compat-spwd.c: Likewise.
9018 * po/Makefile: Likewise.
9019 * posix/fnmatch.c: Likewise.
9020 * posix/regex.h: Likewise.
9021 * resolv/Makefile: Likewise.
9022 * resolv/nss_dns/dns-network.c: Likewise.
9023 * resolv/res_hconf.c: Likewise.
9024 * scripts/gen-sorted.awk: Likewise.
9025 * soft-fp/soft-fp.h: Likewise.
9026 * stdio-common/printf.h: Likewise.
9027 * stdlib/monetary.h: Likewise.
9028 * stdlib/random.c: Likewise.
9029 * stdlib/random_r.c: Likewise.
9030 * sysdeps/generic/Makefile: Likewise.
9031 * sysdeps/gnu/Makefile: Likewise.
9032 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9060 * sysdeps/mach/hurd/errnos.awk: Likewise.
9061 * sysdeps/mach/hurd/fork.c: Likewise.
9062 * sysdeps/mach/hurd/getcwd.c: Likewise.
9063 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9064 * sysdeps/mach/hurd/mmap.c: Likewise.
9065 * sysdeps/mach/hurd/utimes.c: Likewise.
9066 * sysdeps/mach/hurd/xmknod.c: Likewise.
9067 * sysdeps/posix/profil.c: Likewise.
9068 * sysdeps/posix/readdir_r.c: Likewise.
9069 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9070 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9071 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9072 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9074 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9075 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9076 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9078 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9079 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9080 * sysdeps/pthread/lio_listio.c: Likewise.
9081 * sysdeps/sparc/dl-procinfo.h: Likewise.
9082 * sysdeps/unix/i386/sysdep.S: Likewise.
9083 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9084 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9085 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9086 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9088 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9089 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9090 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9091 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9092 * sysdeps/wordsize-32/divdi3.c: Likewise.
9093 * time/sys/time.h: Likewise.
9094 * wcsmbs/Makefile: Likewise.
9096 2013-01-01 David S. Miller <davem@davemloft.net>
9098 * po/fr.po: Update from translation team.
9100 * catgets/gencat.c: Update copyright year.
9101 * csu/version.c: Likewise.
9102 * debug/catchsegv.sh: Likewise.
9103 * debug/pcprofiledump.c: Likewise.
9104 * debug/xtrace.sh: Likewise.
9105 * elf/ldconfig.c: Likewise.
9106 * elf/ldd.bash.in: Likewise.
9107 * elf/pldd.c: Likewise.
9108 * elf/sotruss.ksh: Likewise.
9109 * elf/sprof.c: Likewise.
9110 * iconv/iconv_prog.c: Likewise.
9111 * iconv/iconvconfig.c: Likewise.
9112 * locale/programs/locale.c: Likewise.
9113 * locale/programs/localedef.c: Likewise.
9114 * login/programs/pt_chown.c: Likewise.
9115 * malloc/memusage.sh: Likewise.
9116 * malloc/memusagestat.c: Likewise.
9117 * malloc/mtrace.pl: Likewise.
9118 * nscd/nscd.c: Likewise.
9119 * nss/getent.c: Likewise.
9120 * nss/makedb.c: Likewise.
9121 * posix/getconf.c: Likewise.
9123 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9125 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9128 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9130 * math/bits/mathcalls.h (modf): Use __nonnull.
9132 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9134 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9135 (split): Use macro CN instead of the bare value.
9136 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9139 instead of the bare value.
9142 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9144 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9146 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9148 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9150 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9152 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9153 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9155 2012-12-28 Andreas Jaeger <aj@suse.de>
9157 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9158 values are from Linux 3.7.
9160 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9161 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9163 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9165 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9168 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9170 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9171 variables with preprocessor constants.
9172 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9173 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9174 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9176 2012-12-27 Bruno Haible <bruno@clisp.org>
9179 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9182 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9185 and use variable directly.
9186 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9188 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9190 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9193 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9195 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9196 include directive. Remove local variable MPONE.
9197 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9198 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9199 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9201 2012-12-25 David S. Miller <davem@davemloft.net>
9203 * version.h (RELEASE): Set to "development".
9204 (VERSION): Set to "2.17.90".
9205 * NEWS: Add 2.18 section.
9207 2012-12-21 David S. Miller <davem@davemloft.net>
9209 * po/hr.po: Update from translation team.
9211 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9213 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9215 2012-12-19 Steve Ellcey <sellcey@mips.com>
9217 * NEWS: Mention new memcpy for MIPS.
9219 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9221 * manual/contrib.texi (Contributors): Spelling correction.
9223 2012-12-15 David S. Miller <davem@davemloft.net>
9225 * po/ru.po: Update from translation team.
9227 2012-12-13 David S. Miller <davem@davemloft.net>
9229 * NEWS: Mention IFUNC testsuite enhancements.
9231 * po/pl.po: Update from translation team.
9232 * po/bg.po: Likewise.
9234 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9235 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9237 2012-12-11 David S. Miller <davem@davemloft.net>
9239 * po/sv.po: Update from translation team.
9241 * po/vi.po: Update from translation team.
9243 * po/cs.po: Update from translation team.
9245 * po/de.po: Update from translation team.
9246 * po/eo.po: Likewise.
9247 * po/nl.po: Likewise.
9249 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9252 * manual/argp.texi (Argp Helper Functions): Move node to follow
9256 * manual/conf.texi (Limits on File System Capacity): Mention if
9257 terminating null is included in the max size.
9259 2012-12-10 Andreas Jaeger <aj@suse.de>
9261 * po/cs.po: Update from translation team.
9263 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9265 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9266 void pointer and cast to uintptr_t.
9267 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9269 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9270 * sysdeps/s390/s390-64/memset.S: Likewise.
9272 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9275 * menual/message.texi (Message Translation): Fix typos.
9276 (Helper programs for gettext): Likewise.
9278 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9281 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9284 2012-12-07 David S. Miller <davem@davemloft.net>
9286 * po/libc.pot: Update.
9288 2012-12-07 Richard Henderson <rth@redhat.com>
9291 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9292 normal/normal case to before the switch.
9293 (_FP_DIV): Likewise.
9295 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9296 Mike Frysinger <vapier@gentoo.org>
9298 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9299 check for __NR_fadvise64_64.
9301 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9303 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9304 0, not just to plain "0" as a statement.
9305 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9308 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9310 * NEWS: Use sourceware.org in Bugzilla URL.
9312 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9315 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9317 * stdio-common/tst-put-error.c (do_test): Add newline to the
9318 padded test to ensure flush.
9320 2012-12-05 Jeff Law <law@redhat.com>
9322 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9324 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9326 * README: Don't refer to ports add-on as distributed separately.
9327 Mention AArch64 in list of systems supported in the ports add-on.
9329 * LICENSES: Add more non-FSF copyright and license notices.
9331 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9334 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9336 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9337 10000 as width of padded output.
9339 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9341 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9343 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9344 variable LX with __attribute__ ((unused)).
9345 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9350 with __attribute__ ((unused)).
9352 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9354 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9356 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9358 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9359 (CFLAGS-nldbl-acos.c): New variable.
9360 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9361 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9362 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9363 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9364 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9365 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9366 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9367 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9368 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9369 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9370 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9371 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9372 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9373 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9374 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9375 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9376 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9377 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9378 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9379 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9380 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9381 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9382 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9383 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9384 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9385 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9386 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9387 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9388 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9389 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9390 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9391 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9392 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9393 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9394 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9395 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9396 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9397 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9398 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9399 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9400 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9401 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9402 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9403 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9404 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9405 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9406 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9407 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9408 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9409 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9410 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9411 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9412 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9413 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9414 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9415 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9416 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9417 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9418 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9419 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9420 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9421 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9422 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9423 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9424 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9425 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9426 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9427 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9428 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9429 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9430 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9431 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9432 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9433 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9434 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9435 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9436 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9437 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9438 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9439 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9440 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9441 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9442 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9443 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9444 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9445 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9446 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9447 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9448 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9449 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9450 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9451 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9452 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9453 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9454 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9455 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9456 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9459 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9463 whole low double instead of just low 47 bits when splitting values
9466 2012-12-03 Allan McRae <allan@archlinux.org>
9468 * manual/stdio.texi (Predefined Printf Handlers): Remove
9469 @hsep and @vsep usage.
9471 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9473 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9474 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9476 2012-12-03 Jeff Law <law@redhat.com>
9478 * time/sys/time.h (settimeofday): Do not mark TV argument
9481 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9483 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9484 when currently writing and seek to current position when not.
9485 * libio/Makefile (tests): Remove bug-fclose1.
9486 * libio/bug-fclose1.c: Delete.
9488 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9490 * manual/arith.texi (feenableexcept): Fix typo.
9491 (fedisableexcept): Likewise.
9493 2012-11-30 Roland McGrath <roland@hack.frob.com>
9495 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9496 second, differently-typed declaration, rather than a cast.
9498 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9500 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9501 * include/rpc/svc.h: ... here.
9503 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9506 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9507 depending n and resplen2 to catch cases where answer
9510 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9512 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9513 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9515 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9517 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9519 2012-11-29 Roland McGrath <roland@hack.frob.com>
9521 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9523 2012-11-28 Jeff Law <law@redhat.com>
9526 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9527 dataset_temporary. Track alloca usage into alloca_used.
9528 If dataset is large allocate and release it via malloc/free.
9530 2012-06-04 Florian Weimer <fweimer@redhat.com>
9533 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9535 2012-11-28 David S. Miller <davem@davemloft.net>
9537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9539 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9542 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9543 of pi/2 rounded to nearest to 64 bits.
9544 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9546 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9549 2012-11-28 Jeff Law <law@redhat.com>
9550 Martin Osvald <mosvald@redhat.com>
9553 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9554 * sunrpc/svc.c: Include time.h.
9555 (__svc_accept_failed): New function.
9556 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9557 any reason other than EINTR, call __svc_accept_failed.
9558 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9559 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9561 2012-11-28 Andreas Schwab <schwab@suse.de>
9563 * scripts/abilist.awk: Also handle indirect functions in .opd
9566 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9569 * sysdeps/x86/fpu/powl_helper.c: New file.
9570 * sysdeps/x86/fpu/Makefile: Likewise.
9571 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9573 (__ieee754_powl): Use __powl_helper for finite arguments except
9574 integer exponents below 8.
9575 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9577 (__ieee754_powl): Use __powl_helper for finite arguments except
9578 integer exponents below 8.
9579 * math/libm-test.inc (pow_test): Add more tests and enable some
9580 previously disabled tests.
9581 * sysdeps/i386/fpu/libm-test-ulps: Update.
9582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9584 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9585 Carlos O'Donell <carlos_odonell@mentor.com>
9587 * nss/makedb.c (is_prime): Assert that input is odd and greater
9588 than 4. Note that fact in a comment too.
9589 (next_prime): Add 4 to input.
9591 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9594 * libio/Makefile (tests): Add test case tst-fwrite-error.
9595 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9596 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9597 * libio/tst-fwrite-error.c: New test case.
9599 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9601 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9602 before casting to void *.
9603 * include/libc-internal.h (__pointer_type): New macro.
9604 (__integer_if_pointer_type_sub): Likewise.
9605 (__integer_if_pointer_type): Likewise.
9606 (cast_to_integer): Likewise.
9607 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9608 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9609 before casting to atomic64_t.
9610 (atomic_exchange_acq): Likewise.
9611 (__arch_exchange_and_add_body): Likewise.
9612 (__arch_add_body): Likewise.
9613 (atomic_add_negative): Likewise.
9614 (atomic_add_zero): Likewise.
9616 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9618 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9619 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9620 (add_fdes): Likewise.
9621 (linear_search_fdes): Likewise.
9622 (binary_search_unencoded_fdes): Likewise.
9624 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9626 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9628 2012-11-24 Adam Conrad <adconrad@0c3.net>
9630 * configure.in: Autodetect C++ header directories.
9631 * configure: Regenerated.
9633 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9635 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9637 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9641 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9643 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9644 LDBL_MANT_DIG == 106]: Disable some tests.
9645 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9647 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9652 input for small inputs. Return +/- pi/2 for large inputs.
9653 * math/libm-test.inc (atan_test): Add more tests.
9655 * sysdeps/generic/unwind-dw2-fde-glibc.c
9656 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9657 __attribute__ ((unused)).
9660 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9661 x * y if x and y are nonzero and z is zero.
9664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9665 nonzero exponents with absolute value below 0x1p-117 to +/-
9669 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9670 up arguments below 2**-450, not just those below 2**-500.
9671 * math/libm-test.inc (hypot_test): Add another test.
9674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9675 Return a+b for ratio over 2**120, not 2**60.
9676 * math/libm-test.inc (hypot_test): Add another test.
9678 * math/libm-test.inc (clog_test): Use
9679 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9680 (clog10_test): Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9685 2012-11-22 Andreas Schwab <schwab@suse.de>
9687 * sysdeps/i386/fpu/libm-test-ulps: Update.
9689 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9691 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9692 printf output with newline.
9694 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9697 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9698 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9699 -z nodlopen, -z initfirst and -z execstack support.
9700 * configure: Regenerated.
9702 * elf/elf.h (DF_1_NODIRECT): New macro.
9703 (DF_1_IGNMULDEF): Likewise.
9704 (DF_1_NOKSYMS): Likewise.
9705 (DF_1_NOHDR): Likewise.
9706 (DF_1_EDITED): Likewise.
9707 (DF_1_NORELOC): Likewise.
9708 (DF_1_SYMINTPOSE): Likewise.
9709 (DF_1_GLOBAUDIT): Likewise.
9710 (DF_1_SINGLETON): Likewise.
9711 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9712 DT_1_SUPPORTED_MASK bits.
9713 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9715 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9717 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9719 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9721 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9724 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9725 (sendmmsg): Move declarations...
9726 * socket/sys/socket.h: ... here.
9727 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9728 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9730 * socket/recvmmsg.c: ... this new file.
9731 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9732 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9733 definition of __sendmmsg hidden.
9734 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9735 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9736 Move ENOSYS stub into and include it from...
9737 * socket/sendmmsg.c: ... this new file.
9738 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9739 (sysdep_routines): Move recvmmsg and sendmmsg...
9740 * socket/Makefile (routines): ... here.
9741 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9742 (GLIBC_PRIVATE): Add __sendmmsg.
9743 * include/sys/socket.h (__sendmmsg): Add declarations.
9744 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9747 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9750 variable I1 with __attribute__ ((unused)).
9751 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9753 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9755 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9756 DUMMY variables with __attribute__ ((unused)).
9758 * bits/byteswap.h: Include <bits/types.h>.
9759 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9761 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9763 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9764 string_t. Do not manually set errno.
9765 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9766 length with __strnlen. Make sure to both set errno and return it on
9769 2012-11-19 David S. Miller <davem@davemloft.net>
9771 With help from Joseph Myers.
9772 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9773 very large arguments properly.
9774 * math/libm-test.inc (atan_test): New tests.
9775 (atan2_test): New tests.
9776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9779 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9782 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9785 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9786 [POSIX] (EADDRNOTAVAIL): Likewise.
9787 [POSIX] (EAFNOSUPPORT): Likewise.
9788 [POSIX] (EALREADY): Likewise.
9789 [POSIX] (ECONNABORTED): Likewise.
9790 [POSIX] (ECONNREFUSED): Likewise.
9791 [POSIX] (ECONNRESET): Likewise.
9792 [POSIX] (EDESTADDRREQ): Likewise.
9793 [POSIX] (EDQUOT): Likewise.
9794 [POSIX] (EHOSTUNREACH): Likewise.
9795 [POSIX] (EIDRM): Likewise.
9796 [POSIX] (EISCONN): Likewise.
9797 [POSIX] (ELOOP): Likewise.
9798 [POSIX] (EMULTIHOP): Likewise.
9799 [POSIX] (ENETDOWN): Likewise.
9800 [POSIX] (ENETUNREACH): Likewise.
9801 [POSIX] (ENOBUFS): Likewise.
9802 [POSIX] (ENODATA): Likewise.
9803 [POSIX] (ENOLINK): Likewise.
9804 [POSIX] (ENOMSG): Likewise.
9805 [POSIX] (ENOPROTOOPT): Likewise.
9806 [POSIX] (ENOSR): Likewise.
9807 [POSIX] (ENOSTR): Likewise.
9808 [POSIX] (ENOTCONN): Likewise.
9809 [POSIX] (ENOTSOCK): Likewise.
9810 [POSIX] (EOPNOTSUPP): Likewise.
9811 [POSIX] (EOVERFLOW): Likewise.
9812 [POSIX] (EPROTO): Likewise.
9813 [POSIX] (EPROTONOSUPPORT): Likewise.
9814 [POSIX] (EPROTOTYPE): Likewise.
9815 [POSIX] (ESTALE): Likewise.
9816 [POSIX] (ETIME): Likewise.
9817 [POSIX] (ETXTBSY): Likewise.
9818 [POSIX] (EWOULDBLOCK): Likewise.
9819 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9820 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9821 [POSIX] (SEEK_CUR): Likewise.
9822 [POSIX] (SEEK_END): Likewise.
9823 [POSIX || UNIX98] (mode_t): Do not require.
9824 [POSIX] (off_t): Likewise.
9825 [POSIX] (pid_t): Likewise.
9826 [POSIX] (sys/stat.h): Do not allow header.
9827 [POSIX] (unistd.h): Likewise.
9828 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9829 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9830 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9831 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9833 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9834 sigevent): Specify elements.
9835 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9837 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9838 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9840 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9841 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9842 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9843 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9844 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9845 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9846 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9847 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9848 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9849 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9850 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9851 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9852 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9853 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9855 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9857 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9859 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9861 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9862 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9863 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9864 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9865 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9866 Specify lower bound on value.
9867 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9868 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9869 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9870 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9871 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9872 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9873 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9874 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9876 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9878 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9879 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9880 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9881 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9882 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9883 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9884 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9885 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9886 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9887 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9888 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9889 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9890 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9891 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9892 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9893 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9895 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9897 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9898 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9899 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9900 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9901 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9902 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9904 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9905 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9906 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9907 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9908 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9909 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9912 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9913 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9914 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9915 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9916 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9917 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9918 specify as optional.
9919 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9920 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9921 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9922 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9923 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9924 [XPG3] (NL_LANGMAX): Likewise.
9925 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9926 [POSIX || XPG3] (NL_NMAX): Likewise.
9927 [POSIX || XPG3] (NL_SETMAX): Likewise.
9928 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9929 [XPG3] (NZERO): Likewise.
9930 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9931 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9932 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9933 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9934 (REG_ERANGE): Expect.
9935 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9937 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9938 Use (void) in prototype.
9939 [POSIX] (*_t): Allow.
9940 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9941 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9942 (WRDE_BADVAL): Expect.
9944 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9946 [XPG3 || XPG4] (O_RSYNC): Likewise.
9947 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9949 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9950 [XPG3 || XPG4] (sigqueue): Likewise.
9951 [XPG3 || XPG4] (sigtimedwait): Likewise.
9952 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9953 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9954 [XPG3 || XPG4] (vsnprintf): Likewise.
9955 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9957 [XPG3 || XPG4] (blksize_t): Likewise.
9958 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9960 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9961 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9962 [XPG3 || XPG4] (struct itimerspec): Likewise.
9963 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9964 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9965 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9966 [XPG3 || XPG4] (clockid_t): Likewise.
9967 [XPG3 || XPG4] (timer_t): Likewise.
9968 [XPG3 || XPG4] (clock_getres): Likewise.
9969 [XPG3 || XPG4] (clock_gettime): Likewise.
9970 [XPG3 || XPG4] (clock_settime): Likewise.
9971 [XPG3 || XPG4] (nanosleep): Likewise.
9972 [XPG3 || XPG4] (timer_create): Likewise.
9973 [XPG3 || XPG4] (timer_delete): Likewise.
9974 [XPG3 || XPG4] (timer_gettime): Likewise.
9975 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9976 [XPG3 || XPG4] (timer_settime): Likewise.
9977 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9978 [XPG3 || XPG4] (getlogin_r): Likewise.
9979 [XPG3 || XPG4] (pread): Likewise.
9980 [XPG3 || XPG4] (pthread_atfork): Likewise.
9981 [XPG3 || XPG4] (pwrite): Likewise.
9984 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9987 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9989 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9990 finalizing MALLSTREAM.
9992 * sysdeps/mach/hurd/syncfs.c: New file.
9994 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9997 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9998 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9999 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10000 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10001 (_nss_dns_gethostbyname4_r): Likewise.
10002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10003 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10005 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10008 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10010 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10012 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10013 * elf/cache.c (print_entry): Print ",AArch64" for
10016 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10017 * elf/cache.c (print_entry): Print ",hard-float" for
10020 2012-11-18 David S. Miller <davem@davemloft.net>
10022 With help from Joseph Myers.
10023 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10025 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10027 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10028 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10030 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10031 * math/libm-test.inc (y0_test): New tests.
10032 (y1_test): New tests.
10033 * sysdeps/i386/fpu/libm-test-ulps: Update.
10034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10037 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10039 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10041 * configure: Regenerated.
10043 2012-11-17 David S. Miller <davem@davemloft.net>
10046 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10047 nonzero exponents with absolute value below 0x1p-128 to +/-
10050 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10052 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10054 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10056 * posix/getconf-speclist.c: New file.
10057 * posix/posix-envs.def: Likewise.
10058 * posix/confstr.c (START_ENV_GROUP): New macro.
10059 (END_ENV_GROUP): Likewise.
10060 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10061 (KNOWN_PRESENT_ENV_STRING): Likewise.
10062 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10063 (UNKNOWN_ENVIRONMENT): Likewise.
10064 (confstr): Include posix-envs.def instead of handling
10065 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10066 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10067 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10068 (END_ENV_GROUP): Likewise.
10069 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10070 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10071 (UNKNOWN_ENVIRONMENT): Likewise.
10072 (__sysconf): Include posix-envs.def instead of handling associated
10073 cases directly here.
10074 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10075 preprocessing getconf-speclist.c rather than running getconf or
10076 generating empty file.
10078 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10080 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10082 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10085 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10087 2012-11-16 David S. Miller <davem@davemloft.net>
10089 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10090 smaller than LDBL_EPSILON/2.0L, just return xm1.
10092 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10094 * elf/tst-array1.c (init): Set constructor priority to 1000.
10095 (fini): Set destructor priority to 1000.
10096 * elf/tst-array2dep.c: Likewise.
10098 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10101 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10102 (_IO_new_file_xsputn): Also return EOF if none of the input
10103 data was written when overflow failed.
10104 * libio/iopadn.c (_IO_padn): Likewise.
10105 * libio/iowpadn.c (_IO_wpadn): Likewise.
10106 * stdio-common/tst-put-error.c: Add copyright notice.
10107 (do_test): Add case for printing padded string.
10108 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10109 _IO_padn returned error.
10110 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10111 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10114 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10116 * libio/libioP.h: Add comment note that the references to C++
10117 bits are now obsolete.
10119 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10121 * math/libm-test.inc (check_complex): Use asprintf.
10123 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10125 * debug/pcprofiledump.c (print_version): Update copyright year.
10126 * malloc/memusagestat.c (print_version): Likewise.
10128 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10131 * elf/Makefile (tests): Add tst-audit8.
10132 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10133 ($(objpfx)tst-audit8.out): New target.
10134 (tst-audit8-ENV): New variable.
10135 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10136 audit if l_reloc_result is NULL.
10137 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10138 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10139 * elf/tst-audit8.c: New file.
10141 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10143 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10144 * misc/Makefile (CFLAGS-select.c): Define.
10145 * posix/Makefile (CFLAGS-pause.c): Define.
10147 2012-11-13 David S. Miller <davem@davemloft.net>
10149 * crypt/Makefile: Move test targets after toplevel Rules
10150 inclusion. Grab any necessary sysdep routines when linking.
10151 * crypt/md5.c (md5_process_block): Remove define, we will always
10152 name it __md5_process_block.
10153 (md5_finish_ctx): Update md5_process_block call.
10154 (md5_stream): Likewise.
10155 (md5_process_bytes): Likewise.
10156 (md5_process_block): Rename to __md5_process_block and move to ...
10157 * crypt/md5-block.c: ... here.
10158 * crypt/sha256.c (sha256_process_block): Move to ...
10159 * crypt/sha256-block.c: ... here.
10160 * crypt/sha512.c (sha512_process_block): Move to ...
10161 * crypt/sha512-block.c: ... here.
10162 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10164 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10165 * sysdeps/sparc/sparc64/multiarch/Makefile
10166 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10168 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10169 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10171 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10172 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10173 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10174 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10175 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10176 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10177 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10178 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10181 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10182 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10184 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10186 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10188 * timezone/tzselect.ksh: Update from tzcode git revision
10189 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10190 * timezone/zdump.c: Likewise.
10191 * timezone/zic.c: Likewise.
10192 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10193 in TZVERSION setting, not $(PKGVERSION).
10194 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10195 REPORT_BUGS_TO settings.
10198 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10201 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10203 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10204 detection to immediately after _FP_ROUND().
10205 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10208 2012-11-11 David S. Miller <davem@davemloft.net>
10210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10212 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10213 __close rather than their public counterparts.
10215 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10217 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10219 [UNIX98] (sem_timedwait): Do not expect.
10220 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10221 [XPG4 || UNIX98] (sockatmark): Do not expect.
10222 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10223 (clock_getcpuclockid): Do not expect.
10224 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10225 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10227 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10228 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10229 [UNIX98] (vwscanf): Likewise.
10230 [UNIX98] (vswscanf): Likewise.
10232 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10234 * timezone/version.h: Remove file.
10235 * timezone/README: Do not refer to version.h.
10236 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10237 $(objpfx)version.h.
10238 ($(objpfx)zdump.o): Likewise.
10239 ($(objpfx)version.h): New target.
10241 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10243 * timezone/README: Don't mention modification to tzselect.ksh.
10244 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10245 work on unmodified tzselect.ksh. Substitute version numbers in
10248 * Makefile (format-me): Remove.
10249 (INSTALL): Adjust indentation. Use commands directly instead of
10250 using $(format-me).
10252 * aclocal.m4 (ACX_PKGVERSION): New macro.
10253 (ACX_BUGURL): Likewise.
10254 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10255 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10256 (REPORT_BUGS_TO): Likewise.
10257 * configure: Regenerated.
10258 * config.h.in (PKGVERSION): New macro.
10259 (REPORT_BUGS_TO): Likewise.
10260 * config.make.in (PKGVERSION): New variable.
10261 (PKGVERSION_TEXI): Likewise.
10262 (REPORT_BUGS_TO): Likewise.
10263 (REPORT_BUGS_TEXI): Likewise.
10264 * Makefile (format-me): Use -I$(common-objpfx)manual.
10265 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10266 ($(common-objpfx)manual/%): New target.
10267 (manual/%): Remove target.
10268 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10269 (print_version): Use PKGVERSION.
10270 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10271 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10272 and REPORT_BUGS_TO.
10273 ($(objpfx)xtrace): Likewise.
10274 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10275 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10276 (print_version): Use PKGVERSION.
10277 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10278 (do_version): Use PKGVERSION.
10279 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10281 (common-ldd-rewrite): Likewise.
10282 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10283 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10284 (print_version): Use PKGVERSION.
10285 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10286 * elf/pldd.c (argp_program_bug_address): Remove variable.
10287 (more_help): New function.
10288 (argp): Use more_help.
10289 (print_version): Use PKGVERSION.
10290 * elf/sln.c (main): Use PKGVERSION.
10291 (usage): Use REPORT_BUGS_TO.
10292 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10293 (top level): Use PKGVERSION.
10294 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10295 (print_version): Use PKGVERSION.
10296 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10297 (print_version): Use PKGVERSION.
10298 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10299 (print_version): Use PKGVERSION.
10300 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10301 (print_version): Use PKGVERSION.
10302 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10303 (print_version): Use PKGVERSION.
10304 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10305 (print_version): Use PKGVERSION.
10306 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10308 ($(objpfx)memusage): Likewise.
10309 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10310 (do_version): Use PKGVERSION.
10311 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10312 (print_version): Use PKGVERSION.
10313 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10314 ($PKGVERSION): New variable.
10315 ($REPORT_BUGS_TO): Likewise.
10316 (usage): Use $REPORT_BUGS_TO.
10317 (top level): Use $PKGVERSION.
10318 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10319 ($(objpfx)pkgvers.texi): New rule.
10320 ($(objpfx)stamp-pkgvers): Likewise.
10321 * manual/install.texi: Include pkgvers.texi.
10322 (--with-pkgversion): Document new configure option.
10323 (--with-bugurl): Likewise.
10324 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10325 than necessarily for this particular distribution. Use
10326 REPORT_BUGS_TO for where to report bugs.
10327 * INSTALL: Regenerated.
10328 * manual/libc.texinfo: Include pkgvers.texi.
10329 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10330 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10331 (print_version): Use PKGVERSION.
10332 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10333 (print_version): Use PKGVERSION.
10334 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10335 (print_version): Use PKGVERSION.
10336 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10337 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10339 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10340 (print_version): Use PKGVERSION.
10341 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10342 (print_version): Use PKGVERSION.
10343 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10346 * timezone/checktab.awk: Update from tzcode 2012i.
10347 * timezone/ialloc.c: Likewise.
10348 * timezone/private.h: Likewise.
10349 * timezone/scheck.c: Likewise.
10350 * timezone/tzfile.h: Likewise.
10351 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10352 (TZVERSION): Hardcode tzcode version number.
10353 * timezone/zdump.c: Update from tzcode 2012i.
10354 * timezone/zic.c: Likewise.
10355 * timezone/version.h: New file.
10356 * timezone/README: Describe version.h. Update upstream location.
10359 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10360 (mktemp): Enable declaration.
10361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10378 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10379 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10380 for copies of such integer values.
10381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10384 2012-11-09 Andreas Jaeger <aj@suse.de>
10386 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10387 definitions and declarations that are provided by
10388 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10390 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10393 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10394 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10397 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10399 * elf/elf.h: Update comment before AArch64 relocations.
10401 2012-11-07 David S. Miller <davem@davemloft.net>
10403 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10404 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10405 (__start_context): Declare.
10406 (__makecontext_ret): Delete.
10407 (__makecontext): Hook up __start_context instead of
10409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10410 (sysdep_routines): Add __start_context when in stdlib.
10412 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10414 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10415 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10416 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10418 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10419 (READELF): New variable. Use it instead of hardcoded "readelf".
10421 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10423 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10424 * sysdeps/x86/Makefile: Here.
10425 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10426 * sysdeps/x86/tst-xmmymm.sh: This.
10428 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10430 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10432 [UNIX98] (pthread_barrier_t): Do not expect.
10433 [UNIX98] (pthread_barrierattr_t): Likewise.
10434 [UNIX98] (pthread_spinlock_t): Likewise.
10435 [UNIX98] (pthread_barrier_destroy): Likewise.
10436 [UNIX98] (pthread_barrier_init): Likewise.
10437 [UNIX98] (pthread_barrier_wait): Likewise.
10438 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10439 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10440 [UNIX98] (pthread_barrierattr_init): Likewise.
10441 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10442 [UNIX98] (pthread_getcpuclockid): Likewise.
10443 [UNIX98] (pthread_mutex_timedlock): Likewise.
10444 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10445 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10446 [UNIX98] (pthread_sigmask): Likewise.
10447 [UNIX98] (pthread_spin_destroy): Likewise.
10448 [UNIX98] (pthread_spin_init): Likewise.
10449 [UNIX98] (pthread_spin_lock): Likewise.
10450 [UNIX98] (pthread_spin_trylock): Likewise.
10451 [UNIX98] (pthread_spin_unlock): Likewise.
10452 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10454 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10456 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10457 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10458 [XPG3 || XPG4] (pthread_key_t): Likewise.
10459 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10460 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10461 [XPG3 || XPG4] (pthread_once_t): Likewise.
10462 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10463 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10465 [XPG3 || XPG4] (pthread_t): Likewise.
10467 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10469 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10471 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10472 Change function return type to int.
10474 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10475 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10476 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10477 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10478 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10479 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10480 [!POSIX] (posix_madvise): Likewise.
10481 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10483 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10484 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10485 (mode_t): Likewise.
10486 (posix_mem_offset): Likewise.
10487 (posix_typed_mem_get_info): Likewise.
10488 (posix_typed_mem_open): Likewise.
10490 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10491 Change condition to [XOPEN2K8].
10493 * conform/conformtest.pl: Preprocess allow-header data with -x c
10494 instead of from stdin.
10495 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10496 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10497 [C99-based standards] (cerfc): Likewise.
10498 [C99-based standards] (cexp2): Likewise.
10499 [C99-based standards] (cexpm1): Likewise.
10500 [C99-based standards] (clog10): Likewise.
10501 [C99-based standards] (clog1p): Likewise.
10502 [C99-based standards] (clog2): Likewise.
10503 [C99-based standards] (clgamma): Likewise.
10504 [C99-based standards] (ctgamma): Likewise.
10505 [C99-based standards] (cerff): Likewise.
10506 [C99-based standards] (cerfcf): Likewise.
10507 [C99-based standards] (cexp2f): Likewise.
10508 [C99-based standards] (cexpm1f): Likewise.
10509 [C99-based standards] (clog10f): Likewise.
10510 [C99-based standards] (clog1pf): Likewise.
10511 [C99-based standards] (clog2f): Likewise.
10512 [C99-based standards] (clgammaf): Likewise.
10513 [C99-based standards] (ctgammaf): Likewise.
10514 [C99-based standards] (cerfl): Likewise.
10515 [C99-based standards] (cerfcl): Likewise.
10516 [C99-based standards] (cexp2l): Likewise.
10517 [C99-based standards] (cexpm1l): Likewise.
10518 [C99-based standards] (clog10l): Likewise.
10519 [C99-based standards] (clog1pl): Likewise.
10520 [C99-based standards] (clog2l): Likewise.
10521 [C99-based standards] (clgammal): Likewise.
10522 [C99-based standards] (ctgammal): Likewise.
10523 * conform/data/inttypes.h-data [C99-based standards]: Include
10524 stdint.h-data. Remove all expectations for stdint.h contents.
10525 [C99-based standards] (PRI*): Do not allow.
10526 [C99-based standards] (SCN*): Likewise.
10527 [C99-based standards] (*_t): Likewise.
10528 [C99-based-standards] (PRId8): Expect macro.
10529 [C99-based-standards] (PRIi8): Likewise.
10530 [C99-based-standards] (PRIo8): Likewise.
10531 [C99-based-standards] (PRIu8): Likewise.
10532 [C99-based-standards] (PRIx8): Likewise.
10533 [C99-based-standards] (PRIX8): Likewise.
10534 [C99-based-standards] (SCNd8): Likewise.
10535 [C99-based-standards] (SCNi8): Likewise.
10536 [C99-based-standards] (SCNo8): Likewise.
10537 [C99-based-standards] (SCNu8): Likewise.
10538 [C99-based-standards] (SCNx8): Likewise.
10539 [C99-based-standards] (PRIdLEAST8): Likewise.
10540 [C99-based-standards] (PRIiLEAST8): Likewise.
10541 [C99-based-standards] (PRIoLEAST8): Likewise.
10542 [C99-based-standards] (PRIuLEAST8): Likewise.
10543 [C99-based-standards] (PRIxLEAST8): Likewise.
10544 [C99-based-standards] (PRIXLEAST8): Likewise.
10545 [C99-based-standards] (SCNdLEAST8): Likewise.
10546 [C99-based-standards] (SCNiLEAST8): Likewise.
10547 [C99-based-standards] (SCNoLEAST8): Likewise.
10548 [C99-based-standards] (SCNuLEAST8): Likewise.
10549 [C99-based-standards] (SCNxLEAST8): Likewise.
10550 [C99-based-standards] (PRIdFAST8): Likewise.
10551 [C99-based-standards] (PRIiFAST8): Likewise.
10552 [C99-based-standards] (PRIoFAST8): Likewise.
10553 [C99-based-standards] (PRIuFAST8): Likewise.
10554 [C99-based-standards] (PRIxFAST8): Likewise.
10555 [C99-based-standards] (PRIXFAST8): Likewise.
10556 [C99-based-standards] (SCNdFAST8): Likewise.
10557 [C99-based-standards] (SCNiFAST8): Likewise.
10558 [C99-based-standards] (SCNoFAST8): Likewise.
10559 [C99-based-standards] (SCNuFAST8): Likewise.
10560 [C99-based-standards] (SCNxFAST8): Likewise.
10561 [C99-based-standards] (PRId16): Likewise.
10562 [C99-based-standards] (PRIi16): Likewise.
10563 [C99-based-standards] (PRIo16): Likewise.
10564 [C99-based-standards] (PRIu16): Likewise.
10565 [C99-based-standards] (PRIx16): Likewise.
10566 [C99-based-standards] (PRIX16): Likewise.
10567 [C99-based-standards] (SCNd16): Likewise.
10568 [C99-based-standards] (SCNi16): Likewise.
10569 [C99-based-standards] (SCNo16): Likewise.
10570 [C99-based-standards] (SCNu16): Likewise.
10571 [C99-based-standards] (SCNx16): Likewise.
10572 [C99-based-standards] (PRIdLEAST16): Likewise.
10573 [C99-based-standards] (PRIiLEAST16): Likewise.
10574 [C99-based-standards] (PRIoLEAST16): Likewise.
10575 [C99-based-standards] (PRIuLEAST16): Likewise.
10576 [C99-based-standards] (PRIxLEAST16): Likewise.
10577 [C99-based-standards] (PRIXLEAST16): Likewise.
10578 [C99-based-standards] (SCNdLEAST16): Likewise.
10579 [C99-based-standards] (SCNiLEAST16): Likewise.
10580 [C99-based-standards] (SCNoLEAST16): Likewise.
10581 [C99-based-standards] (SCNuLEAST16): Likewise.
10582 [C99-based-standards] (SCNxLEAST16): Likewise.
10583 [C99-based-standards] (PRIdFAST16): Likewise.
10584 [C99-based-standards] (PRIiFAST16): Likewise.
10585 [C99-based-standards] (PRIoFAST16): Likewise.
10586 [C99-based-standards] (PRIuFAST16): Likewise.
10587 [C99-based-standards] (PRIxFAST16): Likewise.
10588 [C99-based-standards] (PRIXFAST16): Likewise.
10589 [C99-based-standards] (SCNdFAST16): Likewise.
10590 [C99-based-standards] (SCNiFAST16): Likewise.
10591 [C99-based-standards] (SCNoFAST16): Likewise.
10592 [C99-based-standards] (SCNuFAST16): Likewise.
10593 [C99-based-standards] (SCNxFAST16): Likewise.
10594 [C99-based-standards] (PRId32): Likewise.
10595 [C99-based-standards] (PRIi32): Likewise.
10596 [C99-based-standards] (PRIo32): Likewise.
10597 [C99-based-standards] (PRIu32): Likewise.
10598 [C99-based-standards] (PRIx32): Likewise.
10599 [C99-based-standards] (PRIX32): Likewise.
10600 [C99-based-standards] (SCNd32): Likewise.
10601 [C99-based-standards] (SCNi32): Likewise.
10602 [C99-based-standards] (SCNo32): Likewise.
10603 [C99-based-standards] (SCNu32): Likewise.
10604 [C99-based-standards] (SCNx32): Likewise.
10605 [C99-based-standards] (PRIdLEAST32): Likewise.
10606 [C99-based-standards] (PRIiLEAST32): Likewise.
10607 [C99-based-standards] (PRIoLEAST32): Likewise.
10608 [C99-based-standards] (PRIuLEAST32): Likewise.
10609 [C99-based-standards] (PRIxLEAST32): Likewise.
10610 [C99-based-standards] (PRIXLEAST32): Likewise.
10611 [C99-based-standards] (SCNdLEAST32): Likewise.
10612 [C99-based-standards] (SCNiLEAST32): Likewise.
10613 [C99-based-standards] (SCNoLEAST32): Likewise.
10614 [C99-based-standards] (SCNuLEAST32): Likewise.
10615 [C99-based-standards] (SCNxLEAST32): Likewise.
10616 [C99-based-standards] (PRIdFAST32): Likewise.
10617 [C99-based-standards] (PRIiFAST32): Likewise.
10618 [C99-based-standards] (PRIoFAST32): Likewise.
10619 [C99-based-standards] (PRIuFAST32): Likewise.
10620 [C99-based-standards] (PRIxFAST32): Likewise.
10621 [C99-based-standards] (PRIXFAST32): Likewise.
10622 [C99-based-standards] (SCNdFAST32): Likewise.
10623 [C99-based-standards] (SCNiFAST32): Likewise.
10624 [C99-based-standards] (SCNoFAST32): Likewise.
10625 [C99-based-standards] (SCNuFAST32): Likewise.
10626 [C99-based-standards] (SCNxFAST32): Likewise.
10627 [C99-based-standards] (PRId64): Likewise.
10628 [C99-based-standards] (PRIi64): Likewise.
10629 [C99-based-standards] (PRIo64): Likewise.
10630 [C99-based-standards] (PRIu64): Likewise.
10631 [C99-based-standards] (PRIx64): Likewise.
10632 [C99-based-standards] (PRIX64): Likewise.
10633 [C99-based-standards] (SCNd64): Likewise.
10634 [C99-based-standards] (SCNi64): Likewise.
10635 [C99-based-standards] (SCNo64): Likewise.
10636 [C99-based-standards] (SCNu64): Likewise.
10637 [C99-based-standards] (SCNx64): Likewise.
10638 [C99-based-standards] (PRIdLEAST64): Likewise.
10639 [C99-based-standards] (PRIiLEAST64): Likewise.
10640 [C99-based-standards] (PRIoLEAST64): Likewise.
10641 [C99-based-standards] (PRIuLEAST64): Likewise.
10642 [C99-based-standards] (PRIxLEAST64): Likewise.
10643 [C99-based-standards] (PRIXLEAST64): Likewise.
10644 [C99-based-standards] (SCNdLEAST64): Likewise.
10645 [C99-based-standards] (SCNiLEAST64): Likewise.
10646 [C99-based-standards] (SCNoLEAST64): Likewise.
10647 [C99-based-standards] (SCNuLEAST64): Likewise.
10648 [C99-based-standards] (SCNxLEAST64): Likewise.
10649 [C99-based-standards] (PRIdFAST64): Likewise.
10650 [C99-based-standards] (PRIiFAST64): Likewise.
10651 [C99-based-standards] (PRIoFAST64): Likewise.
10652 [C99-based-standards] (PRIuFAST64): Likewise.
10653 [C99-based-standards] (PRIxFAST64): Likewise.
10654 [C99-based-standards] (PRIXFAST64): Likewise.
10655 [C99-based-standards] (SCNdFAST64): Likewise.
10656 [C99-based-standards] (SCNiFAST64): Likewise.
10657 [C99-based-standards] (SCNoFAST64): Likewise.
10658 [C99-based-standards] (SCNuFAST64): Likewise.
10659 [C99-based-standards] (SCNxFAST64): Likewise.
10660 [C99-based-standards] (PRIdMAX): Likewise.
10661 [C99-based-standards] (PRIiMAX): Likewise.
10662 [C99-based-standards] (PRIoMAX): Likewise.
10663 [C99-based-standards] (PRIuMAX): Likewise.
10664 [C99-based-standards] (PRIxMAX): Likewise.
10665 [C99-based-standards] (PRIXMAX): Likewise.
10666 [C99-based-standards] (SCNdMAX): Likewise.
10667 [C99-based-standards] (SCNiMAX): Likewise.
10668 [C99-based-standards] (SCNoMAX): Likewise.
10669 [C99-based-standards] (SCNuMAX): Likewise.
10670 [C99-based-standards] (SCNxMAX): Likewise.
10671 [C99-based-standards] (PRIdPTR): Likewise.
10672 [C99-based-standards] (PRIiPTR): Likewise.
10673 [C99-based-standards] (PRIoPTR): Likewise.
10674 [C99-based-standards] (PRIuPTR): Likewise.
10675 [C99-based-standards] (PRIxPTR): Likewise.
10676 [C99-based-standards] (PRIXPTR): Likewise.
10677 [C99-based-standards] (SCNdPTR): Likewise.
10678 [C99-based-standards] (SCNiPTR): Likewise.
10679 [C99-based-standards] (SCNoPTR): Likewise.
10680 [C99-based-standards] (SCNuPTR): Likewise.
10681 [C99-based-standards] (SCNxPTR): Likewise.
10682 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10684 * conform/data/stdint.h-data: Update comments to clarify
10686 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10688 [C99-based standards] (INT8_MAX): Likewise.
10689 [C99-based standards] (INT16_MIN): Likewise.
10690 [C99-based standards] (INT16_MAX): Likewise.
10691 [C99-based standards] (INT32_MIN): Likewise.
10692 [C99-based standards] (INT32_MAX): Likewise.
10693 [C99-based standards] (INT64_MIN): Likewise.
10694 [C99-based standards] (INT64_MAX): Likewise.
10695 [C99-based standards] (UINT8_MAX): Likewise.
10696 [C99-based standards] (UINT16_MAX): Likewise.
10697 [C99-based standards] (UINT32_MAX): Likewise.
10698 [C99-based standards] (UINT64_MAX): Likewise.
10699 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10700 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10701 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10702 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10703 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10704 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10705 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10706 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10707 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10708 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10709 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10710 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10711 [C99-based standards] (INT_FAST8_MIN): Likewise.
10712 [C99-based standards] (INT_FAST8_MAX): Likewise.
10713 [C99-based standards] (INT_FAST16_MIN): Likewise.
10714 [C99-based standards] (INT_FAST16_MAX): Likewise.
10715 [C99-based standards] (INT_FAST32_MIN): Likewise.
10716 [C99-based standards] (INT_FAST32_MAX): Likewise.
10717 [C99-based standards] (INT_FAST64_MIN): Likewise.
10718 [C99-based standards] (INT_FAST64_MAX): Likewise.
10719 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10720 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10721 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10722 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10723 [C99-based standards] (INTPTR_MIN): Likewise.
10724 [C99-based standards] (INTPTR_MAX): Likewise.
10725 [C99-based standards] (UINTPTR_MAX): Likewise.
10726 [C99-based standards] (INTMAX_MIN): Likewise.
10727 [C99-based standards] (INTMAX_MAX): Likewise.
10728 [C99-based standards] (UINTMAX_MAX): Likewise.
10729 [C99-based standards] (PTRDIFF_MIN): Likewise.
10730 [C99-based standards] (PTRDIFF_MAX): Likewise.
10731 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10732 [C99-based standards] (SIZE_MAX): Likewise.
10733 [C99-based standards] (WCHAR_MAX): Likewise.
10734 [C99-based standards] (WINT_MAX): Likewise.
10735 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10736 constraint on value.
10737 [C99-based standards] (WCHAR_MIN): Likewise.
10738 [C99-based standards] (WINT_MIN): Likewise.
10739 [C99-based standards] (*_t): Allow.
10740 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10741 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10742 Include math.h-data and complex.h-data. Remove all expectations
10743 of math.h and complex.h contents.
10744 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10746 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10747 (struct tm): Expect tag.
10748 [C99-based-standards] (wcstof): Expect function.
10749 [C99-based-standards] (wcstold): Likewise.
10750 [C99-based-standards] (wcstoll): Likewise.
10751 [C99-based-standards] (wcstoull): Likewise.
10752 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10753 macro-int-constant. Specify type.
10754 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10755 constraint on value.
10756 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10758 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10760 [ISO C standards]: Do not allow headers.
10761 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10762 wcs[abcdefghijklmnopqrstuvwxyz]*.
10763 [ISO C standards] (*_t): Do not allow.
10764 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10766 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10767 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10769 [ISO C standards]: Do not allow headers.
10770 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10771 is[abcdefghijklmnopqrstuvwxyz]*.
10772 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10773 to[abcdefghijklmnopqrstuvwxyz]*.
10774 [ISO C standards] (*_t): Do not allow.
10775 * conform/data/stdalign.h-data: New file.
10776 * conform/data/stdbool.h-data: Likewise.
10777 * conform/data/stdnoreturn.h-data: Likewise.
10779 2012-11-07 Roland McGrath <roland@hack.frob.com>
10782 * manual/filesys.texi (Directory Entries): Typo fix.
10783 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10785 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10787 * elf/elf.h (EM_AARCH64): New macro.
10788 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10789 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10790 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10791 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10792 (R_AARCH64_TLSDESC): Likewise.
10793 (NT_ARM_TLS): Likewise.
10794 (NT_ARM_HW_BREAK): Likewise.
10795 (NT_ARM_HW_WATCH): Likewise.
10797 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10800 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10801 (__ieee754_powl): Saturate nonzero exponents with absolute value
10802 below 0x1p-79 to +/- 0x1p-79.
10803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10804 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10805 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10806 nonzero exponents with absolute value below 0x1p-32 to +/-
10808 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10809 (__ieee754_powl): Saturate nonzero exponents with absolute value
10810 below 0x1p-79 to +/- 0x1p-79.
10811 * math/libm-test.inc (pow_test): Add more tests.
10813 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10815 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10816 _dl_s390_cap_flags with kernel. Increase string length.
10817 (_dl_s390_platforms): Add z196 and zEC12.
10819 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10821 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10822 Change XOPEN21K to XOPEN2K.
10824 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10826 * string/memmove.c: Use memcpy when possible.
10828 2012-11-06 Andreas Jaeger <aj@suse.de>
10830 * po/eo.po: Update from translation team.
10832 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10836 exponent and small x and y exponents, scale x or y up. Increase
10837 by 2 the exponent used in scaling up.
10838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10840 * math/libm-test.inc (fma_test): Add more tests.
10841 (fma_test_towardzero): Likewise.
10842 (fma_test_downward): Likewise.
10843 (fma_test_upward): Likewise.
10845 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10848 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10852 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10853 namespace for names of struct fields.
10854 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10856 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10857 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10859 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10862 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10864 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10866 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10870 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10873 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10877 definitely overflow as x * y not x * y + z.
10878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10880 * math/libm-test.inc (fma_test): Add more tests.
10881 (fma_test_towardzero): Likewise.
10882 (fma_test_downward): Likewise.
10883 (fma_test_upward): Likewise.
10885 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10889 * include/stub-tag.h: Remove file.
10890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10892 * manual/maint.texi (Porting): Don't reference it.
10893 * Makerules ($(objpfx)stubs): Likewise.
10894 * dirent/closedir.c: Don't include <stub-tag.h>.
10895 * dirent/dirfd.c: Likewise.
10896 * dirent/fdopendir.c: Likewise.
10897 * dirent/getdents.c: Likewise.
10898 * dirent/getdents64.c: Likewise.
10899 * dirent/opendir.c: Likewise.
10900 * dirent/readdir.c: Likewise.
10901 * dirent/readdir64.c: Likewise.
10902 * dirent/readdir64_r.c: Likewise.
10903 * dirent/readdir_r.c: Likewise.
10904 * dirent/rewinddir.c: Likewise.
10905 * dirent/seekdir.c: Likewise.
10906 * dirent/telldir.c: Likewise.
10907 * gmon/profil.c: Likewise.
10908 * grp/setgroups.c: Likewise.
10909 * inet/if_index.c: Likewise.
10910 * io/access.c: Likewise.
10911 * io/chdir.c: Likewise.
10912 * io/chmod.c: Likewise.
10913 * io/chown.c: Likewise.
10914 * io/close.c: Likewise.
10915 * io/dup.c: Likewise.
10916 * io/dup2.c: Likewise.
10917 * io/dup3.c: Likewise.
10918 * io/euidaccess.c: Likewise.
10919 * io/faccessat.c: Likewise.
10920 * io/fchdir.c: Likewise.
10921 * io/fchmod.c: Likewise.
10922 * io/fchmodat.c: Likewise.
10923 * io/fchown.c: Likewise.
10924 * io/fchownat.c: Likewise.
10925 * io/fcntl.c: Likewise.
10926 * io/flock.c: Likewise.
10927 * io/fstatfs.c: Likewise.
10928 * io/fstatfs64.c: Likewise.
10929 * io/fstatvfs.c: Likewise.
10930 * io/fstatvfs64.c: Likewise.
10931 * io/futimens.c: Likewise.
10932 * io/fxstat.c: Likewise.
10933 * io/fxstat64.c: Likewise.
10934 * io/fxstatat.c: Likewise.
10935 * io/fxstatat64.c: Likewise.
10936 * io/getcwd.c: Likewise.
10937 * io/isatty.c: Likewise.
10938 * io/lchmod.c: Likewise.
10939 * io/lchown.c: Likewise.
10940 * io/link.c: Likewise.
10941 * io/linkat.c: Likewise.
10942 * io/lseek.c: Likewise.
10943 * io/lseek64.c: Likewise.
10944 * io/lxstat64.c: Likewise.
10945 * io/mkdir.c: Likewise.
10946 * io/mkdirat.c: Likewise.
10947 * io/mkfifo.c: Likewise.
10948 * io/mkfifoat.c: Likewise.
10949 * io/open.c: Likewise.
10950 * io/open64.c: Likewise.
10951 * io/openat.c: Likewise.
10952 * io/openat64.c: Likewise.
10953 * io/pipe.c: Likewise.
10954 * io/pipe2.c: Likewise.
10955 * io/poll.c: Likewise.
10956 * io/posix_fadvise.c: Likewise.
10957 * io/posix_fadvise64.c: Likewise.
10958 * io/posix_fallocate.c: Likewise.
10959 * io/posix_fallocate64.c: Likewise.
10960 * io/read.c: Likewise.
10961 * io/readlink.c: Likewise.
10962 * io/readlinkat.c: Likewise.
10963 * io/rmdir.c: Likewise.
10964 * io/sendfile.c: Likewise.
10965 * io/sendfile64.c: Likewise.
10966 * io/statfs.c: Likewise.
10967 * io/statfs64.c: Likewise.
10968 * io/statvfs.c: Likewise.
10969 * io/statvfs64.c: Likewise.
10970 * io/symlink.c: Likewise.
10971 * io/symlinkat.c: Likewise.
10972 * io/ttyname.c: Likewise.
10973 * io/ttyname_r.c: Likewise.
10974 * io/umask.c: Likewise.
10975 * io/unlink.c: Likewise.
10976 * io/unlinkat.c: Likewise.
10977 * io/utime.c: Likewise.
10978 * io/utimensat.c: Likewise.
10979 * io/write.c: Likewise.
10980 * io/xmknod.c: Likewise.
10981 * io/xmknodat.c: Likewise.
10982 * io/xstat.c: Likewise.
10983 * io/xstat64.c: Likewise.
10984 * login/getpt.c: Likewise.
10985 * login/grantpt.c: Likewise.
10986 * login/unlockpt.c: Likewise.
10987 * math/e_acoshl.c: Likewise.
10988 * math/e_acosl.c: Likewise.
10989 * math/e_asinl.c: Likewise.
10990 * math/e_atan2l.c: Likewise.
10991 * math/e_atanhl.c: Likewise.
10992 * math/e_coshl.c: Likewise.
10993 * math/e_expl.c: Likewise.
10994 * math/e_fmodl.c: Likewise.
10995 * math/e_gammal_r.c: Likewise.
10996 * math/e_hypotl.c: Likewise.
10997 * math/e_j0l.c: Likewise.
10998 * math/e_j1l.c: Likewise.
10999 * math/e_jnl.c: Likewise.
11000 * math/e_lgammal_r.c: Likewise.
11001 * math/e_log10l.c: Likewise.
11002 * math/e_log2l.c: Likewise.
11003 * math/e_logl.c: Likewise.
11004 * math/e_powl.c: Likewise.
11005 * math/e_rem_pio2l.c: Likewise.
11006 * math/e_sinhl.c: Likewise.
11007 * math/e_sqrtl.c: Likewise.
11008 * math/fclrexcpt.c: Likewise.
11009 * math/fedisblxcpt.c: Likewise.
11010 * math/feenablxcpt.c: Likewise.
11011 * math/fegetenv.c: Likewise.
11012 * math/fegetexcept.c: Likewise.
11013 * math/fegetround.c: Likewise.
11014 * math/feholdexcpt.c: Likewise.
11015 * math/fesetenv.c: Likewise.
11016 * math/fesetround.c: Likewise.
11017 * math/feupdateenv.c: Likewise.
11018 * math/fgetexcptflg.c: Likewise.
11019 * math/fraiseexcpt.c: Likewise.
11020 * math/fsetexcptflg.c: Likewise.
11021 * math/ftestexcept.c: Likewise.
11022 * math/k_cosl.c: Likewise.
11023 * math/k_rem_pio2l.c: Likewise.
11024 * math/k_sinl.c: Likewise.
11025 * math/k_tanl.c: Likewise.
11026 * math/s_asinhl.c: Likewise.
11027 * math/s_atanl.c: Likewise.
11028 * math/s_cbrtl.c: Likewise.
11029 * math/s_erfl.c: Likewise.
11030 * math/s_expm1l.c: Likewise.
11031 * math/s_log1pl.c: Likewise.
11032 * math/s_tanhl.c: Likewise.
11033 * misc/acct.c: Likewise.
11034 * misc/brk.c: Likewise.
11035 * misc/chflags.c: Likewise.
11036 * misc/chroot.c: Likewise.
11037 * misc/fchflags.c: Likewise.
11038 * misc/fgetxattr.c: Likewise.
11039 * misc/flistxattr.c: Likewise.
11040 * misc/fremovexattr.c: Likewise.
11041 * misc/fsetxattr.c: Likewise.
11042 * misc/fsync.c: Likewise.
11043 * misc/ftruncate.c: Likewise.
11044 * misc/futimes.c: Likewise.
11045 * misc/futimesat.c: Likewise.
11046 * misc/getdomain.c: Likewise.
11047 * misc/getdtsz.c: Likewise.
11048 * misc/gethostid.c: Likewise.
11049 * misc/gethostname.c: Likewise.
11050 * misc/getloadavg.c: Likewise.
11051 * misc/getpagesize.c: Likewise.
11052 * misc/getsysstats.c: Likewise.
11053 * misc/getxattr.c: Likewise.
11054 * misc/gtty.c: Likewise.
11055 * misc/ioctl.c: Likewise.
11056 * misc/lgetxattr.c: Likewise.
11057 * misc/listxattr.c: Likewise.
11058 * misc/llistxattr.c: Likewise.
11059 * misc/lremovexattr.c: Likewise.
11060 * misc/lsetxattr.c: Likewise.
11061 * misc/lutimes.c: Likewise.
11062 * misc/madvise.c: Likewise.
11063 * misc/mincore.c: Likewise.
11064 * misc/mlock.c: Likewise.
11065 * misc/mlockall.c: Likewise.
11066 * misc/mmap.c: Likewise.
11067 * misc/mprotect.c: Likewise.
11068 * misc/msync.c: Likewise.
11069 * misc/munlock.c: Likewise.
11070 * misc/munlockall.c: Likewise.
11071 * misc/munmap.c: Likewise.
11072 * misc/preadv.c: Likewise.
11073 * misc/preadv64.c: Likewise.
11074 * misc/ptrace.c: Likewise.
11075 * misc/pwritev.c: Likewise.
11076 * misc/pwritev64.c: Likewise.
11077 * misc/readv.c: Likewise.
11078 * misc/reboot.c: Likewise.
11079 * misc/remap_file_pages.c: Likewise.
11080 * misc/removexattr.c: Likewise.
11081 * misc/revoke.c: Likewise.
11082 * misc/select.c: Likewise.
11083 * misc/setdomain.c: Likewise.
11084 * misc/setegid.c: Likewise.
11085 * misc/seteuid.c: Likewise.
11086 * misc/sethostid.c: Likewise.
11087 * misc/sethostname.c: Likewise.
11088 * misc/setregid.c: Likewise.
11089 * misc/setreuid.c: Likewise.
11090 * misc/setxattr.c: Likewise.
11091 * misc/sstk.c: Likewise.
11092 * misc/stty.c: Likewise.
11093 * misc/swapoff.c: Likewise.
11094 * misc/swapon.c: Likewise.
11095 * misc/sync.c: Likewise.
11096 * misc/syncfs.c: Likewise.
11097 * misc/syscall.c: Likewise.
11098 * misc/truncate.c: Likewise.
11099 * misc/ualarm.c: Likewise.
11100 * misc/usleep.c: Likewise.
11101 * misc/ustat.c: Likewise.
11102 * misc/utimes.c: Likewise.
11103 * misc/vhangup.c: Likewise.
11104 * misc/writev.c: Likewise.
11105 * posix/_exit.c: Likewise.
11106 * posix/alarm.c: Likewise.
11107 * posix/execve.c: Likewise.
11108 * posix/fexecve.c: Likewise.
11109 * posix/fork.c: Likewise.
11110 * posix/fpathconf.c: Likewise.
11111 * posix/getaddrinfo.c: Likewise.
11112 * posix/getegid.c: Likewise.
11113 * posix/geteuid.c: Likewise.
11114 * posix/getgid.c: Likewise.
11115 * posix/getgroups.c: Likewise.
11116 * posix/getlogin.c: Likewise.
11117 * posix/getlogin_r.c: Likewise.
11118 * posix/getpgid.c: Likewise.
11119 * posix/getpid.c: Likewise.
11120 * posix/getppid.c: Likewise.
11121 * posix/getresgid.c: Likewise.
11122 * posix/getresuid.c: Likewise.
11123 * posix/getsid.c: Likewise.
11124 * posix/getuid.c: Likewise.
11125 * posix/glob64.c: Likewise.
11126 * posix/nanosleep.c: Likewise.
11127 * posix/pathconf.c: Likewise.
11128 * posix/pause.c: Likewise.
11129 * posix/posix_madvise.c: Likewise.
11130 * posix/pread.c: Likewise.
11131 * posix/pread64.c: Likewise.
11132 * posix/pwrite.c: Likewise.
11133 * posix/pwrite64.c: Likewise.
11134 * posix/sched_getaffinity.c: Likewise.
11135 * posix/sched_getp.c: Likewise.
11136 * posix/sched_gets.c: Likewise.
11137 * posix/sched_primax.c: Likewise.
11138 * posix/sched_primin.c: Likewise.
11139 * posix/sched_rr_gi.c: Likewise.
11140 * posix/sched_setaffinity.c: Likewise.
11141 * posix/sched_setp.c: Likewise.
11142 * posix/sched_sets.c: Likewise.
11143 * posix/sched_yield.c: Likewise.
11144 * posix/setgid.c: Likewise.
11145 * posix/setlogin.c: Likewise.
11146 * posix/setpgid.c: Likewise.
11147 * posix/setresgid.c: Likewise.
11148 * posix/setresuid.c: Likewise.
11149 * posix/setsid.c: Likewise.
11150 * posix/setuid.c: Likewise.
11151 * posix/sleep.c: Likewise.
11152 * posix/spawni.c: Likewise.
11153 * posix/sysconf.c: Likewise.
11154 * posix/times.c: Likewise.
11155 * posix/wait.c: Likewise.
11156 * posix/wait3.c: Likewise.
11157 * posix/wait4.c: Likewise.
11158 * posix/waitpid.c: Likewise.
11159 * resolv/gai_sigqueue.c: Likewise.
11160 * resource/getpriority.c: Likewise.
11161 * resource/getrlimit.c: Likewise.
11162 * resource/getrusage.c: Likewise.
11163 * resource/nice.c: Likewise.
11164 * resource/setpriority.c: Likewise.
11165 * resource/setrlimit.c: Likewise.
11166 * resource/ulimit.c: Likewise.
11167 * rt/aio_cancel.c: Likewise.
11168 * rt/aio_fsync.c: Likewise.
11169 * rt/aio_read.c: Likewise.
11170 * rt/aio_sigqueue.c: Likewise.
11171 * rt/aio_suspend.c: Likewise.
11172 * rt/aio_write.c: Likewise.
11173 * rt/clock_getres.c: Likewise.
11174 * rt/clock_gettime.c: Likewise.
11175 * rt/clock_nanosleep.c: Likewise.
11176 * rt/clock_settime.c: Likewise.
11177 * rt/lio_listio.c: Likewise.
11178 * rt/mq_close.c: Likewise.
11179 * rt/mq_getattr.c: Likewise.
11180 * rt/mq_notify.c: Likewise.
11181 * rt/mq_open.c: Likewise.
11182 * rt/mq_receive.c: Likewise.
11183 * rt/mq_send.c: Likewise.
11184 * rt/mq_setattr.c: Likewise.
11185 * rt/mq_timedreceive.c: Likewise.
11186 * rt/mq_timedsend.c: Likewise.
11187 * rt/mq_unlink.c: Likewise.
11188 * rt/shm_open.c: Likewise.
11189 * rt/shm_unlink.c: Likewise.
11190 * rt/timer_create.c: Likewise.
11191 * rt/timer_delete.c: Likewise.
11192 * rt/timer_getoverr.c: Likewise.
11193 * rt/timer_gettime.c: Likewise.
11194 * rt/timer_settime.c: Likewise.
11195 * setjmp/__longjmp.c: Likewise.
11196 * setjmp/setjmp.c: Likewise.
11197 * signal/kill.c: Likewise.
11198 * signal/killpg.c: Likewise.
11199 * signal/raise.c: Likewise.
11200 * signal/sigaction.c: Likewise.
11201 * signal/sigaltstack.c: Likewise.
11202 * signal/sigblock.c: Likewise.
11203 * signal/sigignore.c: Likewise.
11204 * signal/sigintr.c: Likewise.
11205 * signal/signal.c: Likewise.
11206 * signal/sigpause.c: Likewise.
11207 * signal/sigpending.c: Likewise.
11208 * signal/sigqueue.c: Likewise.
11209 * signal/sigreturn.c: Likewise.
11210 * signal/sigset.c: Likewise.
11211 * signal/sigsetmask.c: Likewise.
11212 * signal/sigstack.c: Likewise.
11213 * signal/sigsuspend.c: Likewise.
11214 * signal/sigtimedwait.c: Likewise.
11215 * signal/sigvec.c: Likewise.
11216 * signal/sigwait.c: Likewise.
11217 * signal/sigwaitinfo.c: Likewise.
11218 * signal/sysv_signal.c: Likewise.
11219 * socket/accept.c: Likewise.
11220 * socket/accept4.c: Likewise.
11221 * socket/bind.c: Likewise.
11222 * socket/connect.c: Likewise.
11223 * socket/getpeername.c: Likewise.
11224 * socket/getsockname.c: Likewise.
11225 * socket/getsockopt.c: Likewise.
11226 * socket/isfdtype.c: Likewise.
11227 * socket/listen.c: Likewise.
11228 * socket/recv.c: Likewise.
11229 * socket/recvfrom.c: Likewise.
11230 * socket/recvmsg.c: Likewise.
11231 * socket/send.c: Likewise.
11232 * socket/sendmsg.c: Likewise.
11233 * socket/sendto.c: Likewise.
11234 * socket/setsockopt.c: Likewise.
11235 * socket/shutdown.c: Likewise.
11236 * socket/sockatmark.c: Likewise.
11237 * socket/socket.c: Likewise.
11238 * socket/socketpair.c: Likewise.
11239 * stdio-common/ctermid.c: Likewise.
11240 * stdio-common/cuserid.c: Likewise.
11241 * stdio-common/remove.c: Likewise.
11242 * stdio-common/rename.c: Likewise.
11243 * stdio-common/renameat.c: Likewise.
11244 * stdio-common/tempname.c: Likewise.
11245 * stdlib/getcontext.c: Likewise.
11246 * stdlib/makecontext.c: Likewise.
11247 * stdlib/setcontext.c: Likewise.
11248 * stdlib/swapcontext.c: Likewise.
11249 * stdlib/system.c: Likewise.
11250 * streams/fattach.c: Likewise.
11251 * streams/fdetach.c: Likewise.
11252 * streams/getmsg.c: Likewise.
11253 * streams/getpmsg.c: Likewise.
11254 * streams/putmsg.c: Likewise.
11255 * streams/putpmsg.c: Likewise.
11256 * sysdeps/unix/bsd/getpt.c: Likewise.
11257 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11258 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11259 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11262 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11263 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11264 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11265 * sysvipc/msgctl.c: Likewise.
11266 * sysvipc/msgget.c: Likewise.
11267 * sysvipc/msgrcv.c: Likewise.
11268 * sysvipc/msgsnd.c: Likewise.
11269 * sysvipc/semctl.c: Likewise.
11270 * sysvipc/semget.c: Likewise.
11271 * sysvipc/semop.c: Likewise.
11272 * sysvipc/semtimedop.c: Likewise.
11273 * sysvipc/shmat.c: Likewise.
11274 * sysvipc/shmctl.c: Likewise.
11275 * sysvipc/shmdt.c: Likewise.
11276 * sysvipc/shmget.c: Likewise.
11277 * termios/tcdrain.c: Likewise.
11278 * termios/tcflow.c: Likewise.
11279 * termios/tcflush.c: Likewise.
11280 * termios/tcgetattr.c: Likewise.
11281 * termios/tcgetpgrp.c: Likewise.
11282 * termios/tcsendbrk.c: Likewise.
11283 * termios/tcsetattr.c: Likewise.
11284 * termios/tcsetpgrp.c: Likewise.
11285 * time/adjtime.c: Likewise.
11286 * time/clock.c: Likewise.
11287 * time/getitimer.c: Likewise.
11288 * time/gettimeofday.c: Likewise.
11289 * time/setitimer.c: Likewise.
11290 * time/settimeofday.c: Likewise.
11291 * time/stime.c: Likewise.
11292 * time/time.c: Likewise.
11294 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11296 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11299 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11301 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11303 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11307 FE_TONEAREST before applying Dekker multiplication and Knuth
11308 addition. Clear inexact exceptions and check for exact zero
11309 results afterwards.
11310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11313 * math/libm-test.inc (fma_test): Add more tests.
11314 (fma_test_towardzero): Likewise.
11315 (fma_test_downward): Likewise.
11316 (fma_test_upward): Likewise.
11317 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11319 (libc_fesetround): New macro.
11320 (libc_fesetroundf): Likewise.
11321 (libc_fesetroundl): Likewise.
11322 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11324 (libc_fesetround_387): Likewise.
11325 (libc_fesetroundf): New macro.
11326 (libc_fesetround): Likewise.
11327 (libc_fesetroundl): Likewise.
11328 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11330 (libc_fesetroundf): New macro.
11331 (libc_fesetround): Likewise.
11332 (libc_fesetroundl): Likewise.
11333 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11334 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11335 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11337 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11338 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11340 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11341 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11343 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11347 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11348 integer constant usable in #if and use that to give value to enum
11350 (FE_DIVBYZERO): Likewise.
11351 (FE_UNDERFLOW): Likewise.
11352 (FE_OVERFLOW): Likewise.
11353 (FE_INVALID): Likewise.
11354 (FE_INVALID_SNAN): Likewise.
11355 (FE_INVALID_ISI): Likewise.
11356 (FE_INVALID_IDI): Likewise.
11357 (FE_INVALID_ZDZ): Likewise.
11358 (FE_INVALID_IMZ): Likewise.
11359 (FE_INVALID_COMPARE): Likewise.
11360 (FE_INVALID_SOFTWARE): Likewise.
11361 (FE_INVALID_SQRT): Likewise.
11362 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11363 (FE_TONEAREST): Likewise.
11364 (FE_TOWARDZERO): Likewise.
11365 (FE_UPWARD): Likewise.
11366 (FE_DOWNWARD): Likewise.
11367 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11368 (FE_DIVBYZERO): Likewise.
11369 (FE_OVERFLOW): Likewise.
11370 (FE_UNDERFLOW): Likewise.
11371 (FE_INEXACT): Likewise.
11372 (FE_TONEAREST): Likewise.
11373 (FE_DOWNWARD): Likewise.
11374 (FE_UPWARD): Likewise.
11375 (FE_TOWARDZERO): Likewise.
11376 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11377 (FE_UNDERFLOW): Likewise.
11378 (FE_OVERFLOW): Likewise.
11379 (FE_DIVBYZERO): Likewise.
11380 (FE_INVALID): Likewise.
11381 (FE_TONEAREST): Likewise.
11382 (FE_TOWARDZERO): Likewise.
11383 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11384 (FE_OVERFLOW): Likewise.
11385 (FE_UNDERFLOW): Likewise.
11386 (FE_DIVBYZERO): Likewise.
11387 (FE_INEXACT): Likewise.
11388 (FE_TONEAREST): Likewise.
11389 (FE_TOWARDZERO): Likewise.
11390 (FE_UPWARD): Likewise.
11391 (FE_DOWNWARD): Likewise.
11392 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11393 (FE_DIVBYZERO): Likewise.
11394 (FE_OVERFLOW): Likewise.
11395 (FE_UNDERFLOW): Likewise.
11396 (FE_INEXACT): Likewise.
11397 (FE_TONEAREST): Likewise.
11398 (FE_DOWNWARD): Likewise.
11399 (FE_UPWARD): Likewise.
11400 (FE_TOWARDZERO): Likewise.
11402 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11404 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11406 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11408 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11409 commands. Quote $PWD.
11410 (blacklist_exports): Don't use remove_newlines. Replace "declare
11412 (remove_newlines): Remove.
11414 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11416 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11417 * stdlib/stdlib.h (atof): Moved to ...
11418 * include/bits/stdlib-float.h: Here. New file.
11419 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11420 * stdlib/bits/stdlib-float.h: New file.
11421 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11426 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11428 * conform/conformtest.pl (@headers): Add fenv.h.
11429 * conform/data/fenv.h-data: New file.
11430 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11431 include of <math/fenv.h>.
11433 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11434 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11435 && !UNIX98]. Enables tests for XOPEN2K8.
11436 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11437 POSIX2008]: Likewise.
11439 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11440 (struct rusage): Do not expect type or its members.
11443 * math/math.h (FP_NAN): Define macro to integer constant usable in
11444 #if and use that to give value to enum constant.
11445 (FP_INFINITE): Likewise.
11446 (FP_ZERO): Likewise.
11447 (FP_SUBNORMAL): Likewise.
11448 (FP_NORMAL): Likewise.
11450 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11452 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11453 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11456 2012-11-02 Roland McGrath <roland@hack.frob.com>
11458 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11459 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11460 autoconf-time if not.
11461 * configure.in: Remove AC_PREREQ.
11463 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11465 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11466 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11467 of the internal implementation.
11469 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11471 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11472 except include of <misc/sys/syslog.h>.
11474 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11477 function returns with a NULL context exit with zero.
11479 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11481 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11483 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11485 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11486 (run_program_cmd): This.
11487 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11488 (tst_langinfo): New variable. Use it.
11490 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11492 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11493 floating point opcodes.
11495 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11497 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11500 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11502 * sysdeps/mach/hurd/powerpc: Remove directory.
11503 * sysdeps/mach/powerpc: Likewise.
11505 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11507 * scripts/check-local-headers.sh: Ignore c++ headers.
11509 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11511 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11512 __libc_cleanup_region_start argument.
11514 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11519 x * y using scaling, not as x * y + z.
11520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11522 * math/libm-test.inc (fma_test): Add more tests.
11523 (fma_test_towardzero): Likewise.
11524 (fma_test_downward): Likewise.
11525 (fma_test_upward): Likewise.
11527 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11529 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11531 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11533 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11536 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11538 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11540 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11547 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11550 Fix the order of the list for glibc 2.17.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11554 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11558 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11562 for low part of x being zero before using __atanl (y).
11563 * math/libm-test.inc (atan2_test): Add another test.
11565 * manual/install.texi (Configuring and compiling): Document
11566 general use of test-wrapper and test-wrapper-env.
11567 * INSTALL: Regenerated.
11569 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11570 (__fma): Do not extract and scale down low bits on after-rounding
11571 systems when result rounded to normal precision would have normal
11573 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11574 (__fmal): Do not extract and scale down low bits on after-rounding
11575 systems when result rounded to normal precision would have normal
11577 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11578 (__fmal): Do not extract and scale down low bits on after-rounding
11579 systems when result rounded to normal precision would have normal
11581 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11583 (fma_test): Add more tests.
11584 (fma_test_towardzero): Likewise.
11585 (fma_test_downward): Likewise.
11586 (fma_test_upward): Likewise.
11588 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11590 * sysdeps/i386/tininess.h: Renamed to ...
11591 * sysdeps/x86/tininess.h: This.
11592 * sysdeps/x86_64/tininess.h: Removed.
11594 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11596 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11597 input. Use $(build-program-cmd).
11598 ($(objpfx)tst-array1-static.out): Likewise.
11599 ($(objpfx)tst-array2.out): Likewise.
11600 ($(objpfx)tst-array3.out): Likewise.
11601 ($(objpfx)tst-array4.out): Likewise.
11602 ($(objpfx)tst-array5.out): Likewise.
11603 ($(objpfx)tst-array5-static.out): Likewise.
11605 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11607 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11610 * nss/nsswitch.h (nss_interface_function): Provide new
11611 macro for use with NSS functions.
11612 * grp/initgroups.c: Use new macro.
11613 * nss/getXXbyYY.c: Likewise.
11614 * nss/getXXbyYY_r.c: Likewise.
11615 * nss/getXXent.c: Likewise.
11616 * nss/getXXent_r.c: Likewise.
11617 * sysdeps/posix/getaddrinfo.c: Likewise.
11619 2012-10-30 Andreas Jaeger <aj@suse.de>
11621 * po/ru.po: Update Russion translation from translation project.
11623 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11628 result and shift together with sticky bit instead of replicating
11629 round-to-nearest rounding.
11630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11632 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11633 missing underflow exceptions.
11634 (fma_test_towardzero): Add more tests.
11635 (fma_test_downward): Likewise.
11636 (fma_test_upward): Likewise.
11639 * sysdeps/generic/tininess.h: New file.
11640 * sysdeps/i386/tininess.h: Likewise.
11641 * sysdeps/sh/tininess.h: Likewise.
11642 * sysdeps/x86_64/tininess.h: Likewise.
11643 * stdlib/tst-strtod-underflow.c: Likewise.
11644 * stdlib/tst-tininess.c: Likewise.
11645 * stdlib/strtod_l.c: Include <tininess.h>.
11646 (round_and_return): Do not set errno for exact underflow cases.
11647 Force an underflow exception when setting errno for underflow.
11648 Determine underflow based on rounding to normal precision if
11649 TININESS_AFTER_ROUNDING.
11650 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11651 ERANGE for exact underflow cases.
11652 * stdlib/Makefile (tests): Add tst-tininess and
11653 tst-strtod-underflow.
11654 ($(objpfx)tst-tininess): Use $(link-libm).
11655 ($(objpfx)tst-strtod-underflow): Likewise.
11657 2012-10-30 Andreas Jaeger <aj@suse.de>
11660 * elf/Makefile (tests): Remove conditional for have-initfini-array
11661 since this is now always required and the variable does not exist
11663 (tests-static): Likewise.
11664 (modules-names): Likewise.
11666 * po/eo.po: Add Esperanto translation from translation project.
11668 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11669 merged with constructor/destructor.
11670 (init_array): Likewise.
11671 * elf/tst-array2dep.c (fini_array): Likewise.
11672 (init_array): Likewise.
11674 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11676 * manual/message.texi: Delete @cartouche tags.
11678 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11680 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11682 * sysdeps/mach/hurd/fsync.c: Likewise.
11684 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11685 [_POSIX_REALTIME_SIGNALS]: Change condition to
11686 [_POSIX_REALTIME_SIGNALS > 0].
11688 2012-10-27 Andreas Jaeger <aj@suse.de>
11690 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11691 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11693 [__WORDSIZE != 64]: Likewise.
11695 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11697 * iconvdata/tst-table.sh: Remove ${SHELL}.
11698 * iconvdata/tst-tables.sh: Likewise.
11700 2012-10-25 David S. Miller <davem@davemloft.net>
11702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11703 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11709 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11710 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11713 2012-10-25 Roland McGrath <roland@hack.frob.com>
11715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11716 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11719 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11720 Jim Blandy <jimb@codesourcery.com>
11722 * scripts/cross-test-ssh.sh: New file.
11723 * manual/install.texi (Configuring and compiling): Document use of
11725 * INSTALL: Regenerated.
11727 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11729 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11732 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11734 * Makeconfig (run-program-prefix): Fix comment.
11736 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11737 Jim Blandy <jimb@codesourcery.com>
11739 * Makeconfig (test-wrapper): New variable,
11740 (test-wrapper-env): Likewise.
11741 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11742 (run-built-tests): Define to yes.
11743 (run-program-prefix): Use $(test-wrapper).
11744 (built-program-cmd): Likewise.
11745 * Rules (make-test-out): Use $(test-wrapper-env) and
11746 $(host-built-program-cmd).
11747 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11748 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11750 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11751 $(test-wrapper-env) to tst-rtld-load-self.sh.
11752 ($(objpfx)order2.out): Use $(test-wrapper).
11753 ($(objpfx)tst-initorder.out): Likewise.
11754 ($(objpfx)tst-initorder2.out): Likewise.
11755 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11756 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11757 (test_wrapper_env): New variable. Use it to run ld.so.
11758 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11759 Use it to run ld.so.
11760 (test_wrapper_env): Likewise.
11761 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11762 $(test-wrapper) to run-iconv-test.sh.
11763 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11764 (ICONV): Use $test_wrapper.
11765 * posix/Makefile ($(objpfx)globtest.out): Pass
11766 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11767 globtest.sh, not $(run-program-prefix).
11768 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11769 (test_wrapper): Likewise.
11770 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11771 set together with run_via_rtld_prefix.
11772 (run_program_prefix): Define in terms of test_wrapper and
11773 run_via_rtld_prefix.
11775 2012-10-24 Roland McGrath <roland@hack.frob.com>
11777 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11778 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11782 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11783 Declare __clock_getres, __clock_gettime, __clock_settime,
11784 __clock_nanosleep, and __clock_getcpuclockid.
11785 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11786 Remove librt_hidden_def (clock_gettime).
11787 * sysdeps/unix/clock_gettime.c: Likewise.
11788 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11789 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11790 * rt/clock_getres.c: Define __clock_getres as an alias.
11791 * sysdeps/posix/clock_getres.c: Likewise.
11792 * rt/clock_settime.c: Define __clock_settime as an alias.
11793 * sysdeps/unix/clock_settime.c: Likewise.
11794 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11795 * sysdeps/unix/clock_nanosleep.c: Likewise.
11796 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11797 * rt/clock-compat.c: New file.
11798 * rt/Makefile (librt-routines): Add clock-compat and move
11799 $(clock-routines) to ...
11800 (routines): ... here, new variable.
11801 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11802 Don't add get_clockfreq here.
11803 * rt/Versions (libc: GLIBC_2.17): New version set.
11804 Add clock_* symbols here.
11805 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11807 (GLIBC_2.17): Add clock_* symbols.
11808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11819 * NEWS: Mention the move.
11821 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11822 Use __open, __read, __close rather than their public counterparts.
11823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11824 (__get_clockfreq_via_cpuinfo): Likewise.
11825 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11826 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11828 * config.h.in (HAVE_IFUNC): New #undef.
11829 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11831 * configure: Regenerated.
11833 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11835 * configure.in: Move READELF check to start of file.
11836 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11837 libc_cv_asm_gnu_indirect_function in the process.
11838 * configure: Regenerated.
11840 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11842 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11843 send the output to /dev/null.
11844 (libc_cv_cc_with_libunwind): Likewise.
11845 (libc_cv_as_noexecstack): Likewise.
11846 * configure: Regenerate.
11848 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11850 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11852 * posix/globtest.sh (TMPDIR): Do not set.
11853 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11854 (testout): Likewise.
11856 2012-10-24 Andreas Jaeger <aj@suse.de>
11858 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11859 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11860 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11861 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11862 posix_fadvise64, posix_fallocate64.
11864 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11865 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11866 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11868 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11870 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11873 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11874 <bits/fcntl-linux.h>.
11875 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11878 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11879 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11880 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11881 [__WORDSIZE != 64]: Likewise.
11883 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11885 * Makeconfig (run-built-tests): New variable.
11886 * Rules [$(cross-compiling) = yes]: Change condition to
11887 [$(run-built-tests) = no].
11888 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11889 to [$(run-built-tests) = yes].
11890 * elf/Makefile [$(cross-compiling) = no]: Likewise
11891 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11892 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11893 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11894 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11895 * io/Makefile [$(cross-compiling) = no]: Likewise.
11896 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11897 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11898 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11899 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11900 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11901 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11902 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11903 * string/Makefile [$(cross-compiling) = no]: Likewise.
11905 * posix/Makefile ($(objpfx)globtest.out): Pass
11906 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11907 $(rtld-installed-name).
11908 * posix/globtest.sh (elf_objpfx): Remove variable.
11909 (rtld_installed_name): Likewise.
11910 (library_path): Likewise.
11911 (run_program_prefix): New variable. Use for running globtest
11914 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11915 Joseph Myers <joseph@codesourcery.com>
11917 * Makeconfig (host-built-program-cmd): New variable.
11918 * elf/Makefile (tst-stackguard1-ARGS): Use
11919 $(host-built-program-cmd).
11920 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11921 (tst-spawn-ARGS): Likewise.
11922 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11924 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11925 Jim Blandy <jimb@codesourcery.com>
11927 * Makeconfig (run-via-rtld-prefix): New variable.
11928 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11929 (built-program-cmd): Likewise.
11931 2012-10-22 Andreas Jaeger <aj@suse.de>
11933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11934 __O_RSYNC if it exists, otherwise to O_SYNC.
11936 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11937 Joseph Myers <joseph@codesourcery.com>
11939 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11941 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11943 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11946 2012-10-22 Andreas Jaeger <aj@suse.de>
11948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11953 bits/fcntl-linux.h.
11955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11956 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11963 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11964 Joseph Myers <joseph@codesourcery.com>
11966 * config.make.in (NM): New variable.
11968 2012-10-21 Andreas Jaeger <aj@suse.de>
11970 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11971 definitions and declarations that are provided by
11972 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11974 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11977 * elf/Makefile (tests-static): Add tst-leaks1-static.
11978 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11979 ($(objpfx)tst-leaks1-static): New rule.
11980 ($(objpfx)tst-leaks1-static-mem): Likewise.
11981 (tst-leaks1-static-ENV): New macro.
11982 * elf/dl-open.c (dl_open_worker): Check the main application
11983 only if SHARED is defined.
11984 * elf/tst-leaks1-static.c: New file.
11986 2012-10-20 Andreas Jaeger <aj@suse.de>
11988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11989 generic values for Linux.
11990 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11991 and declarations that are provided by <bits/fcntl-linux.h> and
11992 include <bits/fcntl-linux.h>.
11993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11996 2012-10-20 Roland McGrath <roland@hack.frob.com>
11998 * io/fcntl.h: Move include of <bits/types.h> to the top and
11999 include it unconditionally.
12001 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12003 * wcsmbs/Makefile (tests-ifunc): New variable.
12004 (tests): Add $(tests-ifunc).
12005 * wcsmbs/test-wcschr-ifunc.c: New file.
12006 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12007 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12008 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12009 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12010 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12012 * string/Makefile (tests-ifunc): New variable.
12013 (tests): Add $(tests-ifunc).
12014 * string/test-memccpy.c (TEST_NAME): New macro.
12015 * string/test-memchr.c (TEST_NAME): Likewise.
12016 * string/test-memcmp.c (TEST_NAME): Likewise.
12017 * string/test-memcpy.c (TEST_NAME): Likewise.
12018 * string/test-memmem.c (TEST_NAME): Likewise.
12019 * string/test-memmove.c (TEST_NAME): Likewise.
12020 * string/test-memset.c (TEST_NAME): Likewise.
12021 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12022 * string/test-stpcpy.c (TEST_NAME): Likewise.
12023 * string/test-stpncpy.c (TEST_NAME): Likewise.
12024 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12025 * string/test-strcasestr.c (TEST_NAME): Likewise.
12026 * string/test-strcat.c (TEST_NAME): Likewise.
12027 * string/test-strchr.c (TEST_NAME): Likewise.
12028 * string/test-strcmp.c(TEST_NAME): Likewise.
12029 * string/test-strcpy.c (TEST_NAME): Likewise.
12030 * string/test-strcspn.c (TEST_NAME): Likewise.
12031 * string/test-strlen.c (TEST_NAME): Likewise.
12032 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12033 * string/test-strncmp.c (TEST_NAME): Likewise.
12034 * string/test-strncpy.c (TEST_NAME): Likewise.
12035 * string/test-strnlen.c (TEST_NAME): Likewise.
12036 * string/test-strpbrk.c (TEST_NAME): Likewise.
12037 * string/test-strrchr.c (TEST_NAME): Likewise.
12038 * string/test-strspn.c (TEST_NAME): Likewise.
12039 * string/test-strstr.c (TEST_NAME): Likewise.
12040 * string/test-bcopy-ifunc.c: New file.
12041 * string/test-bzero-ifunc.c: Likewise.
12042 * string/test-memccpy-ifunc.c: Likewise.
12043 * string/test-memchr-ifunc.c: Likewise.
12044 * string/test-memcmp-ifunc.c: Likewise.
12045 * string/test-memcpy-ifunc.c: Likewise.
12046 * string/test-memmem-ifunc.c: Likewise.
12047 * string/test-memmove-ifunc.c: Likewise.
12048 * string/test-mempcpy-ifunc.c: Likewise.
12049 * string/test-memset-ifunc.c: Likewise.
12050 * string/test-rawmemchr-ifunc.c: Likewise.
12051 * string/test-stpcpy-ifunc.c: Likewise.
12052 * string/test-stpncpy-ifunc.c: Likewise.
12053 * string/test-strcasecmp-ifunc.c: Likewise.
12054 * string/test-strcasestr-ifunc.c: Likewise.
12055 * string/test-strcat-ifunc.c: Likewise.
12056 * string/test-strchr-ifunc.c: Likewise.
12057 * string/test-strchrnul-ifunc.c: Likewise.
12058 * string/test-strcmp-ifunc.c: Likewise.
12059 * string/test-strcpy-ifunc.c: Likewise.
12060 * string/test-strcspn-ifunc.c: Likewise.
12061 * string/test-strlen-ifunc.c: Likewise.
12062 * string/test-strncasecmp-ifunc.c: Likewise.
12063 * string/test-strncat-ifunc.c: Likewise.
12064 * string/test-strncmp-ifunc.c: Likewise.
12065 * string/test-strncpy-ifunc.c: Likewise.
12066 * string/test-strnlen-ifunc.c: Likewise.
12067 * string/test-strpbrk-ifunc.c: Likewise.
12068 * string/test-strrchr-ifunc.c: Likewise.
12069 * string/test-strspn-ifunc.c: Likewise.
12070 * string/test-strstr-ifunc.c: Likewise.
12072 * debug/Makefile (tests-ifunc): New variable.
12073 (tests): Add $(tests-ifunc).
12074 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12075 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12076 * debug/test-stpcpy_chk-ifunc.c: New file.
12077 * debug/test-strcpy_chk-ifunc.c: Likewise.
12079 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12082 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12083 header is not read in.
12085 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12087 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12088 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12089 directly. Pass built executable to script as
12090 $(built-program-cmd).
12091 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12092 $testprogram without using LD_LIBRARY_PATH and $ldso.
12094 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12095 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12096 $(rtld-installed-name).
12097 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12098 (rtld_installed_name): Likewise.
12099 (library_path): Likewise.
12100 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12101 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12102 $(run-program-prefix) to tst-tables.sh.
12103 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12104 it to run tst-table-from and tst-table-to.
12105 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12106 Pass it to tst-table.sh.
12107 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12108 $(run-program-prefix) to tst-gettext.sh.
12109 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12111 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12113 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12114 to run tst-gettext.
12115 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12116 to run tst-gettext2.
12117 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12118 to run tst-translit.
12119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12120 $(run-program-prefix) to tst-mtrace.sh.
12121 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12123 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12124 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12125 $(rtld-installed-name).
12126 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12127 (rtld_installed_name): Likewise.
12128 (run_program_prefix): New variable. Use it to run wordexp-test.
12130 * Makeconfig (ARCH): Remove all definitions.
12131 (machine): Likewise.
12132 [ARCH]: Remove conditional code.
12133 [!objdir]: Give error.
12134 [!objdir] (objpfx): Remove.
12135 [!objdir] (common-objpfx): Likewise.
12136 [!objdir] (common-objdir): Likewise.
12137 * configure.in (config_makefile): Remove. Hardcode Makefile in
12138 AC_CONFIG_FILES call.
12139 * configure: Regenerated.
12142 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12144 (testout): Likewise.
12146 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12147 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12148 $(rtld-installed-name).
12149 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12150 (rtld_installed_name): Likwise.
12151 (runit): Remove function.
12152 (run_getconf): New variable, Use it for running getconf binary.
12154 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12157 * string/test-memmem.c (check_result): New function.
12158 (do_one_test): Use it.
12159 (check1): New function.
12160 (test_main): Use it.
12162 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12164 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12166 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12168 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12169 (_G_LSEEK64): Likewise.
12170 (_G_MMAP64): Likewise.
12171 (_G_FSTAT64): Likewise.
12172 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12173 (_G_LSEEK64): Likewise.
12174 (_G_MMAP64): Likewise.
12175 (_G_FSTAT64): Likewise.
12176 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12177 unconditional. Call __mmap64 directly.
12178 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12179 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12180 __lseek64 directly.
12181 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12182 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12184 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12185 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12186 __lseek64 directly.
12187 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12188 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12189 __lseek64 directly.
12190 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12191 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12192 __lseek64 directly.
12193 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12194 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12195 __fxstat64 directly.
12196 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12197 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12199 (freopen64) [!_G_OPEN64]: Remove conditional code.
12200 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12202 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12203 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12205 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12206 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12208 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12209 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12211 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12212 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12214 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12215 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12217 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12218 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12220 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12222 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12225 * manual/memory.texi (Malloc Tunable Parameters): Add note
12226 about free list pointers overwriting some perturb bytes.
12227 Wording suggested by Roland McGrath.
12229 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12231 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12232 (lgamma_test): Likewise.
12233 (tgamma_test): Likewise.
12235 2012-10-16 Florian Weimer <fweimer@redhat.com>
12238 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12239 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12241 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12243 * NEWS: Mention BZ #14716.
12244 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12245 when removing AVAILABLE1_USES_J macro.
12247 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12249 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12250 (__bswap_64): __uint64_t for unsigned 64-bit int.
12252 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12254 * include/string.h (memmem): Declare libc hidden alias.
12255 * string/memmem.c (memmem): Define libc hidden alias.
12256 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12257 __read, __close instead of open, read, close.
12259 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12262 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12264 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12265 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12266 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12268 (__rawmemchr_sse2): Likewise.
12269 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12270 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12271 (__strchr_sse2): Likewise.
12272 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12273 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12274 (__strcasecmp_sse2): Likewise.
12275 (__strncasecmp_sse2): Likewise.
12276 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12277 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12278 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12279 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12280 (__strrchr_sse2): Likewise.
12281 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12283 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12284 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12285 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12286 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12287 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12288 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12291 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12292 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12293 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12295 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12296 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12297 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12298 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12299 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12300 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12301 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12302 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12303 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12304 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12305 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12306 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12307 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12308 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12309 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12310 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12311 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12312 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12314 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12316 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12317 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12318 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12319 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12321 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12323 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12324 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12325 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12326 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12328 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12343 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12344 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12345 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12346 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12347 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12348 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12350 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12351 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12353 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12360 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12361 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12362 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12363 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12364 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12365 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12366 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12367 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12368 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12370 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12371 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12372 * include/ifunc-impl-list.h: New file.
12373 * misc/ifunc-impl-list.c: Likewise.
12374 * misc/Makefile (routines): Add ifunc-impl-list.
12375 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12376 * string/test-string.h: Include <ifunc-impl-list.h>.
12377 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12378 impl_array): New variables.
12379 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12381 (test_init): Call __libc_ifunc_impl_list to initialize
12382 func_list if TEST_IFUNC and TEST_NAME are defined.
12384 * string/Makefile (strop-tests): Add bcopy and bzero.
12385 * string/test-bcopy.c: New file.
12386 * string/test-bzero.c: Likewise.
12387 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12389 * string/test-memset.c: Support bzero test if TEST_BZERO is
12391 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12393 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12395 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12398 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12400 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12401 * configure: Regenerated.
12403 * Makeconfig (+link-static-before-libc): Don't include
12404 $(link-static-libc).
12406 * libio/libio.h (_IO_pos_t): Remove.
12408 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12410 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12413 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12415 * crypt/crypt-entry.c: Include fips-private.h.
12416 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12417 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12418 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12419 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12421 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12423 * crypt/crypt-private.h: Include stdbool.h.
12424 (_ufc_setup_salt_r): Return bool.
12425 * crypt/crypt-entry.c: Include errno.h.
12426 (__crypt_r): Return NULL with EINVAL for bad salt.
12427 * crypt/crypt_util.c (bad_for_salt): New.
12428 (_ufc_setup_salt_r): Check that salt is long enough and within
12429 the specified alphabet.
12430 * crypt/badsalttest.c: New file.
12431 * crypt/Makefile (tests): Add it.
12432 ($(objpfx)badsalttest): New.
12434 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12436 * NEWS: Add entry for BZ #14602.
12438 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12440 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12442 * math/libm-test.inc: Update comment listing what functions and
12444 (isgreater_test): New function.
12445 (isgreaterequal_test): Likewise.
12446 (isless_test): Likewise.
12447 (islessequal_test): Likewise.
12448 (islessgreater_test): Likewise.
12449 (isunordered_test): Likewise.
12450 (main): Call the new functions.
12452 2012-10-09 Roland McGrath <roland@hack.frob.com>
12454 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12455 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12456 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12457 * sysdeps/i386/configure: Regenerated.
12458 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12459 * sysdeps/mach/configure: Regenerated.
12460 * sysdeps/mach/hurd/configure: Regenerated.
12461 * sysdeps/powerpc/configure: Regenerated.
12462 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12463 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12464 * sysdeps/s390/s390-32/configure: Regenerated.
12465 * sysdeps/s390/s390-64/configure: Regenerated.
12466 * sysdeps/sh/configure: Regenerated.
12467 * sysdeps/sparc/configure: Regenerated.
12468 * sysdeps/unix/sysv/linux/configure: Regenerated.
12469 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12470 * sysdeps/x86_64/configure: Regenerated.
12472 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12473 defined. Don't check if MAP is NULL.
12475 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12477 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12478 (_G_stat64): Likewise.
12479 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12480 (_G_stat64): Likewise.
12481 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12482 instead of struct _G_stat64.
12483 * libio/fileops.c (mmap_remap_check): Likewise.
12484 (decide_maybe_mmap): Likewise.
12485 (_IO_new_file_seekoff): Likewise.
12486 (_IO_file_stat): Likewise.
12487 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12489 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12490 instead of struct _G_stat64.
12491 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12493 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12496 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12498 (CHECK_EOL): New macro.
12499 (two_way_short_needle): Check beginning of haystack for EOL. Use
12501 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12502 Replace with CHECK_EOL.
12503 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12504 Replace with CHECK_EOL.
12506 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12508 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12510 * math/libm-test.inc: Update comment listing what functions and
12512 (finite_test): New function.
12513 (isinf_test): Likewise.
12514 (isnan_test): Likewise.
12515 (fpclassify_test): Test subnormal input.
12516 (isfinite_test): Likewise.
12517 (isnormal_test): Likewise.
12518 (main): Call the new functions.
12520 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12523 * Makerules (%.dynsym): Force C locale when running
12524 $(OBJDUMP) --dynamic-syms.
12526 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12528 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12531 2012-10-06 David S. Miller <davem@davemloft.net>
12533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12534 upper 32-bits of the length value in %o2 since we use branch-on-register
12535 tests which consider the entire 64-bit register.
12537 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12539 * string/test-strstr.c (check2): Add a test for page boundary.
12541 2012-10-05 David S. Miller <davem@davemloft.net>
12543 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12544 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12546 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12548 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12549 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12550 and bzero when HWCAP_SPARC_CRYPTO is present.
12552 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12555 * string/test-strstr.c (check2): New function.
12556 (test_main): Call check2.
12558 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12560 * string/bug-strcasestr1.c (do_test): Moved to ...
12561 * string/test-strcasestr.c (check1): Here. New function.
12562 (do_one_test): Break out result checking code into ...
12563 (check_result): This. New function.
12564 (do_one_test): Call check_result.
12565 (test_main): Call check1.
12566 * string/bug-strchr1.c (do_test): Moved to ...
12567 * string/test-strchr.c (check1): Here. New function.
12568 (do_one_test): Break out result checking code into ...
12569 (check_result): This. New function.
12570 (do_one_test): Call check_result.
12571 (test_main): Call check1.
12572 * string/bug-strstr1.c (main): Moved to ...
12573 * string/test-strstr.c (check1): Here. New function.
12574 (do_one_test): Break out result checking code into ...
12575 (check_result): This. New function.
12576 (do_one_test): Call check_result.
12577 (test_main): Call check1.
12578 * string/bug-strcasestr1.c: Removed.
12579 * string/bug-strchr1.c: Likewise.
12580 * string/bug-strstr1.c: Likewise.
12582 * elf/Makefile (dl-routines): Add hwcaps.
12583 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12584 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12585 (_dl_important_hwcaps): Moved to ...
12586 * elf/dl-hwcaps.c: Here. New file.
12587 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12590 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12591 if IS_IN_rtld isn't defined.
12593 * elf/dl-support.c (_dl_sysinfo_map): New.
12594 Include "get-dynamic-info.h" and "setup-vdso.h".
12595 (_dl_non_dynamic_init): Call setup_vdso.
12596 * elf/dynamic-link.h: Don't include <assert.h>.
12597 (elf_get_dynamic_info): Moved to ...
12598 * elf/get-dynamic-info.h: Here. New file.
12599 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12600 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12601 * elf/setup-vdso.h: Here. New file.
12602 * elf/rtld.c: Include "setup-vdso.h".
12603 (dl_main): Call setup_vdso.
12605 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12607 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12608 creal in comment listing functions tested. List finite, isinf,
12609 isnan, isless, islessequal, isgreater, isgreaterequal,
12610 islessgreater, isunordered, lgamma_r and pow10 as functions and
12611 macros not tested. Mention which functions not tested are aliases
12612 for other functions. Fix typo. Note that signs of NaNs are not
12615 * scripts/config.guess: Update from config.git.
12616 * scripts/config.sub: Likewise.
12618 2012-10-04 Roland McGrath <roland@hack.frob.com>
12620 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12621 * misc/madvise.c (madvise): Renamed to __madvise.
12622 Make madvise a weak alias.
12623 * include/sys/mman.h: Declare __madvise.
12624 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12625 * sysdeps/unix/syscalls.list
12626 (madvise): Make __madvise the strong name, and madvise a weak alias.
12627 * sysdeps/unix/sysv/linux/syscalls.list
12628 (madvise, mmap): Remove redundant entries.
12629 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12630 * malloc/malloc.c (mtrim): Likewise.
12631 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12633 2012-10-03 Roland McGrath <roland@hack.frob.com>
12635 * sysdeps/mach/hurd/dl-cache.c: File removed.
12636 * config.h.in (USE_LDCONFIG): New #undef.
12637 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12638 * configure: Regenerated.
12639 * elf/Makefile (dl-routines): Add dl-cache only under
12640 [$(use-ldconfig) = yes].
12641 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12642 cache on [USE_LDCONFIG].
12643 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12645 * elf/rtld.c (dl_main): Likewise.
12647 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12649 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12650 _SC_LEVEL4_CACHE_LINESIZE.
12652 2012-10-03 Roland McGrath <roland@hack.frob.com>
12654 * sysdeps/unix/bsd/confstr.h: File removed.
12656 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12658 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12661 2012-10-02 Roland McGrath <roland@hack.frob.com>
12663 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12664 Make 'mapoff' field ElfW(Off) rather than off_t.
12666 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12668 * nscd/Makefile: Remove nscd-cflags and all its users.
12669 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12670 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12673 * malloc.c (malloc_printerr): Clarify error message.
12675 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12679 Set bit_FMA_Usable if FMA is supported.
12680 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12682 (bit_FMA4_Usable): Updated.
12683 (index_FMA_Usable): New macro.
12684 (CPUID_FMA): Likewise
12685 (HAS_FMA): Defined with bit_FMA_Usable.
12687 2012-10-01 Roland McGrath <roland@hack.frob.com>
12689 * bits/types.h (__swblk_t): Type removed.
12690 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12691 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12693 (__SWBLK_T_TYPE): Likewise.
12694 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12695 (__SWBLK_T_TYPE): Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12697 (__SWBLK_T_TYPE): Likewise.
12698 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12699 (__SWBLK_T_TYPE): Likewise.
12701 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12702 Honza Horak <hhorak@redhat.com>
12704 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12705 (xdr_mapname): Use YPMAXMAP as maxsize.
12706 (xdr_peername): Use YPMAXPEER as maxsize.
12707 (xdr_keydat): Use YPAXRECORD as maxsize.
12708 (xdr_valdat): Use YPMAXRECORD as maxsize.
12710 2012-10-01 Roland McGrath <roland@hack.frob.com>
12712 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12714 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12715 * csu/init-first.c: ... here.
12716 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12717 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12718 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12719 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12720 * sysdeps/i386/init-first.c: File removed.
12721 * sysdeps/sh/init-first.c: File removed.
12723 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12727 if x * y might underflow to zero and z is zero.
12728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12729 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12730 * math/libm-test.inc (min_subnorm_value): New variable.
12731 (fma_test): Add more tests.
12732 (fma_test_towardzero): Likewise.
12733 (fma_test_downward): Likewise
12734 (fma_test_upward): Likewise.
12735 (initialize): Set min_subnorm_value.
12737 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12742 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12743 mode for addition resulting in exact zero.
12744 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12747 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12749 * math/libm-test.inc (fma_test): Add more tests.
12750 (fma_test_towardzero): New function.
12751 (fma_test_downward): Likewise.
12752 (fma_test_upward): Likewise.
12753 (main): Call the new functions.
12755 2012-09-28 David S. Miller <davem@davemloft.net>
12757 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12759 2012-09-28 Roland McGrath <roland@hack.frob.com>
12761 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12762 instead of SIGALRM.
12764 * sysdeps/gnu/_G_config.h: Moved to ...
12765 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12766 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12767 * sysdeps/generic/_G_config.h: ... here.
12769 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12771 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12773 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12774 Conditionalize target on [libnss_test1.so-version].
12776 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12778 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12779 (elfobjdir): Move out of conditionals.
12781 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12782 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12783 (__nss_lookup_function): Conditionalize label remove_from_tree on
12784 [!DO_STATIC_NSS || SHARED], matching its only use.
12786 2012-09-28 David S. Miller <davem@davemloft.net>
12788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12789 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12791 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12795 when HWCAP_SPARC_CRYPTO is present.
12797 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12799 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12801 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12804 * stdio-common/vfprintf.c (process_string_arg): Revert
12807 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12809 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12811 * stdio-common/tst-sprintf.c: Include <locale.h>
12812 (main): Test sprintf's handling of incomplete multibyte
12815 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12817 * elf/dl-runtime.c (VERSYMIDX): Removed.
12818 * elf/dl-version.c (VERSYMIDX): Likewise.
12819 * elf/do-rel.h (VERSYMIDX): Likewise.
12820 (VALIDX): Likewise.
12821 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12822 * elf/rtld.c (VALIDX): Likewise.
12823 (ADDRIDX): Likewise.
12824 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12825 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12826 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12827 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12828 (VALIDX): Likewise.
12829 (ADDRIDX): Likewise.
12831 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12833 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12835 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12838 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12840 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12841 addresses are in the same scope as 192.0.2/24.
12842 * posix/gai.conf: Document new scope table defaults.
12844 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12847 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12848 for ftell. Compute offsets from write pointers instead.
12849 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12851 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12854 * libio/Makefile (tests): New test case tst-fseek.
12855 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12856 combination works in wide mode.
12857 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12858 state when the external buffer state changes.
12860 2012-09-27 David S. Miller <davem@davemloft.net>
12863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12864 pass reloc->r_addend in as the 'high' argument to
12865 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12869 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12871 * rt/tst-aio2.c: Include <pthread.h>.
12872 * rt/tst-aio3.c: Likewise.
12874 2012-09-27 Steve Ellcey <sellcey@mips.com>
12876 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12878 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12880 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12881 contents on [SHARED].
12883 2012-09-26 Marek Polacek <polacek@redhat.com>
12887 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12888 for C++ and GCC <4.3 as well as for non GCC compilers.
12890 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12894 2012-09-25 Roland McGrath <roland@hack.frob.com>
12896 * Makefile.in (all, install): Declare with .PHONY.
12897 Reported by Michael Hope <michael.hope@linaro.org>.
12899 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12901 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12902 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12904 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12906 (sydep_routines): Add the new and the internal functions.
12907 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12908 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12910 (GLIBC_2.17): Add the new function.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12912 (GLIBC_2.17): Likewise.
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12914 (GLIBC_2.17): Likewise.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12916 (GLIBC_2.17): Likewise.
12917 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12919 2012-09-25 Alan Modra <amodra@gmail.com>
12921 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12922 Add release barrier before setting once_control to say
12923 initialisation is done. Add hints on lwarx. Use macro in
12925 (clear_once_control): Add release barrier.
12927 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12930 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12932 * math/s_clog10.c (__clog10): Likewise.
12933 * math/s_clog10f.c (__clog10f): Likewise.
12934 * math/s_clog10l.c (__clog10l): Likewise.
12935 * math/s_clogf.c (__clogf): Likewise.
12936 * math/s_clogl.c (__clogl): Likewise.
12937 * math/Makefile (libm-calls): Add x2y2m1.
12938 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12939 (__x2y2m1): Likewise.
12940 (__x2y2m1l): Likewise.
12941 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12942 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12945 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12946 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12947 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12948 * sysdeps/i386/fpu/libm-test-ulps: Update.
12949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12952 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12953 int as type of variable DEPTH.
12954 (glob): Use size_t instead of int as type of variables NEWCOUNT
12957 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12959 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12960 Add s_sincosf-sse2.
12961 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12962 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12963 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12964 macros for using routine as __sincosf_ia32.
12965 Use macro for function declaration and weak_alias.
12966 * sysdeps/i386/fpu/libm-test-ulps: Update.
12968 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12971 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12972 subnormal argument.
12973 * math/s_cexpf.c (__cexpf): Likewise.
12974 * math/s_csinf.c (__csinf): Likewise.
12975 * math/s_csinhf.c (__csinhf): Likewise.
12976 * math/s_ctanf.c (__ctanf): Likewise.
12977 * math/s_ctanhf.c (__ctanhf): Likewise.
12978 * math/s_ccosh.c (__ccoshf): Likewise.
12979 * math/s_cexp.c (__cexpl): Likewise.
12980 * math/s_csin.c (__csin): Likewise.
12981 * math/s_csinh.c (__csinh): Likewise.
12982 * math/s_ctan.c (__ctan): Likewise.
12983 * math/s_ctanh.c (ctanh): Likewise.
12984 * math/s_ccoshl.c (__ccoshl): Likewise.
12985 * math/s_cexpl.c (__cexpl): Likewise.
12986 * math/s_csinl.c (__csinl): Likewise.
12987 * math/s_csinhl.c (__csinhl): Likewise.
12988 * math/s_ctanl.c (__ctanl): Likewise.
12989 * math/s_ctanhl.c (__ctanhl): Likewise.
12991 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12993 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12994 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12995 (_IO_off_t): Define to __off_t, not _G_off_t.
12996 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12997 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12998 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12999 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13000 type of __dummy and __dummy2 fields.
13001 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13002 (_G_ssize_t): Likewise.
13003 (_G_off_t): Likewise.
13004 (_G_pid_t): Likewise.
13005 (_G_uid_t): Likewise.
13006 (_G_wchar_t): Likewise.
13007 (_G_wint_t): Likewise.
13008 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13009 (_G_ssize_t): Likewise.
13010 (_G_off_t): Likewise.
13011 (_G_pid_t): Likewise.
13012 (_G_uid_t): Likewise.
13013 (_G_wchar_t): Likewise.
13014 (_G_wint_t): Likewise.
13015 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13016 (_G_ssize_t): Likewise.
13017 (_G_off_t): Likewise.
13018 (_G_pid_t): Likewise.
13019 (_G_uid_t): Likewise.
13020 (_G_wchar_t): Likewise.
13021 (_G_wint_t): Likewise.
13023 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 * malloc/arena.c: Include malloc-sysdep.h.
13026 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13027 is sufficient to shrink the heap or an unmap is needed.
13028 * sysdeps/generic/malloc-sysdep.h: New file. Define
13029 new function check_may_shrink_heap.
13030 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13031 new function check_may_shrink_heap.
13033 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13035 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13038 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13040 * catgets/test-gencat.sh: Add "set -e".
13041 * elf/tst-pathopt.sh: Likewise.
13042 * grp/tst_fgetgrent.sh: Likewise.
13043 * iconvdata/run-iconv-test.sh: Likewise.
13044 * intl/tst-gettext.sh: Likewise.
13045 * intl/tst-gettext2.sh: Likewise.
13046 * intl/tst-gettext4.sh: Likewise.
13047 * intl/tst-gettext6.sh: Likewise.
13048 * intl/tst-translit.sh: Likewise.
13049 * io/ftwtest-sh: Likewise.
13050 * libio/test-freopen.sh: Likewise.
13051 * malloc/tst-mtrace.sh: Likewise.
13052 * posix/globtest.sh: Likewise.
13053 * posix/tst-getconf.sh: Likewise.
13054 * posix/wordexp-tst.sh: Likewise.
13055 * stdio-common/tst-printf.sh: Likewise.
13056 * stdio-common/tst-unbputc.sh: Likewise.
13057 * stdlib/tst-fmtmsg.sh: Likewise.
13058 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13059 * catgets/Makefile: Do not specify -e option when running
13060 testsuite shell scripts.
13061 * elf/Makefile: Likewise.
13062 * grp/Makefile: Likewise.
13063 * iconvdata/Makefile: Likewise.
13064 * intl/Makefile: Likewise.
13065 * io/Makefile: Likewise.
13066 * libio/Makefile: Likewise.
13067 * malloc/Makefile: Likewise.
13068 * posix/Makefile: Likewise.
13069 * stdio-common/Makefile: Likewise.
13070 * stdlib/Makefile: Likewise.
13071 * sysdeps/x86_64/Makefile: Likewise.
13073 * io/ftwtest-sh: Add copyright header.
13074 * posix/globtest.sh: Likewise.
13075 * posix/tst-getconf.sh: Likewise.
13076 * posix/wordexp-tst.sh: Likewise.
13077 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13079 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13082 * Makeconfig (+link): Defined as $(+link-static) if
13083 $(build-shared) isn't yes.
13084 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13086 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13088 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13091 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13092 new chunk size with MALLOC_ALIGN_MASK.
13094 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13097 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13099 (__printf_fphex): Determine rounding using get_rounding_mode and
13101 * stdio-common/tst-printf-round.c (struct hex_test): New
13103 (hex_tests): New variable.
13104 (test_hex_in_one_mode): New function.
13105 (do_test): Also run tests for hex float output.
13107 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13109 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13110 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13111 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13112 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13113 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13114 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13115 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13116 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13118 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13120 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13121 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13122 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13123 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13125 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13128 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13130 * elf/tst-rtld-load-self.sh: New test.
13131 * elf/Makefile: Run it.
13133 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13135 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13136 (tst-writev-ENV): Remove.
13137 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13139 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13141 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13143 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13145 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13147 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13149 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13150 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13151 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13154 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13157 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13158 * config.make.in (have-cpp-asm-debuginfo): Removed.
13159 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13160 * configure: Regenerated.
13162 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13165 * stdio-common/printf_fp.c: Include <stdbool.h> and
13167 (___printf_fp): Determine rounding using get_rounding_mode and
13169 * stdio-common/tst-printf-round.c: New file.
13170 * stdio-common/Makefile (tests): Add tst-printf-round.
13171 (link-libm): New variable.
13172 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13174 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13177 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13178 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13180 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13183 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13185 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13186 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13187 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13188 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13190 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13193 * include/rounding-mode.h: New file.
13194 * sysdeps/generic/get-rounding-mode.h: Likewise.
13195 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13196 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13197 (MAX_VALUE): New macro.
13198 (MIN_VALUE): Likewise.
13199 (overflow_value): New function.
13200 (underflow_value): Likewise.
13201 (round_and_return): Use overflow_value and underflow_value to
13202 determine return values in overflow and underflow cases. Use
13203 round_away to determine rounding depending on rounding mode.
13204 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13205 determine return values in overflow and underflow cases.
13206 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13207 (struct test_results): New structure.
13208 (struct test): Use struct test_results to store expected results
13209 for all rounding modes.
13210 (TEST): Include expected results for all rounding modes.
13211 (test_in_one_mode): New function.
13212 (do_test): Use test_in_one_mode to compute and check results.
13213 Check results for all rounding modes.
13214 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13217 2012-12-09 Allan McRae <allan@archlinux.org>
13219 * sysdeps/i386/fpu/libm-test-ulps: Update
13221 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13223 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13224 (_G_int32_t): Likewise.
13225 (_G_uint16_t): Likewise.
13226 (_G_uint32_t): Likewise.
13227 (_G_HAVE_BOOL): Likewise.
13228 (_G_HAVE_ATEXIT): Likewise.
13229 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13230 (_G_HAVE_IO_FILE_OPEN): Likewise.
13231 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13232 (_G_int32_t): Likewise.
13233 (_G_uint16_t): Likewise.
13234 (_G_uint32_t): Likewise.
13235 (_G_HAVE_BOOL): Likewise.
13236 (_G_HAVE_ATEXIT): Likewise.
13237 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13238 (_G_HAVE_IO_FILE_OPEN): Likewise.
13239 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13240 (_G_int32_t): Likewise.
13241 (_G_uint16_t): Likewise.
13242 (_G_uint32_t): Likewise.
13243 (_G_HAVE_BOOL): Likewise.
13244 (_G_HAVE_ATEXIT): Likewise.
13245 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13246 (_G_HAVE_IO_FILE_OPEN): Likewise.
13248 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13250 * csu/libc-tls.c: Update copyright years.
13252 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13254 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13255 [!_G_USING_THUNKS]: Remove conditional code.
13256 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13257 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13259 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13260 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13261 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13262 (_G_VTABLE_LABEL_PREFIX): Likewise.
13263 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13264 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13265 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13266 (_G_VTABLE_LABEL_PREFIX): Likewise.
13267 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13268 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13269 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13270 (_G_VTABLE_LABEL_PREFIX): Likewise.
13271 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13273 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13275 * libio/Makefile: Include ../Makeconfig before tests.
13276 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13277 only if $(build-shared) is yes.
13279 * iconv/gconv_db.c: Update copyright years.
13281 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13283 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13284 unwind info if defined PIC. Fix special cases description.
13285 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13287 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13289 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13291 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13293 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13295 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13298 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13299 (LDLIBS-tst-chk4): This.
13300 (LDFLAGS-tst-chk5): Renamed to ...
13301 (LDLIBS-tst-chk5): This.
13302 (LDFLAGS-tst-chk6): Renamed to ...
13303 (LDLIBS-tst-chk6): This.
13304 (LDFLAGS-tst-lfschk4): Renamed to ...
13305 (LDLIBS-tst-lfschk4): This.
13306 (LDFLAGS-tst-lfschk5): Renamed to ...
13307 (LDLIBS-tst-lfschk5): This.
13308 (LDFLAGS-tst-lfschk6): Renamed to ...
13309 (LDLIBS-tst-lfschk6): This.
13311 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13312 on $(common-objpfx)soversions.mk.
13314 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13317 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13320 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13322 * malloc/arena.c (arena_get_retry): New function that gets
13323 another arena for the caller to try its request on.
13324 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13325 current arena cannot fulfill the request.
13326 (__libc_memalign): Likewise.
13327 (__libc_memalign): Likewise.
13328 (__libc_pvalloc): Likewise.
13329 (__libc_calloc): Likewise.
13331 2012-09-05 John Tobey <john.tobey@gmail.com>
13334 * manual/arith.texi (Operations on Complex): Fix description
13335 of carg branch cut.
13337 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13340 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13344 * manual/memory.texi (Memory): Make order of menu items match
13347 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13349 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13350 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13351 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13353 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13355 * csu/libc-tls.c (static_dtv): Renamed to ...
13356 (_dl_static_dtv): This. Make it global.
13357 (_dl_initial_dtv): Removed.
13358 (__libc_setup_tls): Updated.
13359 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13360 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13363 2012-09-06 Petr Machata <pmachata@redhat.com>
13365 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13366 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13367 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13368 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13370 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13373 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13374 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13377 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13380 * Makeconfig (link-static-before-libc): Replace $(+prector)
13382 (link-static-after-libc): Replace $(+postctor) with
13384 (link-bounded): Replace $(+prector)/$(+postctor) with
13385 $(+prectorT)/$(+postctorT).
13386 (+prectorT): New macro.
13387 (+postctorT): Likewise.
13389 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13391 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13392 (round_str): Handle values above the maximum for IBM long double
13394 * stdlib/tst-strtod-round.c (tests): Regenerated.
13396 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13398 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13400 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13401 zarch_nohighgprs around the zarch optimized routines.
13402 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13403 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13407 2012-09-05 David S. Miller <davem@davemloft.net>
13409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13411 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13412 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13413 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13414 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13417 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13419 * malloc/arena.c: Fold copyright years.
13420 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13422 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13424 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13426 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13428 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13430 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13432 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13433 change internal state upon failure.
13435 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13437 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13438 * malloc/memusage.c (mmap): Likewise.
13439 (mmap64, mremap): Likewise. Adjust name in comment.
13441 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13443 * libio/fileops.c: Fix typos in comments.
13444 * libio/oldfileops.c: Likewise.
13445 * libio/wfileops.c: Likewise.
13447 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13450 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13451 (tst-malloc-usable-ENV): Set environment for test case.
13452 * malloc/hooks.c (malloc_check_get_size): New function to get
13454 * malloc/malloc.c (musable): Use malloc_check_get_size.
13455 * malloc/tst-malloc-usable.c: New test case.
13457 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13459 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13461 2012-09-05 Allan McRae <allan@archlinux.org>
13464 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13465 determine header location.
13466 * configure: Regenerated.
13468 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13470 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13472 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13473 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13475 (test): Regenerate.
13477 2012-09-04 David S. Miller <davem@davemloft.net>
13479 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13480 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13481 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13483 2012-09-04 Florian Weimer <fweimer@redhat.com>
13485 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13488 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13490 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13493 * libio/iogetdelim.c: Include <limits.h>.
13494 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13495 + len + 1 would overflow.
13497 2012-09-03 Andreas Jaeger <aj@suse.de>
13499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13500 * sysdeps/i386/fpu/libm-test-ulps: Update.
13502 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13504 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13505 Add s_sinf-sse2, s_conf-sse2.
13507 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13508 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13509 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13510 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13512 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13513 for using routine as __sinf_ia32.
13514 Use macro for function declaration and weak_alias.
13515 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13516 for using routine as __cosf_ia32.
13517 Use macro for function declaration and weak_alias.
13519 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13520 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13522 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13523 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13526 * math/libm-test.inc (cos_test): Add more test cases.
13527 (sin_test): Likewise.
13528 (sincos_test): Likewise.
13530 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13532 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13533 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13535 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13537 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13540 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13541 first element of the GOT.
13542 (elf_machine_load_address): Return the difference between
13543 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13545 2012-09-01 Allan McRae <allan@archlinux.org>
13548 * configure.in (AWK): Require gawk version 3.0 or later.
13549 * configure: Regenerated.
13551 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13553 * sysdeps/unix/sysv/linux/kernel-features.h
13554 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13556 [__NR_clock_getres]: Make code unconditional.
13557 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13558 (clock_getcpuclockid): Remove code left unreachable by removal of
13560 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13561 code unconditional.
13562 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13563 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13564 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13565 Make code unconditional.
13566 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13567 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13568 * sysdeps/unix/sysv/linux/clock_settime.c
13569 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13571 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13572 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13574 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13577 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13578 scripts/test-installation.pl.
13580 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13581 and $ld_so_version if it is set.
13583 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13586 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13587 failure if reading from procfs failed.
13588 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13590 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13592 * sysdeps/unix/sysv/linux/kernel-features.h
13593 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13594 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13595 Remove conditional code.
13596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13597 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13598 Remove conditional code.
13599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13600 * sysdeps/unix/sysv/linux/i386/fxstat.c
13601 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13603 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13604 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13606 * sysdeps/unix/sysv/linux/i386/lxstat.c
13607 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13609 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13610 Remove conditional code.
13611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13612 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13613 Remove conditional code.
13614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13616 <kernel-features.h>.
13617 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13619 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13620 Remove conditional code.
13621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13622 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13623 Remove conditional.
13625 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13628 * NEWS: Add fixed bug number.
13630 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13633 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13634 underflowing exponent in case of negative sign.
13635 * stdlib/tst-strtod-round-data: Add more tests.
13636 * stdlib/tst-strtod-round.c (tests): Regenerated.
13639 * stdlib/strtod_l.c (NDIG): Remove.
13640 (HEXNDIG): Likewise.
13641 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13642 smallest representable value.
13643 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13644 lie within an exact representation of 1/2 ulp of the result.
13645 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13647 (TENS_P9_IDX): Define unconditionally.
13648 (TENS_P9_SIZE): Likewise.
13649 (TENS_P10_IDX): Likewise.
13650 (TENS_P10_SIZE): Likewise.
13651 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13652 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13653 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13654 entries for 10^2^13 and 10^2^14.
13655 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13656 (TENS_P13_IDX): Define.
13657 (TENS_P13_SIZE): Likewise.
13658 (TENS_P14_IDX): Likewise.
13659 (TENS_P14_SIZE): Likewise.
13660 (_fpioconst_pow10): Change array size to
13661 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13663 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13664 1024]: Add entries for 10^2^13 and 10^2^14.
13665 [LAST_POW10 > _LAST_POW10]: Remove #error.
13666 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13667 (_fpioconst_pow10): Change array size to
13668 FPIOCONST_POW10_ARRAY_SIZE.
13669 * stdlib/gen-fpioconst.c: New file.
13670 * stdlib/gen-tst-strtod-round.c: Likewise.
13671 * stdlib/tst-strtod-round-data: Likewise.
13672 * stdlib/tst-strtod-round.c: Likewise.
13673 * stdlib/Makefile (tests): Add tst-strtod-round.
13676 * stdlib/strtod_l.c: Include <stdint.h>.
13677 (NDEBUG): Do not define.
13678 (round_and_return): Change EXPONENT parameter to type intmax_t.
13679 Rearrange calculations to avoid internal overflow possibilities.
13680 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13681 Rearrange calculations to avoid internal overflow possibilities.
13682 Assert that number fits inside MPNSIZE limbs.
13683 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13684 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13685 calculations and add assertions to avoid internal overflow
13686 possibilities. Add casts to avoid signed/unsigned operations.
13687 * stdlib/tst-strtod-overflow.c: New file.
13688 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13690 2012-08-25 Marek Polacek <polacek@redhat.com>
13692 * time/time.h: Fix some typos in comments.
13694 2012-08-23 Roland McGrath <roland@hack.frob.com>
13696 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13697 * posix/tst-rfc3484-2.c: Likewise.
13698 * posix/tst-rfc3484-3.c: Likewise.
13700 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13702 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13703 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13705 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13707 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13708 #include of fxstatat64.c.
13710 2012-08-22 Roland McGrath <roland@hack.frob.com>
13712 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13713 * shadow/getspent_r.c: Likewise.
13714 * shadow/getspnam.c: Likewise.
13715 * shadow/getspnam_r.c: Likewise.
13716 * gshadow/getsgent.c: Likewise.
13717 * gshadow/getsgent_r.c: Likewise.
13718 * gshadow/getsgnam.c: Likewise.
13719 * gshadow/getsgnam_r.c: Likewise.
13720 * inet/getnetbyad.c: Likewise.
13721 * inet/getnetbyad_r.c: Likewise.
13722 * inet/getnetbynm.c: Likewise.
13723 * inet/getnetbynm_r.c: Likewise.
13724 * inet/getnetent.c: Likewise.
13725 * inet/getnetent_r.c: Likewise.
13726 * inet/getproto.c: Likewise.
13727 * inet/getproto_r.c: Likewise.
13728 * inet/getprtent.c: Likewise.
13729 * inet/getprtent_r.c: Likewise.
13730 * inet/getprtname.c: Likewise.
13731 * inet/getprtname_r.c: Likewise.
13732 * inet/getrpcbyname.c: Likewise.
13733 * inet/getrpcbyname_r.c: Likewise.
13734 * inet/getrpcbynumber.c: Likewise.
13735 * inet/getrpcbynumber_r.c: Likewise.
13736 * inet/getrpcent.c: Likewise.
13737 * inet/getrpcent_r.c: Likewise.
13738 * inet/getaliasent.c: Likewise.
13739 * inet/getaliasent_r.c: Likewise.
13740 * inet/getaliasname.c: Likewise.
13741 * inet/getaliasname_r.c: Likewise.
13742 * nscd/getgrgid_r.c: Likewise.
13743 * nscd/getgrnam_r.c: Likewise.
13744 * nscd/gethstbyad_r.c: Likewise.
13745 * nscd/gethstbynm3_r.c: Likewise.
13746 * nscd/getpwnam_r.c: Likewise.
13747 * nscd/getpwuid_r.c: Likewise.
13748 * nscd/getsrvbynm_r.c: Likewise.
13749 * nscd/getsrvbypt_r.c: Likewise.
13750 * nscd/gai.c: Likewise.
13752 * configure.in (build_nscd): New substituted variable, set
13753 by --disable-build-nscd and defaults to $use_nscd.
13754 * configure: Regenerated.
13755 * config.make.in (build-nscd): New substituted variable.
13756 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13757 Change conditional to require [$(build-nscd) = yes] as well.
13758 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13761 * configure.in (use_nscd): New substituted variable, set by
13762 --disable-nscd. If enabled, define USE_NSCD.
13763 * configure: Regenerated.
13764 * config.h.in: Add USE_NSCD.
13765 * config.make.in (use-nscd): New substituted variable.
13766 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13767 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13768 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13769 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13770 (CFLAGS-getgrnam_r.c): Likewise.
13771 (CFLAGS-initgroups.c): Likewise.
13772 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13773 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13775 * inet/getnetgrent_r.c
13776 (nscd_setnetgrent): New function, broken out of ...
13777 (setnetgrent): ... here. Call it.
13778 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13779 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13780 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13781 * nscd/Makefile (routines, aux): Move definitions after include of
13782 Makeconfig. Conditionalize on [$(use-nscd) != no].
13783 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13784 Conditionalize on [USE_NSCD].
13785 (is_nscd, nscd_init_cb): Likewise.
13786 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13787 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13788 * nss/nss_db/db-init.c: Likewise.
13789 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13791 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13792 (make_request): Use it.
13793 (cache_valid_p): New function.
13794 (__check_pf): Use it.
13795 * NEWS: Add item for --disable-nscd.
13797 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13799 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13800 to support sed >= 4.2.1-20-ga9bf076.
13801 * configure: Regenerated.
13803 2012-08-22 Roland McGrath <roland@hack.frob.com>
13805 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13806 Conditionalize whole body on [IREL].
13808 2012-08-22 Jeff Law <law@redhat.com>
13811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13812 if the family is PF_UNSPEC.
13814 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13816 * Makerules (lib-version): Rename from V.
13817 (install-lib-nosubdir): Change V to lib-version.
13819 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13822 * powerpc32/power6/wcschr.c: New file.
13823 * powerpc32/power6/wcscpy.c: New file.
13824 * powerpc32/power6/wcsrchr.c: New file.
13825 * powerpc64/power6/wcschr.c: New file.
13826 * powerpc64/power6/wcscpy.c: New file.
13827 * powerpc64/power6/wcsrchr.c: New file.
13829 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13831 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13832 (two_way_short_needle): Use it.
13833 * string/strstr.c (AVAILABLE1_USES_J): Define.
13834 * string/strcasestr.c: Likewise.
13836 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13838 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13841 * NEWS: Add an entry.
13842 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13843 define their defaults.
13844 (two_way_short_needle): Detect end-of-string on-the-fly.
13845 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13846 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13847 * string/bug-strcasestr1.c: New test.
13848 * string/Makefile: Run it.
13850 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13853 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13854 the first character.
13856 2012-08-21 Roland McGrath <roland@hack.frob.com>
13858 * csu/elf-init.c (__libc_csu_irel): Function removed.
13859 * csu/libc-start.c (apply_irel): New function.
13860 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13862 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13864 * sysdeps/unix/sysv/linux/kernel-features.h
13865 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13866 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13867 <kernel-features.h>.
13868 [__NR_fadvise64_64]: Make code unconditional.
13869 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13870 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13871 !__NR_fadvise64_64)]: Likewise.
13872 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13873 !__NR_fadvise64_64))]: Likewise.
13874 [__NR_fadvise64]: Make code unconditional.
13875 [!__NR_fadvise64]: Remove conditional code.
13876 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13877 <kernel-features.h>.
13878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13883 not include <kernel-features.h>.
13884 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13886 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13888 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13889 include <kernel-features.h>.
13890 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13892 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13895 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13898 slight instruction rearrangements per scrollpipe analysis.
13899 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13901 2012-08-20 Roland McGrath <roland@hack.frob.com>
13903 * manual/syslog.texi (syslog; vsyslog, closelog):
13904 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13905 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13907 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13908 DSOCAPS to match condition on defining it.
13910 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13912 * sysdeps/unix/sysv/linux/kernel-features.h
13913 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13915 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13916 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13918 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13919 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13921 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13922 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13924 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13925 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13927 * sysdeps/unix/sysv/linux/kernel-features.h
13928 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13929 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13931 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13932 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13933 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13934 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13935 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13936 Make code unconditional.
13937 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13938 (__mmap64) [!__NR_mmap2]: Likewise.
13939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13940 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13941 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13942 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13943 [__NR_mmap2]: Make code unconditional.
13944 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13945 (__mmap64) [!__NR_mmap2]: Likewise.
13947 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13949 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13951 2012-08-18 Andreas Jaeger <aj@suse.de>
13953 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13955 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13957 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13958 * include/unistd.h (__have_sock_cloexec): Likewise.
13959 (__have_pipe2): Likewise.
13960 (__have_dup3): Likewise.
13962 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13965 * include/unistd.h (__have_pipe2): Change define into an extern int.
13966 (__have_dup3): Likewise.
13967 * socket/have_sock_cloexec.c: Include fcntl.h.
13968 (__have_pipe2): New variable.
13969 (__have_dup3): Likewise.
13971 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13973 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13975 2012-08-17 Marek Polacek <polacek@redhat.com>
13977 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13978 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13980 2012-08-17 Roland McGrath <roland@hack.frob.com>
13982 * configure.in: Add AC_SUBST for sysheaders.
13983 * configure: Regenerated.
13984 * config.make.in (sysheaders): New substituted variable.
13986 * sysdeps/unix/mkfifo.c: Moved ...
13987 * sysdeps/posix/mkfifo.c: ... here.
13988 * sysdeps/unix/mkfifoat.c: Moved ...
13989 * sysdeps/posix/mkfifoat.c: ... here.
13991 * sysdeps/unix/utime.c: Moved ...
13992 * sysdeps/posix/utime.c: ... here.
13994 * sysdeps/unix/time.c: Moved ...
13995 * sysdeps/posix/time.c: ... here.
13996 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13997 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13999 * sysdeps/unix/nice.c: Moved ...
14000 * sysdeps/posix/nice.c: ... here.
14002 * sysdeps/unix/alarm.c: Moved ...
14003 * sysdeps/posix/alarm.c: ... here.
14005 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14007 2012-08-17 Jeff Law <law@redhat.com>
14009 * intl/Makefile (codeset_mo): New variable.
14010 ($(codeset_mo)): New target.
14011 (tst-codeset.out): Depend on that. Remove explicit rule.
14012 (tst-gettext3.out, tst-gettext5.out): Likewise.
14013 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14014 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14015 * intl/tst-codeset.sh: Remove.
14016 * intl/tst-gettext3.sh: Likewise.
14017 * intl/tst-gettext5.sh: Likewise.
14019 2012-08-17 Roland McGrath <roland@hack.frob.com>
14021 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14022 * sysdeps/unix/syscalls.list: ... here.
14024 * sysdeps/posix/getaddrinfo.c
14025 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14026 (gaiconf_init, gaiconf_reload): Use them.
14027 [!_STATBUF_ST_NSEC]
14028 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14029 Define using time_t rather than struct timespec.
14031 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14032 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14034 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14036 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14037 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14040 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14041 __libc_cleanup_push argument.
14043 * bits/param.h: New file.
14044 * misc/sys/param.h: New file.
14045 * include/sys/param.h: New file.
14046 * misc/Makefile (headers): Add bits/param.h.
14047 * sysdeps/generic/sys/param.h: File removed.
14048 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14049 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14050 * sysdeps/mach/hurd/bits/param.h: New file.
14051 * sysdeps/mach/hurd/sys/param.h: File removed.
14053 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14056 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14058 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14059 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14062 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14063 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14064 rather than -D_IO_MTSAFE_IO conditionally.
14065 * stdio-common/Makefile (CPPFLAGS): Likewise.
14066 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14067 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14068 Use $(libio-mtsafe).
14069 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14070 of -D_IO_MTSAFE_IO.
14071 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14072 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14073 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14074 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14075 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14076 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14077 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14078 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14079 (CFLAGS-fread_u_chk.c): Likewise.
14080 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14081 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14082 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14083 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14084 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14085 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14086 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14087 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14088 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14090 * libio/Makefile: Test [$(libc-reentrant) = yes]
14091 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14094 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14095 * sysdeps/pthread/configure: File removed.
14096 * sysdeps/pthread/Makeconfig: New file.
14097 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14098 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14100 2012-08-16 Gary Benson <gbenson@redhat.com>
14102 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14103 unmapping the first object in a namespace.
14105 2012-08-16 Roland McGrath <roland@hack.frob.com>
14107 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14108 (__internal_setnetgrent): ... this. Add internal_function to
14109 definition. Add libc_hidden_def.
14110 (setnetgrent): Update caller.
14111 (internal_endnetgrent): Renamed to ...
14112 (__internal_endnetgrent): ... this. Add internal_function to
14113 definition. Add libc_hidden_def.
14114 (endnetgrent): Update caller.
14115 (internal_getnetgrent_r): Renamed to ...
14116 (__internal_getnetgrent_r): ... this. Add internal_function to
14117 definition. Add libc_hidden_def.
14118 (__getnetgrent_r): Update caller.
14119 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14121 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14123 * stdlib/longlong.h: Update from GCC.
14125 2012-08-16 Roland McGrath <roland@hack.frob.com>
14127 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14128 on _QL, which is set by umul_ppmm but never used.
14129 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14130 variables, which are set by GMP macros but never used.
14131 * stdio-common/_itowa.c (_itowa): Likewise.
14132 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14133 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14135 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14137 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14138 struct La_sh_regs is not constant.
14139 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14140 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14141 and struct La_sparc64_regs are not constant.
14143 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14145 * sysdeps/unix/sysv/linux/kernel-features.h
14146 (__ASSUME_POSIX_TIMERS): Remove.
14147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14149 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14150 Make code unconditional.
14151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14152 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14153 Make code unconditional.
14154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14155 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14156 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14157 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14158 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14159 Make code unconditional.
14160 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14161 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14162 (__libc_missing_posix_timers): Remove.
14164 2012-08-15 Roland McGrath <roland@hack.frob.com>
14166 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14167 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14169 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14171 * elf/dl-sym.c: Include <stdlib.h>.
14173 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14174 constants, which avoids warnings in 32-bit builds.
14176 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14177 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14179 * misc/lseek.c: File moved to ...
14180 * io/lseek.c: ... here.
14182 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14184 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14185 shifting LEN more than 31 bits at once.
14187 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14190 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14191 segmentation fault for a case of two empty input strings.
14192 * string/test-strncasecmp.c (check1): Renamed to...
14193 (bz12205): ...this.
14194 (bz14195): Add new testcase for two empty input strings and N > 0.
14195 (test_main): Call new testcase, adapt for renamed function.
14197 2012-08-15 Andreas Jaeger <aj@suse.de>
14200 * crypt/md5test2.c: New test, based on test supplied by Serge
14201 Belyshev <belyshev@depni.sinp.msu.ru>.
14202 * crypt/Makefile (xtests): Add md5test-giant..
14203 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14205 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14208 * crypt/md5.c (md5_process_block): Don't assume the buffer
14209 length is less than 2**32.
14210 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14211 length is less than 2**64.
14213 2012-08-15 Roland McGrath <roland@hack.frob.com>
14215 * string/str-two-way.h: Include <sys/param.h>.
14216 (MAX): Macro removed.
14218 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14219 Move #define and #undef of memmove to just before and after
14220 including <string.h>.
14222 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14223 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14224 and after including <string.h>. Move declarations of
14225 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14226 to before #include "string/memmove.c".
14228 * include/dirent.h: Declare __getdirentries.
14230 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14231 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14233 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14235 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14236 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14237 * sysdeps/i386/configure: Regenerated.
14238 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14239 STABS_CURRENT_FILE, and STABS_FUN.
14240 (END): Remove call to STABS_FUN_END.
14241 (STABS_CURRENT_FILE1): Delete.
14242 (STABS_CURRENT_FILE): Likewise.
14243 (STABS_FUN): Likewise.
14244 (STABS_FUN_END): Likewise.
14245 (STABS_FUN2): Likewise.
14246 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14247 * sysdeps/x86_64/configure: Regenerated.
14249 2012-08-14 Roland McGrath <roland@hack.frob.com>
14251 * elf/dl-open.c: Include <atomic.h>.
14252 * elf/dl-lookup.c: Likewise.
14254 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14256 * sysdeps/unix/sysv/linux/kernel-features.h
14257 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14258 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14260 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14262 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14263 condition on __ASSUME_CLONE_THREAD_FLAGS.
14265 2012-08-14 Andreas Jaeger <aj@suse.de>
14267 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14271 * include/atomic.h (atomic_exchange_and_add): Split into ...
14272 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14275 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14279 2012-08-13 Jeff Law <law@redhat.com>
14281 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14282 null byte in the output string.
14284 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14286 * sysdeps/unix/sysv/linux/kernel-features.h
14287 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14288 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14289 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14290 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14291 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14292 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14293 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14295 2012-08-09 Jeff Law <law@redhat.com>
14298 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14299 When avoid_arena is set, don't retry in the that arena. Pick the
14300 next one, whatever it might be.
14301 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14302 (arena_lock): Pass in new parameter to arena_get2.
14303 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14305 (__libc_malloc): Unify retrying after main arena failure with
14306 __libc_memalign version.
14307 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14309 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14312 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14313 to __redirect_strstr.
14314 (__strstr_sse42): Use typeof __redirect_strstr.
14315 (__strstr_ia32): Likewise.
14316 (__libc_strstr): New prototype.
14317 (strstr): Renamed to ...
14318 (__libc_strstr): This.
14319 (strstr): New strong alias of __libc_strstr.
14320 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14321 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14324 (__libc_time): New prototype.
14325 (time_ifunc): Replace time with __libc_time.
14326 (time): New strong alias and hidden definition of __libc_time.
14327 (__GI_time): Remove strong alias.
14328 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14329 Include <stddef.h>.
14330 (memmove): Redefined to __redirect_memmove.
14331 (__memmove_sse2): Use typeof __redirect_memmove.
14332 (__memmove_ssse3): Likewise.
14333 (__memmove_ssse3_back): Likewise.
14334 (__libc_memmove): New prototype.
14335 (memmove): Renamed to ...
14336 (__libc_memmove): This.
14337 (memmove): New strong alias of __libc_memmove.
14339 2012-08-08 Mark Salter <msalter@redhat.com>
14342 (R_MN10300_TLS_GD): Define.
14343 (R_MN10300_TLS_LD): Likewise.
14344 (R_MN10300_TLS_LDO): Likewise.
14345 (R_MN10300_TLS_GOTIE): Likewise.
14346 (R_MN10300_TLS_IE): Likewise.
14347 (R_MN10300_TLS_LE): Likewise.
14348 (R_MN10300_TLS_DTPMOD): Likewise.
14349 (R_MN10300_TLS_DTPOFF): Likewise.
14350 (R_MN10300_TLS_TPOFF): Likewise.
14351 (R_MN10300_SYM_DIFF): Likewise.
14352 (R_MN10300_ALIGN): Likewise.
14353 (R_MN10300_NUM): Update.
14355 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14360 2012-08-08 Roland McGrath <roland@hack.frob.com>
14362 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14364 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14365 sysdeps/unix -> sysdeps/posix move.
14366 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14368 2012-08-07 Allan McRae <allan@archlinux.org>
14371 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14372 (SUNOS_CPP): Likewise.
14373 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14375 (open_input): Call CPP using execvp.
14377 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/unix/sysv/linux/kernel-features.h
14380 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14381 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14382 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14383 (__ASSUME_WAITID_SYSCALL): Likewise.
14384 * sysdeps/unix/sysv/linux/dl-execstack.c
14385 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14386 code unconditional.
14387 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14389 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14390 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14391 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14393 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14395 [__ASSUME_WAITID_SYSCALL]: Likewise.
14396 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14398 2012-08-07 Roland McGrath <roland@hack.frob.com>
14400 * sysdeps/unix/closedir.c: Renamed to ...
14401 * sysdeps/posix/closedir.c: ... here.
14402 * sysdeps/unix/dirfd.c: Renamed to ...
14403 * sysdeps/posix/dirfd.c: ... here.
14404 * sysdeps/unix/dirstream.h: Renamed to ...
14405 * sysdeps/posix/dirstream.h: ... here.
14406 * sysdeps/unix/fdopendir.c: Renamed to ...
14407 * sysdeps/posix/fdopendir.c: ... here.
14408 * sysdeps/unix/opendir.c: Renamed to ...
14409 * sysdeps/posix/opendir.c: ... here.
14410 * sysdeps/unix/readdir.c: Renamed to ...
14411 * sysdeps/posix/readdir.c: ... here.
14412 * sysdeps/unix/readdir_r.c: Renamed to ...
14413 * sysdeps/posix/readdir_r.c: ... here.
14414 * sysdeps/unix/rewinddir.c: Renamed to ...
14415 * sysdeps/posix/rewinddir.c: ... here.
14416 * sysdeps/unix/seekdir.c: Renamed to ...
14417 * sysdeps/posix/seekdir.c: ... here.
14418 * sysdeps/unix/telldir.c: Renamed to ...
14419 * sysdeps/posix/telldir.c: ... here.
14420 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14421 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14422 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14423 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14425 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14426 * bits/fcntl.h: ... here.
14428 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14430 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14431 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14432 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14433 (struct flock): Move l_start, l_len to the beginning.
14434 Use __pid_t for l_pid.
14435 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14436 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14437 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14438 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14439 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14440 [__USE_LARGEFILE64] (struct flock64): New type.
14441 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14443 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14444 * bits/dirent.h: ... here.
14446 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14447 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14449 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14452 Change from 2.6.0 to 2.6.16.
14453 * sysdeps/unix/sysv/linux/configure: Regenerated.
14454 * sysdeps/unix/sysv/linux/kernel-features.h
14455 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14456 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14458 (__ASSUME_UTIMES): Likewise.
14459 (__ASSUME_CLONE_STOPPED): Remove.
14460 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14461 architectures, not kernel version.
14462 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14463 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14464 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14465 (__ASSUME_WAITID_SYSCALL): Likewise.
14466 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14467 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14468 * README: State 2.6.16 as minimum Linux kernel version. Do not
14469 refer to older versions.
14471 2012-08-06 Roland McGrath <roland@hack.frob.com>
14473 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14474 Define alphasort64 as an alias.
14475 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14476 Define versionsort64 as an alias.
14477 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14478 Define scandir64 as an alias.
14479 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14480 Define scandirat64 as an alias.
14481 * dirent/alphasort64.c (alphasort64):
14482 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14483 * dirent/versionsort64.c: Likewise.
14484 * dirent/scandir64.c: Likewise.
14485 * dirent/scandirat64.c: Likewise.
14486 * sysdeps/wordsize-64/alphasort.c: File removed.
14487 * sysdeps/wordsize-64/alphasort64.c: File removed.
14488 * sysdeps/wordsize-64/scandir.c: File removed.
14489 * sysdeps/wordsize-64/scandir64.c: File removed.
14490 * sysdeps/wordsize-64/scandirat.c: File removed.
14491 * sysdeps/wordsize-64/scandirat64.c: File removed.
14492 * sysdeps/wordsize-64/versionsort.c: File removed.
14493 * sysdeps/wordsize-64/versionsort64.c: File removed.
14494 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14495 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14496 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14497 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14498 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14499 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14501 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14503 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14505 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14507 [defined __arch64__ || defined __sparcv9]
14508 (__INO_T_MATCHES_INO64_T): New macro.
14509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14510 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14511 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14512 * sysdeps/unix/sysv/linux/bits/dirent.h
14513 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14514 (_DIRENT_MATCHES_DIRENT64): New macro.
14516 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14517 Define lockf64 as an alias.
14518 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14519 Define fseeko64 as an alias.
14520 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14521 Define ftello64 as an alias.
14522 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14523 Define _IO_fgetpos64 and fgetpos64 as aliases.
14524 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14525 Define _IO_fsetpos64 and fsetpos64 as aliases.
14526 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14527 Conditionalize body on this.
14528 * libio/fseeko64.c: Likewise.
14529 * libio/ftello64.c: Likewise.
14530 * libio/iofgetpos64.c: Likewise.
14531 * libio/iofsetpos64.c: Likewise.
14532 * sysdeps/wordsize-64/lockf.c: File removed.
14533 * sysdeps/wordsize-64/lockf64.c: File removed.
14534 * sysdeps/wordsize-64/fseeko.c: File removed.
14535 * sysdeps/wordsize-64/fseeko64.c: File removed.
14536 * sysdeps/wordsize-64/ftello.c: File removed.
14537 * sysdeps/wordsize-64/ftello64.c: File removed.
14538 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14539 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14540 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14541 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14542 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14543 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14544 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14545 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14546 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14547 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14548 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14549 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14550 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14551 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14553 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14555 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14557 [defined __arch64__ || defined __sparcv9]
14558 (__OFF_T_MATCHES_OFF64_T): New macro.
14559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14560 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14562 (__OFF_T_MATCHES_OFF64_T): New macro.
14564 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14566 * stdlib/secure-getenv.c (__secure_getenv): Replace
14567 GLIBC_2_16 with GLIBC_2_17.
14569 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14571 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14572 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14574 2012-08-03 David S. Miller <davem@davemloft.net>
14576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14578 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14580 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14582 (__ASSUME_CORRECT_SI_PID): Likewise.
14583 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14584 (__ASSUME_TMPFS_NAME): Likewise.
14585 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14586 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14587 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14588 (HAVE_AUX_SECURE): Make definition unconditional.
14589 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14590 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14592 2012-08-03 Roland McGrath <roland@hack.frob.com>
14594 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14595 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14596 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14597 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14598 __eloop_threshold instead of SYMLOOP_MAX.
14600 * sysdeps/generic/eloop-threshold.h: New file.
14601 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14603 * elf/chroot_canon.c (chroot_canon): Likewise.
14605 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14608 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14609 Change to 2.6.0 everywhere.
14610 * sysdeps/unix/sysv/linux/configure: Regenerated.
14611 * sysdeps/unix/sysv/linux/kernel-features.h
14612 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14613 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14615 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14616 (__ASSUME_FUTEX_REQUEUE): Remove.
14617 (__ASSUME_STATFS64): Define unconditionally.
14618 (__ASSUME_AT_SECURE): Likewise.
14619 (__ASSUME_CORRECT_SI_PID): Likewise.
14620 (__ASSUME_TGKILL): Define without depending on kernel version for
14622 (__ASSUME_UTIMES): Likewise.
14623 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14625 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14626 (__ASSUME_TMPFS_NAME): Likewise.
14627 * README: Update reference to Linux kernel versions.
14629 2012-08-02 Marek Polacek <polacek@redhat.com>
14632 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14633 libc_cv_asm_type_prefix with %.
14634 * configure: Regenerated.
14635 * include/libc-symbols.h: Remove comment about
14636 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14637 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14638 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14639 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14640 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14641 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14642 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14643 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14644 * elf/tst-unique2mod1.c: Likewise.
14645 * elf/tst-unique1mod2.c: Likewise.
14646 * elf/tst-unique1mod1.c: Likewise.
14647 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14648 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14649 Replace ASM_TYPE_DIRECTIVE with .type.
14650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14651 * sysdeps/i386/sysdep.h: Likewise.
14652 * sysdeps/x86_64/sysdep.h: Likewise.
14653 * sysdeps/sh/sysdep.h: Likewise.
14654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14655 Do not define ASM_TYPE_DIRECTIVE.
14656 * sysdeps/powerpc/sysdep.h: Likewise.
14657 * sysdeps/powerpc/powerpc32/sysdep.h:
14658 Replace ASM_TYPE_DIRECTIVE with .type.
14659 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14660 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14661 * sysdeps/i386/fpu/e_powf.S: Likewise.
14662 * sysdeps/i386/fpu/e_expl.S: Likewise.
14663 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14664 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14665 * sysdeps/i386/fpu/e_pow.S: Likewise.
14666 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14667 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14668 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14669 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14670 * sysdeps/i386/fpu/e_log2.S: Likewise.
14671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14672 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14673 * sysdeps/i386/fpu/e_powl.S: Likewise.
14674 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14675 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14676 * sysdeps/i386/fpu/e_logl.S: Likewise.
14677 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14678 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14679 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14681 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14682 * sysdeps/i386/fpu/e_log.S: Likewise.
14683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14684 * sysdeps/i386/fpu/e_logf.S: Likewise.
14685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14686 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14687 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14688 * sysdeps/i386/fpu/e_log10.S: Likewise.
14689 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14690 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14691 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14692 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14693 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14694 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14695 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14696 * sysdeps/i386/i686/strtok.S: Likewise.
14697 * sysdeps/i386/i386-mcount.S: Likewise.
14698 * sysdeps/i386/strtok.S: Likewise.
14699 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14701 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14702 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14703 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14704 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14705 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14706 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14707 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14708 * sysdeps/x86_64/_mcount.S: Likewise.
14709 * sysdeps/x86_64/strtok.S: Likewise.
14710 * sysdeps/sh/_mcount.S: Likewise.
14712 2012-08-01 Roland McGrath <roland@hack.frob.com>
14714 * libio/iofopen.c: Include <fcntl.h>.
14715 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14716 (_IO_fopen64, fopen64): Define as aliases.
14717 * libio/iofopen64.c: Include <fcntl.h>.
14718 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14719 Conditionalize body on this.
14720 * sysdeps/wordsize-64/iofopen.c: File removed.
14721 * sysdeps/wordsize-64/iofopen64.c: File removed.
14723 2012-08-01 Marek Polacek <polacek@redhat.com>
14725 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14726 Use dlfcn directly instead of a variable.
14727 (binfmt-subdir): Do not define.
14730 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14732 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14733 Remove all definitions.
14734 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14735 <kernel-features.h>.
14736 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14737 (miss_F_GETOWN_EX): Remove all definitions.
14738 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14740 [!__ASSUME_FCNTL64]: Remove conditional code.
14741 [__ASSUME_FCNTL64]: Make code unconditional.
14742 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14743 <kernel-features.h>.
14744 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14745 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14746 (lockf64) [__NR_fcntl64]: Make code unconditional.
14747 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14749 * sysdeps/unix/sysv/linux/kernel-features.h
14750 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14751 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14752 Make code unconditional.
14753 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14754 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14756 [__NR_vfork]: Make code unconditional.
14757 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14758 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14760 [__NR_vfork]: Make code unconditional.
14761 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14762 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14764 2012-08-01 Roland McGrath <roland@hack.frob.com>
14766 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14767 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14769 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14770 Define mkstemp64 as an alias.
14771 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14772 Define mkstemps64 as an alias.
14773 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14774 Define mkostemp64 as an alias.
14775 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14776 Define mkostemps64 as an alias.
14777 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14778 Conditionalize body on this.
14779 * misc/mkostemp64.c: Likewise.
14780 * misc/mkostemps64.c: Likewise.
14781 * misc/mkstemps64.c: Likewise.
14782 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14783 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14784 * sysdeps/wordsize-64/mkostemp.c: File removed.
14785 * sysdeps/wordsize-64/mkstemp.c: File removed.
14786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14788 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14792 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14793 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14794 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14795 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14797 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14798 compat_symbol macros from <shlib-compat.h> rather than the underlying
14799 default_symbol_version and symbol_version macros, so that DEFAULT
14800 lines in shlib-versions are respected.
14801 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14803 2012-08-01 Florian Weimer <fweimer@redhat.com>
14805 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14806 Declare with warn_unused_result.
14807 (setgid, setregid, setegid, setresgid): Likewise.
14808 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14810 * WUR-REPORT: Remove set*id functions.
14812 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14814 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14816 2012-07-31 Roland McGrath <roland@hack.frob.com>
14819 * include/sys/socket.h (__libc_accept, __libc_accept4):
14820 Add attribute_hidden.
14821 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14823 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14825 * inet/getnetgrent_r.c (setup): Likewise.
14827 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14829 2012-07-31 David S. Miller <davem@davemloft.net>
14831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14833 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14836 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14837 value between 1.0 and 2.0 and smaller part has absolute value less
14839 * math/s_clog10.c (__clog10): Likewise.
14840 * math/s_clog10f.c (__clog10f): Likewise.
14841 * math/s_clog10l.c (__clog10l): Likewise.
14842 * math/s_clogf.c (__clogf): Likewise.
14843 * math/s_clogl.c (__clogl): Likewise.
14844 * math/libm-test.inc (clog_test): Add more tests.
14845 (clog10_test): Likewise.
14846 * sysdeps/i386/fpu/libm-test-ulps: Update.
14847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849 2012-07-31 Florian Weimer <fweimer@redhat.com>
14851 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14852 Exit with zero in case no suitable GID is found, and write a
14853 message to standard error.
14855 2012-07-30 Roland McGrath <roland@hack.frob.com>
14857 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14859 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14860 (MAXPATHLEN): Removed.
14861 (NOGROUP, NODEV): New macros.
14862 (setbit, clrbit, isset, isclr): New macros.
14863 (howmany, roundup, powerof2): New macros.
14864 (DEV_BSIZE): New macro.
14866 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14867 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14869 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14870 definition on [!__NO_LONG_DOUBLE_MATH].
14872 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14873 PTR_MANGLE and PTR_DEMANGLE.
14875 * socket/accept4.c (accept4): Rename to __libc_accept4.
14876 Define accept4 as a weak alias.
14878 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14879 on [_DIRENT_HAVE_D_TYPE].
14880 * io/ftw.c (ftw_dir): Likewise.
14882 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14884 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14886 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14887 Use the BSD numbers rather than the arbitrary ones we had.
14888 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14889 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14890 (SIGXCPU, SIGXFSZ): New macros.
14893 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14894 initializer on [_LIBC_REENTRANT].
14896 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14897 definitions inside [_POSIX_MAPPED_FILES].
14899 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14901 * dirent/opendir.c: Include <fcntl.h>.
14903 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14904 (__libc_getspecific): Likewise.
14905 (__libc_key_create): Likewise.
14907 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14908 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14909 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14910 (tmpfile64): Define as alias.
14911 * sysdeps/wordsize-64/tmpfile.c: File removed.
14912 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14913 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14914 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14916 * stdio-common/vfscanf.c: Include <stdbool.h>.
14917 * nss/makedb.c: Likewise.
14918 * stdio-common/_i18n_number.h: Likewise.
14919 * argp/argp-help.c: Likewise.
14920 * posix/wordexp.c: Likewise.
14921 * sysdeps/posix/spawni.c: Likewise.
14922 * nss/nss_files/files-initgroups.c: Likewise.
14923 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14924 * nss/nss_files/files-initgroups.c: Likewise.
14925 * nss/nss_db/db-netgrp.c: Likewise.
14926 * nss/nss_db/db-initgroups.c: Likewise.
14927 * io/fchmodat.c: Include <sys/stat.h>.
14929 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14930 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14932 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14935 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14936 Add multiple inclusion protection.
14938 2012-07-27 David S. Miller <davem@davemloft.net>
14940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14942 2012-07-27 Gary Benson <gbenson@redhat.com>
14945 * elf/rtld.c: Include <stap-probe.h>.
14946 (dl_main): Added static probes "init_start" and "init_complete".
14947 * elf/dl-load.c: Include <stap-probe.h>.
14948 (lose): Take new parameter "nsid".
14949 Added static probe "map_failed".
14950 (_dl_map_object_from_fd): Pass namespace id to lose.
14951 Added static probe "map_start".
14952 (open_verify): Pass namespace id to lose.
14953 * elf/dl-open.c: Include <stap-probe.h>.
14954 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14955 and "reloc_complete".
14956 * elf/dl-close.c: Include <stap-probe.h>.
14957 (_dl_close_worker): Added static probes "unmap_start" and
14959 * elf/rtld-debugger-interface.txt: New file documenting the above.
14961 2012-07-26 Roland McGrath <roland@hack.frob.com>
14963 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14964 rather than a string variable.
14965 * sunrpc/rpc_main.c (h_output): Likewise.
14966 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14968 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14970 * inet/check_native.c: New file.
14972 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14975 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14976 if larger part has absolute value 1.0.
14977 * math/s_clog10.c (__clog10): Likewise.
14978 * math/s_clog10f.c (__clog10f): Likewise.
14979 * math/s_clog10l.c (__clog10l): Likewise.
14980 * math/s_clogf.c (__clogf): Likewise.
14981 * math/s_clogl.c (__clogl): Likewise.
14982 * math/libm-test.inc (clog_test): Add more tests.
14983 (clog10_test): Likewise.
14984 * sysdeps/i386/fpu/libm-test-ulps: Update.
14985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14987 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14988 (pltexit): Likewise.
14989 (La_regs): Likewise.
14990 (La_retval): Likewise.
14991 (int_retval): Likewise.
14992 Update #error for removed macros to refer only to definitions in
14994 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14996 (pltexit): Likewise.
14997 (La_regs): Likewise.
14998 (La_retval): Likewise.
14999 (int_retval): Likewise.
15000 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15002 (pltexit): Likewise.
15003 (La_regs): Likewise.
15004 (La_retval): Likewise.
15005 (int_retval): Likewise.
15006 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15008 (pltexit): Likewise.
15009 (La_regs): Likewise.
15010 (La_retval): Likewise.
15011 (int_retval): Likewise.
15012 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15014 (pltexit): Likewise.
15015 (La_regs): Likewise.
15016 (La_retval): Likewise.
15017 (int_retval): Likewise.
15018 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15020 (pltexit): Likewise.
15021 (La_regs): Likewise.
15022 (La_retval): Likewise.
15023 (int_retval): Likewise.
15024 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15026 (pltexit): Likewise.
15027 (La_regs): Likewise.
15028 (La_retval): Likewise.
15029 (int_retval): Likewise.
15030 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15031 macro definitions in tst-audit.h.
15032 * sysdeps/i386/tst-audit.h: New file.
15033 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15034 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15035 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15036 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15037 * sysdeps/sh/tst-audit.h: Likewise.
15038 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15039 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15040 * sysdeps/x86_64/tst-audit.h: Likewise.
15042 2012-07-26 Andreas Jaeger <aj@suse.de>
15044 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15047 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15048 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15049 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15051 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15053 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15055 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15058 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15060 (si_call_addr, si_syscall, si_arch): Define new macro.
15061 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15063 (si_call_addr, si_syscall, si_arch): Define new marcro.
15064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15066 (si_call_addr, si_syscall, si_arch): Define new macro.
15067 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15069 (si_call_addr, si_syscall, si_arch): Define new macro.
15071 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15075 Change to 2.4.21 where previously 2.4.1.
15076 * sysdeps/unix/sysv/linux/configure: Regenerated.
15077 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15078 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15079 Linux kernel version.
15080 (__ASSUME_STD_AUXV): Remove.
15081 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15083 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15084 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15085 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15086 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15087 (__ASSUME_NETLINK_SUPPORT): Likewise.
15088 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15089 (__no_netlink_support): Remove conditional definition.
15090 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15092 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15093 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15094 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15095 (if_nameindex_ioctl): Remove.
15096 (if_nameindex_netlink): Do not handle __no_netlink_support.
15097 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15099 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15100 Remove conditional code.
15101 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15103 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15105 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15106 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15107 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15109 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15110 [!__ASSUME_STD_AUXV]: Remove conditional code.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15112 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15113 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15115 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15116 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15118 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15120 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15121 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15123 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15125 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15128 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15131 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15132 code unconditional.
15133 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15135 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15137 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15140 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15142 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15145 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15146 code unconditional.
15147 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15149 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15151 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15154 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15155 code unconditional.
15156 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15158 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15160 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15163 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15165 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15166 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15167 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15168 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15169 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15170 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15171 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15172 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15173 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15174 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15175 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15176 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15177 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15178 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15181 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15183 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15185 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15186 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15189 2012-07-25 Florian Weimer <fweimer@redhat.com>
15191 * Versions.def: Add GLIBC_2.17.
15192 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15193 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15194 Introduce __libc_secure_getenv.
15195 * stdlib/Versions (2.17): Add secure_getenv
15196 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15197 * stdlib/secure-getenv.c: Rename __secure_getenv to
15198 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15199 symbol __secure_getenv for GLIBC_2.0.
15200 * stdlib/tst-secure-getenv.c: New.
15201 * stdlib/Makefile (tests): Add testcase.
15202 * manual/startup.texi (Environment Access): Document
15204 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15205 __libc_secure_getenv.
15206 * inet/ruserpass.c (ruserpass): Likewise.
15207 * malloc/mtrace.c (mtrace): Likewise.
15208 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15209 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15210 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15211 * sysdeps/posix/tempname.c: Likewise. Evaluate
15212 HAVE_SECURE_GETENV.
15213 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15214 __secure_getenv to __libc_secure_getenv.
15215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15228 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15230 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15231 (struct La_i86_retval): Likewise.
15232 (struct La_x86_64_regs): Likewise.
15233 (struct La_x86_64_retval): Likewise.
15234 (struct La_x32_regs): Likewise.
15235 (struct La_x32_retval): Likewise.
15236 (struct La_ppc32_regs): Likewise.
15237 (struct La_ppc32_retval): Likewise.
15238 (struct La_ppc64_regs): Likewise.
15239 (struct La_ppc64_retval): Likewise.
15240 (struct La_sh_regs): Likewise.
15241 (struct La_sh_retval): Likewise.
15242 (struct La_s390_32_regs): Likewise.
15243 (struct La_s390_32_retval): Likewise.
15244 (struct La_s390_64_regs): Likewise.
15245 (struct La_s390_64_retval): Likewise.
15246 (struct La_sparc32_regs): Likewise.
15247 (struct La_sparc32_retval): Likewise.
15248 (struct La_sparc64_regs): Likewise.
15249 (struct La_sparc64_retval): Likewise.
15250 (struct audit_ifaces): Remove architecture-specific pltenter and
15252 * sysdeps/i386/ldsodefs.h: New file.
15253 * sysdeps/powerpc/ldsodefs.h: Likewise.
15254 * sysdeps/s390/ldsodefs.h: Likewise.
15255 * sysdeps/sh/ldsodefs.h: Likewise.
15256 * sysdeps/sparc/ldsodefs.h: Likewise.
15257 * sysdeps/x86_64/ldsodefs.h: Likewise.
15259 2012-07-25 Marek Polacek <polacek@redhat.com>
15262 * math/libm-test.inc (yn_test): Add another test.
15263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15264 to ERANGE when the result is +-Inf.
15265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15266 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15267 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15268 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15270 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15272 * conform/data/time.h-data (NULL): Use macro-constant. Require
15274 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15276 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15278 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15280 * configure.in <sysdeps resolving>: Correct printing
15282 * configure: Regenerate.
15284 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15286 * math/w_ilogb.c: Include <limits.h>.
15287 * math/w_ilogbl.c: Likewise.
15289 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15291 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15292 va_copy. Document allowing for unavailable va_copy only as
15293 pre-C99 compatibility.
15294 * manual/string.texi (Copying and Concatenation): Use va_copy
15295 instead of __va_copy in concat example.
15297 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15299 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15300 (__sendto): Use create_address_port. Initialize APORT and deallocate
15303 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15304 with O_NOLINK passed to __file_name_lookup.
15306 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15307 with O_NOLINK passed to __file_name_lookup.
15309 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15310 negative N or less than NGIDS.
15312 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15313 type to string_t. Set ERANGE as errno and return it if NAME is not big
15314 enough. Use memcpy instead of strncpy.
15316 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15318 * elf/Makefile (check-data): Remove.
15319 (localplt.data): New vpath directive.
15320 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15321 instead of $(check-data).
15322 * scripts/data/localplt-generic.data: Move to ...
15323 * sysdeps/generic/localplt.data: ... here.
15324 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15325 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15326 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15329 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15332 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15335 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15338 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15341 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15345 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15347 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15348 PPC32 and PPC64 files.
15349 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15350 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15352 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15354 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15355 __makecontext_ret to ...
15356 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15357 ... here and call exit if uc_link is NULL. New file.
15358 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15359 __makecontext_ret.S.
15360 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15361 __makecontext_ret to ...
15362 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15363 ... here and call exit if uc_link is NULL. New file.
15364 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15365 __makecontext_ret.S.
15367 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15369 * elf/elf.h (R_390_IRELATIVE): New definition.
15370 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15371 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15372 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15373 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15374 (elf_machine_lazy_rel): Likewise.
15375 * sysdeps/s390/dl-irel.h: New file.
15376 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15377 * sysdeps/s390/s390-64/memset.S: New asm code.
15378 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15379 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15380 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15381 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15382 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15383 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15385 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15386 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15387 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15388 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15389 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15390 * sysdeps/s390/s390-32/memset.S: New asm code.
15391 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15393 2012-07-17 Marek Polacek <polacek@redhat.com>
15396 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15397 * sysdeps/s390/s390-64/configure.in: Likewise.
15398 * sysdeps/sparc/configure.in: Likewise.
15399 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15400 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15401 * sysdeps/i386/configure.in: Likewise.
15402 * sysdeps/x86_64/configure.in: Likewise.
15403 * sysdeps/sh/configure.in: Likewise.
15404 * sysdeps/s390/s390-32/configure: Regenerated.
15405 * sysdeps/s390/s390-64/configure: Likewise.
15406 * sysdeps/x86_64/configure: Likewise.
15407 * sysdeps/sh/configure: Likewise.
15408 * sysdeps/powerpc/powerpc64/configure: Likewise.
15409 * sysdeps/powerpc/powerpc32/configure: Likewise.
15410 * sysdeps/sparc/configure: Likwise.
15411 * sysdeps/i386/configure: Likewise.
15413 * elf/dl-open.c: Comment fixes.
15415 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15417 * Makefile [CXX] (check-data): Remove.
15418 [CXX] (c++-types.data): New vpath directive.
15419 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15420 vpath. Do not allow for C++ type data being missing.
15421 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15422 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15423 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15424 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15425 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15426 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15427 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15430 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15433 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15436 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15439 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15442 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15445 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15448 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15451 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15452 definitions to architecture-specific files.
15453 (TLS_IE): Likewise.
15454 (TLS_LD): Likewise.
15455 (TLS_GD): Likewise.
15456 * sysdeps/i386/tls-macros.h: New file.
15457 * sysdeps/powerpc/tls-macros.h: Likewise.
15458 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15459 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15460 * sysdeps/sh/tls-macros.h: Likewise.
15461 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15462 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15463 * sysdeps/x86_64/tls-macros.h: Likewise.
15465 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15468 zero value for regular exit case.
15470 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15471 (__start_context): Preserve zero value for regular exit case.
15473 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15474 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15476 * manual/setjmp.texi (setcontext): Clarify normal process
15477 termination when uc_link is the null pointer.
15478 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15481 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15483 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15484 preprocessor. Test for each exception mask separately.
15486 2012-07-16 Andreas Jaeger <aj@suse.de>
15488 * po/ru.po: Update from translation team.
15490 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15492 * conform/data/string.h-data (NULL): Use macro-constant. Require
15494 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15495 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15496 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15497 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15500 2012-07-13 Andreas Jaeger <aj@suse.de>
15502 * po/fr.po: Update from translation team.
15504 2012-07-12 Marek Polacek <polacek@redhat.com>
15507 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15511 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15514 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15515 Change to 2.4.1 where previously 2.4.0.
15516 * sysdeps/unix/sysv/linux/configure: Regenerated.
15517 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15518 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15520 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15521 (__ASSUME_AT_CLKTCK): Remove.
15522 (__ASSUME_AT_PAGESIZE): Likewise.
15523 (__ASSUME_AT_XID): Likewise.
15524 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15525 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15526 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15528 (HAVE_AUX_PAGESIZE): Likewise.
15529 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15530 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15531 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15533 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15537 the temporary buffer used to invoke __gethostbyname2_r,
15538 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15539 host_data / struct gaih_addrtuple.
15540 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15541 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15542 header file nss/nsswitch.h.
15543 * nss/nsswitch.h (global scope): Add definition of implementation
15544 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15545 resolv/nss_dns/dns-host.c).
15547 2012-07-11 Andreas Jaeger <aj@suse.de>
15549 * po/fr.po: Update from translation team.
15551 * po/sv.po: Update from translation team
15552 * po/fr.po: Another update from translation team.
15554 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15557 for subnormals or multiply small sinh result by itself.
15558 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15561 2012-07-11 David S. Miller <davem@davemloft.net>
15563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15565 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15568 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15569 (INTERNAL_MARK): Shift it here.
15571 2012-07-10 Marek Polacek <polacek@redhat.com>
15574 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15575 libc_cv_asm_global_directive with .globl.
15576 * configure: Regenerated.
15577 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15579 * sysdeps/i386/configure: Regenerated.
15580 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15582 * sysdeps/x86_64/configure: Regenerated.
15583 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15584 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15585 * elf/tst-unique2mod2.c: Likewise.
15586 * elf/tst-unique2mod1.c: Likewise.
15587 * elf/tst-unique1mod2.c: Likewise.
15588 * elf/tst-unique1mod1.c: Likewise.
15589 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15590 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15591 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15592 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15593 * sysdeps/mach/sysdep.h: Likewise.
15594 * sysdeps/i386/sysdep.h: Likewise.
15595 * sysdeps/i386/i386-mcount.S: Likewise.
15596 * sysdeps/x86_64/_mcount.S: Likewise.
15597 * sysdeps/x86_64/sysdep.h: Likewise.
15598 * sysdeps/sh/_mcount.S: Likewise.
15599 * sysdeps/sh/sysdep.h: Likewise.
15600 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15601 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15602 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15603 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15604 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15605 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15606 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15607 * locale/localeinfo.h: Likewise.
15608 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15609 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15611 2012-07-09 Roland McGrath <roland@hack.frob.com>
15614 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15616 * manual/message.texi (The Uniforum approach): Likewise.
15617 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15618 (glibc iconv Implementation): Likewise.
15620 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15623 * math/s_clog.c (__clog): Avoid scaling a value down where that
15624 could result in underflow.
15625 * math/s_clog10.c (__clog10): Likewise.
15626 * math/s_clog10f.c (__clog10f): Likewise.
15627 * math/s_clog10l.c (__clog10l): Likewise.
15628 * math/s_clogf.c (__clogf): Likewise.
15629 * math/s_clogl.c (__clogl): Likewise.
15630 * math/libm-test.inc (clog_test): Add more tests.
15631 (clog10_test): Likewise.
15632 * sysdeps/i386/fpu/libm-test-ulps: Update.
15633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15635 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15638 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15639 by 7 not 8 to examine high bit of fractional part.
15642 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15643 for call to __mcount_internal.
15644 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15645 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15646 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15648 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15651 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15652 approximation for values within 0x1p-13f of an odd multiple of
15654 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15655 exception. Add more tests.
15656 * sysdeps/i386/fpu/libm-test-ulps: Update.
15659 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15660 inputs and return -1 for them. Do not check for +Inf in case not
15661 reachable for +Inf.
15662 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15663 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15664 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15665 and return -1 for them. Do not check for +Inf in case not
15666 reachable for +Inf.
15667 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15669 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15670 and return -1 for them. Do not check for +Inf in case not
15671 reachable for +Inf.
15672 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15673 spurious underflow.
15674 * sysdeps/i386/fpu/libm-test-ulps: Update.
15675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15677 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15679 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15681 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15685 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15686 could result in spurious underflow. Scale down values above
15687 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15688 * math/s_csqrtf.c (__csqrtf): Likewise.
15689 * math/s_csqrtl.c (__csqrtl): Likewise.
15690 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15691 spurious underflow.
15692 * sysdeps/i386/fpu/libm-test-ulps: Update.
15693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15695 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15697 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15699 * catgets/xopen-msg.awk: New file.
15700 * catgets/xopen-msg.sed: Removed.
15702 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15704 * intl/po2test.awk: New file.
15705 * intl/po2test.sed: Removed.
15707 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15710 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15711 or multiply small sinh result by itself.
15712 * math/s_ctanf.c (__ctanf): Likewise.
15713 * math/s_ctanh.c (__ctanh): Likewise.
15714 * math/s_ctanhf.c (__ctanhf): Likewise.
15715 * math/s_ctanhl.c (__ctanhl): Likewise.
15716 * math/s_ctanl.c (__ctanl): Likewise.
15717 * math/libm-test.inc (ctan_test_tonearest): New function.
15718 (ctan_test_towardzero): Likewise.
15719 (ctan_test_downward): Likewise.
15720 (ctan_test_upward): Likewise.
15721 (ctanh_test_tonearest): Likewise.
15722 (ctanh_test_towardzero): Likewise.
15723 (ctanh_test_downward): Likewise.
15724 (ctanh_test_upward): Likewise.
15725 (main): Call these new functions.
15726 * sysdeps/i386/fpu/libm-test-ulps: Update.
15727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15729 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15731 * .gitignore: Delete /ports entry.
15733 2012-07-03 Andreas Jaeger <aj@suse.de>
15735 * po/bg.po: Update from translation team.
15736 * po/cs.po: Likewise.
15737 * po/de.po: Likewise.
15738 * po/hr.po: Likewise.
15739 * po/nl.pl: Likewise.
15740 * po/pl.po: Likewise.
15741 * po/vi.po: Likewise.
15743 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15745 * Makeconfig [!+link] (+link-before-libc): New variable.
15746 [!+link] (+link-after-libc): Likewise.
15747 [!+link] (+link-tests): Likewise.
15748 [!+link] (+link): Define in terms of $(+link-before-libc) and
15749 $(+link-after-libc).
15750 [!+link-static] (+link-static-before-libc): New variable.
15751 [!+link-static] (+link-static-after-libc): Likewise.
15752 [!+link-static] (+link-static-tests): Likewise.
15753 [!+link-static] (+link-static): Define in terms of
15754 $(+link-static-before-libc) and $(+link-static-after-libc).
15755 [build-shared] (link-libc-before-gnulib): New variable.
15756 [build-shared] (link-libc-tests): Likewise.
15757 [build-shared] (link-libc): Define in terms of
15758 $(link-libc-before-gnulib).
15759 [!build-shared] (link-libc-tests): New variable.
15760 (link-libc-static-tests): New variable.
15761 [!gnulib] (gnulib-arch): New variable.
15762 [!gnulib] (gnulib-tests): Likewise.
15763 [!gnulib] (static-gnulib-arch): Likewise.
15764 [!gnulib] (static-gnulib-tests): Likewise.
15765 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15766 Define with "=" instead of ":=".
15767 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15768 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15769 * Rules (binaries-all-notests): New variable.
15770 (binaries-all-tests): Likewise.
15771 (binaries-static-notests): Likewise.
15772 (binaries-static-tests): Likewise.
15773 (binaries-all): Define using $(binaries-all-notests) and
15774 $(binaries-all-tests).
15775 (binaries-static): Define using $(binaries-static-notests) and
15776 $(binaries-static-tests).
15777 (binaries-shared-tests): New variable.
15778 (binaries-shared-notests): Likewise.
15779 (binaries-shared): Remove variable.
15780 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15781 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15782 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15783 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15784 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15785 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15786 * elf/Makefile (sln-modules): New variable.
15787 (extra-objs): Add $(sln-modules:=.o).
15788 (ldconfig-modules): Add static-stubs.
15789 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15790 * elf/static-stubs.c: New file.
15793 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15794 by 7 not 8 to examine high bit of fractional part. Use volatile
15795 variables when splitting into final array of floats if
15796 __FLT_EVAL_METHOD__ != 0.
15797 * math/libm-test.inc (cos_test): Add another test.
15798 (sin_test): Likewise.
15799 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * math/libm-test.inc (cosh_test): Add more tests.
15804 * version.h (RELEASE): Set to "development".
15805 (VERSION): Set to "2.16.90".
15807 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15809 * NEWS: Update copyright. Remove last-updated date.
15810 Mention math library bug fixes and timezone data changes.
15811 * README: Mention GNU/Hurd, x32, and HPPA support status.
15813 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15815 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15817 2012-06-27 Andreas Jaeger <aj@suse.de>
15819 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15821 2012-06-25 Andreas Jaeger <aj@suse.de>
15823 * sysdeps/s390/fpu/libm-test-ulps: Update.
15825 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15826 Thomas Schwinge <thomas@codesourcery.com>
15828 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15829 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15833 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15835 * sysdeps/mach/start.c: Remove file.
15836 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15837 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15838 * sysdeps/sh/init-first.c: Likewise.
15840 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15841 registers for frame unwinding purposes, add CFI directives.
15842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15843 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15844 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15847 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15848 __fortify_fail returning.
15849 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15851 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15852 sysdeps/sh/____longjmp_chk.S.
15853 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15854 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15855 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15856 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15858 * sysdeps/sh/abort-instr.h: New file.
15859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15860 process in case exit returns.
15862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15863 initialize the GOT register before use.
15865 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15866 calculation of ARGC > 4.
15868 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15869 meaningful names to some local labels.
15871 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15872 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15875 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15876 (__arch_compare_and_exchange_val_16_acq): Likewise.
15877 (__arch_compare_and_exchange_val_32_acq): Likewise.
15878 (atomic_exchange_and_add): Fix gUSA sequence.
15879 (atomic_add): Likewise.
15880 (atomic_add_negative): Likewise.
15881 (atomic_add_zero): Likewise.
15882 (atomic_bit_test_set): Likewise.
15884 2012-06-22 Andreas Schwab <schwab@redhat.com>
15887 * include/link.h (struct link_map): Add l_free_initfini.
15888 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15890 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15891 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15892 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15895 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15897 * configure.in: Use AC_LANG_SOURCE.
15898 * configure: Regenerate.
15900 2012-06-22 Roland McGrath <roland@hack.frob.com>
15902 * configure.in (libc_cv_localstatedir): New substituted variable.
15903 * configure: Regenerated.
15904 * config.make.in (localstatedir): New variable, substituted from
15905 libc_cv_localstatedir.
15906 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15907 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15908 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15909 * sysdeps/gnu/configure: Regenerated.
15911 2012-06-21 Jeff Law <law@redhat.com>
15914 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15915 free. Simplify list management for _LIBC case.
15917 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15920 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15921 Clear sign bit of 64-bit integer value before comparing against
15924 * sysdeps/mach/configure: Regenerated.
15926 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15929 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15931 2012-06-21 Jeff Law <law@redhat.com>
15934 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15935 uint16_t for elements in the "seen" array to avoid char overflows.
15936 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15937 * elf/dl-open.c (dl_open_worker): Likewise.
15939 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15941 * scripts/list-sources.sh: Scan PORTS for translations.
15942 * po/libc.pot: Regenerated.
15944 2012-06-21 Andreas Jaeger <aj@suse.de>
15947 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15949 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15950 * bits/byteswap-16.h (__bswap_16): Likewise.
15951 * bits/byteswap.h (__bswap_constant_16): Likewise.
15953 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15956 * sysdeps/i386/fpu_control.h: Removed.
15957 * sysdeps/x86_64/fpu_control.h: Moved to ...
15958 * sysdeps/x86/fpu_control.h: Here.
15960 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15961 (_FPU_SETCW): Likewise.
15963 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15966 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15967 * sysdeps/x86/fpu/bits/mathinline.h: This.
15968 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15972 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15973 functions if __x86_64__ is defined.
15975 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15977 * string/endian.h: Add !__ASSEMBLER__ condition for including
15978 conversion interfaces.
15980 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15984 of ABS(x) in calculating zero to negative powers other than odd
15986 * math/libm-test.inc (pow_test): Add more tests.
15988 2012-06-15 Andreas Jaeger <aj@suse.de>
15990 * manual/contrib.texi (Contributors): Update entry of Liubov
15991 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15994 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15996 * string/string.h: Add __wur to GNU version of strerror_r.
15998 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16001 * string/Makefile (tests): Add tst-strtok_r.
16002 * string/tst-strtok_r.c: New file.
16003 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16004 RAX_LP/RDX_LP on SAVE_PTR.
16006 2012-06-14 Roland McGrath <roland@hack.frob.com>
16008 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16010 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16012 * libm_test.inc (csqrt_test): Allow more spurious underflow
16014 (j0_test): Likewise.
16015 (j1_test): Likewise.
16016 (y0_test): Likewise.
16017 (y1_test): Likewise.
16019 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16021 * po/Makefile (libc.pot): Use UTF-8 charset.
16023 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16026 Suppress sign-conversion warning from FD_SET.
16027 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16028 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16029 not unsigned long int.
16030 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16032 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16036 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16037 __extern_always_inline instead of __extern_inline.
16038 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16039 (__signbit): Likewise.
16040 (__signbitl): Support C++ namespace.
16041 (lrintf): New inline function.
16043 (llrintf): Likewise.
16044 (llrint): Likewise.
16054 (floorf): Likewise.
16055 (nearbyint): Likewise.
16056 (nearbyintf): Likewise.
16058 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16061 non-default versions.
16063 2012-06-11 Roland McGrath <roland@hack.frob.com>
16066 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16068 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16070 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16071 (FE_UPWARD, FE_DOWNWARD): Don't define.
16072 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16073 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16075 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16077 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16078 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16080 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16082 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16084 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16085 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16087 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16090 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16091 * sysdeps/i386/fpu/Implies: New file.
16092 * sysdeps/x86_64/fpu/Implies: Likewise.
16093 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16094 * sysdeps/x86/fpu/bits/fenv.h: This.
16096 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16099 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16102 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16103 character 0xffff that matches the last element of the
16106 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16108 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16111 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16114 values higher than 25.6283.
16116 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16119 subnormal exponent extraction and add some __builtin_expect.
16120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16121 Fix for subnormal mantissa calculation.
16123 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16125 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16126 cpu2 is -1 and errno is not ENOSYS.
16128 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16131 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16132 * sysdeps/x86/bits/string.h: This.
16133 * sysdeps/x86_64/bits/string.h: Removed.
16135 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16136 if not compiling for x86-64, but compiling for >= i486.
16138 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16139 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16141 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16142 New macro from Linux kernel 3.4.0.
16143 (FP_XSTATE_MAGIC2): Likewise.
16144 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16145 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16146 (struct _fpx_sw_bytes): New struct.
16147 (struct _xsave_hdr): Likewise.
16148 (struct _ymmh_state): Likewise.
16149 (struct _xstate): Likewise.
16151 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16152 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16153 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16154 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16155 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16156 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16158 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16159 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16160 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16161 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16162 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16163 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16165 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16168 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16169 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16170 (sysdep_headers): Include sys/platform/ppc.h.
16171 * sysdeps/powerpc/test-gettimebase.c: Test for
16172 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16173 * manual/Makefile (appendices): Include platform.texi.
16174 * manual/contrib.texi (Contributors): Update @node pointers.
16175 * manual/maint.texi (Maintenance): Likewise.
16176 (Platform): New node.
16177 * manual/platform.texi: New file. Document the new features.
16179 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16180 Jakub Jelinek <jakub@redhat.com>
16183 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16184 where __builtin_expect is unavailable.
16186 2012-06-03 David S. Miller <davem@davemloft.net>
16188 * stdlib/longlong.h: Updated from GCC.
16190 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16193 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16194 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16197 (GLIBC_2.16): Likewise.
16199 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16201 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16203 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16206 (default-abi): New variable.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16208 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16210 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16212 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16217 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16218 definition. Document in comment.
16220 2012-06-01 David S. Miller <davem@davemloft.net>
16222 * stdlib/longlong.h: Updated from GCC.
16224 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16227 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16228 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16229 sys/debugreg.h sys/io.h here.
16230 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16231 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16233 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16234 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16235 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16236 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16237 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16238 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16240 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16241 Define only if __x86_64__ is defined.
16243 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16246 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16247 Use int64_t for variable i.
16248 * math/libm-test.inc (fmod_test): Add more tests.
16250 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16251 z computation is not scheduled after fetestexcept.
16252 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16253 Use math_force_eval instead of asm to ensure calculation scheduled
16254 before exception test.
16255 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16256 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16258 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16261 computation is not scheduled after fetestexcept.
16263 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16266 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16267 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16269 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16271 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16272 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16274 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16277 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16279 (__WCHAR_MIN): Support __WORDSIZE == 64.
16280 (__WCHAR_MAX): Likewise.
16282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16283 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16286 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16287 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16290 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16293 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16294 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16296 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16297 Defined to 1 if __x86_64__ isn't defined.
16298 (_STAT_VER_LINUX_OLD): New.
16299 (st_atime): Remove duplicate.
16300 (st_mtime): Likewise.
16301 (st_ctime): Likewise.
16303 2012-05-31 David S. Miller <davem@davemloft.net>
16305 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16308 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16310 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16314 * elf/dl-reloc.c: Include <_itoa.h>.
16315 (_dl_reloc_bad_type): Remove use of INTUSE.
16316 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16317 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16318 * stdio-common/psiginfo.c (psiginfo): Likewise.
16319 * stdio-common/psignal.c (psignal): Likewise.
16320 * string/strsignal.c (strsignal): Likewise.
16321 * include/signal.h (_sys_siglist): Declare hidden proto.
16322 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16323 INTVARDEF with libc_hidden_data_def.
16324 * stdio-common/itoa-udigits.c: Likewise.
16325 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16326 (_itoa_lower_digits_internal): Remove declaration.
16327 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16328 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16329 (_sys_sigabbrev_internal): Remove aliases.
16330 (_sys_siglist): Define hidden alias.
16332 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16337 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16340 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16341 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16343 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16344 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16345 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16346 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16348 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16350 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16352 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16354 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16363 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16364 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16366 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16367 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16369 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16370 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16371 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16373 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16374 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16376 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16377 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16381 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16383 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16384 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16386 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16388 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16389 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16390 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16392 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16394 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16396 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16398 * math/math.h (M_El): Use two more decimal places.
16399 (M_LOG2El): Likewise.
16400 (M_LOG10El): Likewise.
16401 (M_LN2l): Likewise.
16402 (M_LN10l): Likewise.
16404 (M_PI_2l): Likewise.
16405 (M_PI_4l): Likewise.
16406 (M_1_PIl): Likewise.
16407 (M_2_PIl): Likewise.
16408 (M_2_SQRTPIl): Likewise.
16409 (M_SQRT2l): Likewise.
16410 (M_SQRT1_2l): Likewise.
16412 2012-05-31 David S. Miller <davem@davemloft.net>
16414 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16415 values between float registers.
16416 * sysdeps/sparc/sparc64/memset.S: Likewise.
16417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16419 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16421 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16422 -D_FORTIFY_SOURCE=1.
16423 (CPPFLAGS-tst-longjmp_chk.c): Define.
16424 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16425 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16426 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16427 CFLAGS-tst-wchar-h.c.
16429 2012-05-31 Marek Polacek <polacek@redhat.com>
16432 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16433 __endmntent_internal): Remove declaration.
16434 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16435 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16436 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16438 2012-05-30 David S. Miller <davem@davemloft.net>
16440 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16441 (___Q_simulate_exceptions): Use real FP ops rather than writing
16443 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16446 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16449 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16450 * sysdeps/x86/bits/xtitypes.h: This.
16452 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16453 * sysdeps/x86/bits/wordsize.h: This.
16455 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16456 * sysdeps/x86/bits/huge_vall.h: This.
16458 * sysdeps/i386/bits/select.h: Removed.
16459 * sysdeps/x86_64/bits/select.h: Renamed to ...
16460 * sysdeps/x86/bits/select.h: This.
16462 * sysdeps/i386/bits/setjmp.h: Removed.
16463 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16464 * sysdeps/x86/bits/setjmp.h: This.
16466 * sysdeps/i386/bits/mathdef.h: Removed.
16467 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16468 * sysdeps/x86/bits/mathdef.h: This.
16470 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16473 * include/sys/socket.h (__connect_internal)
16474 (__libc_sa_len_internal): Remove declaration.
16475 (__connect, __libc_sa_len): Declare hidden_proto.
16476 (SA_LEN): Remove use of INTUSE.
16477 * socket/connect.c: Add libc_hidden_def.
16478 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16479 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16480 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16482 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16483 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16484 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16485 of adding _internal alias.
16487 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16490 * sysdeps/i386/bits/link.h: Removed.
16491 * sysdeps/i386/bits/linkmap.h: Likewise.
16492 * sysdeps/x86_64/bits/link.h: Renamed to ...
16493 * sysdeps/x86/bits/link.h: This.
16494 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16495 * sysdeps/x86/bits/linkmap.h: This.
16497 * sysdeps/i386/bits/endian.h: Removed.
16498 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16499 * sysdeps/x86/bits/endian.h: This.
16501 * sysdeps/i386/bits/byteswap.h: Removed.
16502 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16503 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16504 * sysdeps/x86/bits/byteswap.h: This.
16505 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16506 * sysdeps/x86/bits/byteswap-16.h: This.
16507 * sysdeps/i386/Implies: Add x86.
16508 * sysdeps/x86_64/Implies: Likewise.
16510 2012-05-30 David S. Miller <davem@davemloft.net>
16512 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16513 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16514 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16515 (FP_TRAPPING_EXCEPTIONS): Define.
16516 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16517 (FP_TRAPPING_EXCEPTIONS): Define.
16518 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16519 subnormals only when inexact has been signalled or underflow
16520 exceptions are enabled.
16521 (_FP_PACK_CANONICAL): Likewise.
16523 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16526 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16527 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16529 2012-05-30 Richard Henderson <rth@twiddle.net>
16531 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16532 with #ifndef NOT_IN_libc.
16534 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16535 marked to avoid plt entry.
16537 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16540 * Makeconfig (default-abi): New macro.
16541 (abi-includes): Likewise.
16542 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16543 $(abi-$(default-abi)-lib-soname) for soname if defined.
16544 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16546 * Makefile (installed-stubs): Likewise.
16547 * include/stubs-biarch.h: Removed.
16548 * scripts/lib-names.awk: Only handle one library at a time.
16549 * scripts/soversions.awk: Remove WORDSIZE support.
16550 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16552 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16554 (syscall-list-default-condition): Likewise.
16555 (syscall-list-default-condition): Likewise.
16556 (syscall-list-includes): Likewise.
16557 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16558 syscall-list-* with abi-*. Handle undefined abi-variants.
16559 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16560 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16561 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16562 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16563 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16564 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16566 (syscall-list-32-options): Likewise.
16567 (syscall-list-32-condition): Likewise.
16568 (syscall-list-64-options): Likewise.
16569 (syscall-list-64-condition): Likewise.
16570 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16572 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16575 (abi-64-ld-soname): New macro.
16576 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16577 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16580 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16581 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16583 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16585 * sysdeps/unix/sysv/linux/kernel-features.h
16586 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16587 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16588 include <kernel-features.h>.
16589 [!__NR_ftruncate64]: Remove conditional code.
16590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16591 [__NR_ftruncate64]: Make code unconditional.
16592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16593 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16594 include <kernel-features.h>.
16595 [!__NR_ftruncate64]: Remove conditional code.
16596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16597 [__NR_ftruncate64]: Make code unconditional.
16598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16600 include <kernel-features.h>.
16601 [!__NR_ftruncate64]: Remove conditional code.
16602 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16603 [__NR_ftruncate64]: Make code unconditional.
16604 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16606 include <kernel-features.h>.
16607 [!__NR_ftruncate64]: Remove conditional code.
16608 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16609 [__NR_ftruncate64]: Make code unconditional.
16610 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16612 * configure.in (libc_cv_fpie): Weaken to a compile test using
16613 LIBC_TRY_CC_OPTION.
16614 * configure: Regenerated.
16616 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16631 2012-05-27 David S. Miller <davem@davemloft.net>
16633 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16635 (__Q_simulate_exceptions): Return void. Change to simulate
16636 exceptions by writing into the %fsr.
16637 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16638 (__Qp_handle_exceptions): Likewise.
16640 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16641 __Qp_handle_exceptions.
16642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16643 __Qp_handle_exceptions.
16644 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16645 as unused and give dummy FP_RND_NEAREST initializer.
16646 (FP_INHIBIT_RESULTS): Define.
16647 (___Q_simulate_exceptions): Update declaration.
16648 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16651 as unused and give dummy FP_RND_NEAREST initializer.
16652 (__Qp_handle_exceptions): Update declaration.
16653 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16656 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16658 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16659 the temporary FPU control word.
16660 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16661 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16662 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16664 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16666 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16667 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16668 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16669 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16670 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16672 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16674 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16677 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16679 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16680 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16681 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16682 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16684 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16685 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16688 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16690 * po/h.po: Update from translation team.
16692 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16694 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16696 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16697 handling of denormals.
16698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16699 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16700 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16707 2012-05-26 Marek Polacek <polacek@redhat.com>
16710 * math/libm-test.inc (fma_test): Don't always expect underflow
16713 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16716 * elf/tst-execstack.c: Include stackinfo.h.
16717 (do_test): Adjust test case to ensure that pthread_getattr_np
16718 behaviour remains the same after marking stack executable.
16720 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16722 * sysdeps/unix/sysv/linux/kernel-features.h
16723 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16724 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16726 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16727 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16728 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16730 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16731 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16733 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16735 * configure.in: Define the default includes to being none.
16736 * configure: Regenerated.
16738 2012-05-25 Roland McGrath <roland@hack.frob.com>
16740 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16741 * sysdeps/x86_64/setjmp.S: Likewise.
16742 * sysdeps/i386/bsd-setjmp.S: Likewise.
16743 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16744 * sysdeps/i386/setjmp.S: Likewise.
16745 * sysdeps/i386/__longjmp.S: Likewise.
16746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16747 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16749 * include/stap-probe.h: New file.
16750 * configure.in: Handle --enable-systemtap.
16751 * configure: Regenerated.
16752 * config.h.in (USE_STAP_PROBE): New #undef.
16753 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16754 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16755 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16757 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16761 to 2.4.0 where earlier.
16762 * sysdeps/unix/sysv/linux/configure: Regenerated.
16763 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16764 <kernel-features.h>.
16765 [__ASSUME_32BITUIDS]: Make code unconditional.
16766 [!__ASSUME_32BITUIDS]: Remove conditional code.
16767 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16768 <kernel-features.h>.
16769 [__ASSUME_32BITUIDS]: Make code unconditional.
16770 [!__ASSUME_32BITUIDS]: Remove conditional code.
16771 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16772 [__ASSUME_32BITUIDS]: Make code unconditional.
16773 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16774 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16775 <kernel-features.h>.
16776 [__ASSUME_32BITUIDS]: Make code unconditional.
16777 [!__ASSUME_32BITUIDS]: Remove conditional code.
16778 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16779 <kernel-features.h>.
16780 [__ASSUME_32BITUIDS]: Make code unconditional.
16781 [!__ASSUME_32BITUIDS]: Remove conditional code.
16782 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16783 <kernel-features.h>.
16784 [__ASSUME_32BITUIDS]: Make code unconditional.
16785 [!__ASSUME_32BITUIDS]: Remove conditional code.
16786 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16787 <kernel-features.h>.
16788 [__ASSUME_32BITUIDS]: Make code unconditional.
16789 [!__ASSUME_32BITUIDS]: Remove conditional code.
16790 * sysdeps/unix/sysv/linux/i386/getresgid.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/i386/getresuid.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/i386/getuid.c: Do not include
16799 <kernel-features.h>.
16800 [__ASSUME_32BITUIDS]: Make code unconditional.
16801 [!__ASSUME_32BITUIDS]: Remove conditional code.
16802 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16803 <kernel-features.h>.
16804 [__ASSUME_32BITUIDS]: Make code unconditional.
16805 [!__ASSUME_32BITUIDS]: Remove conditional code.
16806 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16807 <kernel-features.h>.
16808 [__ASSUME_32BITUIDS]: Make code unconditional.
16809 [!__ASSUME_32BITUIDS]: Remove conditional code.
16810 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16811 <kernel-features.h>.
16812 [__ASSUME_32BITUIDS]: Make code unconditional.
16813 [!__ASSUME_32BITUIDS]: Remove conditional code.
16814 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16815 <kernel-features.h>.
16816 [__NR_setresgid] (__setresgid): Do not declare.
16817 [__ASSUME_32BITUIDS]: Make code unconditional.
16818 [!__ASSUME_32BITUIDS]: Remove conditional code.
16819 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16820 <kernel-features.h>.
16821 [__NR_setresuid] (__setresuid): Do not declare.
16822 [__ASSUME_32BITUIDS]: Make code unconditional.
16823 [!__ASSUME_32BITUIDS]: Remove conditional code.
16824 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16825 <kernel-features.h>.
16826 [__ASSUME_32BITUIDS]: Make code unconditional.
16827 [!__ASSUME_32BITUIDS]: Remove conditional code.
16828 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16829 <kernel-features.h>.
16830 [__ASSUME_32BITUIDS]: Make code unconditional.
16831 [!__ASSUME_32BITUIDS]: Remove conditional code.
16832 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16833 <kernel-features.h>.
16834 [__ASSUME_32BITUIDS]: Make code unconditional.
16835 [!__ASSUME_32BITUIDS]: Remove conditional code.
16836 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16837 <kernel-features.h>.
16838 [__ASSUME_32BITUIDS]: Make code unconditional.
16839 [!__ASSUME_32BITUIDS]: Remove conditional code.
16840 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16841 <kernel-features.h>.
16842 [__ASSUME_32BITUIDS]: Make code unconditional.
16843 [!__ASSUME_32BITUIDS]: Remove conditional code.
16844 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16845 <kernel-features.h>.
16846 [__ASSUME_32BITUIDS]: Make code unconditional.
16847 [!__ASSUME_32BITUIDS]: Remove conditional code.
16848 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16849 <kernel-features.h>.
16850 [__ASSUME_32BITUIDS]: Make code unconditional.
16851 [!__ASSUME_32BITUIDS]: Remove conditional code.
16852 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16853 <kernel-features.h>.
16854 [__ASSUME_32BITUIDS]: Make code unconditional.
16855 [!__ASSUME_32BITUIDS]: Remove conditional code.
16856 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16857 <kernel-features.h>.
16858 [__ASSUME_32BITUIDS]: Make code unconditional.
16859 [!__ASSUME_32BITUIDS]: Remove conditional code.
16860 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16861 <kernel-features.h>.
16862 [__ASSUME_32BITUIDS]: Make code unconditional.
16863 [!__ASSUME_32BITUIDS]: Remove conditional code.
16864 * sysdeps/unix/sysv/linux/kernel-features.h
16865 (__ASSUME_SETRESUID_SYSCALL): Remove.
16866 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16867 (__ASSUME_32BITUIDS): Likewise.
16868 (__ASSUME_LDT_WORKS): Likewise.
16869 (__ASSUME_O_DIRECTORY): Likewise.
16870 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16871 architecture but not kernel version.
16872 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16873 (__ASSUME_MMAP2_SYSCALL): Likewise.
16874 (__ASSUME_STAT64_SYSCALL): Likewise.
16875 (__ASSUME_IPC64): Likewise.
16876 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16877 <kernel-features.h>.
16878 [__ASSUME_32BITUIDS]: Make code unconditional.
16879 [!__ASSUME_32BITUIDS]: Remove conditional code.
16880 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16881 <kernel-features.h>.
16882 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16883 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16884 132096]: Remove conditional code.
16885 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16886 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16887 <kernel-features.h>.
16888 [__ASSUME_32BITUIDS]: Make code unconditional.
16889 [!__ASSUME_32BITUIDS]: Remove conditional code.
16890 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16891 <kernel-features.h>.
16892 [__ASSUME_32BITUIDS]: Make code unconditional.
16893 [!__ASSUME_32BITUIDS]: Remove conditional code.
16894 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16895 <kernel-features.h>.
16896 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16898 (__setresgid): Do not declare.
16899 [__ASSUME_32BITUIDS]: Make code unconditional.
16900 [!__ASSUME_32BITUIDS]: Remove conditional code.
16901 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16902 <kernel-features.h>.
16903 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16905 (__setresuid): Do not declare.
16906 [__ASSUME_32BITUIDS]: Make code unconditional.
16907 [!__ASSUME_32BITUIDS]: Remove conditional code.
16908 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16909 <kernel-features.h>.
16910 [__ASSUME_32BITUIDS]: Make code unconditional.
16911 [!__ASSUME_32BITUIDS]: Remove conditional code.
16912 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16913 <kernel-features.h>.
16914 [__ASSUME_32BITUIDS]: Make code unconditional.
16915 [!__ASSUME_32BITUIDS]: Remove conditional code.
16917 2012-05-25 Richard Henderson <rth@twiddle.net>
16919 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16920 dl_hwcap to ifunc resolver.
16921 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16923 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16924 dl_hwcap to ifunc resolver.
16925 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16927 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16930 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16931 for |x| <= 2**-26, not 2**-57.
16932 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16935 2012-05-24 Jeff Law <law@redhat.com>
16937 * stdio-common/Makefile (tests): Add bug25.
16938 * stdio-common/bug25.c: New test.
16940 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16943 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16944 multiple of MALLOC_ALIGNMENT in size.
16945 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16947 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16949 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16951 (FILENAME_MAX): Use macro-int-constant.
16952 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16953 (_IOFBF): Use macro-int-constant.
16954 (_IOLBF): Likewise.
16955 (_IONBF): Likewise.
16956 (SEEK_CUR): Likewise.
16957 (SEEK_END): Likewise.
16958 (SEEK_SET): Likewise.
16959 (TMP_MAX): Likewise.
16960 (EOF): Use macro-int-constant. Require < 0.
16961 (NULL): Use macro-constant. Require == 0.
16962 (stdin): Require type to be FILE *.
16963 (stdout): Likewise.
16964 (stderr): Likewise.
16965 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16966 macro-int-constant.
16967 (EXIT_SUCCESS): Likewise.
16968 (NULL): Use macro-constant. Require == 0.
16969 (RAND_MAX): Use macro-int-constant.
16970 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16971 [C99-based standards] (strtof): Require function.
16972 [C99-based standards] (strtold): Likewise.
16973 [C99-based standards] (strtoll): Likewise.
16974 [C99-based standards] (strtoull): Likewise.
16975 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16976 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16977 [ISO || ISO99 || ISO11] (math.h): Likewise.
16978 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16979 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16982 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16985 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16986 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16987 * intl/dgettext.c (DCGETTEXT): Likewise.
16988 * intl/gettext.c (DCGETTEXT): Likewise.
16989 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16990 * posix/regex_internal.h (gettext): Likewise.
16991 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16992 Remove declaration.
16993 * include/argz.h (__argz_count_internal)
16994 (__argz_stringify_internal): Remove declaration.
16995 (__argz_count, __argz_stringify): Declare hidden proto.
16996 * intl/dcgettext.c: Remove use of INTDEF.
16997 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16998 * string/argz-stringify.c: Likewise.
16999 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17000 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17001 Declare hidden proto.
17002 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17003 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17004 Declare hidden proto.
17005 * include/stdio.h (__asprintf_internal): Don't declare.
17006 (__asprintf): Don't define as macro. Declare hidden proto.
17007 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17008 (__fsetlocking): Declare hidden proto.
17009 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17010 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17012 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17013 (_IO_setlinebuf): Remove use of INTUSE.
17014 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17015 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17016 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17017 Remove declaration.
17018 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17019 (_IO_do_flush): Remove use of INTUSE.
17020 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17021 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17022 (_IO_adjust_column, _IO_least_wmarker)
17023 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17024 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17025 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17026 (_IO_default_doallocate, _IO_wdefault_doallocate)
17027 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17028 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17029 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17030 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17031 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17032 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17033 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17034 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17035 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17036 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17037 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17038 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17039 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17041 (_IO_flush_all_internal, _IO_adjust_column_internal)
17042 (_IO_default_uflow_internal, _IO_default_finish_internal)
17043 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17044 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17045 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17046 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17047 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17048 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17049 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17050 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17051 (_IO_file_close_internal, _IO_file_close_it_internal)
17052 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17053 (_IO_file_init_internal, _IO_file_attach_internal)
17054 (_IO_file_fopen_internal, _IO_file_read_internal)
17055 (_IO_file_sync_internal, _IO_file_seek_internal)
17056 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17057 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17058 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17059 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17060 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17061 (_IO_list_all_internal, _IO_link_in_internal)
17062 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17063 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17064 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17065 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17066 (_IO_do_write_internal, _IO_padn_internal)
17067 (_IO_getline_info_internal, _IO_getline_internal)
17068 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17069 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17070 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17071 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17072 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17073 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17074 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17075 with libc_hidden_ver, remove use of INTUSE.
17076 * libio/genops.c: Likewise.
17077 * libio/freopen.c: Likewise.
17078 * libio/freopen64.c: Likewise.
17079 * libio/iofclose.c: Likewise.
17080 * libio/iofdopen.c: Likewise.
17081 * libio/iofflush.c: Likewise.
17082 * libio/iofflush_u.c: Likewise.
17083 * libio/iofgets.c: Likewise.
17084 * libio/iofgets_u.c: Likewise.
17085 * libio/iofopen.c: Likewise.
17086 * libio/iofopncook.c: Likewise.
17087 * libio/iofread.c: Likewise.
17088 * libio/iofread_u.c: Likewise.
17089 * libio/ioftell.c: Likewise.
17090 * libio/iofwrite.c: Likewise.
17091 * libio/iogetline.c: Likewise.
17092 * libio/iogets.c: Likewise.
17093 * libio/iogetwline.c: Likewise.
17094 * libio/iopadn.c: Likewise.
17095 * libio/iopopen.c: Likewise.
17096 * libio/ioseekoff.c: Likewise.
17097 * libio/ioseekpos.c: Likewise.
17098 * libio/iosetbuffer.c: Likewise.
17099 * libio/iosetvbuf.c: Likewise.
17100 * libio/ioungetc.c: Likewise.
17101 * libio/ioungetwc.c: Likewise.
17102 * libio/iovdprintf.c: Likewise.
17103 * libio/iovsprintf.c: Likewise.
17104 * libio/iovsscanf.c: Likewise.
17105 * libio/memstream.c: Likewise.
17106 * libio/obprintf.c: Likewise.
17107 * libio/oldfileops.c: Likewise.
17108 * libio/oldiofclose.c: Likewise.
17109 * libio/oldiofdopen.c: Likewise.
17110 * libio/oldiofopen.c: Likewise.
17111 * libio/oldiopopen.c: Likewise.
17112 * libio/oldstdfiles.c: Likewise.
17113 * libio/putc.c: Likewise.
17114 * libio/setbuf.c: Likewise.
17115 * libio/setlinebuf.c: Likewise.
17116 * libio/stdfiles.c: Likewise.
17117 * libio/strops.c: Likewise.
17118 * libio/vasprintf.c: Likewise.
17119 * libio/vscanf.c: Likewise.
17120 * libio/vsnprintf.c: Likewise.
17121 * libio/vswprintf.c: Likewise.
17122 * libio/wfiledoalloc.c: Likewise.
17123 * libio/wfileops.c: Likewise.
17124 * libio/wgenops.c: Likewise.
17125 * libio/wmemstream.c: Likewise.
17126 * libio/wstrops.c: Likewise.
17127 * libio/__fpurge.c: Likewise.
17128 * libio/__fsetlocking.c: Likewise.
17129 * assert/assert.c: Likewise.
17130 * debug/fgets_chk.c: Likewise.
17131 * debug/fgets_u_chk.c: Likewise.
17132 * debug/fread_chk.c: Likewise.
17133 * debug/fread_u_chk.c: Likewise.
17134 * debug/gets_chk.c: Likewise.
17135 * debug/obprintf_chk.c: Likewise.
17136 * debug/vasprintf_chk.c: Likewise.
17137 * debug/vdprintf_chk.c: Likewise.
17138 * debug/vsnprintf_chk.c: Likewise.
17139 * debug/vsprintf_chk.c: Likewise.
17140 * malloc/mtrace.c: Likewise.
17141 * misc/error.c: Likewise.
17142 * misc/syslog.c: Likewise.
17143 * stdio-common/asprintf.c: Likewise.
17144 * stdio-common/fxprintf.c: Likewise.
17145 * stdio-common/getw.c: Likewise.
17146 * stdio-common/isoc99_fscanf.c: Likewise.
17147 * stdio-common/isoc99_scanf.c: Likewise.
17148 * stdio-common/isoc99_vfscanf.c: Likewise.
17149 * stdio-common/isoc99_vscanf.c: Likewise.
17150 * stdio-common/isoc99_vsscanf.c: Likewise.
17151 * stdio-common/printf-prs.c: Likewise.
17152 * stdio-common/printf_fp.c: Likewise.
17153 * stdio-common/printf_fphex.c: Likewise.
17154 * stdio-common/printf_size.c: Likewise.
17155 * stdio-common/putw.c: Likewise.
17156 * stdio-common/scanf.c: Likewise.
17157 * stdio-common/sprintf.c: Likewise.
17158 * stdio-common/tmpfile.c: Likewise.
17159 * stdio-common/vfprintf.c: Likewise.
17160 * stdio-common/vfscanf.c: Likewise.
17161 * stdlib/strfmon_l.c: Likewise.
17162 * sunrpc/openchild.c: Likewise.
17163 * sunrpc/xdr_stdio.c: Likewise.
17164 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17165 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17167 2012-05-24 Roland McGrath <roland@hack.frob.com>
17169 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17171 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17172 in the third column, to generate for the shared library an IFUNC
17173 that uses _dl_vdso_vsym.
17174 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17175 * Makeconfig (object-suffixes-noshared): New variable.
17177 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17178 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17179 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17180 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17183 * include/sys/time.h (__gettimeofday): Remove macro.
17184 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17185 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17187 (__gettimeofday): Add libc_hidden_def.
17188 (gettimeofday): Add libc_hidden_weak.
17189 * sysdeps/mach/gettimeofday.c: Likewise.
17190 * sysdeps/posix/gettimeofday.c: Likewise.
17191 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17192 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17194 (__gettimeofday_internal): Remove strong_alias.
17195 (__gettimeofday): Add libc_hidden_def.
17196 (gettimeofday): Add libc_hidden_weak.
17197 * sysdeps/unix/syscalls.list (gettimeofday):
17198 Remove __gettimeofday_internal alias.
17200 2012-05-24 Daniel Jacobowitz <drow@false.org>
17201 H.J. Lu <hongjiu.lu@intel.com>
17204 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17205 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17206 (largebin_index_32_big): New.
17207 (largebin_index): Use it for 16-byte alignment.
17208 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17209 correction with front_misalign.
17211 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17239 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17240 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17242 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17246 * math/libm-test.inc (exp_test): Add test from bug 14036.
17247 (pow_test): Add test from bug 10846.
17249 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17251 (special_function): Do not include flags in test name.
17252 (parse_args): Likewise.
17253 * sysdeps/i386/fpu/libm-test-ulps: Update.
17254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17255 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17256 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17259 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17261 * math/libm-test.inc ("Philosophy"): Update comment about
17263 (UNDERFLOW_EXCEPTION): New macro.
17264 (UNDERFLOW_EXCEPTION_OK): Likewise.
17265 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17266 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17267 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17268 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17269 (INVALID_EXCEPTION_OK): Update value.
17270 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17271 (OVERFLOW_EXCEPTION_OK): Likewise.
17272 (IGNORE_ZERO_INF_SIGN): Likewise.
17273 (test_exceptions): Handle underflow exceptions.
17274 (acos_test): Update for underflow exception expectations.
17275 (cexp_test): Likewise.
17276 (clog_test): Likewise.
17277 (clog10_test): Likewise.
17278 (csqrt_test): Likewise.
17279 (ctan_test): Likewise.
17280 (ctanh_test): Likewise.
17281 (exp_test): Likewise.
17282 (exp10_test): Likewise.
17283 (exp2_test): Likewise.
17284 (expm1_test): Likewise.
17285 (fma_test): Likewise.
17286 (j0_test): Likewise.
17287 (jn_test): Likewise.
17288 (nexttoward_test): Likewise.
17289 (pow_test): Likewise.
17290 (scalbn_test): Likewise.
17291 (scalbln_test): Likewise.
17292 (tan_test): Likewise.
17293 (y1_test): Likewise.
17294 * sysdeps/i386/fpu/libm-test-ulps: Update.
17295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17297 2012-05-23 David S. Miller <davem@davemloft.net>
17299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17300 (__libc_sigaction): Remove unused local variables.
17302 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17304 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17306 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17308 mktime: avoid signed integer overflow
17309 * time/mktime.c (__mktime_internal): Do not mishandle the case
17310 where diff == INT_MIN.
17312 mktime: simplify computation of average
17313 * time/mktime.c (ranged_convert): Use new time_t_avg function
17314 instead of rolling our own (probably-slower) code.
17316 mktime: do not assume signed right shift propagates sign bit
17317 * time/mktime.c (isdst_differ): New static function.
17318 (__mktime_internal): No need to normalize tm_isdst now.
17319 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17322 mktime: merge another wrapv change from gnulib
17323 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17324 from some compilers.
17326 mktime: remove incorrect attempt at unusual arithmetics
17327 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17328 The code didn't really work on such machines anyway.
17329 (TYPE_MINIMUM): Assume two's complement.
17330 (twos_complement_arithmetic): Verify that long_int and time_t
17331 are two's complement (or unsigned, in the latter case).
17333 mktime: check signed shifts on long_int and time_t, too
17334 * time/mktime.c (SHR): Check that shifts work as desired
17335 on the types long_int and time_t too, as SHR is used on
17338 mktime: do not assume 'long' is wide enough
17339 * time/mktime.c (verify): Move decl up.
17340 (long_int): New type.
17341 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17342 to remove assumption in the code that 'long' is wide enough to
17343 store year values. This assumption is not true on x32 and on
17344 some non-glibc platforms.
17346 mktime: merge wrapv change from gnulib
17347 * time/mktime.c (WRAPV): New macro.
17348 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17349 (guess_time_tm, __mktime_internal): Do not assume that signed
17350 integer overflow wraps around; modern compilers generate code
17351 where this assumption is no longer valid.
17353 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17355 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17356 Replace "jmp L(pseudo_end)" with "ret".
17357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17360 2012-05-23 Andreas Jaeger <aj@suse.de>
17362 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17363 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17365 2012-05-23 Andreas Jaeger <aj@suse.de>
17366 Maximilian Attems <max@stro.at>
17368 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17371 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17374 code so that pseudo_end is just ret and the stack pointer is
17375 correct also for static library in error case.
17377 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17379 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17380 move to syscalls.list.
17381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17386 * manual/install.texi (Running make install): Do not mention Linux
17387 kernel version for which pt_chown is not needed.
17388 (Linux): Do not mention problems with nscd with 2.0 kernels.
17389 * INSTALL: Regenerated.
17391 2012-05-23 Andreas Jaeger <aj@suse.de>
17393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17394 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17396 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17397 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17398 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17400 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17402 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17403 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17404 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17405 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17406 * sysdeps/unix/sysv/linux/bits/in.h
17407 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17409 2012-05-22 Roland McGrath <roland@hack.frob.com>
17411 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17412 (PREPARE_VERSION): Just use assert instead, it will be elided
17413 under [NDEBUG] anyway.
17415 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17417 * sysdeps/unix/sysv/linux/Makefile: Include
17418 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17419 (sysdep_routines): Remove sysctl.
17420 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17421 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17422 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17423 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17424 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17426 2012-05-22 Andreas Jaeger <aj@suse.de>
17428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17429 that pseudo_end is just ret and the stack pointer is correct also
17430 for static library in error case.
17432 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17435 * nss/nsswitch.c (defconfig_entries): New variable.
17436 (__nss_database_lookup): Don't leak defconfig entries.
17437 (nss_parse_service_list): Don't leak on error paths.
17438 (free_database_entries): New function.
17439 (free_defconfig): New function.
17440 (free_mem): Move common code to free_database_entries.
17442 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17444 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17446 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17448 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17449 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17452 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17453 (INTERNAL_SYSCALL_TYPES): Likewise.
17454 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17455 (LOAD_REGS_TYPES_[1-6]): Likewise.
17456 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17457 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17459 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17462 copysignl for GLIBC_2_0.
17463 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17464 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17466 logbl for GLIBC_2_0.
17467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17468 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17470 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17473 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17475 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17478 * time/mktime.c: Update copyright years.
17480 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17482 mktime: merge comment-quoting-style change from gnulib
17483 * time/mktime.c: Quote 'like this' in comments.
17484 The GNU coding standards suggest that we no longer quote `like this',
17485 as "`" and "'" are typically rendered asymmetrically nowadays.
17486 The typical gnulib style is to quote 'like this' when quoting
17487 code, and "like this" when quoting English.
17489 * time/mktime.c (compile-command): Add "-I.".
17491 mktime: merge mktime-internal.h change from gnulib
17492 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17494 mktime: merge time_r change from gnulib
17495 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17497 mktime: merge DEBUG change from gnulib
17498 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17499 case system <time.h> has a #define.
17501 mktime: merge <sys/types.h> change from gnulib
17502 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17503 since <time.t> is now guaranteed to define time_t.
17505 mktime: merge HAVE_CONFIG_H change from gnulib
17506 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17508 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17513 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17515 (struct rusage): Use anonymous union to pad each field to
17518 2012-05-21 David S. Miller <davem@davemloft.net>
17520 * Makefules (o-iterator): Remove .s cases.
17521 (compile-command.s): Delete.
17522 (COMPILE.s): Delete.
17523 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17525 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17527 * configure.in (libc_cv_predef_stack_protector): Only consider
17528 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17529 * configure: Regenerated.
17531 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17534 New macro. Use R*LP on int and pointer.
17535 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17536 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17537 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17538 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17540 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17541 [__WORDSIZE_TIME64_COMPAT32] instead of
17542 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17543 (struct utmp): Likewise.
17544 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17545 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17547 (__WORDSIZE_TIME64_COMPAT32): This.
17548 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17549 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17550 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17551 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17552 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17553 (__WORDSIZE_TIME64_COMPAT32): New macro.
17555 2012-05-21 Andreas Jaeger <aj@suse.de>
17557 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17558 only if [SHARED]. Add prototype for __wcschr_ia32.
17560 2012-05-21 Roland McGrath <roland@hack.frob.com>
17562 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17563 of %rbp unmolested in the jmp_buf while mangling the low bits.
17564 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17565 unmolested high bits of %rbp while demangling the low bits.
17566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17568 2012-05-21 Andreas Jaeger <aj@suse.de>
17570 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17571 * sunrpc/svc_simple.c: Use it for registerrpc.
17572 * sunrpc/xcrypt.c: Use it for passwd2des.
17574 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17576 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17579 Don't define if [__SYSCALL_WORDSIZE != 32].
17580 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17583 2012-05-21 Bruno Haible <bruno@clisp.org>
17584 Andreas Jaeger <aj@suse.de>
17586 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17587 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17588 inptr and inend for must_buffer_ch.
17589 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17590 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17591 * stdio-common/Makefile (tests): Remove bug15.
17592 (bug15-ENV): Remove macro.
17593 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17596 2012-05-19 Andreas Jaeger <aj@suse.de>
17597 Roland McGrath <roland@hack.frob.com>
17599 * manual/contrib.texi: Completely rewritten. It contains now an
17600 alphabetical list of contributors and their contributions.
17602 2012-05-21 Richard Henderson <rth@twiddle.net>
17604 * misc/getauxval.c (__getauxval): Use unsigned long int.
17605 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17606 (getauxval): Use unsigned long int.
17608 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17610 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17612 2012-05-21 Roland McGrath <roland@hack.frob.com>
17614 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17615 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17616 __alignof__ (long double).
17618 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17622 2012-05-20 Richard Henderson <rth@twiddle.net>
17624 * misc/getauxval.c: New file.
17625 * misc/sys/auxv.h: New file.
17626 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17627 (routines): Add getauxval.
17628 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17630 * elf/dl-sysdep.c (_dl_auxv): Remove.
17631 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17632 * elf/dl-support.c (_dl_auxv): New variable.
17633 (_dl_aux_init): Initialize it.
17634 * manual/startup.texi (Auxiliary Vector): New node.
17635 * sysdeps/generic/bits/hwcap.h: New file.
17636 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17637 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17638 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17639 * sysdeps/sparc/sysdep.h: ... here. Include it.
17640 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17641 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17653 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17657 2012-05-19 David S. Miller <davem@davemloft.net>
17659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17661 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17664 * math/s_ccosh.c: Include <float.h>
17665 (__ccosh): Avoid internal overflow calculating sinh and cosh
17666 values before multiplying by sin and cos values.
17667 * math/s_ccoshf.c: Likewise.
17668 * math/s_ccoshl.c: Likewise.
17669 * math/s_csin.c: Likewise.
17670 * math/s_csinf.c: Likewise.
17671 * math/s_csinl.c: Likewise.
17672 * math/s_csinh.c: Likewise.
17673 * math/s_csinhf.c: Likewise.
17674 * math/s_csinhl.c: Likewise.
17675 * math/libm-test.inc (ccos_test): Add more tests.
17676 (ccosh_test): Likewise.
17677 (csin_test): Likewise.
17678 (csinh_test): Likewise.
17679 * sysdeps/i386/fpu/libm-test-ulps: Update.
17680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17682 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17684 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17685 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17687 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17689 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17691 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17692 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17693 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17694 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17695 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17696 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17697 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17698 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17699 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17700 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17701 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17702 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17703 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17704 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17705 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17706 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17707 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17708 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17709 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17710 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17711 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17712 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17713 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17714 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17715 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17716 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17717 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17718 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17719 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17720 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17721 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17723 2012-05-18 Andreas Jaeger <aj@suse.de>
17725 * csu/.gitignore: Delete.
17727 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17729 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17730 (timex): Use __syscall_slong_t.
17732 2012-05-18 Andreas Jaeger <aj@suse.de>
17733 Carlos O'Donell <carlos_odonell@mentor.com>
17735 * manual/install.texi (Configuring and compiling): Update
17736 description about files modified in the source directory.
17737 * INSTALL: Regenerated.
17739 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17741 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17742 value. Use "or" to set return value to -1.
17743 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17744 negate return value.
17746 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17748 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17749 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17750 failure if the compiler has Graphite support disabled.
17751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17753 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17754 CFLAGS-memmove.c): Likewise.
17755 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17758 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17760 * sysdeps/x86_64/x32/_itoa.h: New file.
17762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17763 getdents system call only if kernel and user dirents have the
17764 same d_ino and d_off.
17766 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17767 LLONG_MAX != LONG_MAX.
17768 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17769 (_fitoa_word): Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17773 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17777 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17778 include <bits/wordsize.h>. Check __x86_64__ instead of
17780 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17781 if __x86_64__ is defined. Use anonymous union on fpstate.
17783 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17786 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17788 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17789 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17790 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17791 Refer to _rtld_local_ro instead of _rtld_global_ro.
17792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17794 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17796 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17798 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17799 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17800 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17802 * sysdeps/powerpc/powerpc32/dl-machine.c
17803 (__elf_machine_runtime_setup) [PROF]: Don't reference
17806 2012-05-18 Andreas Jaeger <aj@suse.de>
17808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17809 function only available for GCCs before 3.4 since GCC 3.4
17810 introduced a builtin.
17812 (llrintf): Likewise.
17813 (llrint): Likewise.
17820 (nearbyint): Likewise.
17821 (nearbyintf): Likewise.
17825 (floorf): Likewise.
17827 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17829 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17830 on both fields and cast pointer to __syscall_ulong_t.
17832 * bits/types.h (__fsword_t): New type.
17833 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17834 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17836 (__FSWORD_T_TYPE): Likewise.
17837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17838 (__FSWORD_T_TYPE): Likewise.
17839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17840 (__FSWORD_T_TYPE): Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17842 (__FSWORD_T_TYPE): Likewise.
17843 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17844 __SWORD_TYPE with __fsword_t.
17845 (statfs64): Likewise.
17847 2012-05-17 David S. Miller <davem@davemloft.net>
17849 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17851 2012-05-17 Andreas Jaeger <aj@suse.de>
17853 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17856 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17858 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17860 2012-05-17 Andreas Jaeger <aj@suse.de>
17862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17865 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17867 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17869 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17871 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17872 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17874 2012-05-17 Andreas Jaeger <aj@suse.de>
17875 Carlos O'Donell <carlos_odonell@mentor.com>
17878 * sysdeps/x86_64/multiarch/init-arch.h
17879 (bit_YMM_Usable): Rename to...
17880 (bit_AVX_Usable): ... this.
17881 (bit_FMA4_Usable): New macro.
17882 (bit_XMM_state): New macro.
17883 (bit_YMM_state): New macro.
17884 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17885 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17886 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17887 (CPUID_OSXSAVE): New macro.
17888 (CPUID_AVX): New macro.
17889 (CPUID_FMA4): New macro.
17890 (index_YMM_Usable): Rename to...
17891 (index_AVX_Usable): ... this.
17892 (HAS_AVX): Use HAS_ARCH_FEATURE.
17893 (HAS_FMA4): Likewise.
17894 (HAS_YMM_USABLE): Remove.
17895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17896 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17898 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17899 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17900 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17901 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17902 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17904 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17906 * math/libm-test.c: Support platforms without multiple rounding modes.
17907 * math/bug-nextafter.c: Support platforms without FP exceptions.
17908 * math/bug-nexttoward.c: Likewise.
17909 * math/test-fenv.c: Likewise.
17910 * math/test-misc.c: Likewise.
17911 * stdlib/bug-getcontext.c: Likewise.
17913 2012-05-17 Andreas Jaeger <aj@suse.de>
17915 * manual/examples/search.c (critter_cmp): Change signature to
17917 * manual/string.texi (Collation Functions): Likewise.
17919 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17921 * bits/types.h: Fold copyright years.
17922 * bits/typesizes.h: Likewise.
17923 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17924 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17927 * time/time.h: Likewise.
17929 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17932 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17933 in instead of returning them. Return void.
17934 (__libc_mallinfo): Accumulate over all arenas.
17935 (__malloc_stats): Adjust for change in int_mallinfo interface.
17937 2012-05-16 Roland McGrath <roland@hack.frob.com>
17940 * configure.in (NM): Add AC_CHECK_TOOL for it.
17941 (libc_extra_cflags): New substituted variable.
17942 Check for -fstack-protector being used implicitly.
17943 * configure: Regenerated.
17944 * config.make.in (config-extra-cflags): New variable,
17945 gets @libc_extra_cflags@.
17946 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17949 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17950 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17951 * configure: Regenerated.
17952 * config.make.in (CPPUNDEFS): New substituted variable.
17953 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17954 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17955 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17959 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17960 (mq_attr): Use __syscall_slong_t.
17962 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17964 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17965 Check __x86_64__ instead of __WORDSIZE.
17966 (_STAT_VER_LINUX): Likewise.
17967 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17968 __syscall_ulong_t and __syscall_slong_t.
17969 (stat64): Likewise.
17971 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17975 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17977 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17979 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17981 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17984 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17985 include <bits/wordsize.h>. Check __x86_64__ instead of
17987 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17989 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17992 include <bits/wordsize.h>. Check __x86_64__ instead of
17994 (user_regs_struct): Use "__extension__ unsigned long long"
17995 instead of "unsigned long" if __x86_64__ is defined.
17996 (user): Likewise. Pad after pointer field if __ILP32__ is
17999 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18001 * configure.in (makeinfo): Require version 4.5 or later. Allow
18003 * configure: Regenerated.
18004 * manual/install.texi (texinfo): Increase version requirement to
18006 * INSTALL: Regenerated.
18008 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18010 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18012 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18014 * sysdeps/x86_64/x32/ffs.c: New file.
18016 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18018 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18019 defined. Use __syscall_ulong_t.
18020 (shminfo): Use __syscall_ulong_t.
18021 (shm_info): Likewise.
18023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18026 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18028 (msgqnum_t): Use __syscall_ulong_t.
18029 (msglen_t): Likewise.
18030 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18033 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18034 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18036 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18038 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18039 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18041 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18044 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18045 include <bits/wordsize.h>. Check __x86_64__ instead of
18048 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18049 "unsigned long long int" if __x86_64__ is defined.
18050 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18054 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18056 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18058 (GET_PC): Cast to uintptr_t first.
18059 (GET_FRAME): Likewise.
18060 (GET_STACK): Likewise.
18062 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18063 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18064 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18065 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18066 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18067 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18069 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18070 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18071 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18073 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18074 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18075 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18076 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18077 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18078 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18080 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18081 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18082 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18086 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18087 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18092 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18094 * Makerules (+depfiles): Also collect depfiles from .oS in
18096 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18097 .oS, $(libnldbl-routines)).
18099 * Makerules (native-compile-mkdep-flags): Define.
18100 * sunrpc/Makefile (extra-objs): Add $(addprefix
18101 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18102 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18103 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18104 calling $(make-target-directory).
18106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18108 * bits/types.h (__snseconds_t): Removed.
18109 * time/time.h (struct timespec): Replace __snseconds_t with
18111 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18112 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18115 (__SNSECONDS_T_TYPE): Likewise.
18116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18117 (__SNSECONDS_T_TYPE): Likewise.
18118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18119 (__SNSECONDS_T_TYPE): Likewise.
18121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18123 * sysdeps/mach/hurd/bits/typesizes.h
18124 (__SYSCALL_SLONG_TYPE): New macro.
18125 (__SYSCALL_ULONG_TYPE): Likewise.
18127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18129 * bits/types.h (__syscall_slong_t): New type.
18130 (__syscall_ulong_t): Likewise.
18132 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18133 (__SYSCALL_ULONG_TYPE): Likewise.
18134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18135 (__SYSCALL_SLONG_TYPE): Likewise.
18136 (__SYSCALL_ULONG_TYPE): Likewise.
18137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18138 (__SYSCALL_SLONG_TYPE): Likewise.
18139 (__SYSCALL_ULONG_TYPE): Likewise.
18140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18141 (__SYSCALL_SLONG_TYPE): Likewise.
18142 (__SYSCALL_ULONG_TYPE): Likewise.
18144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18146 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18147 Add sigaltstack-offsets.sym.
18148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18149 <sigaltstack-offsets.h>.
18150 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18151 longjmp_msg pointer.
18152 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18153 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18155 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18157 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18159 * elf/stackguard-macros.h: Remove file.
18160 * sysdeps/generic/stackguard-macros.h: New file.
18161 * sysdeps/i386/stackguard-macros.h: Likewise.
18162 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18163 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18164 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18165 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18166 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18167 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18168 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18169 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18170 <elf/stackguard-macros.h>.
18173 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18174 __aligned__ in attribute.
18175 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18176 (gregset_t): Likewise.
18178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18180 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18181 * sysdeps/x86_64/64/Implies-after: Here. New file.
18182 * sysdeps/x86_64/x32/Implies-after: New file.
18184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18186 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18187 and access return value for _dl_profile_fixup. Use R10_LP to
18190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18192 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18196 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18197 * sysdeps/x86_64/x32/sysdep.h: New file.
18199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18201 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18202 * sysdeps/x86_64/setjmp.S: Likewise.
18204 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18207 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18208 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18209 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18210 remove unused global constant.
18212 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18214 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18215 include of <not-cancel.h>.
18217 2012-05-15 Roland McGrath <roland@hack.frob.com>
18219 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18221 2012-05-15 Jeff Law <law@redhat.com>
18222 Andreas Jaeger <aj@suse.de>
18225 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18227 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18228 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18229 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18230 code changing __hst_map_handle.map.
18232 2012-05-15 Roland McGrath <roland@hack.frob.com>
18234 * configure.in (sysnames): Look for Implies-before and Implies-after
18236 * configure: Regenerated.
18238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18240 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18241 8-byte data alignment with LP_SIZE alignment.
18243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18245 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18250 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18254 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18255 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18258 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18262 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18263 (stackinfo_sub_sp): Likewise.
18265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18267 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18272 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18277 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18280 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18282 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18286 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18287 into R11_LP and load __x86_64_shared_cache_size_half into
18290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18292 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18295 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18303 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18304 powerpc32/power7/fpu/s_logb.c via #include.
18305 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18306 powerpc32/power7/fpu/s_logbf.c via #include.
18307 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18308 powerpc32/power7/fpu/s_logbl.c via #include.
18310 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18312 * README.libm: Remove file.
18314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18316 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18317 count for x32. Use R*_LP and omit operand-size suffix.
18319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18321 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18322 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18323 * sysdeps/x86_64/x32/shlib-versions: New file.
18325 2012-05-14 Roland McGrath <roland@hack.frob.com>
18327 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18328 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18329 Use _dl_fatal_printf instead.
18331 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18333 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18334 set if not set by the user. Do not allow for being unset.
18335 * sysdeps/unix/sysv/linux/configure: Regenerated.
18337 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18339 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18340 the `q' suffix from lea and replace .quad with ASM_ADDR.
18342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18345 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18347 (PTR_DEMANGLE): Likewise.
18349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18351 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18353 (ASM_ADDR): Likewise.
18354 (RAX_LP): Likewise.
18355 (RBP_LP): Likewise.
18356 (RBX_LP): Likewise.
18357 (RCX_LP): Likewise.
18358 (RDI_LP): Likewise.
18359 (RSI_LP): Likewise.
18360 (RSP_LP): Likewise.
18363 (R10_LP): Likewise.
18364 (R10_LP): Likewise.
18365 (R11_LP): Likewise.
18366 (R12_LP): Likewise.
18367 (R13_LP): Likewise.
18368 (R14_LP): Likewise.
18369 (R15_LP): Likewise.
18371 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18373 * sysdeps/x86_64/x32/dl-machine.h: New file.
18375 2012-05-14 Andreas Jaeger <aj@suse.de>
18377 * manual/Makefile (subdir): Remove export of subdir.
18378 (all): Remove target.
18379 (.PHONY): Remove all from list.
18380 (mkinstalldirs): Remove.
18381 (.PHONY): Remove installdirs from list.
18382 ($(inst_infodir)/libc.info): Use make-target-directory.
18383 (installdirs): Remove.
18384 (subdir_%): Remove.
18385 (glibc-targets): Remove.
18388 ($(objpfx)stubs ../po/manual.pot): Remove.
18389 ($(objpfx)stamp%): Remove.
18390 (make-target-directory): Remove.
18391 (subdir_install): Remove.
18392 (routines): Remove.
18399 * manual/.gitignore: Remove, it's not needed anymore.
18400 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18402 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18404 (texis): Renamed to $(objpfx)texis.
18405 (texis-path): New, contains path to generated files.
18406 (chapters.%): Use texis-path for complete path, add extra argument
18408 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18409 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18410 (summary,texi, stamp-summary): Use complete path of
18411 files. Generate files in build dir.
18412 (dir-add.texi): Build in build dir.
18413 (libm-err.texi,stamp-libm-err): Likewise.
18414 (version.texi, stamp-version): Likewise.
18415 (.%c.texi): Likewise.
18416 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18417 (mostlyclean): Remove target.
18418 (realclean): Remove target.
18419 (generated): Add new variable with contents from mostlyclean and
18420 realclean, remove entries duplicated in common-mostlyclean, add
18421 stamp-libm-err and stamp-version.
18422 (generated-dirs): Add libc directory.
18423 ($(inst_infodir)/libc.info): Install files from build dir.
18425 * manual/install.texi (Configuring and compiling): Adjust since
18426 the info files are not part of the tar ball anymore.
18428 2012-05-14 Andreas Jaeger <aj@suse.de>
18430 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18433 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18437 to 2.2.0 where earlier.
18438 * sysdeps/unix/sysv/linux/configure: Regenerated.
18439 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18440 Remove conditional code.
18441 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18442 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18443 Remove conditional code.
18444 [!__NR_lchown]: Likewise.
18445 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18446 [__NR_lchown]: Likewise.
18447 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18448 comment referencing __ASSUME_LCHOWN_SYSCALL.
18449 * sysdeps/unix/sysv/linux/i386/sigaction.c
18450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18452 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18453 Remove conditional code.
18454 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18455 (__protocol_available): Remove #if 0 code.
18456 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18458 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18459 * sysdeps/unix/sysv/linux/kernel-features.h
18460 (__ASSUME_GETCWD_SYSCALL): Don't define.
18461 (__ASSUME_REALTIME_SIGNALS): Likewise.
18462 (__ASSUME_PREAD_SYSCALL): Likewise.
18463 (__ASSUME_PWRITE_SYSCALL): Likewise.
18464 (__ASSUME_POLL_SYSCALL): Likewise.
18465 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18466 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18468 (__ASSUME_SIOCGIFNAME): Don't define.
18469 (__ASSUME_MSG_NOSIGNAL): Likewise.
18470 (__ASSUME_SENDFILE): Define unconditionally.
18471 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18472 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18474 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18475 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18476 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18477 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18478 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18479 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18480 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18505 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18506 Remove conditional code.
18507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18508 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18509 Remove conditional code.
18510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18511 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18512 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18513 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18514 Remove conditional code.
18515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18516 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18517 Remove conditional code.
18518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18519 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18520 Remove conditional code.
18521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18522 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18523 Remove conditional code.
18524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18525 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18526 Remove conditional code.
18527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18528 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18531 * sysdeps/unix/sysv/linux/sigaction.c
18532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18534 * sysdeps/unix/sysv/linux/sigpending.c
18535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18537 * sysdeps/unix/sysv/linux/sigprocmask.c
18538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18540 * sysdeps/unix/sysv/linux/sigsuspend.c
18541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18544 (__libc_missing_rt_sigs): Remove.
18545 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18546 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18547 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18548 Remove conditional code.
18549 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18550 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18553 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18555 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18557 2012-05-14 Andreas Jaeger <aj@suse.de>
18559 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18560 it's not used in glibc.
18561 (__coshm1): Likewise.
18562 (__acosh1p): Likewise.
18565 * manual/string.texi (Copying and Concatenation): Add missing
18566 variable in concat example.
18567 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18569 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18573 __builtin_clzl with __builtin_clzll.
18575 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18578 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18581 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18583 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18584 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18585 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18586 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18588 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18590 * NEWS: Update ia64 info.
18592 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18594 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18597 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18599 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18600 * sysdeps/unix/syscalls.list (dup3): Likewise.
18601 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18602 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18604 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18606 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18607 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18609 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18611 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18613 (TLS_IE): Use mov/add instead of movq/addq to load thread
18615 (TLS_GD_PREFIX): New.
18618 2012-05-11 David S. Miller <davem@davemloft.net>
18620 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18621 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18622 (_FPU_SETCW): Likewise.
18624 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18626 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18627 is 32-byte aligned.
18629 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18632 * iconvdata/gb18030.c: Update tables.
18633 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18634 characters specially.
18635 (BODY for TO_LOOP): Add encoding of missing ranges.
18637 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18640 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18641 * sysdeps/mach/hurd/dup3.c: Likewise.
18642 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18643 * sysdeps/powerpc/memmove.c:: Likewise.
18645 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18648 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18650 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18652 * elf/elf.h (R_X86_64_RELATIVE64): New.
18653 (R_X86_64_NUM): Updated.
18654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18655 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18656 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18657 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18658 tst-quad1pie tst-quad2pie
18659 (modules-names): Add tst-quadmod1 tst-quadmod2.
18660 ($(objpfx)tst-quad1): New dependency.
18661 ($(objpfx)tst-quad2): Likewise.
18662 ($(objpfx)tst-quad1pie): Likewise.
18663 ($(objpfx)tst-quad2pie): Likewise.
18664 * sysdeps/x86_64/tst-quad1.c: New file.
18665 * sysdeps/x86_64/tst-quad1pie.c: New file.
18666 * sysdeps/x86_64/tst-quad2.c: Likewise.
18667 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18668 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18669 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18670 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18671 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18673 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18675 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18676 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18677 * streams/stropts.h (t_scalar_t): Define type.
18679 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18680 (_PATH_PRESERVE): Set to "/var/lib".
18681 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18683 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18686 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18687 if __dir_mkfile succeeded.
18689 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18690 checking for _hurd_dtablesize. Unlock it right after having
18691 finished _hurd_dtable allocation.
18693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18695 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18696 * sysdeps/mach/hurd/configure: Regenerated.
18697 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18698 special-casing to...
18699 * sysdeps/gnu/configure.in: ... this new file.
18700 * sysdeps/unix/sysv/linux/configure: Regenerated.
18701 * sysdeps/gnu/configure: New generated file.
18703 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18704 for Linux: use nsec instead of usec, as well as:
18705 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18706 members of type struct timespec.
18707 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18709 (struct stat64): Likewise.
18710 (_STATBUF_ST_NSEC): New macro.
18711 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18714 __strtoul_internal rather than strtoul.
18716 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18718 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18723 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18724 which preserves existing values.
18725 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18727 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18729 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18730 TIMEOUT values. Return EINVAL for NFDS values either negative or
18731 greater than FD_SETSIZE.
18733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18735 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18736 allocated, call __vm_protect to finish enabling the existing space, and
18737 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18738 allocate the remainder.
18740 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18742 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18743 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18745 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18747 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18748 sysdeps/mach/hurd/readlink.c.
18750 * posix/tst-sysconf.c (posix_options): Only use
18751 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18752 _POSIX_SYNCHRONIZED_IO when they are defined
18753 * sysdeps/mach/hurd/bits/posix_opt.h:
18754 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18755 (_XOPEN_REALTIME): Undefine macro.
18756 (_XOPEN_REALTIME_THREADS): Undefine macro.
18757 (_XOPEN_SHM): Undefine macro.
18758 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18760 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18762 (_POSIX_ASYNC_IO): Undefine macro.
18763 (_POSIX_PRIORITIZED_IO): Undefine macro.
18764 (_POSIX_SPIN_LOCKS): Define macro to -1.
18766 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18767 SA_NODEFER, SA_RESETHAND.
18768 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18769 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18772 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18774 * elf/Makefile (pldd-modules): Define unconditionally.
18776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18778 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18782 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18783 Return ENOENT when name is empty.
18784 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18788 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18790 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18794 Fix mlock in all cases except non-readable pages.
18795 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18796 instead of VM_PROT_ALL as parameter to __vm_wire function.
18798 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18799 (__mkdir): When path is `/', just fail with EEXIST.
18800 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18804 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18805 <sys/uio.h> (for writev).
18806 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18807 and <sys/param.h> (for MIN).
18809 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18811 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18812 REQUESTED_TIME. Properly set the remaining time and return EINTR
18815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18817 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18818 Depend on against $(link-rpcuserlibs).
18820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18822 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18823 (__libc_stack_end): Do not use attribute_relro.
18824 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18825 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18826 to libthread-provided value.
18827 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18833 * bits/libc-lock.h (__libc_once_get): New macro.
18834 * sysdeps/mach/bits/libc-lock.h: Likewise.
18835 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18837 instead of using implementation details.
18839 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18840 * libio/freopen.c: Likewise.
18841 * libio/freopen64.c: Likewise.
18842 * misc/syslog.c: Likewise.
18843 * nscd/connections.c: Likewise.
18844 * nscd/netgroupcache.c: Likewise.
18845 * sysdeps/posix/getcwd.c: Likewise.
18847 2012-05-10 Roland McGrath <roland@hack.frob.com>
18849 * math/w_ilogbf.c: Add #include <limits.h>.
18851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18853 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18854 path instead of returning without unlocking.
18856 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18857 immediate-write ioctls.
18858 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18862 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18863 __builtin_frame_address instead of making assumptions about the
18864 location of the return address relative to DATA. Force early load of
18865 the return address.
18866 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18867 __builtin_frame_address.
18870 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18871 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18872 implement dup3 and do some further code clean-ups.
18873 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18874 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18876 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18878 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18880 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18881 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18882 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18883 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18884 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18887 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18888 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18889 when handler == SIG_ERR, not when handler != SIG_ERR.
18891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18893 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18894 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18897 accept4 for GNU Hurd.
18898 * include/sys/socket.h (__libc_accept4): New prototype.
18899 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18900 to implement __libc_accept4.
18901 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18903 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18905 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18906 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18907 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18908 signal-defines.sym.
18910 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18912 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18916 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18917 assertion on O_CLOEXEC flag.
18918 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18919 * hurd/intern-fd.c: Likewise.
18920 * hurd/port2fd.c: Likewise.
18922 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18925 * bits/in.h (IPV6_PKTINFO): Define new macro.
18926 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18928 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18933 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18935 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18936 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18938 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18939 * math/libm-test.inc (logb_test) : Additional logb tests.
18941 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18942 Andreas Jaeger <aj@suse.de>
18944 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18945 * configure: Regenerated.
18946 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18947 * config.make.in (link-obsolete-rpc): New substituted variable.
18948 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18949 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18950 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18951 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18952 so that libc.a contains the symbols.
18953 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18954 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18955 * sunrpc/auth_none.c: Likewise.
18956 * sunrpc/auth_unix.c: Likewise.
18957 * sunrpc/authdes_prot.c: Likewise.
18958 * sunrpc/authuxprot.c: Likewise.
18959 * sunrpc/clnt_gen.c: Likewise.
18960 * sunrpc/clnt_perr.c: Likewise.
18961 * sunrpc/clnt_raw.c: Likewise.
18962 * sunrpc/clnt_simp.c: Likewise.
18963 * sunrpc/clnt_tcp.c: Likewise.
18964 * sunrpc/clnt_udp.c: Likewise.
18965 * sunrpc/clnt_unix.c: Likewise.
18966 * sunrpc/des_crypt.c: Likewise.
18967 * sunrpc/des_soft.c: Likewise.
18968 * sunrpc/get_myaddr.c: Likewise.
18969 * sunrpc/key_call.c: Likewise.
18970 * sunrpc/key_prot.c: Likewise.
18971 * sunrpc/netname.c: Likewise.
18972 * sunrpc/pm_getmaps.c: Likewise.
18973 * sunrpc/pm_getport.c: Likewise.
18974 * sunrpc/pmap_clnt.c: Likewise.
18975 * sunrpc/pmap_prot.c: Likewise.
18976 * sunrpc/pmap_prot2.c: Likewise.
18977 * sunrpc/pmap_rmt.c: Likewise.
18978 * sunrpc/publickey.c: Likewise.
18979 * sunrpc/rpc_cmsg.c: Likewise.
18980 * sunrpc/rpc_common.c: Likewise.
18981 * sunrpc/rpc_dtable.c: Likewise.
18982 * sunrpc/rpc_prot.c: Likewise.
18983 * sunrpc/rpc_thread.c: Likewise.
18984 * sunrpc/rtime.c: Likewise.
18985 * sunrpc/svc.c: Likewise.
18986 * sunrpc/svc_auth.c: Likewise.
18987 * sunrpc/svc_raw.c: Likewise.
18988 * sunrpc/svc_run.c: Likewise.
18989 * sunrpc/svc_tcp.c: Likewise.
18990 * sunrpc/svc_udp.c: Likewise.
18991 * sunrpc/svc_unix.c: Likewise.
18992 * sunrpc/svcauth_des.c: Likewise.
18993 * sunrpc/xcrypt.c: Likewise.
18994 * sunrpc/xdr.c: Likewise.
18995 * sunrpc/xdr_array.c: Likewise.
18996 * sunrpc/xdr_float.c: Likewise.
18997 * sunrpc/xdr_intXX_t.c: Likewise.
18998 * sunrpc/xdr_mem.c: Likewise.
18999 * sunrpc/xdr_rec.c: Likewise.
19000 * sunrpc/xdr_ref.c: Likewise.
19001 * sunrpc/xdr_sizeof.c: Likewise.
19002 * sunrpc/xdr_stdio.c: Likewise.
19004 2012-05-10 Roland McGrath <roland@hack.frob.com>
19006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19007 change. Update copyright years.
19009 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19011 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19013 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19014 Joseph Myers <joseph@codesourcery.com>
19015 Paul Pluzhnikov <ppluzhnikov@google.com>
19018 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19020 [cross-compiling] (extra-libs): Likewise.
19021 [cross-compiling] (extra-libs-others): Likewise.
19022 [cross-compiling] (librpcsvc-routines): Likewise.
19023 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19024 [cross-compiling] (omit-deps): Likewise.
19025 (sunrpc-CPPFLAGS): New variable.
19026 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19027 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19028 (cross-rpcgen-objs): New variable.
19029 (extra-objs): Append $(cross-rpcgen-objs).
19030 ($(cross-rpcgen-objs)): New rule.
19031 ($(objpfx)cross-rpcgen): Likewise.
19032 (rpcgen-cmd): Define to use $(built-program-file). Expand
19034 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19035 ($(objpfx)x%.stmp): Likewise.
19036 * sunrpc/proto.h [IS_IN_build] (_): Define.
19037 [IS_IN_build] (_libc_intl_domainname): Likewise.
19039 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19041 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19042 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19043 and R_X86_64_TPOFF64.
19045 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19047 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19048 sysdeps/unix/sysv/syscalls.list.
19051 * sysdeps/unix/sysv/syscalls.list: Remove file.
19053 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19056 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19057 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19058 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19059 (__LC_IDENTIFICATION): Make these macros useful in #if
19060 expressions, as required by C99.
19062 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19064 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19065 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19068 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19070 * stdlib/longlong.h: Updated from GCC.
19072 2012-05-09 Andreas Jaeger <aj@suse.de>
19074 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19075 default is first entry.
19076 (run_mode): Set type.
19077 (main): Remove informal message about syslog.
19078 (options): Fix typo.
19081 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19084 (llrintf): Likewise.
19085 (llrint): Likewise.
19088 (nearbyint): Likewise.
19089 (nearbyintf): Likewise.
19091 2012-05-09 Andreas Jaeger <aj@suse.de>
19092 Pedro Alves <palves@redhat.com>
19094 * nscd/nscd.c (run_mode): Use enum.
19095 (main): Cleanup coding style issue.
19097 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19098 Andreas Jaeger <aj@suse.de>
19100 * nscd/nscd.c (go_background): Replaced with...
19101 (run_mode): ... this.
19102 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19103 (options): Add -F --foreground.
19104 (main): Implement it.
19105 (parse_opt): Parse it.
19107 2012-05-09 Andreas Jaeger <aj@suse.de>
19110 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19111 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19112 -Wconversion warning.
19113 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19116 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19118 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19120 (LC_ALL): Use macro-int-constant.
19121 (LC_COLLATE): Likewise.
19122 (LC_CTYPE): Likewise.
19123 (LC_MESSAGES): Likewise.
19124 (LC_MONETARY): Likewise.
19125 (LC_NUMERIC): Likewise.
19126 (LC_TIME): Likewise.
19127 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19128 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19130 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19132 [C99-based standards] (float_t): Expect type.
19133 [C99-based standards] (double_t): Expect type.
19134 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19136 [C99-based standards] (HUGE_VALL): Likewise.
19137 [C99-based standards] (INFINITY): Likewise.
19138 [C99-based standards] (NAN): Likewise.
19139 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19140 [C99-based standards] (FP_NAN): Likewise.
19141 [C99-based standards] (FP_NORMAL): Likewise.
19142 [C99-based standards] (FP_SUBNORMAL): Likewise.
19143 [C99-based standards] (FP_ZERO): Likewise.
19144 [C99-based standards] (FP_FAST_FMA): Use
19145 optional-macro-int-constant. Specify type. Require == 1.
19146 [C99-based standards] (FP_FAST_FMAF): Likewise.
19147 [C99-based standards] (FP_FAST_FMAL): Likewise.
19148 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19149 [C99-based standards] (FP_ILOGBNAN): Likewise.
19150 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19152 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19153 [C99-based standards] (math_errhandling): Specify type.
19154 [ISO99 || ISO11] (signgam): Do not allow.
19155 [non-C99-based standards] (copysignf): Do not allow.
19156 [non-C99-based standards] (exp2f): Likewise.
19157 [non-C99-based standards] (log2f): Likewise.
19158 [non-C99-based standards] (modff): Allow.
19159 [non-C99-based standards] (erff): Do not allow.
19160 [non-C99-based standards] (erfcf): Likewise.
19161 [non-C99-based standards] (gammaf): Likewise.
19162 [non-C99-based standards] (hypotf): Likewise.
19163 [non-C99-based standards] (j0f): Likewise.
19164 [non-C99-based standards] (j1f): Likewise.
19165 [non-C99-based standards] (jnf): Likewise.
19166 [non-C99-based standards] (lgammaf): Likewise.
19167 [non-C99-based standards] (tgammaf): Likewise.
19168 [non-C99-based standards] (y0f): Likewise.
19169 [non-C99-based standards] (y1f): Likewise.
19170 [non-C99-based standards] (ynf): Likewise.
19171 [non-C99-based standards] (isnanf): Likewise.
19172 [non-C99-based standards] (acoshf): Likewise.
19173 [non-C99-based standards] (asinhf): Likewise.
19174 [non-C99-based standards] (atanhf): Likewise.
19175 [non-C99-based standards] (cbrtf): Likewise.
19176 [non-C99-based standards] (expm1f): Likewise.
19177 [non-C99-based standards] (ilogbf): Likewise.
19178 [non-C99-based standards] (log1pf): Likewise.
19179 [non-C99-based standards] (logbf): Likewise.
19180 [non-C99-based standards] (nextafterf): Likewise.
19181 [non-C99-based standards] (remainderf): Likewise.
19182 [non-C99-based standards] (rintf): Likewise.
19183 [non-C99-based standards] (scalbf): Likewise.
19184 [non-C99-based standards] (copysignl): Likewise.
19185 [non-C99-based standards] (exp2l): Likewise.
19186 [non-C99-based standards] (log2l): Likewise.
19187 [non-C99-based standards] (modfl): Allow.
19188 [non-C99-based standards] (erfl): Do not allow.
19189 [non-C99-based standards] (erfcl): Likewise.
19190 [non-C99-based standards] (gammal): Likewise.
19191 [non-C99-based standards] (hypotl): Likewise.
19192 [non-C99-based standards] (j0l): Likewise.
19193 [non-C99-based standards] (j1l): Likewise.
19194 [non-C99-based standards] (jnl): Likewise.
19195 [non-C99-based standards] (lgammal): Likewise.
19196 [non-C99-based standards] (tgammal): Likewise.
19197 [non-C99-based standards] (y0l): Likewise.
19198 [non-C99-based standards] (y1l): Likewise.
19199 [non-C99-based standards] (ynl): Likewise.
19200 [non-C99-based standards] (isnanl): Likewise.
19201 [non-C99-based standards] (acoshl): Likewise.
19202 [non-C99-based standards] (asinhl): Likewise.
19203 [non-C99-based standards] (atanhl): Likewise.
19204 [non-C99-based standards] (cbrtl): Likewise.
19205 [non-C99-based standards] (expm1l): Likewise.
19206 [non-C99-based standards] (ilogbl): Likewise.
19207 [non-C99-based standards] (log1pl): Likewise.
19208 [non-C99-based standards] (logbl): Likewise.
19209 [non-C99-based standards] (nextafterl): Likewise.
19210 [non-C99-based standards] (remainderl): Likewise.
19211 [non-C99-based standards] (rintl): Likewise.
19212 [non-C99-based standards] (scalbl): Likewise.
19213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19214 [non-C99-based standards] (FP_*): Do not allow.
19215 [C99-based standards] (FP_*): Change to
19216 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19217 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19219 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19220 (SIG_ERR): Likewise.
19221 [X/Open-based standards] (SIG_HOLD): Likewise.
19222 (SIG_IGN): Likewise.
19223 (SIGABRT): Use macro-int-constant. Specify type. Require
19225 (SIGFPE): Likewise.
19226 (SIGILL): Likewise.
19227 (SIGINT): Likewise.
19228 (SIGSEGV): Likewise.
19229 (SIGTER): Likewise.
19230 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19231 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19232 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19233 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19234 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19235 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19236 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19237 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19238 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19239 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19240 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19241 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19242 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19243 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19244 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19245 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19246 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19247 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19248 [X/Open-based standards] (SIGTRAP): Likewise.
19249 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19250 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19251 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19252 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19253 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19256 2012-05-08 Ian Wienand <ianw@vmware.com>
19259 * time/tzset.c (__tzset_parse_tz): Update default rules for
19260 daylight time changes in the Energy Policy Act of 2005.
19262 2012-05-09 Andreas Jaeger <aj@suse.de>
19265 * elf/ldconfig.c (parse_conf): Change string to make clear that
19266 ldconfig only issued a warning if ld.so.conf does not exist.
19268 2012-05-08 David S. Miller <davem@davemloft.net>
19270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19271 movxtod instead of popping the value on the stack.
19273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19275 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19277 * config.h.in: Add HAVE_ARM_PCS_VFP.
19279 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19282 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19283 checking but the checks are disabled for any reason.
19285 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19287 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19288 and ELF64_R_TYPE with ELFW(R_TYPE).
19290 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19292 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19293 (ulimit): Likewise.
19295 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19296 (settimeofday): Likewise.
19298 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19300 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19301 a struct th_u2 inside the union, and move tu_block/tu_code into
19302 a new th_u3 union of tu_block/tu_code inside of that. Move
19303 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19304 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19305 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19306 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19307 (th_stuff): Change to th_u1.tu_stuff.
19309 (th_msg): Change to th_u1.th_u2.tu_data.
19311 2012-05-07 David S. Miller <davem@davemloft.net>
19313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19316 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19317 (SETUP_PIC_REG): Use it.
19318 (SETUP_PIC_REG_LEAF): Use it.
19320 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19326 (EXPL_FINITE): Likewise.
19327 (FLDLOG): Likewise.
19328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19329 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19331 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19333 (EXPL_FINITE): Likewise.
19334 (FLDLOG): Likewise.
19335 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19336 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19338 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19339 test of -max_value argument for long double.
19340 * sysdeps/i386/fpu/libm-test-ulps: Update.
19341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19343 2012-05-06 David S. Miller <davem@davemloft.net>
19345 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19346 quad soft-float symbols whose references which are compiler
19348 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19350 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19354 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19356 (EXPL_FINITE): Likewise.
19357 (FLDLOG): Likewise.
19360 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19361 Adjust comments for base varying.
19362 (__expl_finite): Change alias to EXPL_FINITE.
19363 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19365 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19366 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19368 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19369 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19371 (EXPL_FINITE): Likewise.
19372 (FLDLOG): Likewise.
19375 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19376 Adjust comments for base varying.
19377 (__expl_finite): Change alias to EXPL_FINITE.
19378 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19383 * math/libm-test.inc (check_float_internal): Correct ulp
19384 calculation for subnormal expected results.
19386 2012-05-06 Andreas Jaeger <aj@suse.de>
19388 * Makeconfig (+math-flags): New, set to -frounding-math.
19389 (+cflags): Add +math-flags so that all of glibc gets compiled with
19392 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19394 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19396 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19402 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19403 (__ieee754_expl): Allow for and saturate large arguments.
19404 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19405 (u_threshold): Likewise.
19406 (__exp): Call __ieee754_exp before checking for overflow and
19408 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19409 (u_threshold): Likewise.
19410 (__expf): Call __ieee754_expf before checking for overflow and
19412 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19413 (u_threshold): Likewise.
19414 (__expl): Call __ieee754_expl before checking for overflow and
19416 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19417 (__ieee754_expl): Allow for and saturate large arguments.
19418 * math/libm-test.inc (exp_test): Add another test. Do not allow
19419 missing overflow exception on overflow.
19420 (expm1_test): Do not allow missing overflow exception on overflow.
19422 * sysdeps/i386/fpu/e_expl.c: Move to ...
19423 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19424 rather than using inline asm.
19425 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19426 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19427 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19429 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19432 (signal): Likewise.
19436 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19438 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19439 sysdeps/unix/common/syscalls.list.
19440 (fchmod): Likewise.
19441 (fchown): Likewise.
19442 (ftruncate): Likewise.
19443 (getrusage): Likewise.
19444 (gettimeofday): Likewise.
19445 (setpgid): Likewise.
19446 (setregid): Likewise.
19447 (setreuid): Likewise.
19448 (sigaction): Likewise.
19449 (truncate): Likewise.
19450 (vhangup): Likewise.
19451 * sysdeps/unix/common/syscalls.list: Remove file.
19452 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19453 * sysdeps/unix/sysv/linux/Implies: Likewise.
19455 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19457 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19459 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19463 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19466 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19469 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19472 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19475 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19478 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19481 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19485 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19489 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19492 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19496 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19500 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19502 * sysdeps/unix/common/bits/dirent.h: Remove file.
19503 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19505 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19506 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19507 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19508 * sysdeps/unix/bsd/isatty.c: Likewise.
19509 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19510 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19511 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19513 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19517 long double comparison inaccuracies.
19518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19521 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19523 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19524 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19526 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19530 nonzero digits before rounding a hex value.
19531 * stdlib/tst-strtod.c (tests): Add another test.
19533 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19535 * sysdeps/s390/fpu/libm-test-ulps: Update.
19537 2012-05-03 Andreas Jaeger <aj@suse.de>
19539 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19540 does not get optimized out.
19541 (malloc_opt_barrier): New.
19543 2012-05-03 Andreas Jaeger <aj@suse.de>
19544 Roland McGrath <roland@hack.frob.com>
19546 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19547 intermediate file deletion.
19548 (generated): Add .symlist files.
19550 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19553 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19554 Redirect under this condition.
19555 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19556 [__USE_GNU] (__dprintf_chk): Not under this condition.
19557 [__USE_GNU] (__vdprintf_chk): Likewise.
19558 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19559 under this condition.
19560 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19561 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19562 [__USE_XOPEN2K8] (vdprintf): Likewise.
19563 [__USE_GNU] (__dprintf_chk): Not under this condition.
19564 [__USE_GNU] (__vdprintf_chk): Likewise.
19565 [__USE_GNU] (dprintf): Likewise.
19566 [__USE_GNU] (vdprintf): Likewise.
19568 2012-05-03 Roland McGrath <roland@hack.frob.com>
19570 * elf/Makefile (common-generated): Set this instead of generated for
19571 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19572 $(all-built-dso)-derived lists.
19574 2012-05-03 Andreas Jaeger <aj@suse.de>
19576 * sysdeps/i386/fpu/libm-test-ulps: Update.
19579 * FAQ.in: Likewise.
19580 * scripts/gen-FAQ.pl: Likewise.
19581 * manual/install.texi (Installation): Point to online location of
19583 * Makefile (files-for-dist): Remove FAQ.
19586 2012-05-02 Allan McRae <allan@archlinux.org>
19588 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19589 (LDFLAGS-reldepmod5.so): Likewise.
19590 (LDFLAGS-reldep6mod1.so): Likewise.
19591 (LDFLAGS-reldep6mod4.so): Likewise.
19592 (LDFLAGS-reldep8mod3.so): Likewise.
19593 (LDFLAGS-unload4mod1.so): Likewise.
19594 (LDFLAGS-unload4mod2.so): Likewise.
19595 (LDFLAGS-tst-initorder): Likewise.
19596 (LDFLAGS-tst-initordera2.so): Likewise.
19597 (LDFLAGS-tst-initordera3.so): Likewise.
19598 (LDFLAGS-tst-initordera4.so): Likewise.
19599 (LDFLAGS-tst-initorderb2.so): Likewise.
19600 (LDFLAGS-noload): Likewise.
19601 (LDFLAGS-next): Likewise.
19602 (LDFLAGS-order2mod1.so): Likewise.
19603 (LDFLAGS-order2mod2.so): Likewise.
19604 (LDFLAGS-tst-initorder2): Likewise.
19605 (LDFLAGS-tst-initorder2a.so): Likewise.
19606 (LDFLAGS-tst-initorder2b.so): Likewise.
19607 (LDFLAGS-tst-initorder2c.so): Likewise.
19608 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19610 2012-05-02 David S. Miller <davem@davemloft.net>
19612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19614 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19617 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19619 2012-05-02 Andreas Jaeger <aj@suse.de>
19621 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19622 since we manipulate rounding mode.
19623 (CPPFLAGS-test-idouble.c): Likewise.
19624 (CPPFLAGS-test-ifloat.c): Likewise.
19625 (CFLAGS-test-ldouble.c): Likewise.
19626 (CFLAGS-test-double.c): Likewise.
19627 (CFLAGS-test-float.c): Likewise.
19628 (CFLAGS-test-misc.c): Likewise.
19629 (CFLAGS-test-test-fenv.c): Likewise.
19631 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19635 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19636 comparisons to determine direction to adjust input.
19638 2012-05-01 Roland McGrath <roland@hack.frob.com>
19640 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19641 output to the target.
19643 * scripts/localplt.awk: New file.
19644 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19645 (check-localplt-CFLAGS): Variable removed.
19646 ($(all-built-dso:=.jmprel)): New static pattern rule.
19647 (generated): Add those targets.
19648 (localplt-built-dso): New variable.
19649 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19651 * elf/check-localplt.c: File removed.
19653 * scripts/check-execstack.awk: New file.
19654 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19655 (check-execstack-CFLAGS): Variable removed.
19656 ($(objpfx)check-execstack.h): Target removed.
19657 ($(objpfx)execstack-default): New target.
19658 (generated): Add that instead of check-execstack.h.
19659 ($(all-built-dso:=.phdr)): New static pattern rule.
19660 (generated): Add those targets.
19661 * elf/check-execstack.c: File removed.
19663 * scripts/check-textrel.awk: New file.
19664 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19665 (check-textrel-CFLAGS): Variable removed.
19666 (all-built-dso): Use := to define.o
19667 ($(all-built-dso:=.dyn)): New static pattern rule.
19668 (generated): Add those targets.
19669 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19670 * config.make.in (READELF): New substituted variable.
19671 * elf/check-textrel.c: File removed.
19673 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19675 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19677 * conform/data/ctype.h-data [C99-based standards] (isblank):
19679 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19680 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19682 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19683 Specify type. Require positive value.
19684 (EILSEQ): Likewise.
19685 (ERANGE): Likewise.
19686 [ISO || POSIX] (EILSEQ): Do not expect.
19687 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19688 Specify type. Require positive value.
19689 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19690 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19691 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19692 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19693 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19694 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19695 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19696 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19697 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19698 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19699 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19700 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19701 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19702 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19703 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19704 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19705 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19706 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19707 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19708 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19709 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19710 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19711 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19712 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19713 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19714 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19715 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19716 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19717 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19718 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19720 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19725 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19726 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19727 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19728 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19729 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19730 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19731 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19732 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19733 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19734 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19735 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19736 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19737 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19742 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19743 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19744 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19745 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19757 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19762 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19763 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19764 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19765 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19767 (FLT_ROUNDS): Expect as macro, not constant.
19768 (FLT_MANT_DIG): Use macro-int-constant.
19769 (DBL_MANT_DIG): Likewise.
19770 (LDBL_MANT_DIG): Likewise.
19771 (FLT_DIG): Likewise.
19772 (DBL_DIG): Likewise.
19773 (LDBL_DIG): Likewise.
19774 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19775 (DBL_MIN_EXP): Likewise.
19776 (LDBL_MIN_EXP): Likewise.
19777 (FLT_MAX_EXP): Use macro-int-constant.
19778 (DBL_MAX_EXP): Likewise.
19779 (LDBL_MAX_EXP): Likewise.
19780 (FLT_MAX_10_EXP): Likewise.
19781 (DBL_MAX_10_EXP): Likewise.
19782 (LDBL_MAX_10_EXP): Likewise.
19783 (FLT_MAX): Use macro-constant.
19784 (DBL_MAX): Likewise.
19785 (LDBL_MAX): Likewise.
19786 (FLT_EPSILON): Use macro-constant. Give upper bound.
19787 (DBL_EPSILON): Likewise.
19788 (LDBL_EPSILON): Likewise.
19789 (FLT_MIN): Likewise.
19790 (DBL_MIN): Likewise.
19791 (LDBL_MIN): Likewise.
19792 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19793 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19794 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19795 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19796 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19797 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19798 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19799 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19800 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19801 [ISO11] (FLT_TRUE_MIN): Likewise.
19802 [ISO11] (LDBL_TRUE_MIN): Likewise.
19803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19804 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19805 (SCHAR_MIN): Use macro-int-constant. Specify type.
19806 (SCHAR_MAX): Likewise.
19807 (UCHAR_MAX): Likewise.
19808 (CHAR_MIN): Likewise.
19809 (CHAR_MAX): Likewise.
19810 (MB_LEN_MAX): Use macro-int-constant.
19811 (SHRT_MIN): Use macro-int-constant. Specify type.
19812 (SHRT_MAX): Likewise.
19813 (USHRT_MAX): Likewise.
19814 (INT_MAX): Likewise.
19815 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19817 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19819 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19821 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19822 bound negative. Suffix upper bound with "L".
19823 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19825 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19827 [C99-based standards] (LLONG_MAX): Likewise.
19828 [C99-based standards] (ULLONG_MAX): Likewise.
19829 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19831 [ISO11] (max_align_t): Require type.
19832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19834 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19835 from $CFLAGS, without defining away __attribute__ calls.
19836 (checknamespace): Use $CFLAGS_namespace.
19838 * conform/conformtest.pl (@keywords): Only include C99 keywords
19839 for standards based on C99 or C11.
19841 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19843 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19846 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19847 usability of symbols in #if.
19849 * conform/conformtest.pl: If macro or constant types start
19850 "promoted:", expect the symbol to be of the following type
19851 promoted by the integer promotions.
19853 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19854 in one place. Also handle "macro-constant".
19856 * conform/conformtest.pl: Only accept expected macro values with
19857 "==". Parse all "macro" lines in one place.
19858 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19860 * conform/conformtest.pl: Handle braced types on "constant" lines
19861 instead of handling "typed-constant".
19862 * conform/data/signal.h-data: Use "constant" instead of
19865 * conform/conformtest.pl: Handle "optional-" at start of lines in
19866 one place rather than duplicating several cases. Handle each
19867 format of "macro" line with initial "optional-".
19869 * conform/conformtest.pl: Only accept expected constant or
19870 optional-constant values with "==". Parse all "constant" lines in
19871 one place. Parse all "optional-constant" lines in one place.
19872 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19873 * conform/data/fmtmsg.h-data: Likewise.
19874 * conform/data/netinet/in.h-data: Likewise.
19875 * conform/data/tar.h-data: Likewise.
19876 * conform/data/limits.h-data: Use "==" form on "constant" and
19877 "optional-constant" lines.
19879 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19880 Use -std=c99 for XOPEN2K.
19881 (@knownproblems): Remove.
19882 (newtoken): Don't check %isknown.
19884 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19885 Do not expect macro.
19886 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19898 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19899 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19910 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19911 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19914 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19915 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19916 [XPG3] (acosh): Likewise.
19917 [XPG3] (asinh): Likewise.
19918 [XPG3] (atanh): Likewise.
19919 [XPG3] (cbrt): Likewise.
19920 [XPG3] (expm1): Likewise.
19921 [XPG3] (ilogb): Likewise.
19922 [XPG3] (log1p): Likewise.
19923 [XPG3] (logb): Likewise.
19924 [XPG3] (nextafter): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19927 [XPG3] (remainder): Likewise.
19928 [XPG3] (rint): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19932 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19933 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19936 [UNIX98 || XOPEN2K] (scalb): Expect.
19937 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19938 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19943 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19944 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19945 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19946 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19947 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19948 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19949 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19952 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19953 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19954 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19962 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19963 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19964 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19965 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19966 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19967 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19968 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19969 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19970 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19971 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19972 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19973 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19974 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19975 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19976 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19977 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19978 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19979 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19980 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19981 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19982 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19983 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19984 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19985 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19986 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19987 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19988 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19989 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19990 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19991 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19992 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19993 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19994 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19995 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19996 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19997 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19998 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19999 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20000 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20001 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20002 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20003 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20004 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20005 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20006 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20007 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20008 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20009 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20010 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20011 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20012 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20013 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20014 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20015 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20016 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20017 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20018 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20019 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20020 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20021 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20022 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20023 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20024 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20025 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20026 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20027 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20028 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20029 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20030 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20031 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20032 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20033 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20034 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20035 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20036 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20037 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20038 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20039 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20040 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20041 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20042 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20043 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20044 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20045 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20046 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20047 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20048 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20049 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20050 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20051 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20052 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20053 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20054 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20055 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20056 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20057 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20058 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20059 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20060 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20061 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20062 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20063 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20064 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20065 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20066 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20067 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20068 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20069 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20070 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20071 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20072 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20073 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20075 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20076 _XOPEN_SOURCE_EXTENDED for XPG4.
20078 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20080 * Makeconfig (localtime): Remove variable.
20081 (inst_localtime-file): Likewise.
20083 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20104 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20108 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20109 comparisons to determine direction to adjust input.
20110 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20111 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20114 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20116 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20118 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20119 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20121 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20123 * math/libm-test.inc (nexttoward_test): Add more tests.
20125 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20128 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20129 in version GLIBC_2.1, not GLIBC_2.0.
20130 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20133 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20136 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20138 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20139 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20140 * math/libm-test.inc (acos_test): Add more tests.
20141 (asin_test): Likewise.
20142 * sysdeps/i386/fpu/libm-test-ulps: Update.
20143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20146 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20148 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20149 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20150 * math/libm-test.inc (acos_test_tonearest): New function.
20151 (acos_test_towardzero): Likewise.
20152 (acos_test_downward): Likewise.
20153 (acos_test_upward): Likewise.
20154 (asin_test_tonearest): Likewise.
20155 (asin_test_towardzero): Likewise.
20156 (asin_test_downward): Likewise.
20157 (asin_test_upward): Likewise.
20158 (main): Call the new functions.
20159 * sysdeps/i386/fpu/libm-test-ulps: Update.
20160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20164 * math/e_exp10.c: Include <float.h>.
20165 (__ieee754_exp10): Handle underflow here rather than multiplying
20166 large negative argument by M_LN10.
20167 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20169 * math/e_exp10l.c: Include <float.h>.
20170 (__ieee754_exp10l): Handle underflow here rather than multiplying
20171 large negative argument by M_LN10l.
20172 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20173 spurious overflow exception on underflow.
20175 2012-04-29 Marek Polacek <polacek@redhat.com>
20177 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20178 (__fortify_function): New macro.
20179 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20180 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20181 __extern_always_inline.
20182 * libio/bits/stdio2.h: Likewise.
20183 * libio/bits/stdio.h: Likewise.
20184 * string/string.h: Likewise.
20185 * string/bits/string3.h: Likewise.
20186 * include/stdio.h: Likewise.
20187 * stdlib/bits/stdlib.h: Likewise.
20188 * stdlib/stdlib.h: Likewise.
20189 * rt/bits/mqueue2.h: Likewise.
20190 * rt/mqueue.h: Likewise.
20191 * posix/bits/unistd.h: Likewise.
20192 * posix/unistd.h: Likewise.
20193 * io/bits/poll2.h: Likewise.
20194 * io/bits/fcntl2.h: Likewise.
20195 * io/fcntl.h: Likewise.
20196 * io/sys/poll.h: Likewise.
20197 * misc/bits/syslog.h: Likewise.
20198 * misc/bits/syslog-ldbl.h: Likewise.
20199 * misc/sys/syslog.h: Likewise.
20200 * socket/bits/socket2.h: Likewise.
20201 * socket/sys/socket.h: Likewise.
20202 * debug/tst-chk1.c: Likewise.
20203 * wcsmbs/bits/wchar2.h: Likewise.
20204 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20205 * wcsmbs/wchar.h: Likewise.
20207 2012-04-29 Andreas Jaeger <aj@suse.de>
20209 * Makerules (tests): Remove enable-check-abi protection.
20210 (check-abi-warn): Remove.
20211 (check-abi-%): Remove check-abi-warn usage.
20213 * configure.in: Remove check-abi configure option.
20214 * configure: Regenerated.
20215 * config.make.in (enable-check-abi): Remove.
20217 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20220 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20221 double functions to double *_finite functions.
20224 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20225 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20227 * stdio-common/Makefile (tests): Add tst-sprintf3.
20228 * stdio-common/tst-sprintf3.c: New file.
20230 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20231 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20233 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20235 * conform/conformtest.pl: Remove duplicate typed-constant
20238 2012-04-28 David S. Miller <davem@davemloft.net>
20240 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20241 (check-abi-%): Remove AWK script prerequisite and explicit
20243 (check-abi): Rewrite to just diff the symlist with the abilist.
20244 (config-tls, config-abi-config): Delete, no longer used.
20245 (update-abi-%): Remove AWK script and explicit abilist directory.
20246 (update-abi): Rewrite to simply compare and conditionally copy the
20247 symlist and the sysdep abilist file. Remove update-abi-config
20249 * abilist/ld.abilist: Remove.
20250 * abilist/libBrokenLocale.abilist: Remove.
20251 * abilist/libanl.abilist: Remove.
20252 * abilist/libcrypt.abilist: Remove.
20253 * abilist/libdl.abilist: Remove.
20254 * abilist/librt.abilist: Remove.
20255 * abilist/libthread_db.abilist: Remove.
20256 * abilist/libutil.abilist: Remove.
20257 * scripts/extract-abilist.awk: Remove.
20258 * scripts/merge-abilist.awk: Remove.
20259 * sysdeps/generic/libcidn.abilist: New file.
20260 * sysdeps/generic/libnss_compat.abilist: New file.
20261 * sysdeps/generic/libnss_db.abilist: New file.
20262 * sysdeps/generic/libnss_dns.abilist: New file.
20263 * sysdeps/generic/libnss_files.abilist: New file.
20264 * sysdeps/generic/libnss_hesiod.abilist: New file.
20265 * sysdeps/generic/libnss_nis.abilist: New file.
20266 * sysdeps/generic/libnss_nisplus.abilist: New file.
20267 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20268 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20269 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20272 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20273 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20274 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20275 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20276 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20277 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20278 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20279 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20281 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20282 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20283 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20284 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20286 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20287 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20288 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20289 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20290 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20291 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20293 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20294 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20295 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20297 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20400 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20401 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20402 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20405 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20406 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20407 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20408 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20409 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20410 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20411 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20412 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20413 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20465 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20467 * conform/conformtest.pl: Fix typo in handling typed-constant from
20470 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20472 * README: Cut down references to pre-2.6 Linux kernels and
20473 Linuxthreads. Update lists of configurations in libc and ports
20474 and sort alphabetically. Say "or newer" with Linux kernel version
20477 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20479 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20482 * math/libm-test.inc (logb_test_downward): New test to expose
20483 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20486 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20489 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20491 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20492 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20494 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20496 * sysdeps/unix/i386/brk.S: Remove file.
20497 * sysdeps/unix/i386/dl-brk.S: Likewise.
20498 * sysdeps/unix/i386/pipe.S: Likewise.
20499 * sysdeps/unix/i386/sigreturn.S: Likewise.
20500 * sysdeps/unix/i386/syscall.S: Likewise.
20501 * sysdeps/unix/i386/vfork.S: Likewise.
20502 * sysdeps/unix/i386/wait.S: Likewise.
20504 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20505 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20507 * configure.in (arm*-none*): Do not allow without
20508 --enable-hacker-mode.
20509 (netbsd*): Remove case setting base_os.
20510 (386bsd*): Likewise.
20511 (freebsd*): Likewise.
20514 (sunos*): Likewise.
20515 (ultrix*): Likewise.
20516 (newsos*): Likewise.
20517 (dynix*): Likewise.
20523 (minix*): Likewise.
20524 (irix4*): Likewise.
20525 (irix6*): Likewise.
20526 (solaris[2-9]*): Likewise.
20528 * configure: Regenerated.
20530 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20533 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20534 overflow or cancellation in calculating denominator.
20535 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20537 down expression to avoid unexpected rounding in newer GCCs.
20538 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20540 2012-04-26 David S. Miller <davem@davemloft.net>
20542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20543 long-double compat symbols.
20544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20558 2012-04-25 David S. Miller <davem@davemloft.net>
20560 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20561 HWCAP_* values only after the memory barriers have been defined.
20562 (atomic_full_barrier): Define.
20563 (atomic_read_barrier): Define.
20564 (atomic_write_barrier): Define.
20566 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20568 * shlib-versions: Add libgcc_s version information.
20569 * sysdeps/generic/libgcc_s.h: Remove.
20570 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20572 * sysdeps/gnu/unwind-resume.c: Likewise.
20573 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20575 2012-04-25 David S. Miller <davem@davemloft.net>
20577 * sysdeps/unix/sparc/brk.S: Delete.
20578 * sysdeps/unix/sparc/dl-brk.S: Delete.
20579 * sysdeps/unix/sparc/pipe.S: Delete.
20580 * sysdeps/unix/sparc/sysdep.S: Delete.
20581 * sysdeps/unix/sparc/sysdep.h: Delete.
20582 * sysdeps/unix/sparc/vfork.S: Delete.
20583 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20584 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20586 ret_ERRVAL, r0, r1, MOVE): Define.
20587 (JUMPTARGET): Remove.
20588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20589 sysdeps/unix/sparc/sysdep.h
20590 (ENTRY, END): Remove.
20591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20593 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20595 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20596 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20599 * timezone/README: Update upstream location and email address for
20601 * timezone/zdump.c: Update from tzcode 2012b.
20602 * timezone/zic.c: Likewise.
20604 * configure.in (libc_cv_as_needed): Remove test.
20605 * configure: Regenerated.
20606 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20607 conditional definition.
20608 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20609 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20610 * config.make.in (have-as-needed): Remove variable.
20612 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20613 Paul Pluzhnikov <ppluzhnikov@google.com>
20615 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20618 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20620 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20621 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20622 * sysdeps/sh/strlen.S: Likewise.
20624 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20626 * sysdeps/unix/fork.S: Remove file.
20627 * sysdeps/unix/i386/fork.S: Likewise.
20628 * sysdeps/unix/sparc/fork.S: Likewise.
20630 * sysdeps/unix/system.c: Remove file.
20631 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20633 * sysdeps/unix/getegid.S: Remove file.
20634 * sysdeps/unix/geteuid.S: Likewise.
20636 2012-04-24 Roland McGrath <roland@hack.frob.com>
20638 * scripts/check-localplt.awk: New file.
20639 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20641 * scripts/data/localplt-generic.data: Add a comment.
20643 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20644 NODE when __dir_mkfile failed.
20645 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20646 Reported by Ludovic Courtès <ludo@gnu.org>.
20648 2012-04-24 Andreas Jaeger <aj@suse.de>
20650 * Makerules (common-clean): Also remove gen-as-const-headers
20653 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20655 * Makerules (native-compile): Do not change working directory for
20656 build. Use $(OUTPUT_OPTION) in command.
20657 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20659 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20662 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20663 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20664 * math/libm-test.inc (floor_test): Add more tests.
20665 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20667 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20669 * sysdeps/unix/getdents.c: Remove file.
20670 * sysdeps/unix/sysv/getdents.c: Likewise.
20671 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20673 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20674 sysdeps/unix/mman/syscalls.list.
20676 (mprotect): Likewise.
20678 (munmap): Likewise.
20679 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20680 * sysdeps/unix/mman/syscalls.list: Remove.
20681 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20683 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20684 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20685 * configure: Regenerated.
20686 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20687 $(libgcc_s_suffix).
20688 * config.make.in (libgcc_s_suffix): Remove variable.
20690 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20692 * sysdeps/unix/sysv/gethostname.c: Move to ...
20693 * sysdeps/posix/gethostname.c: ... here.
20695 * sysdeps/unix/execve.S: Remove file.
20697 * sysdeps/unix/_exit.S: Remove file.
20699 2012-04-23 Andreas Jaeger <aj@suse.de>
20702 * manual/Makefile: Remove make dist support, there's no
20703 need for a stand-alone documentation tar ball.
20704 (TEXI2DVI): Define always, it's not in Makeconfig.
20707 (edition): Removed.
20708 (glibc-doc-$(edition).tar): Removed
20712 (ETAGS): Remove, it's in Makeconfig.
20713 (move-if-change): Remove, it's in Makeconfig.
20715 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20718 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20719 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20720 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20721 (strtod_l, strtof_l, strtold_l): Remove __wur.
20722 It is not necessarily an error to ignore strtol's return value.
20723 One can reliably look at the stored endptr to decide whether
20724 the number had valid syntax.
20726 2012-04-21 Andreas Jaeger <aj@suse.de>
20729 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20731 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20734 * sysdeps/unix/sysv/Versions: Remove file.
20736 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20741 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20745 version from __vm86.
20747 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20749 * sysdeps/unix/common/lxstat.c: Remove file.
20750 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20752 * sysdeps/unix/sysv/Makefile: Remove file.
20754 * sysdeps/unix/sysv/direct.h: Remove file.
20756 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20757 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20758 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20759 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20760 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20761 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20762 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20764 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20766 * sysdeps/unix/xmknod.c: Remove file.
20767 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20769 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20771 * sysdeps/unix/sysv/i386/time.S: Remove file.
20773 * sysdeps/unix/fxstat.c: Remove file.
20774 * sysdeps/unix/xstat.c: Likewise.
20775 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20777 * sysdeps/unix/sysv/sigaction.c: Remove file.
20779 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20780 (sysdep_headers): Remove variable.
20781 [termio.h not in sysdep_headers] (generated): Likewise.
20782 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20783 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20784 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20785 * sysdeps/unix/sysv/tcflow.c: Likewise.
20786 * sysdeps/unix/sysv/tcflush.c: Likewise.
20787 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20788 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20789 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20790 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20791 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20793 * sysdeps/unix/siglist.c: Remove file.
20795 * sysdeps/unix/getppid.S: Remove file.
20797 * sysdeps/unix/mkdir.c: Remove file.
20798 * sysdeps/unix/rmdir.c: Likewise.
20800 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20802 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20804 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20805 errlist-compat value.
20807 2012-04-18 David S. Miller <davem@davemloft.net>
20809 * sysdeps/generic/memcopy.h (reg_char): Delete.
20810 * debug/strcat_chk.c: Use char, not reg_char.
20811 * debug/strcpy_chk.c: Likewise.
20812 * debug/strncat_chk.c: Likewise.
20813 * debug/strncpy_chk.c: Likewise.
20814 * string/memchr.c: Likewise.
20815 * string/memrchr.c: Likewise.
20816 * string/rawmemchr.c: Likewise.
20817 * string/strcat.c: Likewise.
20818 * string/strchr.c: Likewise.
20819 * string/strchrnul.c: Likewise.
20820 * string/strcmp.c: Likewise.
20821 * string/strcpy.c: Likewise.
20822 * string/strncat.c: Likewise.
20823 * string/strncmp.c: Likewise.
20824 * string/strncpy.c: Likewise.
20826 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20828 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20829 __builtin_memcopy is called when src and dest ranges are known to not
20832 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20835 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20836 fwd_align_merge macro call.
20837 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20838 bwd_align_merge macro call.
20839 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20841 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20844 bwd_align_merge macros.
20845 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20846 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20847 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20849 2012-04-18 David S. Miller <davem@davemloft.net>
20851 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20853 2012-04-18 Andreas Jaeger <aj@suse.de>
20856 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20857 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20861 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20862 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20864 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20865 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20866 Adjust for changed ldbl-128 files.
20868 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20869 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20870 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20872 2012-04-17 David S. Miller <davem@davemloft.net>
20874 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20876 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20878 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20879 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20880 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20881 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20885 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20888 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20889 * math/libm-test.inc: Add ilogb errno and exception tests.
20890 * math/w_ilogb.c: New file: ilogb wrapper.
20891 * math/w_ilogbf.c: New file: ilogbf wrapper.
20892 * math/w_ilogbl.c: New file: ilogbl wrapper.
20893 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20894 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20895 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20896 exception being thrown with 0.0 as argument.
20897 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20898 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20899 exception being thrown with 0.0 as argument.
20900 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20901 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20902 exception being thrown with 0.0 as argument.
20903 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20904 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20905 exception being thrown with 0.0 as argument.
20906 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20907 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20908 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20909 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20911 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20912 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20913 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20914 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20916 2012-04-17 Petr Baudis <pasky@ucw.cz>
20918 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20921 2012-04-16 Marek Polacek <polacek@redhat.com>
20923 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20925 2012-04-16 Marek Polacek <polacek@redhat.com>
20927 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20928 operands of fdivp instruction.
20930 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20932 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20933 * elf/tst-auditmod3b.c: Likewise.
20934 * elf/tst-auditmod4b.c: Likewise.
20935 * elf/tst-auditmod5b.c: Likewise.
20936 * elf/tst-auditmod6b.c: Likewise.
20937 * elf/tst-auditmod6c.c: Likewise.
20938 * elf/tst-auditmod7b.c: Likewise.
20939 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20940 * sysdeps/x86_64/preconfigure.in: Likewise.
20941 * sysdeps/x86_64/preconfigure: Regenerated.
20943 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20945 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20948 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20951 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20953 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20956 * locale/iso-639.def: Fix gl language name. Spotted by
20959 2012-04-12 Roland McGrath <roland@hack.frob.com>
20962 * libio/libio.h (__io_write_fn): Update comment.
20964 2012-04-12 Petr Baudis <pasky@ucw.cz>
20967 * stdio.texi (Hook Functions): The user provided writer function
20968 is not allowed to return -1.
20970 2012-04-11 David S. Miller <davem@davemloft.net>
20972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20974 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20976 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20977 Add a leading slash to rtkaio.
20979 2012-04-11 Jim Meyering <meyering@redhat.com>
20982 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20983 It is not necessarily an error to ignore fwrite's return
20984 value. One can reliably use ferror to test for errors after
20987 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20989 * bits/types.h (__snseconds_t): New type.
20990 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20992 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20994 (__SNSECONDS_T_TYPE): Likewise.
20995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20996 (__SNSECONDS_T_TYPE): Likewise.
20997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20998 (__SNSECONDS_T_TYPE): Likewise.
21000 2012-04-10 Andreas Jaeger <aj@suse.de>
21003 * manual/time.texi (Processor Time): Return type of times is
21004 elapsed real time since an arbitrary point in the past.
21005 (CPU Time): Move CLK_TCK from here...
21006 (Processor Time): ...to here. Correct description.
21007 * manual/conf.texi (Constants for Sysconf): Correct description of
21010 2012-04-10 David S. Miller <davem@davemloft.net>
21013 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21014 where the is a gap between DT_REL(A) and DT_JMPREL.
21016 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21018 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21019 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21020 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21022 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21024 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21025 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21026 (dl_main): Handle --inhibit-cache.
21027 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21029 * elf/dl-load.c (_dl_map_object): Use it.
21030 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21032 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21035 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21036 (__ieee754_powl): Saturate large exponents rather than testing for
21037 overflow of y*log2(x).
21038 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21039 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21043 * math/s_ctan.c: Include <float.h>.
21044 (__ctan): Avoid internal overflow or cancellation in calculating
21046 * math/s_ctanf.c: Likewise.
21047 * math/s_ctanl.c: Likewise.
21048 * math/s_ctanh.c: Likewise.
21049 * math/s_ctanhf.c: Likewise.
21050 * math/s_ctanhl.c: Likewise.
21051 * math/libm-test.inc (ctan_test): Add more tests.
21052 (ctanh_test): Likewise.
21053 * sysdeps/i386/fpu/libm-test-ulps: Update.
21054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21056 2012-04-09 Andreas Jaeger <aj@suse.de>
21059 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21060 is an optional BSD extension.
21063 * manual/stdio.texi (Opening Streams): Document additional fopen
21066 2012-04-09 Roland McGrath <roland@hack.frob.com>
21068 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21069 %eax without telling the compiler.
21071 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21074 * manual/install.texi: Use sourceware.org.
21076 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21079 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21080 (__ieee754_pow): Generate overflow and underflow using huge*huge
21081 and tiny*tiny rather than just returning constant infinity or zero
21082 for large exponents.
21083 * math/libm-test.inc (pow_test): Require overflow exceptions for
21084 applicable cases of large exponents.
21087 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21088 (__ieee754_pow): Use iterative multiplication algorithm only for
21089 integer exponents with absolute value below 1024. Check for odd
21090 integer exponents when using algorithm for real exponents.
21091 * math/libm-test.inc (pow_test): Add more tests.
21092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21094 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21097 * math/libm-test.inc (exp_test): Do not allow overflow exception
21100 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21103 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21104 instead of __kernel_standard_f.
21106 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21108 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21109 * sysdeps/x86_64/memset_chk.S: Likewise.
21111 2012-04-08 Andreas Jaeger <aj@suse.de>
21114 * manual/startup.texi (Environment Access): Describe return value
21115 for putenv and setenv.
21118 * manual/filesys.texi (Directory Entries): Add description for
21122 * manual/filesys.texi (Directory Entries): Clarify that it's file
21123 system not operating system in the description of DT_UNKNOWN.
21126 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21128 2012-04-08 Stephen Compall <s11@member.fsf.org>
21131 * manual/llio.texi (Opening and Closing Files): Add cross
21132 reference to explain mode argument.
21134 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21136 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21137 * sysdeps/x86_64/memset_chk.S: Likewise.
21139 2012-04-07 David S. Miller <davem@davemloft.net>
21141 * elf/elf.h (R_SPARC_WDISP10): Define.
21142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21145 R_SPARC_SIZE64 and R_SPARC_H34.
21147 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21149 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21150 conditions and remove no longer applicable assertion.
21152 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21154 * bits/byteswap.h: Include <features.h>.
21155 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21156 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21158 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21160 * bits/byteswap.h (__bswap_16): Removed.
21161 Include <bits/byteswap-16.h> to get __bswap_16.
21162 * sysdeps/i386/bits/byteswap.h: Likewise.
21163 * sysdeps/s390/bits/byteswap.h: Likewise.
21164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21165 * bits/byteswap-16.h: New file.
21166 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21167 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21168 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21169 * string/Makefile (headers): Add bits/byteswap-16.h.
21171 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21174 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21176 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21177 * nss/tst-nss-static.c: New.
21179 2012-04-06 Robert Millan <rmh@gnu.org>
21182 * manual/llio.texi (File Position Primitive): lseek
21183 refers to WHENCE when it really means OFFSET.
21185 2012-04-06 Andreas Jaeger <aj@suse.de>
21187 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21188 strncmp declarations.
21190 * abilist/libc.abilist: Add __poll and __ppoll.
21192 2012-04-05 David S. Miller <davem@davemloft.net>
21194 * scripts/check-local-headers.sh: Accept a host triplet in the
21195 path matched by the exclude regexp.
21197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21199 * sysdeps/powerpc/powerpc32/dl-machine.h
21200 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21201 * sysdeps/s390/s390-32/dl-machine.h
21202 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21203 * sysdeps/sparc/sparc32/dl-machine.h
21204 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21205 * sysdeps/sparc/sparc64/dl-machine.h
21206 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21208 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21210 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21211 undefined symbol errors.
21213 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21216 2012-04-05 Michael Matz <matz@suse.de>
21219 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21221 2012-04-05 Andreas Jaeger <aj@suse.de>
21224 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21227 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21229 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21230 which ROUND is no valid rounding mode.
21232 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21234 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21236 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21238 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21240 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21241 an exception using FPU order intentionally.
21243 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21245 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21246 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21247 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21248 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21250 2012-04-05 Simon Josefsson <simon@josefsson.org>
21253 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21254 EINVAL when BUFLEN is too smal.
21256 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21259 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21260 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21262 2012-04-03 Andreas Jaeger <aj@suse.de>
21265 * manual/setjmp.texi (System V contexts): Fix sentence.
21268 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21269 New macro for this case.
21270 [!__GNUC__] (__bswap_64): New inline function for this case.
21271 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21272 * bits/byteswap.h: Likewise.
21273 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21274 ull, guard with __GLIBC_HAVE_LONG_LONG.
21276 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21277 __GLIBC_HAVE_LONG_LONG.
21279 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21280 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21282 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21285 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21286 inptr and inend, rather than using last_ch.
21288 2012-04-02 David S. Miller <davem@davemloft.net>
21290 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21291 * stdio-common/printf-parse.h (read_int): Change return type to
21292 'int', return -1 on INT_MAX overflow.
21293 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21294 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21295 overflows INT_MAX. Check for overflow of in-format-string precision
21296 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21297 SIZE_MAX not INT_MAX for integer overflow test.
21298 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21299 skip the construct in the format string but do not record anything.
21300 * stdio-common/bug22.c: Adjust to test both width/prevision
21301 INT_MAX overflow as well as total length INT_MAX overflow. Check
21302 explicitly for proper errno values.
21304 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21306 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21308 * string/test-strcmp.c [! WIDE]: Likewise.
21309 * time/tst-mktime2.c: Likewise for INT_MAX.
21310 * string/test-string.h: #include <sys/param.h> for MIN.
21312 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21313 * sysdeps/i386/init-first.c (init): Likewise.
21314 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21315 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21316 * sysdeps/sh/init-first.c (init): Likewise.
21318 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21320 * po/ru.po: Update from translation team.
21321 * po/vi.po: Likewise.
21323 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21325 * resolv/nss_dns/dns-host.c: Merge copyright years.
21327 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21329 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21330 Optimize memcpy with prefetch if
21331 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21332 src, dst pointers have unequal 16 byte alignments.
21334 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21337 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21338 from a CNAME entry and return the minimum ttl for the query.
21339 (gaih_getanswer_slice): Likewise.
21341 2012-03-30 Jeff Law <law@redhat.com>
21343 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21345 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21346 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21348 * resolv/nss_dns/dns-host.c: Update copyright year.
21350 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21352 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21353 requests to save a system call. Fix check that all bytes are sent.
21355 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21356 comments for sendmmsg.
21358 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21361 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21362 with only 1 character between 0x0041 and 0x01b0.
21363 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21364 * wcsmbs/tst-mbsnrtowcs.c: New file.
21366 2012-03-29 David S. Miller <davem@davemloft.net>
21368 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21369 small copies by hand.
21371 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21374 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21375 _nss_compat_initgroups_dyn): Fall back to malloc/free
21376 for large group memberships.
21378 2012-03-28 David S. Miller <davem@davemloft.net>
21380 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21381 that branches into memcpy.
21382 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21383 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21384 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21385 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21388 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21389 implementation too.
21390 * sysdeps/sparc/mempcpy.S: New file.
21392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21393 the IFUNC routine in the libc case.
21394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21396 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21397 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21398 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21399 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21400 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21401 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21402 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21403 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21405 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21406 loop to 256 bytes instead of 64 bytes and fix test signedness.
21408 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21409 * sysdeps/sparc/sparc32/Makefile: rather than here...
21410 * sysdeps/sparc/sparc64/Makefile: and here.
21412 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21414 * malloc/mallocbug.c: Avoid warnings about unused variables.
21416 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21419 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21420 in the right place. Discard and retry query if response is
21421 larger than input buffer size.
21423 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21428 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21429 x for large integer exponent.
21430 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21431 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21432 sign of result as needed afterwards.
21433 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21435 result for underflowing pow the same as for overflow.
21436 (__kernel_standard_l): Handle powl overflow and underflow here
21437 rather than calling __kernel_standard.
21438 * math/libm-test.inc (pow_test): Add more tests.
21453 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21454 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21455 (__kernel_standard_l): New function.
21456 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21458 * math/w_acosl.c (__acosl): Likewise.
21459 * math/w_asinl.c (__asinl): Likewise.
21460 * math/w_atan2l.c (__atan2l): Likewise.
21461 * math/w_atanhl.c (__atanhl): Likewise.
21462 * math/w_coshl.c (__coshl): Likewise.
21463 * math/w_exp10l.c (__exp10l): Likewise.
21464 * math/w_exp2l.c (__exp2l): Likewise.
21465 * math/w_fmodl.c (__fmodl): Likewise.
21466 * math/w_hypotl.c (__hypotl): Likewise.
21467 * math/w_j0l.c (__j0l, __y0l): Likewise.
21468 * math/w_j1l.c (__j1l, __y1l): Likewise.
21469 * math/w_jnl.c (__jnl, __ynl): Likewise.
21470 * math/w_lgammal.c (__lgammal): Likewise.
21471 * math/w_log10l.c (__log10l): Likewise.
21472 * math/w_log2l.c (__log2l): Likewise.
21473 * math/w_logl.c (__logl): Likewise.
21474 * math/w_powl.c (__powl): Likewise.
21475 * math/w_remainderl.c (__remainderl): Likewise.
21476 * math/w_scalbl.c (sysv_scalbl): Likewise.
21477 * math/w_sinhl.c (__sinhl): Likewise.
21478 * math/w_sqrtl.c (__sqrtl): Likewise.
21479 * math/w_tgammal.c (__tgammal): Likewise.
21480 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21481 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21482 * math/libm-test.inc (acos_test): Add more tests.
21483 (acosh_test): Likewise.
21484 (asin_test): Likewise.
21485 (atanh_test): Likewise.
21486 (exp_test): Likewise.
21487 (exp10_test): Likewise.
21488 (exp2_test): Likewise.
21489 (expm1_test): Likewise.
21490 (lgamma_test): Likewise.
21491 (log_test): Likewise.
21492 (log10_test): Likewise.
21493 (log1p_test): Likewise.
21494 (log2_test): Likewise.
21495 (pow_test): Do not allow some spurious overflow exceptions.
21496 (sqrt_test): Add more tests.
21497 (tgamma_test): Likewise.
21498 (y0_test): Likewise.
21499 (y1_test): Likewise.
21500 (yn_test): Likewise.
21502 2012-03-27 Anton Blanchard <anton@samba.org>
21504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21510 2012-03-27 David S. Miller <davem@davemloft.net>
21512 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21514 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21515 have-as-vis3 check.
21517 2012-03-27 Andreas Jaeger <aj@suse.de>
21519 * sysdeps/x86_64/elf/configure.in: Moved to ...
21520 * sysdeps/x86_64/configure.in: ... here.
21521 * sysdeps/x86_64/elf/start.S: Moved to ...
21522 * sysdeps/x86_64/start.S: ... here.
21523 * sysdeps/x86_64/elf/configure: Delete.
21525 * sysdeps/x86_64/configure.in: Merge contents from
21526 sysdeps/i386/configure.in (without i686 check).
21528 * sysdeps/i386/elf/Versions: Merge into ...
21529 * sysdeps/i386/Versions: ... this.
21530 * sysdeps/i386/elf/Versions: Delete file.
21531 * sysdeps/i386/elf/start.S: Moved to ...
21532 * sysdeps/i386/start.S: ...here.
21533 * sysdeps/i386/elf/configure.in: Merge into...
21534 * sysdeps/i386/configure.in: ...here.
21535 * sysdeps/i386/elf/configure.in: Delete file.
21536 * sysdeps/i386/elf/configure: Delete file.
21538 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21539 * debug/backtracesyms.c: ... here.
21540 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21541 * debug/backtracesymsfd.c: ... here.
21542 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21543 * sysdeps/generic/ifunc-sel.h: ... here.
21545 * sysdeps/unix/i386/start.c: Delete file.
21546 * sysdeps/unix/sparc/start.c: Delete file.
21547 * sysdeps/unix/start.c: Delete file.
21549 * sysdeps/sh/elf/configure.in: Moved to ...
21550 * sysdeps/sh/configure.in: ... here.
21551 * sysdeps/sh/elf/start.S: Moved to ...
21552 * sysdeps/sh/start.S: ... here.
21553 * sysdeps/sh/elf/configure: Delete file.
21555 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21556 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21557 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21558 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21559 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21560 * sysdeps/powerpc/powerpc64/start.S: here.
21561 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21562 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21563 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21564 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21565 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21567 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21568 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21569 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21570 * sysdeps/powerpc/powerpc32/start.S: ... here.
21571 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21572 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21573 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21575 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21576 * sysdeps/powerpc/ifunc-sel.h: ... here.
21577 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21578 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21580 * sysdeps/sparc/elf/configure.in: Moved to ...
21581 * sysdeps/sparc/configure.in: ... here.
21582 * sysdeps/sparc/elf/configure: Delete file.
21583 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21584 * sysdeps/sparc/sparc32/start.S: ... here.
21585 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21586 * sysdeps/sparc/sparc64/start.S: ... here.
21587 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21588 * sysdeps/sparc/sparc32/Makefile: ... this.
21589 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21590 * sysdeps/sparc/sparc64/Makefile: ... this.
21592 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21593 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21594 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21595 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21596 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21597 * sysdeps/s390/s390-32/setjmp.S: ... here.
21598 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21599 * sysdeps/s390/s390-32/configure.in: ... here.
21600 * sysdeps/s390/s390-32/elf/configure: Delete file.
21601 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21602 * sysdeps/s390/s390-32/start.S: ... here.
21604 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21605 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21606 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21607 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21608 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21609 * sysdeps/s390/s390-64/setjmp.S: ... here.
21610 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21611 * sysdeps/s390/s390-64/configure.in: ... here
21612 * sysdeps/s390/s390-64/elf/configure: Delete file.
21613 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21614 * sysdeps/s390/s390-64/start.S: ... here.
21615 * sysdeps/s390/s390-64/elf/configure: Delete.
21617 * configure.in: Remove support for elf directories in sysdeps.
21619 * configure: Regenerated.
21620 * sysdeps/i386/configure: Regenerated.
21621 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21622 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21623 * sysdeps/s390/s390-32/configure: Regenerated.
21624 * sysdeps/s390/s390-64/configure: Regenerated.
21625 * sysdeps/sh/configure: Regenerated.
21626 * sysdeps/sparc/configure: Regenerated.
21627 * sysdeps/x86_64/configure: Regenerated.
21629 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21634 denormal result into account.
21636 2012-03-25 Roland McGrath <roland@hack.frob.com>
21638 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21639 Reported by Allan McRae <allan@archlinux.org>.
21641 2012-03-23 Jeff Law <law@redhat.com>
21643 * nss/getnssent.c (__nss_getent): Fix typo.
21645 2012-03-23 David S. Miller <davem@davemloft.net>
21647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21649 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21651 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21652 to pad to uint64_t for each field.
21653 (dl_tls_index): Replace unsigned long with uint64_t.
21655 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21656 Paul Pluzhnikov <ppluzhnikov@google.com>
21659 * grp/Makefile (otherlibs): Don't set it.
21660 * inet/Makefile (otherlibs): Likewise.
21661 * login/Makefile (otherlibs): Likewise.
21662 * nscd/Makefile (otherlibs): Likewise.
21663 * posix/Makefile (otherlibs): Likewise.
21664 * pwd/Makefile (otherlibs): Likewise.
21665 * rt/Makefile (otherlibs): Likewise.
21666 * sunrpc/Makefile (otherlibs): Likewise.
21667 * nss/Makefile (otherlibs): Likewise.
21668 Add libnss_files to routines and static-only-routines.
21669 ($(objpfx)getent): Remove rule.
21670 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21671 static-only-routines.
21673 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21676 * math/s_cexp.c: Include <float.h>.
21677 (__cexp): Handle exp result overflowing not necessarily
21678 overflowing both real and imaginary parts of result.
21679 * math/s_cexpf.c: Likewise.
21680 * math/s_cexpl.c: Likewise.
21681 * math/libm-test.inc (cexp_test): Add more tests.
21682 * sysdeps/i386/fpu/libm-test-ulps: Update.
21683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21685 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21687 * include/link.h (ELFW): New macro.
21688 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21689 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21691 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21693 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21696 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21698 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21700 (struct La_x32_retval): Likewise.
21702 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21704 * sysdeps/x86_64/preconfigure.in: New file.
21705 * sysdeps/x86_64/preconfigure: New generated file.
21707 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21710 * math/e_exp2l.c: Include <float.h>.
21711 (__ieee754_exp2l): Handle overflow and underflow cases
21712 separately. Only pass fractional part of argument to
21714 * math/libm-test.inc (exp2_test): Add more tests.
21716 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21717 negating x to take absolute value.
21718 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21720 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21721 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21723 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21724 computing low part if x was negated.
21725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21727 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21729 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21730 la_x32_gnu_pltexit.
21731 (pltexit): Cast int_retval to ptrdiff_t.
21732 * elf/tst-auditmod3b.c: Likewise.
21733 * elf/tst-auditmod4b.c: Likewise.
21734 * elf/tst-auditmod5b.c: Likewise.
21735 * elf/tst-auditmod6b.c: Likewise.
21736 * elf/tst-auditmod6c.c: Likewise.
21737 * elf/tst-auditmod7b.c: Likewise.
21739 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21740 and x32_gnu_pltexit.
21742 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21743 __ELF_NATIVE_CLASS.
21744 (La_x32_regs): New macro.
21745 (La_x32_retval): Likewise.
21746 (la_x32_gnu_pltenter): New function prototype.
21747 (la_x32_gnu_pltexit): Likewise.
21749 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21756 * configure.in (libc_cv_cc_nofma): Check for option to disable
21757 generation of FMA instructions.
21758 * configure: Regenerate.
21759 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21760 * sysdeps/ieee754/dbl-64/Makefile: New file.
21761 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21762 Remove brandred-fma4.
21763 (CFLAGS-brandred-fma4.c): Remove.
21764 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21765 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21767 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21770 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21772 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21773 LLONG_MAX != LONG_MAX.
21774 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21775 (_fitoa_word): Likewise.
21776 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21777 LLONG_MAX != LONG_MAX.
21778 * stdio-common/_itowa.h: Include <_itoa.h>.
21779 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21780 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21781 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21782 only if not defined.
21783 (_ITOA_WORD_TYPE): Likewise.
21784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21785 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21787 2012-03-21 David S. Miller <davem@davemloft.net>
21789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21791 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21793 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21794 of x86_64 when setting libc_cv_slibdir, libdir and
21796 * sysdeps/unix/sysv/linux/configure: Regenerated.
21798 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21800 * manual/lang.texi (Old Varargs): Remove section.
21801 (How Variadic): Update menu.
21802 (va_start): Do not mention varargs.h.
21804 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21805 Joseph Myers <joseph@codesourcery.com>
21807 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21809 * configure: Regenerated.
21811 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21813 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21814 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21817 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21820 * Makefile (files-for-dist): Remove NOTES.
21821 (NOTES): Remove rule.
21822 * README: Don't refer to NOTES.
21823 * manual/creature.texi: Don't include macros.texi.
21824 * manual/intro.texi (creature.texi): Remove comment referring to
21827 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21828 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21829 * configure: Regenerated.
21830 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21831 LIBC_TRY_CC_OPTION.
21832 (libc_cv_as_i686): Likewise.
21833 (libc_cv_cc_avx): Likewise.
21834 (libc_cv_cc_sse2avx): Likewise.
21835 (libc_cv_cc_fma4): Likewise.
21836 (libc_cv_cc_novzeroupper): Likewise.
21837 * sysdeps/i386/configure: Regenerated.
21840 * sysdeps/i386/fpu/s_cexp.S: Remove.
21841 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21842 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21843 * math/libm-test.inc (cexp_test): Add more tests.
21844 * sysdeps/i386/fpu/libm-test-ulps: Update.
21845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21847 2012-03-21 Allan McRae <allan@archlinux.org>
21849 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21851 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21854 * math/w_exp2.c: Do not include <float.h>.
21855 (o_threshold, u_threshold): Remove.
21856 (__exp2): Calculate result before checking finiteness and calling
21858 * math/w_exp2f.c: Likewise.
21859 * math/w_exp2l.c: Likewise.
21860 * math/libm-test.inc (exp2_test): Require overflow exception for
21864 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21865 range of signed 64-bit integers before using fistpll. Remove
21866 checks for whether integers fit in mantissa bits.
21867 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21868 the range of signed 32-bit integers before using fistpl. Remove
21869 checks for whether integers fit in mantissa bits.
21870 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21871 (__ieee754_powl): Test for y outside the range of signed 64-bit
21872 integers before using fistpll. Reduce 64-bit values to 63-bit
21874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21875 divide-by-zero is raised for zero to large negative powers.
21876 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21877 (__ieee754_powl): Test for y outside the range of signed 64-bit
21878 integers before using fistpll. Reduce 64-bit values to 63-bit
21880 * math/libm-test.inc (pow_test): Add more tests.
21882 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21884 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21885 <stdio-common/_itoa.h>.
21886 * debug/segfault.c: Likewise.
21887 * elf/dl-cache.c: Likewise.
21888 * elf/dl-minimal.c: Likewise.
21889 * elf/dl-misc.c: Likewise.
21890 * elf/dl-sysdep.c: Likewise.
21891 * elf/dl-version.c: Likewise.
21892 * elf/rtld.c: Likewise.
21893 * hurd/hurdsock.c: Likewise.
21894 * hurd/lookup-retry.c: Likewise.
21895 * malloc/malloc.c: Likewise.
21896 * malloc/mtrace.c: Likewise.
21897 * nscd/nscd_getgr_r.c: Likewise.
21898 * nscd/nscd_getpw_r.c: Likewise.
21899 * nscd/nscd_getserv_r.c: Likewise.
21900 * posix/getopt_init.c: Likewise.
21901 * posix/wordexp.c: Likewise.
21902 * stdio-common/_itoa.c: Likewise.
21903 * stdio-common/printf_fphex.c: Likewise.
21904 * stdio-common/vfprintf.c: Likewise.
21905 * string/_strerror.c: Likewise.
21906 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21907 * sysdeps/i386/i686/hp-timing.h: Likewise.
21908 * sysdeps/mach/_strerror.c: Likewise.
21909 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21910 * sysdeps/mach/hurd/sethostid.c: Likewise.
21911 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21912 * sysdeps/mach/xpg-strerror.c: Likewise.
21913 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21915 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21916 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21917 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21918 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21919 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21920 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21921 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21922 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21923 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21924 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21925 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21926 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21927 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21928 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21929 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21930 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21931 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21932 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21933 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21935 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21937 * stdio-common/_itoa.h: Moved to ...
21938 * sysdeps/generic/_itoa.h: Here.
21940 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21942 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21943 instead of "_itoa.h" and "_itowa.h".
21944 * stdio-common/vfprintf.: Likewise.
21946 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21948 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21950 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21951 (__signbit): Likwise.
21952 (llrintf): Likwise.
21955 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21957 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21960 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21962 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21963 OVERFLOW_EXCEPTION_OK.
21964 * math/libm-test.inc ("Philosophy"): Update comment about
21966 (OVERFLOW_EXCEPTION): Define.
21967 (OVERFLOW_EXCEPTION_OK): Likewise.
21968 (INVALID_EXCEPTION_OK): Renumber.
21969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21970 (IGNORE_ZERO_INF_SIGN): Likewise.
21971 (test_exceptions): Handle FE_OVERFLOW.
21972 (exp10_test): Expect overflow exceptions.
21973 (exp2_test): Likewise.
21974 (expm1_test): Likewise.
21975 (nextafter_test): Likewise.
21976 (pow_test): Likewise.
21977 (scalbn_test): Likewise.
21978 (scalbln_test): Likewise.
21980 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21982 * sysdeps/x86_64/bits/atomic.h
21983 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21985 (atomic_exchange_acq): Likewise.
21986 (__arch_exchange_and_add_body): Likewise.
21987 (__arch_add_body): Likewise.
21988 (atomic_add_negative): Likewise.
21989 (atomic_add_zero): Likewise.
21991 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21993 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21994 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21996 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21998 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21999 Check __x86_64__ instead of __WORDSIZE.
22001 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22003 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22005 2012-03-19 David S. Miller <davem@davemloft.net>
22007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22009 * sysdeps/sparc/fpu/fenv_private.h: New file.
22010 * sysdeps/sparc/fpu/math_private.h: Use it.
22011 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22013 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22014 (libc_feholdexcept_setroundl): Remove.
22015 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22017 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22018 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22022 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22023 int64_t instead of long int.
22024 (INSERT_WORDS64): Likwise.
22026 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22028 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22029 _Unwind_GetCFA return to _Unwind_Ptr first.
22031 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22034 * math/s_clog.c: Include <float.h>.
22035 (__clog): Scale large or subnormal inputs.
22036 * math/s_clogf.c: Likewise.
22037 * math/s_clogl.c: Likewise.
22038 * math/s_clog10.c: Include <float.h>.
22039 (M_LOG10_2): Define.
22040 (__clog10): Scale large or subnormal inputs.
22041 * math/s_clog10f.c: Likewise.
22042 * math/s_clog10l.c: Likewise.
22043 * math/libm-test.inc (clog_test): Add more tests.
22044 (clog10_test): Likewise.
22045 * sysdeps/i386/fpu/libm-test-ulps: Update.
22046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22049 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22051 * math/libm-test.inc (atan2_test): Add another test.
22053 * Makerules (common-objdir-compile): Remove.
22054 * sysdeps/unix/Makefile (config-generated): Do not add
22055 $(unix-generated) to variable.
22056 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22057 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22059 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22061 [generic bits/local_lim.h] (before-compile): Do not append to
22063 [generic bits/local_lim.h] (common-generated): Likewise.
22064 [generic sys/param.h] (before-compile): Do not append to variable.
22065 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22066 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22067 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22068 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22070 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22071 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22072 [generic sys/param.h] ($(addprefix
22073 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22074 [generic sys/param.h] (common-generated): Do not append to
22076 [generic sys/param.h] (sysdep_headers): Likewise.
22077 [generic bits/errno.h] (before-compile): Do not append to
22079 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22081 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22082 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22083 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22084 [generic bits/errno.h] (common-generated): Do not append to
22086 [generic bits/ioctls.h] (before-compile): Do not append to
22088 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22090 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22091 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22092 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22094 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22095 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22096 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22097 [generic bits/ioctls.h] (common-generated): Do not append to
22099 [generic sys/syscall.h] (syscall.h): Remove variable.
22100 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22102 [generic sys/syscall.h] (before-compile): Do not append to
22104 [generic sys/syscall.h] (common-generated): Likewise.
22105 * sysdeps/unix/errnos-tmpl.c: Remove file.
22106 * sysdeps/unix/errnos.awk: Likewise.
22107 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22108 * sysdeps/unix/ioctls.awk: Likewise.
22109 * sysdeps/unix/mk-local_lim.c: Likewise.
22110 * sysdeps/unix/snarf-ioctls: Likewise.
22112 2012-03-19 Richard Henderson <rth@twiddle.net>
22114 * sysdeps/i386/fpu/fenv_private.h: New file.
22115 * sysdeps/i386/fpu/math_private.h: Use it.
22116 (math_opt_barrier, math_force_eval): Remove.
22117 (libc_feholdexcept_setround_53bit): Remove.
22118 (libc_feupdateenv_53bit): Remove.
22119 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22120 (math_opt_barrier, math_force_eval): Remove.
22121 (libc_feholdexcept): Remove.
22122 (libc_feholdexcept_setround): Remove.
22123 (libc_fetestexcept, libc_fesetenv): Remove.
22124 (libc_feupdateenv_test): Remove.
22125 (libc_feupdateenv, libc_feholdsetround): Remove.
22126 (libc_feresetround): Remove.
22128 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22129 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22131 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22132 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22133 (libc_feupdateenv_testl): New.
22134 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22135 (libc_feupdateenv_testf): New.
22136 (libc_feupdateenv): Use libc_feupdateenv_test.
22137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22138 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22140 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22141 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22142 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22143 (libc_feresetround_noex): New.
22144 (libc_feresetround_noexf): New.
22145 (libc_feresetround_noexl): New.
22146 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22147 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22148 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22149 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22154 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22155 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22156 SET_RESTORE_ROUND_NOEX.
22157 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22158 SET_RESTORE_ROUND_NOEXF.
22159 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22160 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22161 (libc_feholdsetroundf): New.
22162 (libc_feresetround, libc_feresetroundf): New.
22164 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22165 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22166 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22168 * sysdeps/generic/math_private.h: Include <fenv.h>.
22169 (default_libc_feholdexcept): New.
22170 (default_libc_feholdexcept_setround): New.
22171 (default_libc_fesetenv, default_libc_feupdateenv): New.
22172 (libc_feholdexcept): Only define if undefined.
22173 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22174 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22175 (libc_feholdexcept_setroundl): Likewise.
22176 (libc_feholdexcept_setround_53bit): Likewise.
22177 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22178 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22179 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22180 (libc_feupdateenv_53bit): Likewise.
22181 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22182 (libc_feholdexcept): Convert from macro to inline function.
22183 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22184 (libc_fesetenv, libc_feupdateenv): Likewise.
22186 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22187 not previously defined.
22188 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22189 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22190 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22191 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22192 * sysdeps/ieee754/flt-32/math_private.h: New file.
22193 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22194 math_private.h below SET_FLOAT_WORD.
22195 (__isnan, __isinf_ns, __finite): Remove.
22196 (__isnanf, __isinf_nsf, __finitef): Remove.
22198 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22202 2012-03-17 David S. Miller <davem@davemloft.net>
22205 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22208 2012-03-16 David S. Miller <davem@davemloft.net>
22210 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22214 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22216 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22217 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22218 sysdep_routines when subdir is sysvipc.
22219 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22220 __getshmlba helper.
22222 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22224 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22226 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22229 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22231 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22232 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22233 (__lround): Renamed to ...
22234 (__llround): This. Replace long int with long long int.
22235 Define lround functions as aliases of llround functions.
22236 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22238 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22240 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22241 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22242 adresses to uintptr_t. Replace "long int" and "unsigned long
22243 int" with "greg_t" on va_arg.
22245 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22247 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22248 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22250 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22251 Move e_machine check before EI_CLASS check. Handle x32
22252 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22253 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22254 SKIP_EM_IA_64 and include
22255 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22257 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22258 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22259 (add_system_dir): New macro.
22261 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22262 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22264 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22275 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22277 * math/w_j0f.c (j0f): Likewise.
22279 * math/w_j0l.c (__j0l): Likewise.
22281 * math/w_j1.c (j1): Likewise.
22283 * math/w_j1f.c (j1f): Likewise.
22285 * math/w_j1l.c (__j1l): Likewise.
22287 * math/w_jn.c (jn): Likewise.
22289 * math/w_jnf.c (jnf): Likewise.
22291 * math/w_jnl.c (__jnl): Likewise.
22293 * math/libm-test.inc (j0_test): Add more tests.
22294 (j1_test): Likewise.
22295 (jn_test): Likewise. Add trailing semicolon to existing test.
22296 (y0_test): Likewise.
22297 (y1_test): Likewise.
22298 * sysdeps/i386/fpu/libm-test-ulps: Update.
22299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22304 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22305 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22306 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22307 (__tanl): Set errno for infinite argument.
22308 * sysdeps/i386/fpu/mptan.c: Remove.
22309 * sysdeps/i386/fpu/s_tan.S: Likewise.
22310 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22311 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22312 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22313 * math/libm-test.inc (tan_test): Add more tests and enable more
22314 tests for double and long double.
22315 * sysdeps/i386/fpu/libm-test-ulps: Update.
22316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22320 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22321 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22323 2012-03-16 Roland McGrath <roland@hack.frob.com>
22325 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22326 * configure.in: Use it for both main tree and add-ons.
22327 * configure: Regenerated.
22329 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22331 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22333 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22335 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22339 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22340 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22341 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22342 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22345 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22347 != 0 for prec == 2.
22348 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22349 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22350 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22351 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22352 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22353 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22354 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22355 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22356 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22357 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22358 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22359 * math/libm-test.inc (cos_test): Add more tests and enable more
22360 tests for long double.
22361 (sin_test): Likewise.
22362 (sincos_test): Likewise.
22363 * sysdeps/i386/fpu/libm-test-ulps: Update.
22364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22366 2012-03-16 David S. Miller <davem@davemloft.net>
22368 * sysdeps/sparc/fpu/math_private.h: New file.
22370 2012-03-15 David S. Miller <davem@davemloft.net>
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22386 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22387 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22389 * sysdeps/sparc/sparc-ifunc.h: New file.
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22431 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22435 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22437 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22441 2012-03-15 Andreas Jaeger <aj@suse.de>
22444 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22445 ieee754/flt-32 implementation for sin, cos and sincos.
22446 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22447 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22448 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22449 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22450 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22451 ieee754/flt-32 implementation for tan.
22453 * math/libm-test.inc (cos_test): Enable some large input tests for
22455 (sin_test): Likewise.
22456 (sincos_test): Likewise.
22457 (tan_test): Add tests for large input.
22459 * sysdeps/i386/fpu/libm-test-ulps: Update.
22461 2012-03-15 Andreas Jaeger <aj@suse.de>
22464 * math/libm-test.inc (cos_test): Add more test cases.
22465 (sin_test): Likewise.
22466 (sincos_test): Likewise.
22468 2012-03-15 Andreas Jaeger <aj@suse.de>
22471 * math/libm-test.inc (cos_test): Add a test case for large input
22473 (sin_test): Likewise.
22474 (sincos_test): Likewise.
22476 2012-03-15 Andreas Jaeger <aj@suse.de>,
22477 Joseph Myers <joseph@codesourcery.com>
22480 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22481 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22482 * sysdeps/i386/fpu/branred.c: Likewise.
22483 * sysdeps/i386/fpu/dosincos.c: Likewise.
22484 * sysdeps/i386/fpu/mpa.c: Likewise.
22485 * sysdeps/i386/fpu/s_cos.S: Likewise.
22486 * sysdeps/i386/fpu/s_sin.S: Likewise.
22487 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22488 * sysdeps/i386/fpu/sincos32.c: Likewise.
22490 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22492 (libc_feupdateenv_53bit): Define.
22493 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22495 (libc_feupdateenv_53bit): Define.
22497 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22498 53 bit (without extend i386 double precision).
22500 * math/libm-test.inc (sincos_test): Add tests for large input.
22504 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22506 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22510 2012-03-15 David S. Miller <davem@davemloft.net>
22512 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22513 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22514 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22515 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22540 fmin/fmax sysdep routines.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22543 2012-03-14 David S. Miller <davem@davemloft.net>
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22617 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22622 * sysdeps/sparc/configure.in: New file.
22623 * sysdeps/sparc/configure: Generate.
22624 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22625 * configure: Regenerate.
22626 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22627 * config.make.in (have-as-vis3): New.
22628 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22629 available use -Av9d instead of -Av9a.
22630 * sysdeps/sparc/sparc64/Makefile: Likewise.
22631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22640 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22646 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22647 fzeros/fnegs to load 0x80000000 into a float register instead of
22649 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22651 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22655 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22656 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22657 ($(inst_includedir)/bits/syscall.h): Remove rule.
22658 ($(objpfx)bits/syscall.d): Include instead of
22659 $(objpfx)syscall-list.d.
22660 (generated): Change syscall-list.h and syscall-list.d to
22661 bits/syscall.h and bits/syscall.d.
22663 2012-03-14 Roland McGrath <roland@hack.frob.com>
22666 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22668 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22671 * math/s_csqrt.c: Include <float.h>.
22672 (__csqrt): Scale large or subnormal inputs.
22673 * math/s_csqrtf.c: Likewise.
22674 * math/s_csqrtl.c: Likewise.
22675 * math/libm-test.inc (csqrt_test): Add more tests.
22676 * sysdeps/i386/fpu/libm-test-ulps: Update.
22677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22680 * math/libm-test.inc (hypot_test): Add more tests.
22682 2012-03-13 David S. Miller <davem@davemloft.net>
22685 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22686 double-precision for the calculation instead of scaling.
22688 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22690 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22691 manipulate bits before adding and subtracting TWO52[sx].
22692 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22693 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22695 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22697 2012-03-13 David S. Miller <davem@davemloft.net>
22699 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22700 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22702 rtld-global-offsets.h
22703 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22705 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22708 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22710 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22711 'err' in the ifdef scope in which it is actually used.
22713 * nss/nss_db/db-init.c: Include string.h
22715 2012-03-12 David S. Miller <davem@davemloft.net>
22717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22718 masking out of the most significant byte of random value used.
22719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22720 Fix coding style in previous change.
22722 * sysdeps/unix/sysv/linux/kernel-features.h
22723 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22724 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22726 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22729 2012-03-11 David S. Miller <davem@davemloft.net>
22731 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22732 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22734 for 'resultvar' otherwise things get truncated on 64-bit.
22736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22737 Fix masking out of the most significant byte of random value used.
22739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22741 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22745 2012-03-09 David S. Miller <davem@davemloft.net>
22747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22748 variables with appropriate CPP guards.
22749 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22750 frame pointer, not the stack pointer. Correct layout comments. Fix test
22751 on resulting framesize and the management of the outregs buffer for pltexit.
22752 Preserve floating point return values across _dl_call_pltexit call.
22753 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22754 framesize and the management of the outregs buffer for pltexit.
22755 Preserve floating point return values across _dl_call_pltexit
22757 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22758 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22759 (print_exit): Fix format string for return register value.
22761 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22763 * sunrpc/Makefile (others): Add rpcgen.
22764 ($(objpfx)rpcgen): Remove special build rule and dependency on
22766 * sunrpc/rpcgen.c: New file.
22768 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22771 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22772 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22773 * sysdeps/i386/crti.S: Likewise.
22774 * sysdeps/i386/crtn.S: Likewise.
22775 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22776 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22777 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22778 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22779 * sysdeps/sh/crti.S: Likewise.
22780 * sysdeps/sh/crtn.S: Likewise.
22781 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22784 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22786 * locale/programs/locfile-kw.gperf: Likewise.
22787 * locale/programs/charmap-kw.h: Regenerated.
22788 * locale/programs/locfile-kw.h: Likewise.
22791 * intl/plural.y: Replace FSF snail mail address with URL.
22792 * intl/plural.c: Regenerated.
22794 2012-03-09 Richard Henderson <rth@twiddle.net>
22796 * include/math_private.h: Remove file.
22797 * math/math_private.h: Move file ...
22798 * sysdeps/generic/math_private.h: ... here.
22800 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22801 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22804 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22805 and <math_private.h>.
22806 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22807 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22815 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22818 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22840 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22857 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22858 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22860 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22865 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22867 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22875 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22894 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22897 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22899 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22900 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22901 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22902 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22903 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22904 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22905 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22906 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22907 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22908 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22909 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22910 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22911 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22912 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22913 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22914 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22916 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22917 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22918 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22920 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22921 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22922 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22923 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22924 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22927 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22929 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22930 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22931 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22933 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22935 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22936 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22938 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22939 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22940 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22941 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22942 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22943 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22944 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22945 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22946 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22948 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22949 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22950 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22951 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22952 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22953 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22954 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22955 * sysdeps/ieee754/k_standard.c: Likewise.
22956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22963 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22968 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22969 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22970 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22976 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23071 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23075 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23080 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23089 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23090 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23092 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23093 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23094 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23096 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23098 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23099 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23105 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23106 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23107 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23114 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23115 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23116 * sysdeps/ieee754/s_lib_version.c: Likewise.
23117 * sysdeps/ieee754/s_matherr.c: Likewise.
23118 * sysdeps/ieee754/s_signgam.c: Likewise.
23119 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23121 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23122 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23123 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23124 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23125 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23126 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23127 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23128 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23129 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23130 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23131 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23132 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23133 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23134 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23135 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23136 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23141 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23143 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23144 * sunrpc/rpc_main.c: Likewise.
23145 * sunrpc/rpc_svcout.c: Likewise.
23147 2012-03-09 David S. Miller <davem@davemloft.net>
23149 * include/math_private.h: New file.
23151 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23153 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23154 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23155 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23156 from <bits/socket_type.h>.
23157 (enum __socket_type): Don't define here.
23158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23160 bits/socket_type.h.
23163 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23164 checking __USE_GNU.
23166 * Makerules ($(inst_includedir)/%.h): New rule.
23167 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23168 (install-others): Remove variable setting.
23169 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23171 2012-03-08 Richard Henderson <rth@twiddle.net>
23173 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23174 from macro to inline function; merge with the
23175 !__LIBC_INTERNAL_MATH_INLINES version.
23176 (__ieee754_sqrtf): Likewise.
23178 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23179 to inline function.
23180 (__rintf, __floor, __floorf): Likewise.
23182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23183 macro to inline function.
23184 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23187 not <math/math_private.h>.
23189 2012-03-08 David S. Miller <davem@davemloft.net>
23191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23193 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23195 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23197 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23199 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23200 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23202 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23204 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23205 be defined individually, they must be defined as a block. Define
23206 S for printing a string instead of hidint the different by using a
23207 macro for adding the 'l'.
23208 * stdio-common/tst-fphex-wide.c: Adjust.
23210 2012-03-07 Marek Polacek <polacek@redhat.com>
23212 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23214 2012-03-08 Marek Polacek <polacek@redhat.com>
23217 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23218 * stdio-common/tst-fphex.c: Define a few macros to make the
23219 test reusable. Use them.
23220 * stdio-common/tst-fphex-wide.c: New file.
23222 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23225 * manual/macros.texi (gnusystems): New macro.
23226 (nongnusystems): Likewise.
23227 (gnulinuxhurdsystems): Likewise.
23228 (gnuhurdsystems): Likewise..
23229 (gnulinuxsystems): Likewise.
23230 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23231 variants of the GNU system, not "GNU system".
23232 * manual/conf.texi: Likewise.
23233 * manual/errno.texi: Likewise. Update example of errno macro
23235 * manual/filesys.texi: Likewise.
23236 (getumask): Document as specific to GNU/Hurd.
23237 * manual/install.texi: Likewise. Reword some references to
23239 * manual/intro.texi: Likewise.
23240 * manual/io.texi: Likewise.
23241 (File Name Portability): Detail which constraints are inapplicable
23242 to all GNU systems and which are only inapplicable to GNU/Hurd.
23243 * manual/job.texi: Likewise.
23244 * manual/llio.texi: Likewise.
23245 (O_NOCTTY): Document as present on GNU/Linux.
23246 * manual/maint.texi: Likewise.
23247 * manual/memory.texi: Likewise.
23248 * manual/pattern.texi: Likewise.
23249 * manual/pipe.texi: Likewise.
23250 * manual/process.texi: Likewise.
23251 * manual/resource.texi: Likewise.
23252 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23254 * manual/setjmp.texi: Likewise.
23255 * manual/signal.texi: Likewise.
23256 * manual/startup.texi: Likewise.
23257 * manual/stdio.texi: Likewise.
23258 * manual/terminal.texi: Likewise.
23259 (ONLCR): Document as POSIX.
23260 (OXTABS): Document availability on GNU/Linux as XTABS.
23261 (ONOEOT): Document availability separately from other bits.
23262 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23263 * manual/time.texi: Likewise.
23264 * manual/users.texi: Likewise.
23265 * INSTALL: Regenerated.
23266 * sysdeps/gnu/errlist.c: Regenerated.
23268 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23269 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23270 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23272 * configure: Regenerated.
23274 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23276 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23277 default includes instead of AC_HEADER_CHECK.
23278 * sysdeps/i386/configure: Regenerated.
23281 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23282 * math/s_cacoshf.c (__cacoshf): Likewise.
23283 * math/s_cacoshl.c (__cacoshl): Likewise.
23284 * math/s_casinh.c (__casinh): Set signs of result from argument.
23285 * math/s_casinhf.c (__casinhf): Likewise.
23286 * math/s_casinhl.c (__casinhl): Likewise.
23287 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23288 (casinh_test): Add more tests.
23289 * sysdeps/i386/fpu/libm-test-ulps: Update.
23290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23294 * po/zh_TW.po: Update from translation team.
23296 * login/Makefile (distribute): Remove variable.
23297 * catgets/Makefile: Likewise.
23298 * mach/Makefile: Likewise.
23299 * malloc/Makefile: Likewise.
23300 * misc/Makefile: Likewise.
23301 * iconv/Makefile: Likewise.
23302 * nscd/Makefile: Likewise.
23303 * hurd/Makefile: Likewise.
23304 * manual/Makefile: Likewise.
23305 * locale/Makefile: Likewise.
23306 * intl/Makefile: Likewise.
23307 * conform/Makefile: Likewise.
23308 * nss/Makefile: Likewise.
23309 * time/Makefile: Likewise.
23310 * soft-fp/Makefile: Likewise.
23311 * dirent/Makefile: Likewise.
23312 * gmon/Makefile: Likewise.
23313 * po/Makefile: Likewise.
23314 * rt/Makefile: Likewise.
23315 * socket/Makefile: Likewise.
23316 * math/Makefile: Likewise.
23317 * signal/Makefile: Likewise.
23318 * debug/Makefile: Likewise.
23319 * elf/Makefile: Likewise.
23320 * timezone/Makefile: Likewise.
23321 * stdlib/Makefile: Likewise.
23322 * iconvdata/Makefile: Likewise.
23323 * sunrpc/Makefile: Likewise.
23324 * io/Makefile: Likewise.
23325 * argp/Makefile: Likewise.
23326 * inet/Makefile: Likewise.
23327 * hesiod/Makefile: Likewise.
23328 * grp/Makefile: Likewise.
23329 * csu/Makefile: Likewise.
23330 * wctype/Makefile: Likewise.
23331 * crypt/Makefile: Likewise.
23332 * libio/Makefile: Likewise.
23333 * string/Makefile: Likewise.
23334 * nis/Makefile: Likewise.
23335 * resolv/Makefile: Likewise.
23336 * stdio-common/Makefile: Likewise.
23337 * wcsmbs/Makefile: Likewise.
23338 * dlfcn/Makefile: Likewise.
23339 * posix/Makefile: Likewise.
23342 * timezone/Makefile: Don't install timezone files, just the programs
23345 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23347 * nss/databases.def: Add missing gshadow entry.
23349 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23351 2012-03-06 Marek Polacek <polacek@redhat.com>
23354 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23355 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23356 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23357 * stdio-common/tst-long-dbl-fphex.c: New file.
23359 2012-03-06 David S. Miller <davem@davemloft.net>
23361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23362 (set_obp_int): New function.
23363 (get_obp_int): New function.
23364 (__get_clockfreq_via_dev_openprom): Likewise.
23365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23366 Avoid unused variable warnings on 'val' and use builtin_expect.
23367 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23369 (INLINE_CLONE_SYSCALL): Likewise.
23371 2012-03-05 David S. Miller <davem@davemloft.net>
23373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23375 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23380 only for |x| >= 40.
23381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23383 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23386 Replace gettimeofday with __vdso_gettimeofday.
23388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23389 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23390 __vdso_clock_gettime and __vdso_getcpu.
23392 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23393 time with __vdso_time.
23395 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23397 * manual/lang.texi (size_t): Note types to which size_t may be
23398 equivalent with the GNU C Library, but do not describe when
23399 differences between them are significant.
23401 2012-03-05 Andreas Jaeger <aj@suse.de>
23403 * sysdeps/i386/fpu/libm-test-ulps: Update.
23405 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23408 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23409 (__ieee754_pow): Save and restore rounding mode and use
23410 round-to-nearest for main computations.
23411 * math/libm-test.inc (pow_test_tonearest): New function.
23412 (pow_test_towardzero): Likewise.
23413 (pow_test_downward): Likewise.
23414 (pow_test_upward): Likewise.
23415 (main): Call the new functions.
23416 * sysdeps/i386/fpu/libm-test-ulps: Update.
23417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23420 * math/libm-test.inc (cosh_test_tonearest): New function.
23421 (cosh_test_towardzero): Likewise.
23422 (cosh_test_downward): Likewise.
23423 (cosh_test_upward): Likewise.
23424 (sinh_test_tonearest): Likewise.
23425 (sinh_test_towardzero): Likewise.
23426 (sinh_test_downward): Likewise.
23427 (sinh_test_upward): Likewise.
23428 (main): Call the new functions.
23429 * sysdeps/i386/fpu/libm-test-ulps: Update.
23430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23432 2012-03-05 Tom de Vries <tom@codesourcery.com>
23434 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23435 default stack guard is set in last bytes.
23436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23438 2012-03-05 Kees Cook <keescook@chromium.org>
23440 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23443 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23444 possibly allocate from heap instead of stack.
23445 * stdio-common/bug-vfprintf-nargs.c: New file.
23446 * stdio-common/Makefile (tests): Add nargs overflow test.
23448 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23452 2012-03-03 Marek Polacek <polacek@redhat.com>
23454 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23455 * math/math_private.h: Likewise.
23456 * stdlib/tst-strtod.c: Likewise.
23457 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23458 * sysdeps/x86_64/bits/atomic.h: Likewise.
23460 2012-03-02 David S. Miller <davem@davemloft.net>
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23466 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23467 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23468 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23469 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23471 2012-03-02 Roland McGrath <roland@hack.frob.com>
23474 * manual/examples/README: New file, says the example source files
23475 can be used under GPL>=2.
23476 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23477 line containing just "*/".
23478 * manual/examples/add.c: Add copyright header (GPL>=2).
23479 * manual/examples/argp-ex1.c: Likewise.
23480 * manual/examples/argp-ex2.c: Likewise.
23481 * manual/examples/argp-ex3.c: Likewise.
23482 * manual/examples/argp-ex4.c: Likewise.
23483 * manual/examples/atexit.c: Likewise.
23484 * manual/examples/db.c: Likewise.
23485 * manual/examples/dir.c: Likewise.
23486 * manual/examples/dir2.c: Likewise.
23487 * manual/examples/execinfo.c: Likewise.
23488 * manual/examples/filecli.c: Likewise.
23489 * manual/examples/filesrv.c: Likewise.
23490 * manual/examples/fmtmsgexpl.c: Likewise.
23491 * manual/examples/genpass.c: Likewise.
23492 * manual/examples/inetcli.c: Likewise.
23493 * manual/examples/inetsrv.c: Likewise.
23494 * manual/examples/isockad.c: Likewise.
23495 * manual/examples/longopt.c: Likewise.
23496 * manual/examples/memopen.c: Likewise.
23497 * manual/examples/memstrm.c: Likewise.
23498 * manual/examples/mkfsock.c: Likewise.
23499 * manual/examples/mkisock.c: Likewise.
23500 * manual/examples/mygetpass.c: Likewise.
23501 * manual/examples/pipe.c: Likewise.
23502 * manual/examples/popen.c: Likewise.
23503 * manual/examples/rprintf.c: Likewise.
23504 * manual/examples/search.c: Likewise.
23505 * manual/examples/select.c: Likewise.
23506 * manual/examples/setjmp.c: Likewise.
23507 * manual/examples/sigh1.c: Likewise.
23508 * manual/examples/sigusr.c: Likewise.
23509 * manual/examples/stpcpy.c: Likewise.
23510 * manual/examples/strdupa.c: Likewise.
23511 * manual/examples/strftim.c: Likewise.
23512 * manual/examples/strncat.c: Likewise.
23513 * manual/examples/subopt.c: Likewise.
23514 * manual/examples/swapcontext.c: Likewise.
23515 * manual/examples/termios.c: Likewise.
23516 * manual/examples/testopt.c: Likewise.
23517 * manual/examples/testpass.c: Likewise.
23518 * manual/examples/timeval_subtract.c: Likewise.
23521 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23523 * manual/timeval_subtract.c.texi: ... here, new file.
23525 2012-03-02 David S. Miller <davem@davemloft.net>
23527 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23529 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23532 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23533 (__sin): Save and restore rounding mode and use round-to-nearest
23534 for all computations.
23535 (__cos): Save and restore rounding mode and use round-to-nearest
23536 for all computations.
23537 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23539 (tan): Save and restore rounding mode and use round-to-nearest for
23541 * math/libm-test.inc (cos_test_tonearest): New function.
23542 (cos_test_towardzero): Likewise.
23543 (cos_test_downward): Likewise.
23544 (cos_test_upward): Likewise.
23545 (sin_test_tonearest): Likewise.
23546 (sin_test_towardzero): Likewise.
23547 (sin_test_downward): Likewise.
23548 (sin_test_upward): Likewise.
23549 (tan_test_tonearest): Likewise.
23550 (tan_test_towardzero): Likewise.
23551 (tan_test_downward): Likewise.
23552 (tan_test_upward): Likewise.
23553 (main): Call the new functions.
23554 * sysdeps/i386/fpu/libm-test-ulps: Update.
23555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23559 small n, then large n, before computing and testing k+n.
23560 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23565 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23566 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23573 * math/libm-test.inc (scalbn_test): Add more tests.
23574 (scalbln_test): Likewise.
23576 * manual/filesys.texi (mode_t): Describe constraints on size and
23577 signedness, not exact equivalence to a particular type.
23579 (ino64_t): Likewise.
23581 (nlink_t): Likewise.
23582 (blkcnt_t): Likewise.
23583 (blkcnt64_t): Likewise.
23584 * manual/llio.texi (off_t): Likewise.
23587 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23588 (__ieee754_exp): Save and restore rounding mode and use
23589 round-to-nearest for all computations.
23590 * math/libm-test.inc (exp_test_tonearest): New function.
23591 (exp_test_towardzero): Likewise.
23592 (exp_test_downward): Likewise.
23593 (exp_test_upward): Likewise.
23594 (main): Call the new functions.
23595 * sysdeps/i386/fpu/libm-test-ulps: Update.
23596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23598 2012-03-01 Chris Demetriou <cgd@google.com>
23600 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23601 have predictable order.
23603 2012-03-01 David S. Miller <davem@davemloft.net>
23605 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23607 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23608 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23609 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23610 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23612 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23613 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23614 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23616 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23617 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23618 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23619 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23620 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23625 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23626 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23628 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23629 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23630 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23631 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23632 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23635 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23636 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23637 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23638 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23639 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23641 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23644 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23645 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23646 * sysdeps/sparc/elf/configure: Regenerated.
23648 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23650 * configure.in (AS, LD): Require binutils 2.20 or later.
23651 * configure: Regenerated.
23652 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23653 as required minimum version.
23654 * INSTALL: Regenerated.
23658 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23659 before squaring exponent.
23660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23661 bottom long double and 27 bits of top long double before squaring
23663 * math/libm-test.inc (erfc_test): Add more tests.
23664 * sysdeps/i386/fpu/libm-test-ulps: Update.
23665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23668 2012-03-01 Kai Tietz <ktietz@redhat.com>
23670 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23671 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23672 containing bit-fields.
23673 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23674 * soft-fp/single.h (_FP_UNION_S): Likewise.
23675 * soft-fp/double.h (_FP_UNION_D): Likewise.
23677 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23680 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23681 not include ../strcmp.S.
23682 [USE_AS_STRNCASECMP_L]: Likewise.
23683 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23684 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23685 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23686 (__strncasecmp_l_ia32): Define as alias to
23687 __strncasecmp_l_nonascii.
23690 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23691 * sysdeps/i386/fpu/libm-test-ulps: Update.
23692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23694 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23697 2012-02-29 Jeff Law <law@redhat.com>
23699 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23700 out of bounds read.
23702 2012-02-29 Marek Polacek <polacek@redhat.com>
23705 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23706 * elf/Makefile: Add rules to run tst-unused-dep.out.
23708 2012-02-28 David S. Miller <davem@davemloft.net>
23710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23714 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23715 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23717 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23719 * math/libm-test.inc (llround_test): Move one test from
23720 lround_test. Use TEST_f_L in moved test.
23721 (lround_test): Move misplaced test to llround_test. Add testcase
23724 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23726 * sysdeps/x86_64/fpu/e_expf.S: New file.
23727 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23729 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23732 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23733 of remain_len that may cause incomplete multi-byte character and
23735 * posix/bug-regex33.c: New file.
23736 * posix/Makefile (tests): Add bug-regex33.
23738 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23740 * manual/macros.texi: New file.
23741 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23742 * manual/libc.texinfo: Include macros.texi.
23743 * manual/creatute.texi: Likewise.
23744 * manual/install.texi: Likewise.
23745 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23746 @glibcadj{} in references to the GNU C Library.
23747 * manual/charset.texi: Likewise.
23748 * manual/conf.texi: Likewise.
23749 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23750 when not using those macros.
23751 * manual/creature.texi: Likewise.
23752 * manual/crypt.texi: Likewise.
23753 * manual/errno.texi: Likewise.
23754 * manual/filesys.texi: Likewise.
23755 * manual/header.texi: Likewise.
23756 * manual/install.texi: Likewise.
23757 * manual/intro.texi: Likewise.
23758 * manual/io.texi: Likewise.
23759 * manual/job.texi: Likewise.
23760 * manual/lang.texi: Likewise.
23761 * manual/libc.texiinfo: Likewise.
23762 * manual/llio.texi: Likewise.
23763 * manual/locale.texi: Likewise.
23764 * manual/maint.texi: Likewise.
23765 * manual/math.texi: Likewise.
23766 * manual/memory.texi: Likewise.
23767 * manual/message.texi: Likewise.
23768 * manual/nss.texi: Likewise.
23769 * manual/pattern.texi: Likewise.
23770 * manual/process.texi: Likewise.
23771 * manual/resource.texi: Likewise.
23772 * manual/search.texi: Likewise.
23773 * manual/setjmp.texi: Likewise.
23774 * manual/signal.texi: Likewise.
23775 * manual/socket.texi: Likewise.
23776 * manual/startup.texi: Likewise.
23777 * manual/stdio.texi: Likewise.
23778 * manual/string.texi: Likewise.
23779 * manual/sysinfo.texi: Likewise.
23780 * manual/syslog.texi: Likewise.
23781 * manual/terminal.texi: Likewise.
23782 * manual/time.texi: Likewise.
23783 * manual/users.texi: Likewise.
23784 * INSTALL: Regenerated.
23785 * NOTES: Regenerated.
23786 * sysdeps/gnu/errlist.c: Regenerated.
23788 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23790 * include/dirent.h: Include <dirstream.h> before
23793 2012-02-28 David S. Miller <davem@davemloft.net>
23795 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23796 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23797 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23798 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23800 2012-02-27 David S. Miller <davem@davemloft.net>
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23804 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23805 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23808 frame pointer instead of stack pointer relative arg slot.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23810 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23811 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23813 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23816 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23818 2012-02-27 David S. Miller <davem@davemloft.net>
23820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23826 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23827 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23829 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23831 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23832 later. Allow versions 5-9.
23833 * configure: Regenerated.
23834 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23835 required minimum version and 4.6 as recommended version. Do not
23836 mention bugs in GCC 2.7 and 2.8.
23837 * INSTALL: Regenerated.
23839 2012-02-27 David S. Miller <davem@davemloft.net>
23841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23847 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23851 manipulate bits before adding and subtracting TWO112[sx].
23852 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23854 2012-02-27 Roland McGrath <roland@hack.frob.com>
23857 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23858 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23859 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23860 being in POSIX, because they are in 1003.1-2008.
23862 * rt/tst-aio.c: Include <fcntl.h>.
23863 * rt/tst-aio7.c: Likewise.
23864 * rt/tst-aio64.c: Likewise.
23866 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23868 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23870 * manual/install.texi (--with-headers): Describe headers as
23871 interface headers, not private headers.
23872 (Specific advice for GNU/Linux systems): Describe use of headers
23873 from "make headers_install", not private headers from older
23875 * INSTALL: Regenerated.
23876 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23878 * sysdeps/unix/sysv/linux/configure: Regenerated.
23880 * manual/llio.texi (fclean): Remove documentation.
23882 * manual/Makefile (libc-texi-generated): New variable. Include
23884 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23885 $(libc-texi-generated), not duplicated list of files.
23886 (version.texi, stamp-version): New rules.
23887 (realclean): Remove $(libc-texi-generated), not individual files
23888 from that list. Do not remove dir-add.texinfo.
23889 * manual/libc.texinfo: Comment out uses of edition numbers and
23890 references to printed manual. Remove last-updated dates.
23891 (EDITION): Comment out.
23893 (VERSION, UPDATED): Remove.
23894 (version.texi): Include.
23896 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23898 * sysdeps/posix/spawni.c: Include <signal.h>.
23899 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23900 * sysdeps/pthread/aio_fsync.c: Likewise.
23902 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23904 * conform/Makefile (tests): Run only when not cross-compiling and
23905 when fast-check is not defined.
23907 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23908 * conform/data/limits.h-data: Fixes for POSIX2008.
23909 * conform/run-conformtest.sh: Run all tests.
23910 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23912 * include/bits/dlfcn.h: Likewise.
23913 * include/langinfo.h: Likewise.
23914 * include/monetary.h: Likewise.
23915 * include/sys/poll.h: Likewise.
23917 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23919 * posix/spawn.h: Define __need_sigset_t.
23920 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23921 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23922 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23923 to get sigevent_t only.
23924 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23925 only for __USE_GNU.
23926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23927 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23928 process_vm_writev only for __USE_GNU.
23929 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23931 * conform/Makefile: For now ignore errors from run-conformtest.
23932 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23933 POSIX to avoid namespace pollution. Don't prepend headers.
23934 * conform/data/aio.h-data: Fixes for POSIX testing.
23935 * conform/data/fcntl.h-data: Likewise.
23936 * conform/data/glob.h-data: Likewise.
23937 * conform/data/grp.h-data: Likewise.
23938 * conform/data/pthread.h-data: Likewise.
23939 * conform/data/pwd.h-data: Likewise.
23940 * conform/data/signal.h-data: Likewise.
23941 * conform/data/spawn.h-data: Likewise.
23942 * conform/data/stdio.h-data: Likewise.
23943 * conform/data/stdlib.h-data: Likewise.
23944 * conform/data/stropts.h-data: Likewise.
23945 * conform/data/sys/mman.h-data: Likewise.
23946 * conform/data/sys/stat.h-data: Likewise.
23947 * conform/data/sys/types.h-data: Likewise.
23948 * conform/data/sys/wait.h-data: Likewise.
23949 * conform/data/time.h-data: Likewise.
23950 * conform/data/unistd.h-data: Likewise.
23951 * conform/data/utime.h-data: Likewise.
23953 * io/sys/stat.h: fchmod was always in POSIX.
23954 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23955 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23956 * rt/aio.h: Define __need_timespec before including <time.h>.
23957 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23958 struct. Add forward declaration of pthread_attr_t and use it in
23960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23962 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23963 always remove CLK_TCK definition.
23965 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23967 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23969 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23971 * conform/run-conformtest.sh: New file.
23972 * conform/Makefile: Run run-conformtest for tests.
23973 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23976 * conform/data/uchar.h-data: New file.
23977 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23978 * conform/data/arpa/inet.h-data: Likewise.
23979 * conform/data/assert.h-data: Likewise.
23980 * conform/data/complex.h-data: Likewise.
23981 * conform/data/cpio.h-data: Likewise.
23982 * conform/data/ctype.h-data: Likewise.
23983 * conform/data/dirent.h-data: Likewise.
23984 * conform/data/dlfcn.h-data: Likewise.
23985 * conform/data/errno.h-data: Likewise.
23986 * conform/data/fcntl.h-data: Likewise.
23987 * conform/data/float.h-data: Likewise.
23988 * conform/data/fmtmsg.h-data: Likewise.
23989 * conform/data/fnmatch.h-data: Likewise.
23990 * conform/data/ftw.h-data: Likewise.
23991 * conform/data/glob.h-data: Likewise.
23992 * conform/data/grp.h-data: Likewise.
23993 * conform/data/iconv.h-data: Likewise.
23994 * conform/data/inttypes.h-data: Likewise.
23995 * conform/data/langinfo.h-data: Likewise.
23996 * conform/data/libgen.h-data: Likewise.
23997 * conform/data/limits.h-data: Likewise.
23998 * conform/data/locale.h-data: Likewise.
23999 * conform/data/math.h-data: Likewise.
24000 * conform/data/monetary.h-data: Likewise.
24001 * conform/data/mqueue.h-data: Likewise.
24002 * conform/data/ndbm.h-data: Likewise.
24003 * conform/data/net/if.h-data: Likewise.
24004 * conform/data/netdb.h-data: Likewise.
24005 * conform/data/netinet/in.h-data: Likewise.
24006 * conform/data/nl_types.h-data: Likewise.
24007 * conform/data/poll.h-data: Likewise.
24008 * conform/data/pthread.h-data: Likewise.
24009 * conform/data/pwd.h-data: Likewise.
24010 * conform/data/regex.h-data: Likewise.
24011 * conform/data/sched.h-data: Likewise.
24012 * conform/data/search.h-data: Likewise.
24013 * conform/data/semaphore.h-data: Likewise.
24014 * conform/data/setjmp.h-data: Likewise.
24015 * conform/data/signal.h-data: Likewise.
24016 * conform/data/spawn.h-data: Likewise.
24017 * conform/data/stdarg.h-data: Likewise.
24018 * conform/data/stdio.h-data: Likewise.
24019 * conform/data/stdlib.h-data: Likewise.
24020 * conform/data/string.h-data: Likewise.
24021 * conform/data/strings.h-data: Likewise.
24022 * conform/data/stropts.h-data: Likewise.
24023 * conform/data/sys/ipc.h-data: Likewise.
24024 * conform/data/sys/mman.h-data: Likewise.
24025 * conform/data/sys/msg.h-data: Likewise.
24026 * conform/data/sys/resource.h-data: Likewise.
24027 * conform/data/sys/select.h-data: Likewise.
24028 * conform/data/sys/sem.h-data: Likewise.
24029 * conform/data/sys/shm.h-data: Likewise.
24030 * conform/data/sys/socket.h-data: Likewise.
24031 * conform/data/sys/stat.h-data: Likewise.
24032 * conform/data/sys/statvfs.h-data: Likewise.
24033 * conform/data/sys/time.h-data: Likewise.
24034 * conform/data/sys/timeb.h-data: Likewise.
24035 * conform/data/sys/times.h-data: Likewise.
24036 * conform/data/sys/types.h-data: Likewise.
24037 * conform/data/sys/uio.h-data: Likewise.
24038 * conform/data/sys/un.h-data: Likewise.
24039 * conform/data/sys/utsname.h-data: Likewise.
24040 * conform/data/sys/wait.h-data: Likewise.
24041 * conform/data/syslog.h-data: Likewise.
24042 * conform/data/tar.h-data: Likewise.
24043 * conform/data/termios.h-data: Likewise.
24044 * conform/data/utime.h-data: Likewise.
24045 * conform/data/utmpx.h-data: Likewise.
24046 * conform/data/varargs.h-data: Likewise.
24047 * conform/data/wchar.h-data: Likewise.
24048 * conform/data/wctype.h-data: Likewise.
24049 * conform/data/wordexp.h-data: Likewise.
24051 * include/stropts.h: New file.
24052 * include/uchar.h: New file.
24053 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24054 * include/assert.h: Likewise.
24055 * include/ctype.h: Likewise.
24056 * include/dirent.h: Likewise.
24057 * include/dlfcn.h: Likewise.
24058 * include/fcntl.h: Likewise.
24059 * include/fnmatch.h: Likewise.
24060 * include/glob.h: Likewise.
24061 * include/grp.h: Likewise.
24062 * include/libio.h: Likewise.
24063 * include/locale.h: Likewise.
24064 * include/math.h: Likewise.
24065 * include/net/if.h: Likewise.
24066 * include/netdb.h: Likewise.
24067 * include/netinet/in.h: Likewise.
24068 * include/pthread.h: Likewise.
24069 * include/pwd.h: Likewise.
24070 * include/regex.h: Likewise.
24071 * include/sched.h: Likewise.
24072 * include/search.h: Likewise.
24073 * include/setjmp.h: Likewise.
24074 * include/signal.h: Likewise.
24075 * include/stdio.h: Likewise.
24076 * include/stdlib.h: Likewise.
24077 * include/string.h: Likewise.
24078 * include/sys/cdefs.h: Likewise.
24079 * include/sys/mman.h: Likewise.
24080 * include/sys/msg.h: Likewise.
24081 * include/sys/resource.h: Likewise.
24082 * include/sys/select.h: Likewise.
24083 * include/sys/socket.h: Likewise.
24084 * include/sys/stat.h: Likewise.
24085 * include/sys/statvfs.h: Likewise.
24086 * include/sys/time.h: Likewise.
24087 * include/sys/times.h: Likewise.
24088 * include/sys/uio.h: Likewise.
24089 * include/sys/utsname.h: Likewise.
24090 * include/sys/wait.h: Likewise.
24091 * include/termios.h: Likewise.
24092 * include/time.h: Likewise.
24093 * include/ulimit.h: Likewise.
24094 * include/unistd.h: Likewise.
24095 * include/utime.h: Likewise.
24096 * include/wchar.h: Likewise.
24097 * include/wctype.h: Likewise.
24098 * include/wordexp.h: Likewise.
24100 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24102 * time/time.h: TIME_UTC must be a macro.
24103 Make timespec_get available for ISO C11 only as well.
24105 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24107 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24108 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24110 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24112 * configure.in: Use -o not -a in test for unsupported multi-arch.
24114 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24116 * manual/texinfo.tex: Update to version 2012-01-19.16.
24118 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24120 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24122 2012-02-24 Roland McGrath <roland@hack.frob.com>
24125 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24126 * manual/fdl-1.3.texi: New file.
24127 * manual/fdl-1.1.texi: File removed.
24130 * manual/libc.texinfo (FDL_VERSION): New @set.
24131 Use it for mention of FDL in cover text.
24132 (Documentation License): Use it in @include file name.
24134 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24135 Roland McGrath <roland@hack.frob.com>
24138 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24139 not LONG_LONG_MAX and LONG_LONG_MIN.
24140 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24141 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24143 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24145 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24149 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24150 manipulate bits before adding and subtracting TWO23[sx].
24151 * math/libm-test.inc (nearbyint_test): Add more tests.
24153 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24156 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24157 bits before adding and subtracting TWO23[sx].
24158 * math/libm-test.inc (rint_test): Add more tests.
24159 (rint_test_tonearest): Likewise.
24160 (rint_test_towardzero): Likewise.
24161 (rint_test_downward): Likewise.
24162 (rint_test_upward: Likewise.
24164 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24167 * include/stdc-predef.h: New file. Extracted from features.h.
24168 * include/features.h: Include stdc-predef.h.
24169 * Makefile (headers): Add stdc-predef.h.
24170 * CONFORMANCE (Compiler limitations): Update.
24172 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24174 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24176 2012-02-21 David S. Miller <davem@davemloft.net>
24178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24179 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24181 2012-02-20 David S. Miller <davem@davemloft.net>
24183 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24184 using a normal save/restore sequence, rather than allocating a
24185 dummy stack frame just to store a frame pointer and restore.
24186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24188 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24190 * manual/install.texi: Fix stray word in line-wrapped comment.
24192 2012-02-20 David S. Miller <davem@davemloft.net>
24194 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24195 both binutils and gcc support GOTDATA.
24197 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24198 "rd %pc" in the PIC register setup sequences.
24200 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24201 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24202 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24203 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24204 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24209 (SYSCALL_ERROR_HANDLER): Likewise.
24210 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24211 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24213 (SYSCALL_ERROR_HANDLER): Likewise.
24215 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24216 (HAVE_GCC_GOTDATA): New.
24217 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24218 relocation support in both binutils and gcc.
24219 * sysdeps/sparc/elf/configure: Regenerate.
24221 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24222 * sysdeps/sparc/sparc32/elf/configure: Delete.
24223 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24224 * sysdeps/sparc/sparc64/elf/configure: Delete.
24225 * sysdeps/sparc/elf/configure.in: New file.
24226 * sysdeps/sparc/elf/configure: Generate.
24228 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24229 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24231 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24232 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24234 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24236 * manual/install.texi: Do not mention specific glibc version
24238 * manual/libc.texinfo (VERSION, UPDATED): Update.
24239 (@copying): Use @copyright{} and range of years.
24241 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24244 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24245 [crti.S not in sysdirs] (generated): Do not append.
24246 [crti.S not in sysdirs] (omit-deps): Likewise.
24247 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24248 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24249 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24250 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24251 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24253 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24254 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24255 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24256 * csu/defs.awk: Remove file.
24257 * sysdeps/generic/initfini.c: Likewise.
24258 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24260 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24263 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24265 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24266 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24267 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24270 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24272 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24273 (__EPOLL_PACKED): Define to empty if not defined by
24275 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24279 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24281 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24282 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24284 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24286 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24290 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24292 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24295 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24299 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24302 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24304 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24306 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24307 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24309 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24311 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24314 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24316 * math/w_acos.c: Use non-signaling floating-point comparisons.
24317 * math/w_acosf.c: Likewise.
24318 * math/w_acosh.c: Likewise.
24319 * math/w_acoshf.c: Likewise.
24320 * math/w_acoshl.c: Likewise.
24321 * math/w_acosl.c: Likewise.
24322 * math/w_asin.c: Likewise.
24323 * math/w_asinf.c: Likewise.
24324 * math/w_asinl.c: Likewise.
24325 * math/w_atanh.c: Likewise.
24326 * math/w_atanhf.c: Likewise.
24327 * math/w_atanhl.c: Likewise.
24328 * math/w_exp2.c: Likewise.
24329 * math/w_exp2f.c: Likewise.
24330 * math/w_exp2l.c: Likewise.
24331 * math/w_j0.c: Likewise.
24332 * math/w_j0f.c: Likewise.
24333 * math/w_j0l.c: Likewise.
24334 * math/w_j1.c: Likewise.
24335 * math/w_j1f.c: Likewise.
24336 * math/w_j1l.c: Likewise.
24337 * math/w_jn.c: Likewise.
24338 * math/w_jnf.c: Likewise.
24339 * math/w_log.c: Likewise.
24340 * math/w_log10.c: Likewise.
24341 * math/w_log10f.c: Likewise.
24342 * math/w_log10l.c: Likewise.
24343 * math/w_log2.c: Likewise.
24344 * math/w_log2f.c: Likewise.
24345 * math/w_log2l.c: Likewise.
24346 * math/w_logf.c: Likewise.
24347 * math/w_logl.c: Likewise.
24348 * math/w_sqrt.c: Likewise.
24349 * math/w_sqrtf.c: Likewise.
24350 * math/w_sqrtl.c: Likewise.
24351 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24352 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24354 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24357 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24360 * manual/string.texi (strnlen): Use correct parameter name in
24361 equivalent expression.
24363 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24366 * manual/users.texi (seteuid): Consistently use neweuid for
24369 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24372 * manual/nss.texi (Services in the NSS configuration): Correct
24373 list of services in example configuration file.
24375 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24378 * manual/arith.texi: Remove statements about negative zero
24379 behaving identically to zero.
24381 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24384 * manual/install.texi: Do not document upgrading from libc5.
24386 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24389 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24391 2012-02-18 David S. Miller <davem@davemloft.net>
24393 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24394 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24395 %o7 across the call.
24396 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24399 SETUP_PIC_REG_LEAF.
24400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24401 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24402 * sysdeps/sparc/crtn.S: Likewise.
24404 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24406 * aout/Makefile: Remove.
24408 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24411 * manual/examples/argp-ex1.c (main): Format definition in GNU
24413 * manual/examples/argp-ex2.c (main): Likewise.
24414 * manual/examples/argp-ex3.c (main): Likewise.
24415 * manual/examples/argp-ex4.c (main): Likewise.
24416 * manual/examples/longopt.c (main): Use new-style prototype
24418 * manual/examples/strncat.c (main): Specify return type and use
24419 (void) for arguments.
24420 * manual/examples/subopt.c (main): Use char **argv argument.
24422 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24425 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24428 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24431 * manual/string.texi (strchr): Change when strchrnul is
24434 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24437 * manual/locale.texi (setlocale): Document LOCPATH.
24439 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24442 * manual/process.texi (execle): Move @dots{} before last argument.
24444 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24447 * manual/charset.texi (Generic Charset Conversion): Fix typo
24448 (LC_TYPE -> LC_CTYPE).
24450 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24453 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24454 (scalbnf): Likewise.
24455 (scalbnl): Likewise.
24456 (scalbln): Likewise.
24457 (scalblnf): Likewise.
24458 (scalblnl): Likewise.
24459 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24460 (vwarnx): Likewise.
24463 * manual/filesys.texi (telldir): Use braces around return type.
24464 * manual/llio.texi (mmap): Add space after comma.
24465 (mmap64): Likewise.
24466 * manual/math.texi (jn): Use @var{} on parameter names.
24472 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24474 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24476 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24477 (sched_get_priority_max): Likewise.
24478 * manual/signal.texi (sigvec): Add space after comma.
24479 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24481 (if_indextoname): Likewise.
24482 (if_freenameindex): Likewise.
24483 (sendto): Use ',' instead of '.' in prototype.
24484 * manual/startup.texi (syscall): Use @dots{} instead of literal
24486 * manual/stdio.texi (__fpending): Separate initial words of
24487 paragraph from @deftypefun line.
24488 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24490 (vsyslog): Use @var{} on parameter names.
24491 * manual/terminal.texi (stty): Use @var{} on parameter names.
24492 * manual/users.texi (getutmp): Use @var{} on parameter names.
24493 (getutmpx): Likewise.
24495 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24498 * manual/stdio.texi (fopen): Fix typos in description of
24501 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24504 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24505 get clock_id definition.
24507 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24510 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24511 (madvise): Cast every argument to void on its own.
24513 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24516 * manual/startup.texi (Exit Status): Fix typo.
24518 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24521 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24522 * manual/examples/argp-ex2.c: Likewise.
24523 * manual/examples/argp-ex3.c: Likewise.
24525 2012-02-16 Richard Henderson <rth@redhat.com>
24527 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24528 * sysdeps/s390/s390-32/initfini.c: Remove.
24529 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24530 * sysdeps/s390/s390-64/initfini.c: Remove.
24532 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24534 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24535 compiler output for sysdeps/generic/initfini.c.
24536 * sysdeps/sh/elf/initfini.c: Remove file.
24538 2012-02-16 David S. Miller <davem@davemloft.net>
24541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24543 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24544 * sysdeps/sparc/crti.S: New file.
24545 * sysdeps/sparc/crtn.S: New file.
24546 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24547 * sysdeps/sparc/sparc64/Makefile: Likewise.
24549 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24552 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24554 2012-02-15 Roland McGrath <roland@hack.frob.com>
24557 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24559 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24560 (write, read, close): Likewise.
24561 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24563 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24565 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24566 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24567 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24568 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24570 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24574 2012-02-14 Marek Polacek <polacek@redhat.com>
24576 * sysdeps/x86_64/crti.S: New file.
24577 * sysdeps/x86_64/crtn.S: New file.
24578 * sysdeps/x86_64/elf/initfini.c: Remove file.
24580 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24582 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24583 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24584 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24585 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24587 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24591 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24593 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24594 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24595 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24596 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24598 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24602 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24604 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24605 __feraiseexcept instead of feraiseexcept.
24607 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24608 nanosleep invocations.
24609 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24610 strings, and add error checking for a nanosleep invocations.
24612 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24614 Replace FSF snail mail address with URLs, as per GNU coding standards.
24615 Most of the snail mail addresses were wrong anyway, and omitting
24616 them makes the source code easier to maintain. Almost all of the
24617 changes are to license notices and to locale LC_IDENTIFICATION
24618 addresses, except for this one:
24619 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24620 not its snail mail address.
24622 2012-02-09 Richard Henderson <rth@twiddle.net>
24624 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24625 of kernel-features.h.
24627 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24629 2012-02-08 Marek Polacek <polacek@redhat.com>
24631 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24632 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24633 * sysdeps/gnu/_G_config.h: Likewise.
24634 * sysdeps/generic/_G_config.h: Likewise.
24636 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24638 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24642 * sysdeps/powerpc/powerpc32/crti.S: New file.
24643 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24644 * sysdeps/powerpc/powerpc64/crti.S: New file.
24645 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24647 * Makeconfig (have-initfini): Don't set.
24648 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24649 * configure.in (nopic_initfini): Don't substitute.
24650 * config.h.in (HAVE_INITFINI): Don't #undef.
24651 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24652 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24654 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24656 Support crti.S and crtn.S provided directly by architectures.
24657 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24658 [crti.S in sysdirs] (omit-deps): Likewise.
24659 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24660 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24661 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24662 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24663 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24664 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24665 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24666 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24667 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24668 compiler output for sysdeps/generic/initfini.c.
24669 * sysdeps/i386/elf/Makefile: Remove file.
24670 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24672 2012-02-07 Marek Polacek <polacek@redhat.com>
24674 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24675 * sysdeps/gnu/_G_config.h: Likewise.
24676 * sysdeps/mach/hurd/_G_config.h: Likewise.
24678 2012-02-07 Marek Polacek <polacek@redhat.com>
24680 * math/Makefile (tests): Add tst-CMPLX2.
24681 * math/tst-CMPLX2.c: New file.
24683 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24685 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24687 * math/libm-test.inc (jn_test): Add missing L suffix.
24689 2012-02-06 Marek Polacek <polacek@redhat.com>
24691 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24692 * sysdeps/i386/fpu/e_powf.S: Likewise.
24693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24694 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24696 * sysdeps/i386/fpu/e_pow.S: Likewise.
24697 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24698 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24699 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24700 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24701 * sysdeps/i386/fpu/e_log2.S: Likewise.
24702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24703 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24704 * sysdeps/i386/fpu/e_powl.S: Likewise.
24705 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24706 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24707 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24708 * sysdeps/i386/fpu/e_logl.S: Likewise.
24709 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24710 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24711 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24712 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24713 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24715 * sysdeps/i386/fpu/e_log.S: Likewise.
24716 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24718 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24719 * sysdeps/i386/fpu/e_logf.S: Likewise.
24720 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24721 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24722 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24723 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24724 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24725 * sysdeps/i386/fpu/e_log10.S: Likewise.
24726 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24727 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24728 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24729 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24730 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24731 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24732 * sysdeps/i386/asm-syntax.h: Likewise.
24733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24736 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24737 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24738 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24739 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24740 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24742 * sysdeps/powerpc/sysdep.h: Likewise.
24743 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24744 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24746 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24749 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24751 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24753 * sysdeps/i386/sysdep.h: Include <features.h>.
24754 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24757 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24759 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24761 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24764 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24766 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24767 (SETUP_PIC_REG): Use GET_PC_THUNK.
24768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24771 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24773 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24774 for non-PIC compilation.
24775 (SETUP_PIC_REG): Add .p2align directive.
24776 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24777 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24778 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24779 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24781 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24782 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24784 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24785 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24786 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24787 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24788 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24789 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24790 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24791 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24792 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24793 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24794 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24795 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24798 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24799 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24802 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24804 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24805 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24806 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24807 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24808 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24809 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24810 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24818 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24820 * math/tst-CMPLX.c: Include <stdio.h>.
24822 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24824 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24827 * sysdeps/sparc/bits/mathdef.h: Likewise.
24829 2012-01-31 Marek Polacek <polacek@redhat.com>
24831 * libio/libio.h: Don't define _PARAMS.
24832 * locale/programs/config.h: Don't define PARAMS.
24833 * stdlib/strtol_l.c: Likewise.
24834 (__strtol_l): Remove PARAMS from the prototype.
24836 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24838 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24839 names. Just use the correct names. Remove unnecessary wrapper
24841 * malloc/arena.c: Likewise.
24842 * malloc/hooks.c: Likewise.
24844 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24845 ARENA_TEST says not to. Simplify test for creation of a new arena.
24846 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24848 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24850 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24852 (update_get_addr): New function.
24853 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24854 GET_ADDR_MODULE parameter.
24856 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24858 * crypt/cert.c: Remove __STDC__ conditionals.
24859 * crypt/crypt-entry.c: Likewise.
24860 * crypt/crypt_util.c: Likewise.
24861 * libio/filedoalloc.c: Likewise.
24862 * libio/fileops.c: Likewise.
24863 * libio/genops.c: Likewise.
24864 * libio/iofclose.c: Likewise.
24865 * libio/iofdopen.c: Likewise.
24866 * libio/iofopen.c: Likewise.
24867 * libio/iofopen64.c: Likewise.
24868 * libio/iogetdelim.c: Likewise.
24869 * libio/iopopen.c: Likewise.
24870 * libio/obprintf.c: Likewise.
24871 * libio/oldfileops.c: Likewise.
24872 * libio/oldiofclose.c: Likewise.
24873 * libio/oldiofdopen.c: Likewise.
24874 * libio/oldiofopen.c: Likewise.
24875 * libio/oldiopopen.c: Likewise.
24876 * libio/wfiledoalloc.c: Likewise.
24877 * libio/wgenops.c: Likewise.
24878 * locale/programs/xmalloc.c: Likewise.
24879 * misc/syslog.c: Likewise.
24880 * stdio-common/xbug.c: Likewise.
24881 * string/memchr.c: Likewise.
24882 * string/memcmp.c: Likewise.
24883 * string/memrchr.c: Likewise.
24884 * string/rawmemchr.c: Likewise.
24885 * sysdeps/posix/getcwd.c: Likewise.
24886 * time/strftime_l.c: Likewise.
24888 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24890 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24891 * config.make.in (config-cflags-sse2avx): Define.
24892 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24895 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24897 * scripts/config.guess: Update from upstream config git repository.
24898 * scripts/config.sub: Likewise.
24900 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24902 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24904 (R_TILEPRO_*, R_TILEGX_*): New macros.
24906 * scripts/firstversions.awk: Fix bug in version range handling.
24908 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24910 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24912 * include/sys/epoll.h: New file.
24913 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24916 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24918 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24919 Avoid unnecessary __WORDSIZE == 64 test.
24920 (fmaxf): Use VEX format if possible.
24925 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24926 * math/math_private.h: Remove libc_fegetround* and
24928 * sysdeps/i386/configure.in: Check for -msse2avx.
24929 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24930 also if SSE2AVX is defined.
24931 Remove libc_fegetround* and libc_fesetround*.
24932 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24933 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24942 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24944 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24950 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24953 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24955 * Makeconfig (libm): Define.
24956 * elf/Makefile: Add rules to build and run tst-relsort1.
24957 * elf/tst-relsort1.c: New file.
24958 * elf/tst-relsort1mod1.c: New file.
24959 * elf/tst-relsort1mod2.c: New file.
24961 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24963 * math/s_ldexp.c: Remove __STDC__ conditionals.
24964 * math/s_ldexpf.c: Likewise.
24965 * math/s_ldexpl.c: Likewise.
24966 * math/s_nextafter.c: Likewise.
24967 * math/s_nexttowardf.c: Likewise.
24968 * math/s_significand.c: Likewise.
24969 * math/s_significandf.c: Likewise.
24970 * math/s_significandl.c: Likewise.
24971 * math/w_jnl.c: Likewise.
24972 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24973 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24974 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24975 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24976 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24984 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24986 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24987 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24991 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24992 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24993 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24994 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24996 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24997 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24999 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25000 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25001 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25002 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25003 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25004 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25006 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25008 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25009 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25010 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25011 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25012 * sysdeps/ieee754/k_standard.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25018 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25023 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25025 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25032 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25033 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25042 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25070 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25074 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25077 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25078 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25079 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25090 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25092 * sysdeps/ieee754/s_matherr.c: Likewise.
25093 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25094 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25098 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25100 * crypt/md5.h: Remove __STDC__ conditionals.
25101 * libio/libioP.h: Likewise.
25102 * locale/programs/config.h: Likewise.
25103 * sysdeps/generic/sysdep.h: Likewise.
25104 * sysdeps/i386/asm-syntax.h: Likewise.
25105 * sysdeps/s390/asm-syntax.h: Likewise.
25106 * sysdeps/unix/sysdep.h: Likewise.
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25110 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25112 * libio/libio.h: Remove __STDC__ conditionals.
25113 * malloc/obstack.h: Likewise.
25114 * math/complex.h: Likewise.
25115 * math/math.h: Likewise.
25116 * sysdeps/generic/_G_config.h: Likewise.
25117 * sysdeps/gnu/_G_config.h: Likewise.
25118 * sysdeps/mach/hurd/_G_config.h: Likewise.
25119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25121 * sysdeps/sparc/bits/mathdef.h: Likewise.
25123 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25126 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25127 Clean up HAS_* macros.
25128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25129 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25139 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25141 * elf/tst-unique3.cc (gets): Remove declaration.
25142 * elf/tst-unique3lib.cc (gets): Likewise.
25143 * elf/tst-unique3lib2.cc (gets): Likewise.
25144 * elf/tst-unique4.cc (gets): Likewise.
25146 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25148 * include/stdio.h: Add C++ protection. Add gets declarations and
25150 * debug/tst-chk1.c: Don't declare gets here.
25151 * stdio-common/tst-gets.c: Likewise.
25153 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25155 * posix/glob: Remove directory.
25157 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25159 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25161 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25163 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25164 of the non-standard EPFNOSUPPORT.
25166 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25168 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25169 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25170 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25172 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25174 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25176 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25178 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25180 * nscd/grpcache.c (cache_addgr): Likewise.
25181 * nscd/hstcache.c (cache_addhst): Likewise.
25182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25183 * nscd/pwdcache.c (cache_addpw): Likewise.
25184 * nscd/servicescache.c (cache_addserv): Likewise.
25186 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25188 * malloc/malloc.c: Various cleanups.
25189 * malloc/hooks.c: Likewise.
25191 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25192 * stdlib/bug-fmtmsg1.c: New file.
25194 * stdlib/fmtmsg.c (init): Add missing unlock.
25195 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25197 2012-01-12 Marek Polacek <polacek@redhat.com>
25199 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25202 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25204 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25205 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25206 macro to ensure uniqueness of label name.
25207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25210 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25215 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25219 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25223 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25225 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25227 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25229 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25230 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25234 * math/bits/math-finite.h: Add ldexp support.
25236 2012-01-10 Marek Polacek <polacek@redhat.com>
25238 * locale/programs/localedef.h (show_archive_content): Add noreturn
25241 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25245 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25247 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25249 * io/Makefile (headers): Add bits/poll2.h.
25251 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25254 typo #include statement.
25256 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25258 * include/sys/cdefs.h: Define __attribute_alloc_size.
25259 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25260 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25261 * elf/pldd.c: Likewise.
25262 * iconv/iconv_charmap.c: Likewise.
25263 * iconv/iconvconfig.c: Likewise.
25264 * iconv/strtab.c: Likewise.
25265 * locale/programs/locale.c: Likewise.
25266 * locale/programs/localedef.h: Likewise.
25267 * locale/programs/simple-hash.c: Likewise.
25268 * nscd/nscd.h: Likewise.
25269 * nss/makedb.c: Likewise.
25270 * sysdeps/generic/ldconfig.h: Likewise.
25271 * locale/programs/localedef.c: Remove xmalloc prototype.
25272 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25274 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25279 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25281 * math/Makefile (tests): Add tst-CMPLX.
25282 * math/tst-CMPLX.c: New file.
25284 * math/complex.h (CMPLXL): Fix typo.
25286 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25287 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25289 * debug/tst-chk1.c: Add poll and ppoll tests.
25290 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25291 * include/sys/poll.h: Add hidden proto for ppoll.
25292 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25293 * sysdeps/mach/hurd/ppoll.c: Likewise.
25294 * io/ppoll.c: Likewise.
25295 * debug/poll_chk.c: New file.
25296 * debug/ppoll_chk.c: New file.
25297 * include/bits/poll2.h: New file.
25298 * io/bits/poll2.h: New file.
25301 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25303 * configure.in: static is always set to yes. Remove.
25304 * config.make.in: Don't set build-static.
25305 * Makeconfig: Remove use of build-static.
25306 * dlfcn/Makefile: Likewise.
25307 * elf/Makefile: Likewise.
25308 * math/Makefile: Likewise.
25309 * misc/Makefile: Likewise.
25310 * nptl/Makefile: Likewise.
25311 * sysdeps/mach/hurd/Makefile: Likewise.
25313 * configure.in: PWD_P is not used anymore.
25314 * config.make.in: Remove PWD_P entry.
25316 * configure.in: Remove last remnants of RANLIB.
25317 No need to check for signed size_t anymore.
25318 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25320 Remove __builtin_expect test because we require at least gcc 3.4.
25321 * aclocal.m4: Likewise.
25323 * wcsmbs/mbrtoc16.c: Implement using towc function.
25324 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25325 * wcsmbs/wcsmbsload.c: Likewise.
25326 * iconv/gconv_simple.c: Likewise.
25327 * iconv/gconv_int.h: Likewise.
25328 * iconv/gconv_builtin.h: Likewise.
25329 * iconv/iconv_prog.c: Remove CHAR16 handling.
25331 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25333 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25335 * configure.in: Remove --with-elf and --enable-bounded options.
25336 Dont set base_machine for ia64. More non-ELF conditions removed.
25337 Remove testing and setting of leading underscore information.
25338 * config.make.in (build-bounded): Set to no.
25339 * config.h.in: Remove NO_UNDERSCORES entry.
25340 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25342 * csu/start.c: Remove !NO_UNDERSCORE code.
25343 * locale/localeinfo.h: Likewise.
25344 * sysdeps/generic/machine-gmon.h: Likewise.
25345 * sysdeps/generic/sysdep.h: Likewise.
25346 * sysdeps/i386/sysdep.h: Likewise.
25347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25348 * sysdeps/mach/sysdep.h: Likewise.
25349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25351 * sysdeps/sh/sysdep.h: Likewise.
25352 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25353 * sysdeps/unix/i386/sysdep.S: Likewise.
25354 * sysdeps/unix/sparc/start.c: Likewise.
25355 * sysdeps/unix/sparc/sysdep.S: Likewise.
25356 * sysdeps/unix/sparc/sysdep.h: Likewise.
25357 * sysdeps/unix/start.c: Likewise.
25358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25359 * sysdeps/x86_64/sysdep.h: Likewise.
25361 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25364 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25366 * argp/argp-fmtstream.h: Use const instead __const.
25367 * argp/argp.h: Likewise.
25368 * assert/assert.h: Likewise.
25369 * bits/fenv.h: Likewise.
25370 * bits/sched.h: Likewise.
25371 * bits/sigset.h: Likewise.
25372 * bits/sigthread.h: Likewise.
25373 * catgets/nl_types.h: Likewise.
25374 * conform/data/pthread.h-data: Likewise.
25375 * crypt/crypt-private.h: Likewise.
25376 * crypt/crypt.h: Likewise.
25377 * crypt/crypt_util.c: Likewise.
25378 * ctype/ctype.h: Likewise.
25379 * debug/execinfo.h: Likewise.
25380 * debug/mbsnrtowcs_chk.c: Likewise.
25381 * debug/mbsrtowcs_chk.c: Likewise.
25382 * debug/wcsnrtombs_chk.c: Likewise.
25383 * debug/wcsrtombs_chk.c: Likewise.
25384 * debug/wcstombs_chk.c: Likewise.
25385 * dirent/dirent.h: Likewise.
25386 * dlfcn/dlfcn.h: Likewise.
25387 * elf/neededtest4.c: Likewise.
25388 * grp/grp.h: Likewise.
25389 * gshadow/gshadow.h: Likewise.
25390 * iconv/gconv.h: Likewise.
25391 * iconv/gconv_int.h: Likewise.
25392 * iconv/gconv_simple.c: Likewise.
25393 * iconv/iconv.h: Likewise.
25394 * iconv/loop.c: Likewise.
25395 * iconv/skeleton.c: Likewise.
25396 * include/aio.h: Likewise.
25397 * include/aliases.h: Likewise.
25398 * include/argz.h: Likewise.
25399 * include/arpa/inet.h: Likewise.
25400 * include/assert.h: Likewise.
25401 * include/dirent.h: Likewise.
25402 * include/dlfcn.h: Likewise.
25403 * include/execinfo.h: Likewise.
25404 * include/fcntl.h: Likewise.
25405 * include/fenv.h: Likewise.
25406 * include/glob.h: Likewise.
25407 * include/grp.h: Likewise.
25408 * include/libintl.h: Likewise.
25409 * include/mntent.h: Likewise.
25410 * include/netdb.h: Likewise.
25411 * include/pwd.h: Likewise.
25412 * include/rpc/netdb.h: Likewise.
25413 * include/sched.h: Likewise.
25414 * include/search.h: Likewise.
25415 * include/shadow.h: Likewise.
25416 * include/signal.h: Likewise.
25417 * include/stdio.h: Likewise.
25418 * include/stdlib.h: Likewise.
25419 * include/string.h: Likewise.
25420 * include/sys/socket.h: Likewise.
25421 * include/sys/stat.h: Likewise.
25422 * include/sys/statfs.h: Likewise.
25423 * include/sys/statvfs.h: Likewise.
25424 * include/sys/syslog.h: Likewise.
25425 * include/sys/time.h: Likewise.
25426 * include/sys/uio.h: Likewise.
25427 * include/time.h: Likewise.
25428 * include/unistd.h: Likewise.
25429 * include/utmp.h: Likewise.
25430 * include/wchar.h: Likewise.
25431 * include/wctype.h: Likewise.
25432 * inet/aliases.h: Likewise.
25433 * inet/arpa/inet.h: Likewise.
25434 * inet/netinet/ether.h: Likewise.
25435 * inet/netinet/in.h: Likewise.
25436 * intl/libintl.h: Likewise.
25437 * io/bits/fcntl2.h: Likewise.
25438 * io/fcntl.h: Likewise.
25439 * io/ftw.h: Likewise.
25440 * io/sys/poll.h: Likewise.
25441 * io/sys/stat.h: Likewise.
25442 * io/sys/statfs.h: Likewise.
25443 * io/sys/statvfs.h: Likewise.
25444 * io/utime.h: Likewise.
25445 * libio/bits/stdio.h: Likewise.
25446 * libio/bits/stdio2.h: Likewise.
25447 * libio/libio.h: Likewise.
25448 * libio/libioP.h: Likewise.
25449 * libio/stdio.h: Likewise.
25450 * locale/lc-ctype.c: Likewise.
25451 * locale/locale.h: Likewise.
25452 * login/utmp.h: Likewise.
25453 * malloc/arena.c: Likewise.
25454 * malloc/malloc.c: Likewise.
25455 * malloc/malloc.h: Likewise.
25456 * malloc/mcheck.c: Likewise.
25457 * malloc/mtrace.c: Likewise.
25458 * math/bits/mathcalls.h: Likewise.
25459 * math/fenv.h: Likewise.
25460 * math/math_private.h: Likewise.
25461 * misc/bits/error.h: Likewise.
25462 * misc/bits/syslog.h: Likewise.
25463 * misc/err.h: Likewise.
25464 * misc/error.h: Likewise.
25465 * misc/fstab.h: Likewise.
25466 * misc/mntent.h: Likewise.
25467 * misc/regexp.h: Likewise.
25468 * misc/search.h: Likewise.
25469 * misc/sgtty.h: Likewise.
25470 * misc/sys/mman.h: Likewise.
25471 * misc/sys/syslog.h: Likewise.
25472 * misc/sys/uio.h: Likewise.
25473 * misc/sys/xattr.h: Likewise.
25474 * misc/ttyent.h: Likewise.
25475 * nis/rpcsvc/ypclnt.h: Likewise.
25476 * nss/nss.h: Likewise.
25477 * posix/bits/unistd.h: Likewise.
25478 * posix/fnmatch.h: Likewise.
25479 * posix/glob.h: Likewise.
25480 * posix/sched.h: Likewise.
25481 * posix/spawn.h: Likewise.
25482 * posix/sys/wait.h: Likewise.
25483 * posix/unistd.h: Likewise.
25484 * posix/wordexp.h: Likewise.
25485 * pwd/pwd.h: Likewise.
25486 * resolv/netdb.h: Likewise.
25487 * resource/sys/resource.h: Likewise.
25488 * rt/aio.h: Likewise.
25489 * rt/bits/mqueue2.h: Likewise.
25490 * rt/mqueue.h: Likewise.
25491 * shadow/shadow.h: Likewise.
25492 * signal/signal.h: Likewise.
25493 * socket/send.c: Likewise.
25494 * socket/sendto.c: Likewise.
25495 * socket/sys/socket.h: Likewise.
25496 * stdio-common/printf.h: Likewise.
25497 * stdlib/bits/stdlib.h: Likewise.
25498 * stdlib/fmtmsg.h: Likewise.
25499 * stdlib/monetary.h: Likewise.
25500 * stdlib/stdlib.h: Likewise.
25501 * stdlib/ucontext.h: Likewise.
25502 * streams/stropts.h: Likewise.
25503 * string/argz.h: Likewise.
25504 * string/bits/string2.h: Likewise.
25505 * string/string.h: Likewise.
25506 * string/strings.h: Likewise.
25507 * sunrpc/rpc/auth.h: Likewise.
25508 * sunrpc/rpc/auth_des.h: Likewise.
25509 * sunrpc/rpc/clnt.h: Likewise.
25510 * sunrpc/rpc/netdb.h: Likewise.
25511 * sunrpc/rpc/pmap_clnt.h: Likewise.
25512 * sunrpc/rpc/xdr.h: Likewise.
25513 * sysdeps/generic/inttypes.h: Likewise.
25514 * sysdeps/generic/net/if.h: Likewise.
25515 * sysdeps/generic/sys/swap.h: Likewise.
25516 * sysdeps/gnu/net/if.h: Likewise.
25517 * sysdeps/gnu/utmpx.h: Likewise.
25518 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25519 * sysdeps/i386/i486/bits/string.h: Likewise.
25520 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25521 * sysdeps/s390/bits/string.h: Likewise.
25522 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25523 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25524 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25525 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25526 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25527 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25528 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25529 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25530 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25531 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25532 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25533 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25534 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25536 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25537 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25538 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25543 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25544 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25545 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25546 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25547 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25550 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25551 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25552 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25553 * sysvipc/sys/ipc.h: Likewise.
25554 * sysvipc/sys/msg.h: Likewise.
25555 * sysvipc/sys/sem.h: Likewise.
25556 * sysvipc/sys/shm.h: Likewise.
25557 * termios/termios.h: Likewise.
25558 * time/sys/time.h: Likewise.
25559 * time/time.h: Likewise.
25560 * wcsmbs/bits/wchar2.h: Likewise.
25561 * wcsmbs/uchar.h: Likewise.
25562 * wcsmbs/wchar.h: Likewise.
25563 * wctype/wctype.h: Likewise.
25566 * Makeconfig: Remove all but ELF support including AIX support.
25567 * Makerules: Likewise.
25568 * config.h.in: Likewise.
25569 * config.make.in: Likewise.
25570 * configure: Likewise.
25571 * configure.in: Likewise.
25572 * csu/Makefile: Likewise.
25573 * csu/version.c: Likewise.
25574 * debug/Makefile: Likewise.
25575 * dlfcn/Makefile: Likewise.
25576 * elf/Makefile: Likewise.
25577 * extra-lib.mk: Likewise.
25578 * iconv/Makefile: Likewise.
25579 * include/libc-symbols.h: Likewise.
25580 * include/shlib-compat.h: Likewise.
25581 * resolv/Makefile: Likewise.
25582 * resolv/res_libc.c: Likewise.
25583 * rt/Makefile: Likewise.
25584 * sysdeps/i386/asm-syntax.h: Likewise.
25585 * sysdeps/i386/sysdep.h: Likewise.
25586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25587 * sysdeps/mach/sysdep.h: Likewise.
25588 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25589 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25590 * sysdeps/s390/asm-syntax.h: Likewise.
25591 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25592 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25593 * sysdeps/sh/sysdep.h: Likewise.
25594 * sysdeps/unix/sparc/sysdep.h: Likewise.
25595 * sysdeps/wordsize-32/divdi3.c: Likewise.
25596 * sysdeps/x86_64/sysdep.h: Likewise.
25598 * argp/Versions: Remove _argp_unlock_xxx.
25601 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25602 * abilist/libBrokenLocale.abilist: Likewise.
25603 * abilist/libanl.abilist: Likewise.
25604 * abilist/libc.abilist: Likewise.
25605 * abilist/libcrypt.abilist: Likewise.
25606 * abilist/libdl.abilist: Likewise.
25607 * abilist/libm.abilist: Likewise.
25608 * abilist/libnsl.abilist: Likewise.
25609 * abilist/libpthread.abilist: Likewise.
25610 * abilist/libresolv.abilist: Likewise.
25611 * abilist/librt.abilist: Likewise.
25612 * abilist/libthread_db.abilist: Likewise.
25613 * abilist/libutil.abilist: Likewise.
25614 * abilist/libnss_db.abilist: New file.
25616 * scripts/abilist.awk: Add support for indirect functions.
25618 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25620 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25622 * shlib-versions: Remove entries for ports architectures.
25624 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25626 * elf/stackguard-macros.h: Remove support for IA-64.
25627 * elf/tst-auditmod1.c: Likewise.
25628 * sysdeps/generic/ldsodefs.h: Likewise.
25630 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25631 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25635 * configure.in: Remove --enable-omitfp support.
25637 * config.make.in: Likewise.
25638 * Makeconfig: Likewise.
25639 * manual/install.texi: Likewise.
25641 In case anyone cares, the IA-64 architecture could move to ports.
25642 * sysdeps/ia64/*: Removed.
25643 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25644 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25647 * configure.in: Remove entries for unsupported architectures.
25650 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25651 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25653 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25654 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25655 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25656 fall back to using wcrtomb.
25657 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25658 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25660 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25661 * wcsmbs/tst-c16c32-1.c: New file.
25663 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25666 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25668 * elf/tst-unique3.cc: Add explicit declaration of gets.
25669 * elf/tst-unique3lib.cc: Likewise.
25670 * elf/tst-unique3lib2.cc: Likewise.
25671 * elf/tst-unique4.cc: Likewise.
25673 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25675 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25678 * assert/assert.h (static_assert): Don't define for C++.
25679 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25680 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25682 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25684 * iconv/loop.c (single loop): Fix assertion in storing of
25687 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25689 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25691 * posix/getconf.c: Update copyright year.
25692 * nss/getent.c: Likewise.
25693 * nss/makedb.c: Likewise.
25694 * iconv/iconvconfig.c: Likewise.
25695 * iconv/iconv_prog.c: Likewise.
25696 * elf/ldconfig.c: Likewise.
25697 * elf/pldd.c: Likewise.
25698 * elf/sotruss.ksh: Likewise.
25699 * catgets/gencat.c: Likewise.
25700 * csu/version.c: Likewise.
25701 * elf/ldd.bash.in: Likewise.
25702 * elf/sprof.c (print_version): Likewise.
25703 * locale/programs/locale.c: Likewise.
25704 * locale/programs/localedef.c: Likewise.
25705 * login/programs/pt_chown.c: Likewise.
25706 * nscd/nscd.c (print_version): Likewise.
25707 * debug/xtrace.sh: Likewise.
25708 * malloc/memusage.sh: Likewise.
25709 * malloc/mtrace.pl: Likewise.
25710 * debug/catchsegv.sh: Likewise.
25712 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25714 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25717 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25720 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25721 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25723 * iconv/gconv_int.h: Likewise.
25724 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25725 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25726 from libc for GLIBC_2.16.
25727 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25728 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25729 * wcsmbs/uchar.h: Really define mbstate_t.
25730 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25731 * wcsmbs/c16rtomb.c: New file.
25732 * wcsmbs/mbrtoc16.c: New file.
25733 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25734 for C/POSIX locale.
25735 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25736 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25738 * wcsmbs/wchar.h: Add missing __restrict.
25740 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25743 * time/Makefile (routines): Add timespec_get.
25744 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25745 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25746 timespec for ISO C11.
25747 * time/timespec_get.c: New file.
25748 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25749 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25752 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25753 * stdlib/stdlib.h: Declare aligned_alloc.
25754 * Versions.def: Add GLIBC_2.16 for libc.
25755 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25758 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25761 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25765 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25768 * assert/assert.h (static_assert): Define.
25770 * version.h: Update for 2.16 development version.
25773 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25776 * version.h (RELEASE): Bump for 2.15 release.
25777 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25779 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25780 Patch by Marek Polacek <mpolacek@redhat.com>.
25782 * bits/byteswap.h: Protect long long constants with __extension__.
25783 * sysdeps/i386/bits/byteswap.h: Likewise.
25784 * sysdeps/ia64/bits/byteswap.h: Likewise.
25785 * sysdeps/s390/bits/byteswap.h: Likewise.
25786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25788 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25792 destination buffer.
25793 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25795 2011-12-23 Marek Polacek <polacek@redhat.com>
25797 * elf/dl-addr.c (determine_info): Add inline keyword.
25798 * elf/tst-auditmod4b.c (check_avx): Likewise.
25799 * elf/tst-auditmod6b.c (check_avx): Likewise.
25800 * elf/tst-auditmod6c.c (check_avx): Likewise.
25801 * elf/tst-auditmod7b.c (check_avx): Likewise.
25803 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25808 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25811 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25812 processing for last bytes.
25814 2011-08-06 Bruno Haible <bruno@clisp.org>
25817 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25818 U+0385, not to U+1FEE.
25821 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25822 entry for U+00A5 U+0301.
25824 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25827 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25828 buffer for the output is too small.
25830 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25834 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25835 SSE flags if possible.
25837 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25841 processing for last bytes.
25843 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25846 (syscall-list-default-options, syscall-list-default-condition)
25847 (syscall-list-includes): Define.
25848 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25849 list of ABIs and options and #if conditions for each ABI. Do not
25850 handle common syscalls between ABIs specially.
25851 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25853 (syscall-list-variants, syscall-list-32bit-options)
25854 (syscall-list-32bit-condition, syscall-list-64bit-options)
25855 (syscall-list-64bit-condition): Define.
25856 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25857 (syscall-list-variants, syscall-list-32bit-options)
25858 (syscall-list-32bit-condition, syscall-list-64bit-options)
25859 (syscall-list-64bit-condition): Define.
25860 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25862 (syscall-list-variants, syscall-list-32bit-options)
25863 (syscall-list-32bit-condition, syscall-list-64bit-options)
25864 (syscall-list-64bit-condition): Define.
25865 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25867 (syscall-list-variants, syscall-list-32bit-options)
25868 (syscall-list-32bit-condition, syscall-list-64bit-options)
25869 (syscall-list-64bit-condition): Define.
25871 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25873 * locale/iso-639.def: Add brx entry.
25876 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25877 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25879 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25880 __feraiseexcept_renamed.
25882 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25885 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25886 EPOLLET with unsigned values.
25887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25890 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25891 to large cancellation.
25892 * math/s_cacoshf.c: Likewise.
25893 * math/s_cacoshl.c: Likewise.
25895 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25899 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25900 * math/s_cacoshf.c: Likewise.
25901 * math/s_cacoshl.c: Likewise.
25903 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25906 * iconv/gconv.h: Define __GCONV_SWAP.
25907 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25908 * iconvdata/utf-16.c: Likewise.
25909 * iconvdata/utf-32.c: Likewise.
25911 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25915 numerator after shifting it by one limb.
25917 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25919 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25920 under [__USE_EXTERN_INLINES].
25922 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25925 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25927 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25929 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25930 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25932 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25933 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25934 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25935 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25936 for strncasecmp/strncasecmp_l compilation.
25937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25938 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25940 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25943 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25946 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25949 * time/tzfile.c (__tzfile_read): Check values from file header.
25951 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25953 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25954 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25955 * powerpc/powerpc32/dl-start.S: Likewise.
25956 * powerpc/powerpc32/elf/start.S: Likewise.
25957 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25958 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25959 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25960 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25961 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25962 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25963 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25964 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25965 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25966 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25967 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25968 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25969 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25970 * powerpc/powerpc32/memset.S: Likewise.
25971 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25972 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25973 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25974 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25975 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25976 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25977 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25978 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25979 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25980 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25982 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25983 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25985 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25987 * math/libm-test.inc: Added more nearbyint tests.
25988 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25989 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25993 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25995 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25998 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26000 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26001 Add wcscpy-ssse3 wcscpy-c.
26002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26003 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26004 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26005 * sysdeps/x86_64/wcschr.S: New file.
26006 * sysdeps/x86_64/wcsrchr.S: New file.
26007 * string/test-strcmp.c: Remove checking of wcscmp function for
26009 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26010 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26011 wcsrchr-sse2 wcsrchr-c.
26012 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26013 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26014 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26015 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26016 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26017 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26018 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26019 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26021 * wcsmbc/wcschr.c (WCSCHR): New macro.
26023 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26025 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26026 * wcsmbs/test-wcsrchr.c: New file.
26027 * string/test-strrchr.c: Add wcsrchr support.
26029 * wcsmbs/test-wcscpy.c: New file.
26030 * string/test-strcpy.c: Add wcscpy support.
26033 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26038 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26041 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26043 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26045 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26046 Minor optimizations.
26048 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26049 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26050 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26052 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26054 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26055 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26056 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26057 for gcc to avoid warnings.
26058 * inet/Makefile (tests): Add tst-checks.
26059 * inet/tst-checks.c: New file.
26061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26064 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26067 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26068 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26070 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26072 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26074 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26077 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26079 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26082 conditional on GCC version.
26083 (__arch_compare_and_exchange_val_8_acq)
26084 (__arch_compare_and_exchange_val_16_acq)
26085 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26086 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26087 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26089 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26091 * sysdeps/sh/backtrace.c: New file.
26093 2011-12-02 Andreas Schwab <schwab@redhat.com>
26095 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26098 2011-12-01 Andreas Schwab <schwab@redhat.com>
26100 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26101 falling back to utime.
26103 2011-11-30 Andreas Schwab <schwab@redhat.com>
26105 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26106 expectations for float.
26108 2011-11-29 Andreas Schwab <schwab@redhat.com>
26110 * locale/weight.h (findidx): Add parameter len.
26111 * locale/weightwc.h (findidx): Likewise.
26112 * posix/fnmatch_loop.c (FCT): Adjust caller.
26113 * posix/regcomp.c (build_equiv_class): Likewise.
26114 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26115 * posix/regexec.c (check_node_accept_bytes): Likewise.
26116 * string/strcoll_l.c (STRCOLL): Likewise.
26117 * string/strxfrm_l.c (STRXFRM): Likewise.
26119 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26121 * Makefile.in: Remove CVSOPT handling.
26122 * configure.in: Remove use of AC_REVISION.
26123 * iconvdata/Makefile (distribute): No need to filter out CVS.
26124 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26127 2011-11-16 Andreas Schwab <schwab@redhat.com>
26129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26130 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26131 [USE_AS_STRNCASECMP_L]: Likewise.
26132 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26133 NO_TLS_DIRECT_SEG_REFS.
26134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26135 Fix argument offsets for non-PIC.
26136 [USE_AS_STRNCASECMP_L]: Likewise.
26137 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26138 NO_TLS_DIRECT_SEG_REFS.
26140 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26142 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26144 * locale/loadlocale.c (_nl_load_locale): Likewise.
26146 2011-11-15 Andreas Schwab <schwab@redhat.com>
26148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26149 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26151 (SYSCALL_GETTIME): Set errno on error.
26153 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26154 count references to noai6ai_cached.
26156 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26158 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26160 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26161 FD_CLOEXEC for /proc/self/maps.
26163 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26164 FD_CLOEXEC for /proc/meminfo.
26166 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26169 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26170 FD_CLOEXEC for given file.
26172 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26174 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26175 FD_CLOEXEC for /etc/hosts.
26176 (_gethtent): Likewise.
26178 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26180 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26181 cancellation and set FD_CLOEXEC for /etc/netgroup.
26183 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26184 reading /etc/publickey.
26186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26187 allow cancellation when reading /etc/group.
26189 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26191 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26193 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26194 when using data file.
26196 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26198 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26199 (write_nis_obj): Use "c" and "e" in fopen.
26201 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26203 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26205 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26207 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26209 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26212 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26214 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26216 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26218 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26219 file parsing and set FD_CLOEXEC.
26221 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26223 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26225 2011-11-14 Andreas Schwab <schwab@redhat.com>
26227 * malloc/arena.c (arena_get2): Don't call reused_arena when
26228 _int_new_arena failed.
26230 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26232 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26233 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26238 to compile strcasecmp and strncasecmp.
26239 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26240 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26244 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26246 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26247 locale-defines.sym to gen-as-const-headers.
26248 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26249 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26251 to compile strcasecmp and strncasecmp.
26252 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26253 strcasecmp_l and strncasecmp_l.
26254 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26255 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26256 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26257 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26258 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26259 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26260 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26261 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26262 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26263 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26264 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26266 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26268 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26269 result of SYSDEP_GETTIME_CPU to retval.
26270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26271 parameter list to macro. Remove trailing semicolon. Adjust users.
26273 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26276 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26278 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26280 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26281 from unused variable.
26283 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26285 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26288 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26291 * sunrpc/rpc_prot.c (rejected): Fix case value.
26293 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26294 unsigned long long int to avoid warnings in shift.
26296 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26298 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26301 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26302 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26303 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26305 * nis/nis_table.c (nis_list): Use variable of correct type for
26306 result of __follow_path call.
26308 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26310 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26311 of math functions ceil, trunc, floor, round, and sqrt, when
26312 avaliable on the platform.
26313 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26316 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26317 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26319 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26321 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26322 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26324 2011-11-11 Roland McGrath <roland@hack.frob.com>
26326 * include/unistd.h: Fix __readlink return type.
26327 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26329 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26331 * stdlib/ucontext.h: Undo last change for makecontext.
26333 2011-11-11 Andreas Schwab <schwab@redhat.com>
26335 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26337 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26338 * setjmp/setjmp.h: Mark functions as non-leaf.
26339 * setjmp/bits/setjmp2.h: Likewise.
26340 * stdlib/ucontext.h: Likewise.
26342 2011-11-10 Andreas Schwab <schwab@redhat.com>
26344 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26345 (reused_arena): Don't check arena limit.
26346 (arena_get2): Atomically check arena limit.
26348 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26350 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26351 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26356 2011-11-07 Andreas Schwab <schwab@redhat.com>
26358 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26359 handler when locking.
26361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26362 Fix size of allocated buffer.
26364 2011-11-04 Andreas Schwab <schwab@redhat.com>
26367 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26368 declarations for long double functions.
26369 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26371 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26373 2011-11-03 Andreas Schwab <schwab@redhat.com>
26375 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26378 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26381 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26383 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26385 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26387 * include/alloca.h (stackinfo_alloca_round): Define.
26388 (extend_alloca): Use it.
26389 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26390 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26393 * scripts/check-local-headers.sh: Ignore libaudit.h.
26395 * nscd/Makefile (extra-objs): Make recursively expanded.
26397 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26399 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26400 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26402 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26403 * posix/tst-rfc3484-2.c: Likewise.
26404 * posix/tst-rfc3484-3.c: Likewise.
26406 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26408 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26410 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26411 process_vm_writev from libc using GLIBC_2.15 version.
26413 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26415 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26417 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26420 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26423 * nss/getent.c (initgroups_keys): Show error message in case no group
26426 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26427 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26428 __bump_nl_timestamp.
26429 * nscd/connections (nscd_init): When host database is served open
26430 netlink socket and request notification about configuration changes.
26431 (main_loop_poll): Track netlink file descriptor and bump timestamp
26432 in case data becomes available.
26433 (main_loop_epoll): Likewise.
26434 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26435 (database_pers_head): Add extra_data fileds.
26436 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26437 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26438 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26441 in6ai data, call __free_in6ai.
26442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26443 Add -DHAVE_NETLINK.
26444 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26445 interface information. Reuse previous data if netlink timestamp
26447 (__bump_nl_timestamp): New function.
26448 (__free_in6ai): New function.
26450 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26452 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26453 close_not_cancel_no_status here.
26454 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26456 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26459 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26462 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26463 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26464 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26466 2011-07-03 Andreas Jaeger <aj@suse.de>
26469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26470 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26471 * math/libm-test.inc (sin_test): Add test case.
26473 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26476 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26477 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26479 * elf/chroot_canon.c (chroot_canon): Cleanups.
26481 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26484 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26485 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26487 * string/test-strchr.c: Make usable for strchrnul testing.
26488 * string/test-strchrnul.c: New file.
26489 * string/Makefile (strop-tests): Add strchrnul.
26491 * po/it.po: Update from translation team.
26492 * po/es.po: Likewise.
26494 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26497 the three constants needed as parameters. Drop the others.
26498 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26499 __m128i_strloadu_tolower.
26500 Create and initialize variable zero and use it in all the places
26501 where _mm_setzero_si128 was used.
26503 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26504 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26505 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26508 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26509 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26510 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26511 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26512 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26513 __mpranred, __mptan.
26514 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26515 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26516 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26517 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26518 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26519 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26522 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26524 2011-10-28 Andreas Schwab <schwab@redhat.com>
26526 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26527 redefine if SHARED.
26528 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26531 wide char related routines to wcsmbs subdir.
26533 2011-10-27 Andreas Schwab <schwab@redhat.com>
26536 * misc/sys/cdefs.h (__THROWNL): Define.
26537 * posix/unistd.h: Use __THREADNL instead of __THREAD
26538 for memory synchronization functions.
26540 2011-10-26 Roland McGrath <roland@hack.frob.com>
26543 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26545 * manual/stdio.texi (Obstack Streams): Node removed.
26547 2011-10-26 Andreas Schwab <schwab@redhat.com>
26549 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26553 * math/math_private.h (math_force_eval): Allow non-addressable
26555 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26557 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26559 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26560 file is not needed.
26562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26569 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26571 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26572 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26573 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26574 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26575 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26576 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26577 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26578 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26579 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26580 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26581 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26582 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26584 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26585 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26586 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26589 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26591 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26592 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26595 place. Use VEX encoding when compiling for AVX.
26597 2011-10-25 Andreas Schwab <schwab@redhat.com>
26599 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26600 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26602 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26604 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26606 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26607 useless if() expression.
26608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26620 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26622 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26626 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26628 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26630 2011-10-25 Andreas Schwab <schwab@redhat.com>
26632 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26636 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26638 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26639 .text section. Avoid duplicate constants.
26640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26650 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26652 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26657 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26667 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26668 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26669 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26670 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26671 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26672 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26673 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26674 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26675 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26678 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26679 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26680 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26682 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26683 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26684 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26686 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26688 * sysdeps/x86_64/dla.h: Move to ...
26689 * sysdeps/x86_64/fpu/dla.h: ...here.
26690 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26691 situations. Use __builtin_fma only for gcc 4.6 and up.
26693 * config.make.in: Add have-mfma4 entry.
26694 * configure.in: Substitute libc_cv_cc_fma4.
26695 * math/Makefile (dbl-only-routines): Add sincostab.
26696 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26697 Use __sincostab not sincos.
26698 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26705 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26706 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26707 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26708 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26711 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26713 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26714 define aliases when function name is a macro.
26715 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26716 sysdeps/ieee754/dbl-64/sincos.tbl.
26717 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26718 fma4-enabled routines.
26719 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26720 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26721 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26722 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26724 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26727 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26728 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26729 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26731 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26732 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26733 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26734 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26735 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26736 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26737 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26739 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26740 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26746 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26747 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26748 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26750 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26761 2011-10-24 Andreas Schwab <schwab@redhat.com>
26763 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26765 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26769 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26773 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26774 Remove unused variable magic_bits.
26775 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26777 * string/strnlen.c: Define and use STRNLEN macro.
26778 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26779 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26781 * wcsmbs/wcslen.c: Define and use WCSLEN.
26782 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26783 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26784 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26785 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26786 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26787 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26788 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26790 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26793 strnlen-sse2-no-bsf.
26794 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26796 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26797 Add strnlen support.
26798 (USE_AS_STRNLEN): New macro.
26799 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26801 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26802 * sysdeps/x86_64/wcslen.S: New file.
26804 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26807 XMM-moves are used for copying on small sizes.
26809 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26811 * wcsmbs/Makefile (strop-tests): Add wcschr.
26812 * wcsmbs/test-wcschr.c: New file.
26813 * string/test-strchr.c: Update.
26814 Add wcschr support.
26817 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26819 * wcsmbs/Makefile (strop-tests): Add wcslen.
26820 * wcsmbs/test-wcslen.c: New file.
26821 * string/test-strlen.c: Update.
26822 Add wcslen support.
26825 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26827 * po/it.po: Update from translation team.
26829 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26831 * sysdeps/x86_64/wcscmp.S: Update.
26832 Fix wrong comparison semantics.
26833 wcscmp shall use signed comparison not unsigned.
26834 Don't use substraction to avoid overflow bug.
26835 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26836 * wcsmbc/wcscmp.c: Likewise.
26837 * string/test-strcmp.c: Likewise.
26838 Add new tests to check cases with negative values.
26840 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26842 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26843 * sysdeps/x86_64/dla.h: ...here. New file.
26844 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26854 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26857 __ynl_finite aliases.
26859 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26863 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26865 [DLA_FMA] (EMULV): Use DLA_FMA.
26866 [DLA_FMA] (MUL12): Use EMULV.
26867 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26868 that are not needed.
26869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26877 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26879 * math/s_nan.c: Undef __nan.
26880 * math/s_nanf.c: Undef __nanf.
26881 * math/s_nanl.c: Undef __nanl.
26882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26885 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26887 * math/s_catan.c: Add branch predictions.
26888 * math/s_catanf.c: Likewise.
26889 * math/s_catanh.c: Likewise.
26890 * math/s_catanhf.c: Likewise.
26891 * math/s_catanhl.c: Likewise.
26892 * math/s_catanl.c: Likewise.
26893 * math/s_cexp.c: Likewise.
26894 * math/s_cexpf.c: Likewise.
26895 * math/s_cexpl.c: Likewise.
26896 * math/s_clog.c: Likewise.
26897 * math/s_clog10.c: Likewise.
26898 * math/s_clog10f.c: Likewise.
26899 * math/s_clog10l.c: Likewise.
26900 * math/s_clogf.c: Likewise.
26901 * math/s_clogl.c: Likewise.
26902 * math/s_csqrt.c: Likewise.
26903 * math/s_csqrtf.c: Likewise.
26904 * math/s_csqrtl.c: Likewise.
26905 * math/s_ctanf.c: Likewise.
26906 * math/s_ctanh.c: Likewise.
26907 * math/s_ctanhf.c: Likewise.
26908 * math/s_ctanhl.c: Likewise.
26909 * math/s_ctanl.c: Likewise.
26911 * math/math_private.h: Define __nan, __nanf, __nanl.
26912 * math/s_cacosh.c: Include <math_private.h>.
26913 * math/s_cacoshl.c: Likewise.
26914 * math/s_casinh.c: Likewise.
26915 * math/s_casinhf.c: Likewise.
26916 * math/s_casinhl.c: Likewise.
26917 * math/s_ccos.c: Rely entire on ccosh.
26918 * math/s_ccosf.c: Rely entire on ccoshf.
26919 * math/s_ccosl.c: Rely entirely on ccoshl.
26920 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26921 Remove tests for FE_INVALID.
26922 * math/s_ccoshf.c: Likewise.
26923 * math/s_ccoshl.c: Likewise.
26924 * math/s_csin.c: Likewise.
26925 * math/s_csinf.c: Likewise.
26926 * math/s_csinh.c Likewise.
26927 * math/s_csinhf.c: Likewise.
26928 * math/s_csinhl.c: Likewise.
26929 * math/s_csinl.c: Likewise.
26930 * math/s_ctan.c: Likewise.
26931 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26932 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26933 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26935 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26938 compilation problems.
26940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26943 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26945 * sysdeps/i386/configure.in: Test for -mfma4 option.
26946 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26947 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26948 COMMON_CPUID_INDEX_80000001.
26949 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26950 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26951 use it if FMA3 is not supported.
26952 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26954 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26957 2011-10-20 Andreas Schwab <schwab@redhat.com>
26960 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26961 it would create a cycle with a link time dependency.
26963 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26965 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26967 * string/Makefile (strop-tests): Add rawmemchr.
26968 * string/test-rawmemchr.c: New file.
26970 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26972 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26973 when compiling str{,n}casecmp and when AVX is available. Hook up
26974 new optimized code in initializers.
26976 2011-10-19 Andreas Schwab <schwab@redhat.com>
26978 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26979 __feraiseexcept instead of feraiseexcept.
26981 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26983 * math/math_private.h: Define defaults for libc_fetestexcept and
26985 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26986 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26989 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26990 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26991 libc_fetestexcept and libc_feupdateenv.
26993 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26994 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26995 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26996 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26997 libc_feholdexcept_setround.
26999 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27000 Add s_nearbyint-c and s_nearbyintf-c.
27001 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27002 nearbyintf inlines.
27003 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27004 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27005 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27008 * math/math_private.h: Define defaults for libc_fegetround,
27009 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27010 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27011 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27013 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27014 standard functions.
27015 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27016 Remove comments and hacks for old compiler versions.
27017 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27018 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27019 libc_feholdexceptl.
27021 2011-10-18 Andreas Schwab <schwab@redhat.com>
27023 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27024 (__feraiseexcept_renamed): Add __NTH.
27025 (feraiseexcept): Add __NTH. Rename local variables to fix
27026 namespace violations.
27028 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27034 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27035 recently added interfaces.
27036 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27038 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27039 about macro parameter expansion.
27041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27042 __NO_MATH_INLINES is defined. Cleanups.
27044 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27045 and __floorf is target has SSE4.1.
27046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27047 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27048 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27049 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27051 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27053 (floorf): Likewise.
27055 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27057 2011-10-17 Andreas Schwab <schwab@redhat.com>
27059 * misc/sys/cdefs.h: Fix last change.
27061 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27064 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27066 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27068 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27074 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27076 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27077 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27078 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27079 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27080 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27081 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27082 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27083 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27084 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27085 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27086 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27088 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27091 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27092 ceil, ceilf, floor, floorf.
27094 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27095 Perform IRELATIVE relocations last.
27097 * elf/do-rel.h: Add another parameter nrelative, replacing the
27098 local variable with the same name. Change name of the function
27099 to end in Rel or Rela (uppercase).
27100 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27101 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27102 elf_dynamic_do_##reloc function.
27104 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27106 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27107 is sufficient, at least on modern CPUs.
27109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27111 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27114 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27116 * math/bits/math-finite.h: Add entries for exp.
27117 * math/e_expl.c: Add __*_finite alias.
27118 * sysdeps/i386/fpu/e_exp.S: Likewise.
27119 * sysdeps/i386/fpu/e_expf.S: Likewise.
27120 * sysdeps/i386/fpu/e_expl.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27123 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27126 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27127 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27129 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27130 is sufficient, at least on modern CPUs.
27132 * ctype/ctype-info.c (__ctype_init): Define.
27133 * include/ctype.h (__ctype_init): Declare.
27134 (__ctype_b_loc): The variable is always initialized.
27135 (__ctype_toupper_loc): Likewise.
27136 (__ctype_tolower_loc): Likewise.
27137 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27138 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27140 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27142 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27144 * configure.in: Also look in $cxxmachine/include for C++ system
27147 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27149 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27150 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27151 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27152 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27154 (USE_AS_WMEMCMP): New macro.
27156 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27157 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27158 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27159 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27161 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27162 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27163 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27164 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27165 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27166 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27167 (USE_AS_WMEMCMP): New macro.
27168 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27169 * sysdeps/string/test-memcmp.c: Update.
27170 Fix simple_wmemcmp.
27172 * wcsmbs/wmemcmp.c: Update.
27173 (WMEMCMP): New macro.
27176 2011-10-12 Andreas Jaeger <aj@suse.de>
27179 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27181 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27183 * libio/iofwide.c (do_length): Avoid warning.
27185 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27187 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27189 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27191 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27192 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27193 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27194 * sysdeps/i386/i686/fpu/e_log.S: New file.
27195 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27196 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27198 * ctype/ctype.h: Add support for inlined isXXX functions when
27199 compiling C++ code.
27201 2011-10-14 Andreas Schwab <schwab@redhat.com>
27203 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27205 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27207 2011-10-13 Roland McGrath <roland@hack.frob.com>
27210 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27212 2011-10-13 Andreas Schwab <schwab@redhat.com>
27214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27215 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27218 * sysdeps/x86_64/memrchr.S: Check for zero size.
27220 * string/stratcliff.c: Add memrchr tests.
27222 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27225 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27226 rawmemchr-sse2 rawmemchr-sse2-bsf.
27227 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27228 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27229 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27230 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27231 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27232 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27233 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27234 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27235 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27236 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27237 * string/memrchr.c (MEMRCHR): New macro.
27239 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27241 Add integration with gcc's -ffinite-math-only and optimize wrapper
27243 * Versions.def: Define GLIBC_2.15 version for libm.
27244 * math/Makefile (headers): Add bits/math-finite.h.
27245 * math/bits/math-finite.h: New file.
27246 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27247 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27248 * math/e_acoshl.c: Add __*_finite alias.
27249 * math/e_acosl.c: Likewise.
27250 * math/e_asinl.c: Likewise.
27251 * math/e_atan2l.c: Likewise.
27252 * math/e_atanhl.c: Likewise.
27253 * math/e_coshl.c: Likewise.
27254 * math/e_exp10.c: Likewise.
27255 * math/e_exp10f.c: Likewise.
27256 * math/e_exp10l.c: Likewise.
27257 * math/e_exp2l.c: Likewise.
27258 * math/e_fmodl.c: Likewise.
27259 * math/e_gammal_r.c: Likewise.
27260 * math/e_hypotl.c: Likewise.
27261 * math/e_j0l.c: Likewise.
27262 * math/e_j1l.c: Likewise.
27263 * math/e_jnl.c: Likewise.
27264 * math/e_lgammal_r.c: Likewise.
27265 * math/e_log10l.c: Likewise.
27266 * math/e_log2l.c: Likewise.
27267 * math/e_logl.c: Likewise.
27268 * math/e_powl.c: Likewise.
27269 * math/e_sinhl.c: Likewise.
27270 * math/e_sqrtl.c: Likewise.
27271 * math/e_scalb.c: Completely rewritten and optimized.
27272 * math/e_scalbf.c: Likewise.
27273 * math/e_scalbl.c: Likewise.
27274 * math/w_acos.c: Likewise.
27275 * math/w_acosf.c: Likewise.
27276 * math/w_acosl.c: Likewise.
27277 * math/w_acosh.c: Likewise.
27278 * math/w_acoshf.c: Likewise.
27279 * math/w_acoshl.c: Likewise.
27280 * math/w_asin.c: Likewise.
27281 * math/w_asinf.c: Likewise.
27282 * math/w_asinl.c: Likewise.
27283 * math/w_atan2.c: Likewise.
27284 * math/w_atan2f.c: Likewise.
27285 * math/w_atan2l.c: Likewise.
27286 * math/w_atanh.c: Likewise.
27287 * math/w_atanhf.c: Likewise.
27288 * math/w_atanhl.c: Likewise.
27289 * math/w_exp10.c: Likewise.
27290 * math/w_exp10f.c: Likewise.
27291 * math/w_exp10l.c: Likewise.
27292 * math/w_fmod.c: Likewise.
27293 * math/w_fmodf.c: Likewise.
27294 * math/w_fmodl.c: Likewise.
27295 * math/w_j0.c: Likewise.
27296 * math/w_j0f.c: Likewise.
27297 * math/w_j0l.c: Likewise.
27298 * math/w_j1.c: Likewise.
27299 * math/w_j1f.c: Likewise.
27300 * math/w_j1l.c: Likewise.
27301 * math/w_jn.c: Likewise.
27302 * math/w_jnf.c: Likewise.
27303 * math/w_log.c: Likewise.
27304 * math/w_logf.c: Likewise.
27305 * math/w_logl.c: Likewise.
27306 * math/w_log10.c: Likewise.
27307 * math/w_log10f.c: Likewise.
27308 * math/w_log10l.c: Likewise.
27309 * math/w_log2.c: Likewise.
27310 * math/w_log2f.c: Likewise.
27311 * math/w_log2l.c: Likewise.
27312 * math/w_pow.c: Likewise.
27313 * math/w_powf.c: Likewise.
27314 * math/w_powl.c: Likewise.
27315 * math/w_remainder.c: Likewise.
27316 * math/w_remainderf.c: Likewise.
27317 * math/w_remainderl.c: Likewise.
27318 * math/w_scalb.c: Likewise.
27319 * math/w_scalbf.c: Likewise.
27320 * math/w_scalbl.c: Likewise.
27321 * math/w_sqrt.c: Likewise.
27322 * math/w_sqrtf.c: Likewise.
27323 * math/w_sqrtl.c: Likewise.
27324 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27325 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27327 * math/math_private.h: Declare __kernel_standard_f.
27328 * math/w_cosh.c: Remove cruft and optimize a bit.
27329 * math/w_coshf.c: Likewise.
27330 * math/w_coshl.c: Likewise.
27331 * math/w_exp2.c: Likewise.
27332 * math/w_exp2f.c: Likewise.
27333 * math/w_exp2l.c: Likewise.
27334 * math/w_hypot.c: Likewise.
27335 * math/w_hypotf.c: Likewise.
27336 * math/w_hypotl.c: Likewise.
27337 * math/w_lgamma.c: Likewise.
27338 * math/w_lgamma_r.c: Likewise.
27339 * math/w_lgammaf.c: Likewise.
27340 * math/w_lgammaf_r.c: Likewise.
27341 * math/w_lgammal.c: Likewise.
27342 * math/w_lgammal_r.c: Likewise.
27343 * math/w_sinh.c: Likewise.
27344 * math/w_sinhf.c: Likewise.
27345 * math/w_sinhl.c: Likewise.
27346 * math/w_tgamma.c: Likewise.
27347 * math/w_tgammaf.c: Likewise.
27348 * math/w_tgammal.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27351 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27352 Minor optimizations. Pretty printing. Remove cruft.
27353 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27355 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27357 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27358 * sysdeps/i386/fpu/e_asin.S: Likewise.
27359 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27360 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27361 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27362 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27364 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27365 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27366 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27367 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27368 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27369 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27370 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27371 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27372 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27373 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27374 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27375 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27376 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27377 * sysdeps/i386/fpu/e_log.S: Likewise.
27378 * sysdeps/i386/fpu/e_log10.S: Likewise.
27379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27380 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27381 * sysdeps/i386/fpu/e_log2.S: Likewise.
27382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27383 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27384 * sysdeps/i386/fpu/e_logf.S: Likewise.
27385 * sysdeps/i386/fpu/e_logl.S: Likewise.
27386 * sysdeps/i386/fpu/e_pow.S: Likewise.
27387 * sysdeps/i386/fpu/e_powf.S: Likewise.
27388 * sysdeps/i386/fpu/e_powl.S: Likewise.
27389 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27390 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27391 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27395 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27396 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27397 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27404 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27405 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27409 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27423 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27426 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27427 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27429 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27432 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27433 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27434 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27435 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27439 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27478 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27479 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27483 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27486 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27489 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27490 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27491 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27495 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27496 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27497 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27498 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27499 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27500 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27501 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27506 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27508 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27509 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27510 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27511 (__isnanf): Likewise.
27512 (__isinf_ns): Likewise.
27513 (__isinf_nsf): Likewise.
27514 (__finite): Likewise.
27515 (__finitef): Likewise.
27516 (__ieee754_sqrt): Define as macro.
27517 (__ieee754_sqrtf): Define as macro.
27518 (__ieee754_sqrtl): Define as macro.
27519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27521 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27522 __FINITE_MATH_ONLY__ consistent.
27523 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27525 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27527 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27532 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27534 * po/ja.po: Update from translation team.
27536 2011-10-08 Roland McGrath <roland@hack.frob.com>
27538 * locale/programs/locarchive.c (prepare_address_space): New function.
27539 (create_archive, enlarge_archive, open_archive): Use it.
27541 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27542 inside [SHARED], where it is used.
27544 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27546 * nss/getent.c (netgroup_keys): Remove unused variable.
27547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27549 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27551 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27552 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27556 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27557 * math/Makefile (libm-calls): Add s_isinf_ns.
27558 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27559 * math/multc3.c: Likewise.
27560 * math/s_casin.c: Likewise.
27561 * math/s_casinf.c: Likewise.
27562 * math/s_casinl.c: Likewise.
27563 * math/s_ccos.c: Likewise.
27564 * math/s_ccosf.c: Likewise.
27565 * math/s_ccosl.c: Likewise.
27566 * math/s_ctan.c: Likewise.
27567 * math/s_ctanf.c: Likewise.
27568 * math/s_ctanh.c: Likewise.
27569 * math/s_ctanhf.c: Likewise.
27570 * math/s_ctanhl.c: Likewise.
27571 * math/s_ctanl.c: Likewise.
27572 * math/w_fmod.c: Likewise.
27573 * math/w_fmodf.c: Likewise.
27574 * math/w_fmodl.c: Likewise.
27575 * math/w_remainder.c: Likewise.
27576 * math/w_remainderf.c: Likewise.
27577 * math/w_remainderl.c: Likewise.
27578 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27579 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27582 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27583 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27584 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27585 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27587 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27589 * stdio-common/printf_fphex.c: Likewise.
27590 * stdio-common/printf_size.c: Likewise.
27592 * math/e_exp10.c: Include math_private.h using <...> not "...".
27593 * math/e_exp10f.c: Likewise.
27594 * math/e_exp10l.c: Likewise.
27595 * math/e_exp2l.c: Likewise.
27596 * math/e_j0l.c: Likewise.
27597 * math/e_j1l.c: Likewise.
27598 * math/e_jnl.c: Likewise.
27599 * math/e_lgammal_r.c: Likewise.
27600 * math/e_rem_pio2l.c: Likewise.
27601 * math/e_scalb.c: Likewise.
27602 * math/e_scalbf.c: Likewise.
27603 * math/e_scalbl.c: Likewise.
27604 * math/k_cosl.c: Likewise.
27605 * math/k_sinl.c: Likewise.
27606 * math/k_tanl.c: Likewise.
27607 * math/s_cacoshf.c: Likewise.
27608 * math/s_catan.c: Likewise.
27609 * math/s_catanf.c: Likewise.
27610 * math/s_catanh.c: Likewise.
27611 * math/s_catanhf.c: Likewise.
27612 * math/s_catanhl.c: Likewise.
27613 * math/s_catanl.c: Likewise.
27614 * math/s_ccosh.c: Likewise.
27615 * math/s_ccoshf.c: Likewise.
27616 * math/s_ccoshl.c: Likewise.
27617 * math/s_cexp.c: Likewise.
27618 * math/s_cexpf.c: Likewise.
27619 * math/s_cexpl.c: Likewise.
27620 * math/s_clog.c: Likewise.
27621 * math/s_clog10.c: Likewise.
27622 * math/s_clog10f.c: Likewise.
27623 * math/s_clog10l.c: Likewise.
27624 * math/s_clogf.c: Likewise.
27625 * math/s_clogl.c: Likewise.
27626 * math/s_csin.c: Likewise.
27627 * math/s_csinf.c: Likewise.
27628 * math/s_csinh.c: Likewise.
27629 * math/s_csinhf.c: Likewise.
27630 * math/s_csinhl.c: Likewise.
27631 * math/s_csinl.c: Likewise.
27632 * math/s_csqrt.c: Likewise.
27633 * math/s_csqrtf.c: Likewise.
27634 * math/s_csqrtl.c: Likewise.
27635 * math/s_ctan.c: Likewise.
27636 * math/s_ctanf.c: Likewise.
27637 * math/s_ctanh.c: Likewise.
27638 * math/s_ctanhf.c: Likewise.
27639 * math/s_ctanhl.c: Likewise.
27640 * math/s_ctanl.c: Likewise.
27641 * math/s_ldexp.c: Likewise.
27642 * math/s_ldexpf.c: Likewise.
27643 * math/s_ldexpl.c: Likewise.
27644 * math/s_significand.c: Likewise.
27645 * math/s_significandf.c: Likewise.
27646 * math/s_significandl.c: Likewise.
27647 * math/w_acos.c: Likewise.
27648 * math/w_acosf.c: Likewise.
27649 * math/w_acosh.c: Likewise.
27650 * math/w_acoshf.c: Likewise.
27651 * math/w_acoshl.c: Likewise.
27652 * math/w_acosl.c: Likewise.
27653 * math/w_asin.c: Likewise.
27654 * math/w_asinf.c: Likewise.
27655 * math/w_asinl.c: Likewise.
27656 * math/w_atan2.c: Likewise.
27657 * math/w_atan2f.c: Likewise.
27658 * math/w_atan2l.c: Likewise.
27659 * math/w_atanh.c: Likewise.
27660 * math/w_atanhf.c: Likewise.
27661 * math/w_atanhl.c: Likewise.
27662 * math/w_cosh.c: Likewise.
27663 * math/w_coshf.c: Likewise.
27664 * math/w_coshl.c: Likewise.
27665 * math/w_dremf.c: Likewise.
27666 * math/w_exp10.c: Likewise.
27667 * math/w_exp10f.c: Likewise.
27668 * math/w_exp10l.c: Likewise.
27669 * math/w_exp2.c: Likewise.
27670 * math/w_exp2f.c: Likewise.
27671 * math/w_fmod.c: Likewise.
27672 * math/w_fmodf.c: Likewise.
27673 * math/w_fmodl.c: Likewise.
27674 * math/w_hypot.c: Likewise.
27675 * math/w_hypotf.c: Likewise.
27676 * math/w_hypotl.c: Likewise.
27677 * math/w_j0.c: Likewise.
27678 * math/w_j0f.c: Likewise.
27679 * math/w_j0l.c: Likewise.
27680 * math/w_j1.c: Likewise.
27681 * math/w_j1f.c: Likewise.
27682 * math/w_j1l.c: Likewise.
27683 * math/w_jn.c: Likewise.
27684 * math/w_jnf.c: Likewise.
27685 * math/w_jnl.c: Likewise.
27686 * math/w_lgamma.c: Likewise.
27687 * math/w_lgamma_r.c: Likewise.
27688 * math/w_lgammaf.c: Likewise.
27689 * math/w_lgammaf_r.c: Likewise.
27690 * math/w_lgammal.c: Likewise.
27691 * math/w_lgammal_r.c: Likewise.
27692 * math/w_log.c: Likewise.
27693 * math/w_log10.c: Likewise.
27694 * math/w_log10f.c: Likewise.
27695 * math/w_log10l.c: Likewise.
27696 * math/w_log2.c: Likewise.
27697 * math/w_log2f.c: Likewise.
27698 * math/w_log2l.c: Likewise.
27699 * math/w_logf.c: Likewise.
27700 * math/w_logl.c: Likewise.
27701 * math/w_pow.c: Likewise.
27702 * math/w_powf.c: Likewise.
27703 * math/w_powl.c: Likewise.
27704 * math/w_remainder.c: Likewise.
27705 * math/w_remainderf.c: Likewise.
27706 * math/w_remainderl.c: Likewise.
27707 * math/w_scalb.c: Likewise.
27708 * math/w_scalbf.c: Likewise.
27709 * math/w_scalbl.c: Likewise.
27710 * math/w_sinh.c: Likewise.
27711 * math/w_sinhf.c: Likewise.
27712 * math/w_sinhl.c: Likewise.
27713 * math/w_sqrt.c: Likewise.
27714 * math/w_sqrtf.c: Likewise.
27715 * math/w_sqrtl.c: Likewise.
27716 * math/w_tgamma.c: Likewise.
27717 * math/w_tgammaf.c: Likewise.
27718 * math/w_tgammal.c: Likewise.
27720 * po/ja.po: Update from translation team.
27722 2011-09-29 Andreas Jaeger <aj@suse.de>
27725 * sunrpc/netname.c (netname2host): Fix logic.
27729 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27731 * math/w_remainder.c (__remainder): Likewise.
27732 * math/w_remainderf.c (__remainderf): Likewise.
27733 * math/libm-test.inc (remainder_test): Add test cases.
27735 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27737 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27740 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27742 * string/test-memcmp.c: Avoid unncessary #defines.
27743 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27745 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27747 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27748 Use new sse2 version for core i3 - i7 as it's faster
27749 than sse42 version.
27750 (bit_Prefer_PMINUB_for_stringop): New.
27751 * sysdeps/x86_64/rawmemchr.S: Update.
27752 Replace with faster SSE2 version.
27753 * sysdeps/x86_64/memrchr.S: New file.
27754 * sysdeps/x86_64/memchr.S: Update.
27755 Replace with faster SSE2 version.
27757 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27759 * elf/dl-load.c (lose): Add cast to avoid warning.
27761 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27763 * po/ca.po: Update from translation team.
27765 * inet/getnetgrent_r.c: Hook up nscd.
27766 * nscd/Makefile (routines): Add nscd_netgroup.
27767 (nscd-modules): Add netgroupcache.
27768 (CFLAGS-netgroupcache.c): Define.
27769 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27770 (cache_search): Add const to second parameter.
27771 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27773 (dbs): Add netgrdb entry.
27774 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27775 (verify_persistent_db): Handle netgrdb.
27776 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27777 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27779 (netgroup_response_header): Define.
27780 (innetgroup_response_header): Define.
27781 (datahead): Add netgroup_response_header and innetgroup_response_header
27783 * nscd/nscd.conf: Add entries for netgroup cache.
27784 * nscd/nscd.h (dbtype): Add netgrdb.
27785 (_PATH_NSCD_NETGROUP_DB): Define.
27786 (netgroup_iov_disabled): Declare.
27787 (xmalloc, xcalloc, xrealloc): Move declarations here.
27788 (cache_search): Adjust prototype.
27789 Add netgroup-related prototypes.
27790 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27791 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27792 (__nscd_innetgr): Declare.
27793 * nscd/selinux.c (perms): Use access_vector_t as element type and
27794 add netgroup-related initializers.
27795 * nscd/netgroupcache.c: New file.
27796 * nscd/nscd_netgroup.c: New file.
27797 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27798 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27799 For four parameters use innetgr.
27800 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27801 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27802 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27803 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27805 * nscd/connections.c (register_traced_file): Don't register file
27806 for disabled databases.
27808 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27810 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27812 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27813 from tree and freeing node.
27815 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27817 * nss/nsswitch.c (__nss_database_lookup): Handle
27818 nss_parse_service_list out of memory case.
27820 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27822 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27823 out of memory case.
27825 2011-10-04 Andreas Schwab <schwab@redhat.com>
27827 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27828 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27830 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27831 elf_machine_rela, elf_machine_lazy_rel.
27832 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27833 (ELF_DYNAMIC_DO_REL): Likewise.
27834 (ELF_DYNAMIC_DO_RELA): Likewise.
27835 (ELF_DYNAMIC_RELOCATE): Likewise.
27836 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27837 to ELF_DYNAMIC_DO_REL.
27838 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27839 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27840 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27843 skip_ifunc, don't call ifunc function if non-zero.
27844 (elf_machine_rela): Likewise.
27845 (elf_machine_lazy_rel): Likewise.
27846 (elf_machine_lazy_rela): Likewise.
27847 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27848 (elf_machine_lazy_rel): Likewise.
27849 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27851 (elf_machine_lazy_rel): Likewise.
27852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27854 (elf_machine_lazy_rel): Likewise.
27855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27856 (elf_machine_lazy_rel): Likewise.
27857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27858 (elf_machine_lazy_rel): Likewise.
27859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27860 (elf_machine_lazy_rel): Likewise.
27861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27862 (elf_machine_lazy_rel): Likewise.
27863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27864 (elf_machine_lazy_rel): Likewise.
27865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27866 (elf_machine_lazy_rel): Likewise.
27868 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27870 * nss/nss_files/files-init.c (_nss_files_init): Use static
27871 initialization for all the *_traced_file variables.
27873 2011-09-28 Andreas Schwab <schwab@redhat.com>
27875 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27877 2011-09-27 Roland McGrath <roland@hack.frob.com>
27880 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27882 2011-09-27 Andreas Schwab <schwab@redhat.com>
27884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27885 Reread the line before reparsing it.
27887 2011-09-26 Andreas Schwab <schwab@redhat.com>
27889 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27891 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27892 Maxim Kuvyrkov <maxim@codesourcery.com>
27893 Joseph Myers <joseph@codesourcery.com>
27895 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27896 if needed for __stack_chk_guard.
27898 2011-09-19 Roland McGrath <roland@hack.frob.com>
27900 * sysdeps/posix/spawni.c (script_execute): Always define it.
27901 It will be optimized away if unused.
27902 (maybe_script_execute): New function.
27903 (__spawni): Call it.
27905 * Makerules: Don't include tls.make.
27906 (config-tls): Always set to thread.
27907 * tls.make.c: File removed.
27909 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27911 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27912 * config.make.in (CPPFLAGS-config): New substituted variable.
27914 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27919 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27920 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27922 2011-09-15 Roland McGrath <roland@hack.frob.com>
27924 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27925 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27927 (CALL_FAIL): Likewise.
27928 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27929 (CALL_FAIL): Macro removed.
27930 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27932 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27934 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27935 for __FINITE_MATH_ONLY__ == 1.
27937 2011-09-15 Andreas Schwab <schwab@redhat.com>
27939 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27940 __ieee754_sqrt instead of sqrt.
27941 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27942 __ieee754_sqrtf instead of sqrtf.
27943 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27944 __floorf instead of floorf.
27945 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27946 __floorf, __truncf instead of floorf, truncf.
27948 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27950 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27952 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27953 __extern_always_inline.
27954 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27957 2011-09-14 Andreas Schwab <schwab@redhat.com>
27959 * elf/rtld.c (dl_main): Also relocate in dependency order when
27960 doing symbol dependency testing.
27962 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27965 Always define `refsym'.
27967 2011-09-13 Andreas Schwab <schwab@redhat.com>
27969 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27970 (__FD_ELT): Renamed from __FDELT.
27971 * misc/bits/select2.h (__FD_ELT): Likewise.
27972 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27973 __FD_MASK instead of __FDELT, __FDMASK.
27974 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27976 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27979 * elf/Makefile (gen-ldd): Fix pattern.
27981 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27982 (init_tls): Likewise.
27984 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27988 2011-09-12 Andreas Schwab <schwab@redhat.com>
27990 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27991 `struct cmsghdr *' instead of `void *'.
27992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27995 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27997 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27999 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28000 ldd_rewrite_script.
28002 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28004 * configure.in: Remove --with-tls option.
28005 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28006 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28007 out in case it is missing.
28008 * sysdeps/ia64/elf/configure.in: Likewise.
28009 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28010 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28011 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28012 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28013 * sysdeps/sh/elf/configure.in: Likewise.
28014 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28015 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28016 * sysdeps/x86_64/elf/configure.in: Likewise.
28017 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28018 * sysdeps/mach/hurd/tls.h: Likewise.
28021 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28024 * configure.in: Fix use of AC_INIT.
28026 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28028 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28030 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28032 * malloc/hooks.c: Likewise.
28035 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28036 variables statically.
28037 (narenas): Initialize.
28038 (list_lock): Initialize.
28039 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28040 initializtion of main_arena and list_lock. Small cleanups.
28041 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28042 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28043 Add initializers to main_arena and mp_.
28044 (malloc_state): Remove pagesize member. Change all users to use
28047 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28048 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28049 is always initialized.
28051 * malloc/malloc.c: Removed unused configurations and dead code.
28052 * malloc/arena.c: Likewise.
28053 * malloc/hooks.c: Likewise.
28054 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28056 * include/tls.h: Removed. USE___THREAD must always be defined.
28057 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28058 * elf/dl-libc.c: Likewise.
28059 * elf/dl-tsd.c: Likewise.
28060 * include/errno.h: Likewise.
28061 * include/netdb.h: Likewise.
28062 * include/resolv.h: Likewise.
28063 * inet/herrno-loc.c: Likewise.
28064 * inet/herrno.c: Likewise.
28065 * malloc/arena.c: Likewise.
28066 * malloc/hooks.c: Likewise.
28067 * malloc/malloc.c: Likewise.
28068 * resolv/res-state.c: Likewise.
28069 * resolv/res_libc.c: Likewise.
28070 * sysdeps/i386/dl-machine.h: Likewise.
28071 * sysdeps/ia64/dl-machine.h: Likewise.
28072 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28073 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28074 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28075 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28076 * sysdeps/sh/dl-machine.h: Likewise.
28077 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28078 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28079 * sysdeps/unix/i386/sysdep.S: Likewise.
28080 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28081 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28086 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28091 * sysdeps/x86_64/dl-machine.h: Likewise.
28092 * tls.make.c: Likewise.
28094 * configure.in: Remove --with-__thread option. Make tests for
28095 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28096 tls_model attribute fail if no support is available. Remove
28098 * Makeconfig: Adjust for dropped configure option. All features are
28100 * Makerules: Likewise.
28101 * Versions.def: Likewise.
28102 * argp/argp-fmtstream.c: Likewise.
28103 * argp/argp-fmtstream.h: Likewise.
28104 * argp/argp-help.c: Likewise.
28105 * assert/assert.c: Likewise.
28106 * config.h.in: Likewise.
28107 * config.make.in: Likewise.
28108 * configure: Likewise.
28109 * configure.in: Likewise.
28110 * csu/Versions: Likewise.
28111 * csu/init.c: Likewise.
28112 * elf/tst-audit2.c: Likewise.
28113 * elf/tst-tls10.c: Likewise.
28114 * elf/tst-tls10.h: Likewise.
28115 * elf/tst-tls11.c: Likewise.
28116 * elf/tst-tls12.c: Likewise.
28117 * elf/tst-tls14.c: Likewise.
28118 * elf/tst-tlsmod11.c: Likewise.
28119 * elf/tst-tlsmod12.c: Likewise.
28120 * elf/tst-tlsmod13.c: Likewise.
28121 * elf/tst-tlsmod13a.c: Likewise.
28122 * elf/tst-tlsmod14a.c: Likewise.
28123 * elf/tst-tlsmod15b.c: Likewise.
28124 * elf/tst-tlsmod16a.c: Likewise.
28125 * elf/tst-tlsmod16b.c: Likewise.
28126 * elf/tst-tlsmod7.c: Likewise.
28127 * elf/tst-tlsmod8.c: Likewise.
28128 * elf/tst-tlsmod9.c: Likewise.
28129 * gmon/gmon.c: Likewise.
28130 * grp/fgetgrent_r.c: Likewise.
28131 * grp/putgrent.c: Likewise.
28132 * hurd/fopenport.c: Likewise.
28133 * include/libc-symbols.h: Likewise.
28134 * include/tls.h: Likewise.
28135 * intl/gettextP.h: Likewise.
28136 * intl/loadinfo.h: Likewise.
28137 * locale/global-locale.c: Likewise.
28138 * locale/localeinfo.h: Likewise.
28139 * mach/devstream.c: Likewise.
28140 * malloc/arena.c: Likewise.
28141 * malloc/set-freeres.c: Likewise.
28142 * misc/err.c: Likewise.
28143 * misc/getttyent.c: Likewise.
28144 * misc/mntent_r.c: Likewise.
28145 * posix/getopt.c: Likewise.
28146 * posix/wordexp.c: Likewise.
28147 * pwd/fgetpwent_r.c: Likewise.
28148 * resolv/Versions: Likewise.
28149 * resolv/res_hconf.c: Likewise.
28150 * shadow/fgetspent_r.c: Likewise.
28151 * shadow/putspent.c: Likewise.
28152 * stdio-common/printf_fphex.c: Likewise.
28153 * stdio-common/tmpfile.c: Likewise.
28154 * stdlib/abort.c: Likewise.
28155 * stdlib/fmtmsg.c: Likewise.
28156 * sunrpc/auth_unix.c: Likewise.
28157 * sunrpc/clnt_perr.c: Likewise.
28158 * sunrpc/clnt_tcp.c: Likewise.
28159 * sunrpc/clnt_udp.c: Likewise.
28160 * sunrpc/clnt_unix.c: Likewise.
28161 * sunrpc/openchild.c: Likewise.
28162 * sunrpc/svc_simple.c: Likewise.
28163 * sunrpc/svc_tcp.c: Likewise.
28164 * sunrpc/svc_udp.c: Likewise.
28165 * sunrpc/svc_unix.c: Likewise.
28166 * sunrpc/xdr.c: Likewise.
28167 * sunrpc/xdr_array.c: Likewise.
28168 * sunrpc/xdr_rec.c: Likewise.
28169 * sunrpc/xdr_ref.c: Likewise.
28170 * sunrpc/xdr_stdio.c: Likewise.
28172 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28174 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28176 2011-07-03 Andreas Jaeger <aj@suse.de>
28178 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28179 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28180 regenerate with gen-libm-tests.pl.
28182 2010-05-12 Petr Baudis <pasky@suse.cz>
28185 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28186 around j0() zero points by switching to j1().
28187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28192 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28194 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28199 Patch in part by Pavel Roskin <proski@gnu.org>.
28202 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28204 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28205 Free memory block if necessary.
28208 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28209 be NULL. Don't lock in this case.
28211 2011-09-09 Roland McGrath <roland@hack.frob.com>
28213 * elf/elf.h (ELFOSABI_GNU): New macro.
28214 (ELFOSABI_LINUX): Define to that.
28216 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28218 * string/strncat.c (strncat): Undef the symbol in case it has been
28219 defined in bits/string.h.
28221 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28223 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28225 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28228 2011-08-17 Andreas Jaeger <aj@suse.de>
28230 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28232 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28233 Ian Lance Taylor <iant@google.com>
28235 * math/libm-test.inc (lround_test): New testcase.
28236 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28238 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28240 * Makefile: Remove support for automatic cvs check-ins.
28241 * Makerules: Likewise.
28242 * config.make.in: Likewise.
28243 * configure.in: Likewise.
28244 * intl/Makefile: Likewise.
28245 * locale/Makefile: Likewise.
28246 * po/Makefile: Likewise.
28247 * posix/Makefile: Likewise.
28248 * sysdeps/gnu/Makefile: Likewise.
28249 * sysdeps/mach/hurd/Makefile: Likewise.
28250 * sysdeps/sparc/sparc32/Makefile: Likewise.
28253 * posix/Makefile (bug-regex32-ENV): Define.
28254 Patch by John Stanley <jpsinthemix@verizon.net>.
28256 * misc/Makefile (headers): Add bits/select2.h.
28257 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28258 * misc/bits/select2.h: New file.
28259 * include/bits/select2.h: New file.
28260 * debug/Makefile (routines): Add fdelt_chk.
28261 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28262 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28264 * debug/fdelt_chk.c: New file.
28266 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28267 * wcsmbs/test-wmemcmp.c: Likewise.
28268 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28269 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28271 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28273 * string/Makefile (strop-tests): Add memcmp.
28274 * string/test-wmemcmp.c: New file.
28275 * string/test-memcmp.c: Add wmemcmp support.
28277 2011-09-08 Roland McGrath <roland@hack.frob.com>
28280 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28283 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28284 garbage value in a __mach_port_mod_refs call in the cases of the
28285 task-self and thread-self ports.
28287 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28289 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28291 2011-09-08 Andreas Schwab <schwab@redhat.com>
28293 * elf/dl-load.c (lose): Check for non-null L.
28295 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28297 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28299 * elf/dl-libc.c (dlerror_run): Pass back error code from
28303 * elf/dl-load.c (lose): Free l_origin if it is valid.
28305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28312 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28314 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28316 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28317 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28319 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28320 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28321 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28322 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28323 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28324 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28325 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28327 2011-08-15 Alan Modra <amodra@gmail.com>
28330 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28331 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28332 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28333 ppc_mcount to static-only-routines.
28334 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28336 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28337 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28339 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28342 for finite and infinity parameters.
28344 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28347 and add nop instructions for throughput optimization.
28348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28350 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28352 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28353 aligned copy for power7 with vector-scalar instructions.
28354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28356 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28361 2011-09-07 Andreas Schwab <schwab@redhat.com>
28364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28367 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28369 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28370 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28371 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28372 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28375 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28378 Forgot to demangle the pointer.
28380 * sysdeps/i386/sysdep.h: Define atom_text_section.
28381 * sysdeps/x86_64/sysdep.h: Likewise.
28382 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28383 section with atom_text_section.
28384 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28386 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28392 already be defined. Change to take two parameters and don't assign
28393 result to variable. Adjust all users.
28394 Define INTERNAL_GETTIME if not already defined.
28395 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28398 HAVE_CLOCK_GETTIME_VSYSCALL.
28399 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28402 gettimeofday vsyscall, just use time.
28404 2011-09-06 Andreas Schwab <schwab@redhat.com>
28406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28409 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28411 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28415 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28417 syscall if possible.
28419 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28421 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28422 e_ident. Don't pass to find_mapsXX.
28423 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28425 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28428 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28429 * sysdeps/x86_64/multiarch/strchr.S: Update.
28430 Check bit_slow_BSF bit.
28431 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28433 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28435 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28438 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28440 (tryshell): Define.
28441 (__spawni): Change last parameter to be flag. Test
28442 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28443 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28444 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28445 * posix/spawni.c: Likewise.
28446 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28447 * posix/spawnp.c: Likewise. Change normal version to use
28448 SPAWN_XFLAGS_USE_PATH.
28449 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28450 SPAWN_XFLAGS_TRY_SHELL.
28453 * posix/glob.h: Remove gcc 1.x support.
28456 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28458 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28461 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28463 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28464 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28465 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28467 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28468 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28470 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28472 * sysdeps/x86_64/wcscmp.S: New file.
28474 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28475 wcscmp-c wcscmp-sse2
28476 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28477 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28478 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28479 * wcsmbs/wcscmp.c: Allow renaming.
28481 2011-09-05 David S. Miller <davem@davemloft.net>
28483 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28484 stack slot, rather than the struct return pointer slot.
28485 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28486 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28490 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28492 * po/ja.po: Update from translation team.
28495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28496 kernel in 64-bit binaries.
28498 2011-09-01 David S. Miller <davem@davemloft.net>
28500 * elf/elf.h (HWCAP_SPARC_*): Move to..
28501 * sysdeps/sparc/sysdep.h: this new file and add new values.
28502 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28503 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28504 _DL_HWCAP_COUNT to 24.
28505 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28507 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28508 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28509 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28511 instead of magic constants.
28512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28514 2011-08-31 David S. Miller <davem@davemloft.net>
28516 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28518 Reimplement to do errno handling inline.
28519 (SYSCALL_ERROR_HANDLER): New macro.
28520 (__SYSCALL_STRING): Do not do errno handling in asm.
28521 (__CLONE_SYSCALL_STRING): Delete.
28522 (__INTERNAL_SYSCALL_STRING): Delete.
28523 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28524 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28525 (PSEUDO): Reimplement to do errno handling inline.
28526 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28527 (SYSCALL_ERROR_HANDLER): New macro.
28528 (__SYSCALL_STRING): Do not do errno handling in asm.
28529 (__CLONE_SYSCALL_STRING): Delete.
28530 (__INTERNAL_SYSCALL_STRING): Delete.
28531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28532 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28534 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28535 (inline_syscall*): Add 'err' argument.
28536 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28537 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28538 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28539 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28541 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28542 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28544 2011-08-30 Andreas Schwab <schwab@redhat.com>
28546 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28548 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28550 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28553 2011-08-24 David S. Miller <davem@davemloft.net>
28555 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28557 2011-08-24 Andreas Schwab <schwab@redhat.com>
28559 * elf/Makefile: Add rules to build and run unload8 test.
28560 * elf/unload8.c: New file.
28561 * elf/unload8mod1.c: New file.
28562 * elf/unload8mod1x.c: New file.
28563 * elf/unload8mod2.c: New file.
28564 * elf/unload8mod3.c: New file.
28566 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28569 2011-08-23 David S. Miller <davem@davemloft.net>
28571 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28572 subtract stack bias.
28573 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28574 %sp not %fp in calculations.
28575 (_JMPBUF_UNWINDS_ADJ): Likewise.
28577 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28578 (aio_suspend): Call it to force an exception region around the
28579 AIO_MISC_WAIT() invocation.
28581 2011-08-23 Andreas Schwab <schwab@redhat.com>
28583 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28586 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28588 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28590 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28591 and <dl-machine.h>.
28592 (Elf64_FuncDesc): Remove.
28594 2011-08-22 David S. Miller <davem@davemloft.net>
28596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28597 sigaltstack check, add missing cfi directives.
28598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28599 missing cfi directives, and sigaltstack handling.
28601 2011-08-16 Andreas Schwab <schwab@redhat.com>
28604 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28605 object is seen twice.
28606 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28608 * elf/Makefile (distribute): Add tst-initorder2.c.
28609 (tests): Add tst-initorder2.
28610 (modules-names): Add tst-initorder2a tst-initorder2b
28611 tst-initorder2c tst-initorder2d. Add rules to build them.
28612 ($(objpfx)tst-initorder2.out): New rule.
28613 * elf/tst-initorder2.c: New file.
28614 * elf/tst-initorder2.exp: New file.
28616 2011-08-22 Andreas Schwab <schwab@redhat.com>
28618 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28620 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28621 dependencies back to end of function.
28623 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28624 $(elfobjdir)/ld.so.
28626 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28629 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28631 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28632 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28633 of __vdso_gettimeofday.
28634 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28635 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28637 (_libc_vdso_platform_setup): Remove initialization of
28638 __vdso_gettimeofday and __vdso_time.
28640 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28642 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28643 and fgetc_unlocked.
28644 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28647 * elf/dl-open.c (add_to_global): Report additions to the global scope
28648 for LD_DEBUG=scopes.
28649 (dl_open_worker): Also print scope of newly loaded dependencies.
28650 (_dl_show_scope): Indicate if there is no scope.
28653 * stdio-common/Makefile (tests): Add bug24.
28654 * stdio-common/bug24.c: New file.
28656 2011-08-19 Andreas Jaeger <aj@suse.de>
28659 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28660 non-existant file when using close-on-exec mode.
28662 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28665 the very first instruction.
28667 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28668 the CFI state in the end.
28669 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28670 inclusion of dl-trampoline.h.
28671 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28673 2011-08-19 Andreas Schwab <schwab@redhat.com>
28675 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28676 expectations for long double.
28678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28679 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28681 2011-08-14 David S. Miller <davem@davemloft.net>
28683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28684 artificual limit depends upon the system page size.
28686 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28688 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28689 * resolv/Makefile: Define CFLAGS-libresolv.
28691 2011-08-17 Andreas Schwab <schwab@redhat.com>
28693 * nss/makedb.c (compute_tables): Make variables used in nested
28696 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28698 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28699 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28700 if buffer was too small.
28702 * elf/pldd.c (main): Attach to all threads in the process.
28703 Rewrite /proc handling to use *at functions.
28705 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28707 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28708 specifies first scope to show.
28709 (dl_open_worker): Update callers. Move printing scope of new
28710 object to before the relocation.
28711 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28712 * sysdeps/generic/ldsodefs.h: Update declaration.
28714 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28715 string for the scope number.
28717 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28719 * nscd/servicescache.c (cache_addserv): Make sure written is always
28722 2011-08-14 Roland McGrath <roland@hack.frob.com>
28724 * sysdeps/i386/i486/bits/atomic.h
28725 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28726 statement expression, so as to suppress "set but not used" warning.
28727 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28729 * string/strncat.c (STRNCAT): Use prototype definition.
28731 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28732 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28734 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28735 (localedef-modules): Add localedef.
28736 (locale-modules): Add locale.
28738 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28739 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28740 to avoid a warning.
28742 2011-08-14 David S. Miller <davem@davemloft.net>
28744 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28745 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28747 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28749 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28750 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28751 * elf/rtld.c (dl_main): Set l_name of vDSO.
28752 Call _dl_show_scope when DL_DEBUG_SCOPES.
28753 (process_dl_debug): Recognize scopes flag and also set it for all.
28754 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28755 Declare _dl_show_scope.
28757 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28758 (do_dlopen): Pass caller_dlopen to dl_open.
28759 (__libc_dlopen_mode): Initialize caller_dlopen.
28761 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28762 of libc. Make tolower call locale-independent. Optimize a bit by
28763 using isdigit instead of isalnum.
28764 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28766 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28768 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28769 was a dependency or dynamically loaded.
28771 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28773 * intl/l10nflist.c: Allow architecture-specific pop function.
28774 * sysdeps/x86_64/l10nflist.c: New file.
28776 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28779 2011-08-10 Andreas Schwab <schwab@redhat.com>
28781 * include/dirent.h: Add libc_hidden_proto for scandirat and
28782 scandirat64. Don't declare __scandirat64.
28783 * dirent/scandirat.c: Add libc_hidden_def.
28784 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28785 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28787 2011-08-10 David S. Miller <davem@davemloft.net>
28789 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28791 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28795 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28797 * Versions.def [libc]: Add GLIBC_2.15.
28798 * dirent/Makefile (routines): Add scandirat and scandirat64.
28799 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28801 * dirent/dirent.h: Declare scandirat and scandirat64.
28802 * dirent/scandirat.c: New file.
28803 * dirent/scandirat64.c: New file.
28804 * sysdeps/wordsize-64/scandirat.c: New file.
28805 * sysdeps/wordsize-64/scandirat64.c: New file.
28806 * dirent/opendir.c: Define opendirat.
28807 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28809 * dirent/scandir64.c: Adjust for scandir.c change.
28810 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28811 __scandirat64, and __scandir_cancel_handler.
28812 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28813 additional parameter and use openat instead of open (outside of ld.so).
28814 Add new __opendir as wrapper around __opendirat.
28815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28816 here without requiring old scandirat implementation.
28818 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28820 * dirent/scandir.c (cancel_handler): Renamed to
28821 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28822 defined. Adjust users.
28823 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28826 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28828 * string/test-string.h (IMPL): Use __STRING to expand name and then
28831 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28834 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28836 * string/Makefile: Update.
28837 (strop-tests): Append strncat.
28838 * string/test-wcscmp.c: New file.
28839 New comprehensive test for wcscmp.
28840 * string/test-strcmp.c: Update.
28841 (WIDE): New define.
28843 2011-07-22 Andreas Schwab <schwab@redhat.com>
28845 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28848 2011-07-26 Andreas Schwab <schwab@redhat.com>
28850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28851 encoding to ACE if AI_IDN.
28853 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28856 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28858 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28861 Fix overflow bug in strncat.
28862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28864 * string/test-strncat.c: Update.
28865 Add new tests for checking overflow bugs.
28867 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28870 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28871 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28872 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28874 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28875 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28876 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28877 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28880 (USE_AS_STRCAT): Define.
28881 Add strcat and strncat support.
28882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28884 2011-07-25 Andreas Schwab <schwab@redhat.com>
28886 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28887 __n bigger than INT_MAX+1.
28888 (__strncmp_g): Likewise.
28890 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28892 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28893 * libio/stido.h: Likewise.
28895 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28900 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28903 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28907 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28912 (_dl_x86_64_save_sse): Likewise.
28914 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28918 (_dl_x86_64_save_sse): Likewise.
28920 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28922 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28924 2011-07-21 Andreas Schwab <schwab@redhat.com>
28926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28928 (_dl_x86_64_save_sse): Use correct AVX check.
28930 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28933 bug in strncpy/strncat.
28934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28936 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28938 * string/tester.c (test_strcat): Add tests for different alignments
28939 of source and destination.
28940 (test_strncat): Likewise.
28942 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28945 * posix/glob.c (glob): Check passed in values before using them in
28946 expressions to avoid some overflows.
28947 (glob_in_dir): Likewise.
28950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28951 check for AVX enablement so that we don't crash with old kernels and
28953 * elf/tst-audit4.c: Add same checks here.
28954 * elf/tst-audit6.c: Likewise.
28956 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28958 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28960 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28962 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28964 * po/cs.po: Update from translation team.
28965 * po/bg.po: Likewise.
28967 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28969 * misc/sys/cdefs.h: Add support for const attribute.
28970 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28971 to gnu_dev_{major,minor,makedev} functions.
28973 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28975 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28977 2011-07-20 Andreas Schwab <schwab@redhat.com>
28979 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28982 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28985 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28986 register in order to avoid conflicts with the soft frame pointer
28987 being held in r11 when necessary.
28988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28989 (INTERNAL_VSYSCALL_NCS): Likewise.
28991 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28993 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28994 * elf/dl-fini.c (_dl_fini): Adjust caller.
28995 * elf/dl-close.c (_dl_close_worker): Likewise.
28996 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28998 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29000 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29001 "aux_cache->nlibs < 0".
29003 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29004 in the reload-count case.
29006 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29009 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29010 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29012 * sysdeps/x86_64/multiarch/strcat.S: New file.
29013 * sysdeps/x86_64/multiarch/strncat.S: New file.
29014 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29016 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29017 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29019 (USE_AS_STRCAT): Define.
29020 Add strcat and strncat support.
29021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29022 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29023 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29024 * string/strncat.c: Update.
29025 (USE_AS_STRNCAT): Define.
29026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29027 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29029 * sysdeps/x86_64/multiarch/init-arch.h
29030 (bit_Prefer_PMINUB_for_stringop): New.
29031 (index_Prefer_PMINUB_for_stringop): Likewise.
29032 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29033 bit_Prefer_PMINUB_for_stringop.
29035 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29037 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29039 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29040 of casting of buffer.
29041 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29042 buffer32 and buffer64.
29043 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29044 writes instead of casting of buffer.
29045 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29047 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29050 2011-07-19 Andreas Schwab <schwab@redhat.com>
29052 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29054 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29056 * nscd/nscd.c (termination_handler): Don't do anything for a database
29057 if it has not yet been initialized.
29059 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29061 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29063 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29065 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29067 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29069 * po/nl.po: Update from translation team.
29070 * po/sv.po: Likewise.
29072 2011-07-16 Roland McGrath <roland@hack.frob.com>
29074 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29075 now disallowed by GCC.
29077 * configure.in (use-default-link): Default to yes if a test -shared
29078 link meets our qualifications.
29079 * configure: Regenerated.
29081 * config.make.in (output-format): New variable.
29082 * configure.in: Check for ld --print-output-format support.
29083 * configure: Regenerated.
29084 * Makerules ($(common-objpfx)format.lds)
29085 [$(output-format) != unknown]: Just use $(output-format),
29086 instead of the linker-script munging.
29088 2011-07-14 Roland McGrath <roland@hack.frob.com>
29090 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29091 of $(common-objpfx)shlib.lds.
29092 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29094 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29095 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29097 * configure.in (-z relro check): Adjust test code to add a large
29098 writable data section after it.
29099 * configure: Regenerated.
29101 2011-07-11 Roland McGrath <roland@hack.frob.com>
29103 * configure.in (-z relro check): Fix test code to make the variable
29105 * configure: Regenerated.
29107 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29109 * nscd/nscd.h (struct traced_file): Define.
29110 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29111 elements. Add traced_files.
29112 (inotify_fd): Declare.
29113 (register_traced_file): Declare.
29114 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29115 (inotify_fd): Export.
29116 (resolv_conf_descr): Remove.
29117 (nscd_init): Move inotify descriptor creation to main.
29118 Don't register files for notification here.
29119 (register_traced_file): New function.
29120 (invalidate_cache): Don't use reset_res to determine whether to call
29121 res_init, go through the list of registered files.
29122 (main_loop_poll): The inotify descriptors are now stored in the
29123 structures for the traced files.
29124 (main_loop_epoll): Likewise
29125 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29126 to __nss_disable_nscd.
29127 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29128 for a database anymore. Check the records for all the registered
29130 * nss/Makefile (libnss_files-routines): Add files-init.
29131 (libnss_db-routines): Add db-init.
29132 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29133 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29134 * nss/nss_db/db-init.c: New file.
29135 * nss/nss_files/files-init.c: New file.
29136 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29137 __nss_lookup_function.
29138 (__nss_lookup_function): Call nss_load_library.
29139 (nss_load_all_libraries): New function.
29140 (__nss_disable_nscd): Take parameter with callback function for files
29141 to register. Set is_nscd. Load all the DSOs for the NSS modules
29142 used for the cached services.
29143 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29144 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29145 options for features to all the files in nscd.
29147 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29149 2011-07-10 Roland McGrath <roland@hack.frob.com>
29151 * csu/elf-init.c (__libc_csu_init): Comment typo.
29153 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29155 * po/pl.po: Update from translation team.
29156 * po/ja.po: Likewise.
29157 * po/ru.po: Likewise.
29158 * po/ko.po: Likewise.
29159 * po/fr.po: Likewise.
29161 2011-07-09 Roland McGrath <roland@hack.frob.com>
29163 * configure.in (.ctors/.dtors header and trailer check):
29164 Use an empirical test on a built program.
29165 * configure: Regenerated.
29167 * configure.in (-z relro check): Use an empirical test on a built DSO.
29168 Detect, but do not require, on ia64.
29169 * configure: Regenerated.
29171 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29172 Update tests that use readelf to use $READELF instead.
29173 * configure: Regenerated.
29175 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29177 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29178 if the result is not used.
29180 2011-07-05 Andreas Jaeger <aj@suse.de>
29183 * stdlib/tst-strtod.c: Add testcase.
29185 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29187 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29188 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29189 The latter has a higher limit. Take additional parameter to pass to
29191 (__pathconf): Pass file to __statfs_link_max.
29192 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29194 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29198 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29199 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29202 (__statfs_filesize_max): Likewise.
29203 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29205 2011-07-05 Andreas Jaeger <aj@suse.de>
29207 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29209 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29211 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29213 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29216 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29218 * Makefile (strop-tests): Add strncat.
29219 * string/test-strncat.c: New file.
29221 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29223 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29225 2011-06-21 Andreas Jaeger <aj@suse.de>
29227 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29228 Copy rule from iconvdata/Makefile.
29230 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29233 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29234 but no long options are defined, just return 'W'.
29236 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29239 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29241 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29243 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29245 (innetgr): Likewise.
29247 2011-07-05 Roland McGrath <roland@hack.frob.com>
29249 * config.make.in (install_root): Default to $(DESTDIR).
29251 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29255 2011-07-02 Roland McGrath <roland@hack.frob.com>
29257 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29259 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29260 containing directory rather than embedding absolute directory names.
29262 * scripts/check-local-headers.sh: Rewritten using awk.
29263 Match by word, not by line. Print error messages for matches.
29264 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29266 * Makerules [shlib-lds-flags empty]:
29267 ($(common-objpfx)libc_pic.opts): New target.
29268 ($(common-objpfx)libc_pic.os.clean): New target.
29269 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29271 * config.make.in (OBJCOPY): New variable.
29272 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29273 * configure: Regenerated.
29275 * config.make.in (use-default-link): New variable.
29276 * configure.in (use_default_link): Grok --with-default-link to set it.
29277 * configure: Regenerated.
29278 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29279 (shlib-lds, shlib-lds-flags): Define to empty.
29281 * Makerules (shlib-lds): New variable.
29282 (shlib-lds-flags): New variable.
29283 (build-shlib, build-moduile, build-module-asneeded): Use it.
29284 ($(common-objpfx)libc.so): Use $(shlib-lds).
29285 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29286 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29288 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29289 DT_FLAGS/DT_FLAGS_1 with zero flags.
29291 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29292 linker script munging.
29294 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29296 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29298 * crypt/sha512.c (sha512_process_block): Perform total addition using
29299 128-bit if possible.
29300 (__sha512_finish_ctx): Likewise.
29301 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29303 * crypt/sha256.c (SWAP64): Define.
29304 (sha256_process_block): Perform total addition using 64-bit if
29306 (__sha256_finish_ctx): Likewise.
29308 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29310 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29312 * nscd/hstcache.c (cache_addhst): Likewise.
29313 * nscd/grpcache.c (cache_addgr): Likewise.
29314 * nscd/aicache.c (addhstaiX): Likewise
29315 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29317 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29319 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29321 * nscd/hstcache.c (cache_addhst): Likewise.
29322 * nscd/grpcache.c (cache_addgr): Likewise.
29323 * nscd/aicache.c (addhstaiX): Likewise
29325 2011-07-01 Andreas Schwab <schwab@redhat.com>
29327 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29328 domain only when needed.
29330 2011-06-30 Andreas Schwab <schwab@redhat.com>
29332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29333 is always restored.
29335 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29337 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29338 are re-adding the entry.
29339 * nscd/servicescache.c (cache_addserv): Likewise.
29341 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29343 * sysdeps/generic/dl-irel.h: fix protection against multiple
29345 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29347 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29350 * malloc/memusage.sh: Fix quoting in message.
29351 * debug/xtrace.sh: Likewise.
29353 * configure.in: Remove support for --experimental-malloc option, make
29355 * config.make.in: Likewise.
29356 * malloc/Makefile: Likewise.
29358 2011-06-27 Andreas Schwab <schwab@redhat.com>
29360 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29361 two-byte characters.
29363 2011-06-27 Roland McGrath <roland@hack.frob.com>
29365 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29366 AC_CACHE_CHECK invocation.
29367 * configure: Regenerated.
29369 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29371 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29374 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29375 bit from old_res_options.
29377 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29379 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29380 value type for setfct.
29382 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29384 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29385 __gettimeofday instead of gettimeofday.
29387 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29389 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29391 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29393 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29398 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29401 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29402 strcpy-sse2-unaligned strncpy-sse2-unaligned
29403 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29404 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29405 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29406 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29407 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29410 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29411 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29412 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29413 (STRCPY): Support SSE2 and SSSE3 versions.
29415 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29419 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29420 kernels which artificially limit size of requests.
29422 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29425 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29426 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29427 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29428 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29429 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29430 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29431 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29434 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29435 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29436 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29437 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29438 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29440 Enable unaligned load optimization for Intel Core i3, i5 and i7
29442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29444 (index_Fast_Unaligned_Load): Define.
29445 (HAS_FAST_UNALIGNED_LOAD): Define.
29447 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29449 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29451 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29455 until it is clear that the information is realy needed.
29456 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29458 2011-06-22 Andreas Schwab <schwab@redhat.com>
29460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29462 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29465 /sys/devices/system/cpu/online if it is usable.
29467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29468 reading the information from the /proc filesystem to once a second.
29470 2011-06-21 Andreas Jaeger <aj@suse.de>
29472 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29473 NULL after inclusion of kernel headers.
29475 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29477 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29478 calls to internal_setent.
29481 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29482 addresses using gethostbyname4_r ignore IPv4 addresses.
29484 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29485 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29487 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29489 2011-06-20 David S. Miller <davem@davemloft.net>
29491 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29493 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29495 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29496 (elf_irel): Use it.
29497 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29498 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29499 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29500 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29501 * sysdeps/x86_64/dl-irel.h: Likewise.
29503 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29504 * elf/dl-sym.c: Likewise.
29506 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29508 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29509 need to dereference resplen2.
29511 2011-06-14 Andreas Schwab <schwab@redhat.com>
29513 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29515 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29517 * Makeconfig: Define vardbdir and inst_vardbdir.
29518 * nss/Makefile: Add rules to install db-Makefile.
29520 * nss/nss_db/db-XXX.c: Cleanup.
29522 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29523 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29525 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29526 * nss/makedb.c: Implement -g option to specify that value strings
29527 are generated and should not be added to table iterated over for
29529 * nss/nss_db/db-initgroups.c: New file.
29531 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29534 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29535 (internal_getgrouplist): Adjust to name change.
29536 Update use_initgroups_entry if this is not the first call.
29537 * nss/databases.def: Add initgroups entry.
29539 * nss/makedb.c (compute_tables): Check result of multiple hash table
29540 sizes to minimize maximum chain length.
29542 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29544 * Versions.def: Add entry for libnss_db.
29545 * shlib-versions: Likewise.
29546 * nss/Makefile: Add rules to build libnss_db.
29547 * nss/Versions: Add libnss_db information. Organize libnss_files
29549 * nss/db-Makefile: Add gshadow support. Change rules for the new
29550 makedb progra. Some minor improvements to generate smaller files.
29551 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29553 * nss/makedb.c: ...here.
29554 Improve database format to be smaller and require less memory at
29556 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29558 * nss/nss_db/db-netgrp.c: Likewise.
29559 * nss/nss_db/db-open.c: Likewise.
29560 * nss/nss_files/flies-XXX.x: Adjust comments.
29561 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29562 * nss/nss_files/files-grp.c: Likewise.
29563 * nss/nss_files/files-hosts.c: Likewise.
29564 * nss/nss_files/files-network.c: Likewise.
29565 * nss/nss_files/files-proto.c: Likewise.
29566 * nss/nss_files/files-pwd.c: Likewise.
29567 * nss/nss_files/files-rpc.c: Likewise.
29568 * nss/nss_files/files-service.c: Likewise.
29569 * nss/nss_files/files-sgrp.c: Likewise.
29570 * nss/nss_files/files-spwd.c: Likewise.
29571 * nss/nss_db/db-alias.c: Removed.
29572 * nss/nss_db/dummy-db.h: Removed.
29574 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29576 * nss/makedb.c: Rewritten to not use database library.
29577 * nss/Makefile: Update to build new makedb program.
29579 2011-06-14 Andreas Jaeger <aj@suse.de>
29581 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29582 memset declaration.
29584 2011-06-10 Andreas Schwab <schwab@redhat.com>
29586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29589 2011-06-10 Roland McGrath <roland@hack.frob.com>
29591 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29592 * elf/Makefile ($(objpfx)ld.so): Likewise.
29594 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29595 Don't list ld.so twice in dependencies.
29597 * posix/bug-regex31.c: Include <stdlib.h>.
29599 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29601 * nis/nss_compat/compat-spwd.c
29602 (getspent_next_nss_netgr): Remove unused variable.
29603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29605 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29606 nonmembers" output to use the right array.
29608 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29610 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29612 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29613 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29614 * catgets/gencat.c (read_input_file): Likewise.
29615 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29618 variable definition inside #if's controlling its use.
29620 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29622 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29624 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29626 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29629 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29631 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29632 * configure: Regenerated.
29634 * Makerules: Revert last change.
29635 * elf/Makefile: Likewise.
29637 2011-06-09 Roland McGrath <roland@hack.frob.com>
29639 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29640 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29641 (reloc-link): Likewise.
29643 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29645 * elf/Makefile: Add rules to build pldd.
29646 * elf/pldd.c: New file.
29647 * elf/pldd-xx.c: New file.
29649 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29651 * version.h: Update for 2.15 development version.
29653 2011-06-07 David S. Miller <davem@davemloft.net>
29655 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29658 elf_machine_lazy_rel): Likewise.
29659 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29661 elf_machine_lazy_rel): Likewise.
29662 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29663 dl_hwcap via passed in argument.
29664 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29667 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29669 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29671 2011-06-06 Roland McGrath <roland@hack.frob.com>
29674 * manual/fdl-1.1.texi: New file, verbatim from:
29675 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29676 * manual/lgpl-2.1.texi: New file, verbatim from:
29677 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29678 * manual/Makefile (licenses): New variable, list those new file names.
29680 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29682 * manual/fdl.texi: File removed.
29683 * manual/lesser.texi: File removed.
29684 * manual/libc.texinfo (Copying, Documentation License):
29685 Use new @include file names, put @appendix directive before @include.
29687 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29690 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29691 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29692 (mq_open): Add __NTH.
29694 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29697 Assume Intel Core i3/i5/i7 processor if AVX is available.
29699 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29704 2011-05-31 Andreas Schwab <schwab@redhat.com>
29706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29707 memory. Use alloca_account. Fix memory leak when retrying.
29709 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29711 * version.h (RELEASE): Bump for 2.14 release.
29712 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29714 * config.make.in (RANLIB): Remove entry.
29716 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29718 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29719 (libc.pot): Work around missing support for .ksh extension in xgettext.
29722 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29723 if both request failed.
29724 (send_dg): In case of server errors clear resplen or *resplen2.
29727 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29728 when there are multiple maps.
29729 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29730 (_dl_fini): Remove test here.
29732 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29734 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29737 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29738 bit from old_res_options.
29739 (gaih_inet): Likewise.
29742 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29745 * resolv/res_init.c (res_setoptions): Make the code more compact.
29748 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29752 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29754 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29757 * malloc/malloc.h: Declare malloc hook variables as volatile.
29759 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29763 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29764 raise in the comment.
29765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29766 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29767 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29769 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29772 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29773 grow the buffers more if it already has to be sufficient.
29774 (build_wcs_upper_buffer): Likewise.
29775 * posix/regexec.c (check_matching): Likewise.
29776 (clean_state_log_if_needed): Likewise.
29777 (extend_buffers): Don't enlarge buffers beyond size of the input
29779 Patches mostly by Emil Wojak <emil@wojak.eu>.
29780 * posix/bug-regex32.c: New file.
29781 * posix/Makefile (tests): Add bug-regex32.
29783 * locale/findlocale.c (_nl_find_locale): Return right away if
29784 _nl_explode_name failed.
29785 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29789 * debug/xtrace.sh: Unify messages.
29790 * malloc/memusage.sh: Likewise.
29793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29794 time symbol from vDSO. Substitute with vsyscall if not available.
29795 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29798 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29799 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29800 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29801 Add sendmmsg and internal_sendmmsg.
29802 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29806 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29807 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29810 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29813 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29814 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29816 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29820 * iconvdata/Makefile (tests): Add bug-iconv9.
29821 * iconvdata/bug-iconv9.c: New file.
29823 2011-05-27 Andreas Schwab <schwab@redhat.com>
29826 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29828 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29831 (struct user_regs_struct): Change intcs field back to cs.
29833 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29835 * po/ja.po: Update from translation team.
29837 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29840 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29841 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29843 2011-05-20 Andreas Schwab <schwab@redhat.com>
29845 * stdlib/longlong.h: Update from GCC.
29847 2011-05-23 Andreas Schwab <schwab@redhat.com>
29849 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29851 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29852 Add parameter name.
29853 (__sysconf): Pass it down.
29855 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29858 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29861 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29862 add in in __libc_use_alloca calls. Adjust callers.
29863 (glob): Use malloc in some situations.
29865 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29866 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29869 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29871 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29872 and CLOCK_BOOTTIME_ALARM.
29875 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29878 * string/_strerror.c (__strerror_r): Print negative errors as signed
29882 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29883 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29884 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29886 * configure.in: Fix typo in redirection and correct removal of test
29887 files in two cases.
29890 * locale/setlocale.c (new_composite_name): Fix test to check for
29891 identical name of all categories.
29894 * libio/filedoalloc.c (local_isatty): New function.
29895 (_IO_file_doallocate): Use local_isatty.
29896 * stdio-common/perror.c (perror): In case a new stream is used
29897 forward the stream error.
29898 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29901 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29906 * include/alloca.h (extend_alloca_account): Define.
29909 * posix/regex.h: Fix comments with documentation of user-accessible
29910 fields after compilation and describe correct free'ing of pattern
29911 after re_compile_pattern.
29912 Patch by Reuben Thomas <rrt@sc3d.org>.
29914 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29916 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29917 and -mno-altivec to prevent the compiler from using Altivec and/or
29918 VSX instructions when the corresponding registers are not available.
29920 2011-05-19 Andreas Schwab <schwab@redhat.com>
29922 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29924 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29926 * libio/freopen.c (freopen): Use __dup2, not dup2.
29927 * libio/freopen64.c (freopen64): Likewise.
29929 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29932 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29933 * math/Makefile (tests): Add test-powl.
29934 (CFLAGS-test-powl.c): Define.
29935 * math/test-powl.c: New file.
29937 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29939 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29941 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29944 * iconvdata/gb18030.c: Update to GB18020-2005.
29946 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29948 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29949 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29950 Patch by Aharon Robbins <arnold@skeeve.com>.
29953 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29957 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29958 through underflows.
29961 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29962 point to strings before performing equality test for error_one_per_line
29966 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29970 (struct user_fpregs_struct): Avoid __uint*_t types.
29973 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29974 symbol info. Use it instead of calling _dl_addr locally.
29975 (lock_and_info): New function.
29976 (tr_freehook): Call lock_and_info and pass symbol info as additional
29977 parameter to tr_where.
29978 (tr_mallochook): Likewise.
29979 (tr_reallochook): Likewise.
29980 (tr_memalignhook): Likewise.
29982 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29983 used and couldn't be at all thread-safe.
29985 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29987 * libio/freopen.c (freopen): Don't close old file descriptor
29988 before the new one is opened. Instead dup the new file descriptor
29989 to the old one after the new stream is created.
29990 * libio/freopen64.c (freopen64): Likewise.
29991 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29992 * libio/fileops.c (_IO_new_file_close_it): Handle new
29993 _IO_FLAGS2_NOCLOSE flag.
29994 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29995 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29996 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29997 _IO_FLAGS2_NOCLOSE flag.
29998 * include/unistd.h: Add hidden_proto for dup3.
29999 Define __have_dup3.
30000 * io/dup3.c: Define hidden symbol.
30001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30004 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30005 when an incomplete long option is used.
30006 * posix/tst-getopt_long1.c: New file.
30007 * posix/Makefile (tests): Add tst-getopt_long1.
30010 * scripts/config.guess: Update from autoconf-2.68.
30011 * scripts/config.sub: Likewise.
30014 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30016 (has_cpuclock): ...this. New function.
30017 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30018 macro here based on has_cpuclock code.
30021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30022 First byte (not low byte) is now always NUL.
30023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30026 Use non-cancelable interfaces.
30029 * locale/iso-639.def: Add entry for Sorani.
30032 * include/stdlib.h: Move include protection to the right place.
30033 Define abort_msg_s. Declare __abort_msg with it.
30034 * stdlib/abort.c (__abort_msg): Adjust type.
30035 * assert/assert.c (__assert_fail_base): New function. Majority
30036 of code from __assert_fail. Allocate memory for __abort_msg with
30038 (__assert_fail): Now call __assert_fail_base.
30039 * assert/assert-perr.c: Remove bulk of implementation. Use
30040 __assert_fail_base.
30041 * include/assert.hL Declare __assert_fail_base.
30042 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30044 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30046 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30050 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30051 until all modules are registered in the DTV.
30052 * elf/Makefile: Add rules to build and run tst-tls19.
30053 * elf/tst-tls19.c: New file.
30054 * elf/tst-tls19mod1.c: New file.
30055 * elf/tst-tls19mod2.c: New file.
30056 * elf/tst-tls19mod3.c: New file.
30057 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30060 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30064 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30065 two-byte sequence errors.
30066 * iconvdata/Makefile (tests): Add bug-iconv8.
30067 * iconvdata/bug-iconv8.c: New file.
30070 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30073 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30076 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30077 (dummy_getcfa): New function.
30078 (init): Get _Unwind_GetCFA address, use dummy if not found.
30079 (backtrace_helper): In recursion check, also check whether CFA changes.
30080 (__backtrace): Completely initialize arg.
30082 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30083 storing incomplete byte sequence in state object. Avoid testing for
30084 guaranteed too small input if we know there is enough data available.
30086 2011-05-11 Andreas Schwab <schwab@redhat.com>
30088 * Makeconfig (+link-pie): Indent.
30089 * Rules (binaries-pie): Define if $(have-fpie) and
30091 (binaries-shared): Also filter out $(binaries-pie).
30092 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30093 * nscd/Makefile (others-pie): Add nscd.
30094 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30095 ($(objpfx)nscd): Remove command override.
30096 * login/Makefile (others-pie): Add pt_chown.
30097 ($(objpfx)pt_chown): Remove command override.
30098 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30099 remove command overrides.
30101 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30103 * libio/tst_putwc.c: Fix error messages.
30106 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30107 currently writing and seek to current position when not.
30108 * libio/Makefile (tests): Add bug-fclose1.
30109 * libio/bug-fclose1.c: New file.
30111 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30114 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30115 don't set DF_1_NODELETE here.
30116 (do_lookup_x): When entering new entry test for copy relocation
30117 and if necessary set DF_1_NODELETE flag.
30118 * elf/tst-unique4.cc: New file.
30119 * elf/tst-unique4.h: New file.
30120 * elf/tst-unique4lib.cc: New file.
30121 * elf/Makefile: Add rules to build and run tst-unique4.
30122 Patch by Piotr Bury <pbury@goahead.com>.
30124 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30127 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30130 * misc/mntent_r.c (addmntent): Flush the stream after the output
30133 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30134 (is_trusted_path_normalize): Skip initial colon. Append slash
30135 to empty buffer. Duplicate is_trusted_path code but allow
30136 constructed patch to be prefix.
30137 (is_dst): Allow $ORIGIN followed by /.
30138 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30139 Correct testing of result of is_trusted_path_normalize
30140 (decompose_rpath): Fix warning.
30142 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30145 * grp/initgroups.c (internal_getgrouplist): When we found the service
30146 list through the initgroups entry in nsswitch.conf do not always
30147 continue on a successful lookup. Don't always use the
30148 __nss_group_database value if it is set.
30149 * nss/nsswitch.conf (initgroups): Change action for successful db
30150 lookup to continue for compatibility.
30152 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30155 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30157 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30159 * iconvdata/tst-tables.sh: Likewise.
30160 * iconvdata/cp770.c: New file.
30161 * iconvdata/cp771.c: New file.
30162 * iconvdata/cp772.c: New file.
30163 * iconvdata/cp773.c: New file.
30164 * iconvdata/cp774.c: New file.
30165 * iconvdata/testdata/CP770: New file.
30166 * iconvdata/testdata/CP770..UTF8: New file.
30167 * iconvdata/testdata/CP771: New file.
30168 * iconvdata/testdata/CP771..UTF8: New file.
30169 * iconvdata/testdata/CP772: New file.
30170 * iconvdata/testdata/CP772..UTF8: New file.
30171 * iconvdata/testdata/CP773: New file.
30172 * iconvdata/testdata/CP773..UTF8: New file.
30173 * iconvdata/testdata/CP774: New file.
30174 * iconvdata/testdata/CP774..UTF8: New file.
30176 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30178 * iconvdata/gen-8bit-gap.sh: Likewise.
30179 * iconvdata/gen-8bit.sh: Likewise.
30181 * locale/iso-639.def: Add ary entry.
30184 * locale/C-translit.h.in: Add U20A1 transliteration.
30187 * locale/iso-639.def: Add wae entry.
30188 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30191 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30195 * locale/C-translit.h.in: Add entry for U20B9.
30196 Patch by pravin.d.s@gmail.com.
30198 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30201 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30202 ENAMETOOLONG use generic getcwd.
30203 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30204 in rtld. Use *stat64.
30205 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30206 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30207 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30208 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30209 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30210 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30211 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30212 __fstatat64 macros.
30213 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30214 * dirent/rewinddir.c: Add libc_hidden_def.
30215 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30216 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30218 * include/dirent.h (__alloc_dir): Add flags parameter.
30219 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30220 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30222 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30223 from fdopendir if O_CLOEXEC is already set.
30225 2011-03-15 Alan Modra <amodra@gmail.com>
30227 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30228 l_tls_firstbyte_offset non-zero. Save padding offset in
30229 l_tls_firstbyte_offset for later use.
30230 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30231 freeing static tls block.
30233 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30235 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30236 where #ifdef was intended. The intent is to prevent ARG_MAX from
30237 being defined by the kernel headers.
30239 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30242 * resolv/resolv.h: Define RES_NOTLDQUERY.
30243 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30244 no-tld-query and set RES_NOTLDQUERY.
30245 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30246 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30247 modern BIND to search name as TLD unless forbidden.
30249 2011-05-07 Petr Baudis <pasky@suse.cz>
30250 Ulrich Drepper <drepper@gmail.com>
30253 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30254 (is_trusted_path): ...to here.
30255 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30256 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30257 using is_trusted_path_normalize() in setuid scripts.
30259 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30261 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30262 __BEGIN/__END_DECLS.
30264 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30267 NSS_STATUS_NOTFOUND if no record was found.
30269 2011-05-05 Andreas Schwab <schwab@redhat.com>
30271 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30272 (headers-not-in-tirpc): Remove rpc/netdb.h
30273 * resolv/netdb.h: Revert last change.
30275 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30277 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30278 circular dependency between libgcc.a and libc.a.
30280 2011-05-05 Andreas Schwab <schwab@redhat.com>
30282 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30283 * nis/Makefile: Don't install rpcsvc/*.
30284 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30285 instead of <rpc/types.h>.
30286 (MAXHOSTNAMELEN): Define.
30288 2011-05-03 Andreas Schwab <schwab@redhat.com>
30290 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30292 2011-04-28 Maciej Babinski <mbabinski@google.com>
30295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30296 gethostbyname4_r when IPv6 results are possible.
30298 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30301 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30302 _PC_PIPE_BUF handling.
30304 2011-04-30 Bruno Haible <bruno@clisp.org>
30307 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30308 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30310 * inet/getnameinfo.c (getnameinfo): Likewise.
30312 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30314 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30315 to groups setting in database lookup.
30316 * nss/nsswitch.conf: Add initgroups entry.
30318 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30321 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30323 Patch by Eric Blake <eblake@redhat.com>.
30325 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30327 * sunrpc/Makefile (need-export-routines): Add svc_run.
30328 (routines): Remove svc_run.
30329 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30330 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30331 * sunrpc/svc_run.c (svc_run): Likewise.
30332 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30334 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30337 problem in reallocation in last patch.
30339 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30341 * sunrpc/Makefile: Move inclusion of Rules.
30343 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30345 * nss/nss_files/files-initgroups.c: New file.
30346 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30347 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30348 _nss_files_initgroups_dyn.
30350 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30352 * elf/elf.h (R_ARM_IRELATIVE): Define.
30354 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30356 * po/ru.po: Update from translation team.
30358 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30360 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30363 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30366 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30367 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30372 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30374 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30380 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30385 * stdlib/bug-getcontext.c: New file.
30386 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30388 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30390 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30391 instructions into .machine "z9-109".
30392 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30393 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30395 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30397 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30398 between environment variables and auxiliary vector.
30400 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30402 * Makefile: Add rules to build linkobj/libc.so.
30403 * include/libc-symbols.h: Define libc_hidden_nolink.
30404 * include/rpc/auth.h: Mark functions which are to be hidden.
30405 * include/rpc/auth_des.h: Likewise.
30406 * include/rpc/auth_unix.h: Likewise.
30407 * include/rpc/clnt.h: Likewise.
30408 * include/rpc/des_crypt.h: Likewise.
30409 * include/rpc/key_prot.h: Likewise.
30410 * include/rpc/pmap_clnt.h: Likewise.
30411 * include/rpc/pmap_prot.h: Likewise.
30412 * include/rpc/pmap_rmt.h: Likewise.
30413 * include/rpc/rpc_msg.h: Likewise.
30414 * include/rpc/svc.h: Likewise.
30415 * include/rpc/svc_auth.h: Likewise.
30416 * include/rpc/xdr.h: Likewise.
30417 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30418 * nss/Makefile: Likewise.
30419 * sunrpc/Makefile: Don't install headers. Build library with normal
30420 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30421 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30422 for the compat linking library. Remove use of INTDEF/INTUSE.
30423 * sunrpc/auth_none.c: Likewise.
30424 * sunrpc/auth_unix.c: Likewise.
30425 * sunrpc/authdes_prot.c: Likewise.
30426 * sunrpc/authuxprot.c: Likewise.
30427 * sunrpc/clnt_gen.c: Likewise.
30428 * sunrpc/clnt_perr.c: Likewise.
30429 * sunrpc/clnt_raw.c: Likewise.
30430 * sunrpc/clnt_simp.c: Likewise.
30431 * sunrpc/clnt_tcp.c: Likewise.
30432 * sunrpc/clnt_udp.c: Likewise.
30433 * sunrpc/clnt_unix.c: Likewise.
30434 * sunrpc/des_crypt.c: Likewise.
30435 * sunrpc/des_soft.c: Likewise.
30436 * sunrpc/get_myaddr.c: Likewise.
30437 * sunrpc/key_call.c: Likewise.
30438 * sunrpc/key_prot.c: Likewise.
30439 * sunrpc/netname.c: Likewise.
30440 * sunrpc/pm_getmaps.c: Likewise.
30441 * sunrpc/pm_getport.c: Likewise.
30442 * sunrpc/pmap_clnt.c: Likewise.
30443 * sunrpc/pmap_prot.c: Likewise.
30444 * sunrpc/pmap_prot2.c: Likewise.
30445 * sunrpc/pmap_rmt.c: Likewise.
30446 * sunrpc/publickey.c: Likewise.
30447 * sunrpc/rpc_cmsg.c: Likewise.
30448 * sunrpc/rpc_common.c: Likewise.
30449 * sunrpc/rpc_dtable.c: Likewise.
30450 * sunrpc/rpc_prot.c: Likewise.
30451 * sunrpc/rpc_thread.c: Likewise.
30452 * sunrpc/rtime.c: Likewise.
30453 * sunrpc/svc.c: Likewise.
30454 * sunrpc/svc_auth.c: Likewise.
30455 * sunrpc/svc_authux.c: Likewise.
30456 * sunrpc/svc_raw.c: Likewise.
30457 * sunrpc/svc_run.c: Likewise.
30458 * sunrpc/svc_simple.c: Likewise.
30459 * sunrpc/svc_tcp.c: Likewise.
30460 * sunrpc/svc_udp.c: Likewise.
30461 * sunrpc/svc_unix.c: Likewise.
30462 * sunrpc/svcauth_des.c: Likewise.
30463 * sunrpc/xcrypt.c: Likewise.
30464 * sunrpc/xdr.c: Likewise.
30465 * sunrpc/xdr_array.c: Likewise.
30466 * sunrpc/xdr_float.c: Likewise.
30467 * sunrpc/xdr_intXX_t.c: Likewise.
30468 * sunrpc/xdr_mem.c: Likewise.
30469 * sunrpc/xdr_rec.c: Likewise.
30470 * sunrpc/xdr_ref.c: Likewise.
30471 * sunrpc/xdr_sizeof.c: Likewise.
30472 * sunrpc/xdr_stdio.c: Likewise.
30474 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30477 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30478 * sysdeps/ia64/dl-tls.h: Likewise.
30479 * sysdeps/powerpc/dl-tls.h: Likewise.
30480 * sysdeps/s390/dl-tls.h: Likewise.
30481 * sysdeps/sh/dl-tls.h: Likewise.
30482 * sysdeps/sparc/dl-tls.h: Likewise.
30483 * sysdeps/x86_64/dl-tls.h: Likewise.
30484 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30486 2011-03-14 Andreas Schwab <schwab@redhat.com>
30488 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30489 rpath element also skip the following colon.
30490 (expand_dynamic_string_token): Add is_path parameter and pass
30491 down to DL_DST_REQUIRED and _dl_dst_substitute.
30492 (decompose_rpath): Call expand_dynamic_string_token with
30493 non-zero is_path. Ignore empty rpaths.
30494 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30497 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30502 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30505 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30506 Patch by Filipe David Manana <fdmanana@apache.org>.
30508 2011-04-07 Andreas Schwab <schwab@redhat.com>
30510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30511 Maintain aligned stack.
30512 (CHECK_RSP): Remove unused macro.
30514 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30516 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30519 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30521 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30523 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30525 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30528 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30529 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30530 * sysdeps/x86_64/memmove.c: New file.
30531 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30532 (memcpy): Renamed to ...
30533 (__new_memcpy): This.
30534 (memcpy): Provide GLIBC_2_14 memcpy.
30535 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30536 (memcpy): Provide GLIBC_2_2_5 memcpy.
30538 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30541 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30543 2011-03-30 Andreas Schwab <schwab@redhat.com>
30545 * misc/syncfs.c: New file.
30546 * misc/Makefile (routines): Add syncfs.
30547 * posix/unistd.h: Declare syncfs.
30548 * sysdeps/unix/syscalls.list: Add syncfs.
30550 2011-04-01 Andreas Schwab <schwab@redhat.com>
30552 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30559 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30562 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30566 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30572 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30573 sync_file_range.c with -fexceptions.
30574 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30575 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30576 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30577 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30578 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30579 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30581 sync_file_range as cancellation point
30582 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30583 now a wrapper around __call_sync_file_range with cancellation handling.
30584 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30585 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30586 function name to __call_sync_file_range.
30587 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30588 Add call_sync_file_range.
30590 2011-04-01 Andreas Schwab <schwab@redhat.com>
30592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30595 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30597 * iconv/iconv.h: Fix typo in comment.
30598 * io/fcntl.h: Likewise.
30599 * libio/stdio.h: Likewise.
30600 * posix/spawn.h: Likewise.
30601 * posix/unistd.h: Likewise.
30602 * stdlib/stdlib.h: Likewise.
30603 * time/time.h: Likewise.
30604 * wcsmbs/wchar.h: Likewise.
30606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30607 open_by_handle): Add.
30608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30609 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30610 Augment a few comments.
30611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30616 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30619 * io/fcntl.h (AT_EMPTY_PATH): Define.
30621 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30623 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30624 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30625 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30627 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30628 * Versions.def: Add GLIBC_2.14.
30629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30632 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30638 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30641 * string/test-strncmp.c (do_page_test): New function.
30642 (check2): Likewise.
30643 (test_main): Call check2.
30644 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30646 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30649 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30650 Handle cache information in CPU leaf 4.
30651 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30653 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30656 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30657 character representation.
30658 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30660 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30662 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30663 END(__isnan) to END(__isnanf) to match function entry point/label
30664 EALIGN(__isnanf,...).
30666 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30668 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30670 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30673 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30674 copy from the symbol referenced in the relocation to initialize the
30676 Patch by Piotr Bury <pbury@goahead.com>.
30677 * elf/Makefile: Add rules to build and tst-unique3.
30678 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30679 * elf/tst-unique3.cc: New file.
30680 * elf/tst-unique3.h: New file.
30681 * elf/tst-unique3lib.cc: New file.
30682 * elf/tst-unique3lib2.cc: New file.
30684 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30686 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30688 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30689 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30692 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30694 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30695 to-be-loaded object along a path to loader is ld.so.
30697 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30698 Ulrich Drepper <drepper@gmail.com>
30700 * sysdeps/x86_64/memset.S: After aligning destination, code
30701 branches to different locations depending on the value of
30702 misalignment, when multiarch is enabled. Fix this.
30704 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30706 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30707 Set _x86_64_preferred_memory_instruction for AMD processsors.
30708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30709 Set bit_Prefer_SSE_for_memop for AMD processors.
30711 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30713 * libio/fmemopen.c (fmemopen): Optimize a bit.
30715 2011-03-03 Andreas Schwab <schwab@redhat.com>
30717 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30719 2011-03-03 Roland McGrath <roland@redhat.com>
30721 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30723 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30725 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30726 __bzero_ultra1 instead of __memset_ultra1.
30728 2011-02-23 Andreas Schwab <schwab@redhat.com>
30729 Ulrich Drepper <drepper@gmail.com>
30732 * include/link.h (struct link_map): Add l_orig_initfini.
30733 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30734 returning unsuccessfully.
30735 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30736 close of a file loaded at startup, restore the original l_initfini
30738 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30739 list, store the pointer.
30740 * elf/Makefile ($(objpfx)noload-mem): New rule.
30741 (noload-ENV): Define.
30742 (tests): Add $(objpfx)noload-mem.
30743 * elf/noload.c: Include <memcheck.h>.
30744 (main): Call mtrace. Close all opened handles.
30746 2011-02-17 Andreas Schwab <schwab@redhat.com>
30749 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30750 dependencies are missing.
30752 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30754 Fix __if_freereq crash: Unlike the generic version which uses free,
30756 * sysdeps/mach/hurd/ifreq.h: New file.
30758 2011-01-27 Petr Baudis <pasky@suse.cz>
30759 Ulrich Drepper <drepper@gmail.com>
30762 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30763 to extend_alloca().
30764 * stdio-common/bug23.c: New file.
30765 * stdio-common/Makefile (tests): Add bug23.
30767 2010-09-28 Andreas Schwab <schwab@redhat.com>
30768 Ulrich Drepper <drepper@gmail.com>
30771 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30772 before performing relro protection. At old place add assertion
30773 to make sure nothing changed.
30775 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30776 Glauber de Oliveira Costa <glommer@gmail.com>
30778 * elf/elf.h: Add new ARM TLS relocs.
30780 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30783 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30785 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30787 * sysdeps/wordsize-64/tst-writev.c: New file.
30789 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30791 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30792 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30793 insns in _dl_start to prevent a TOC reference before relocs are
30796 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30799 * Makeconfig: Remove RANLIB definition.
30800 * Makerules: Don't use RANLIB.
30801 * aclocal.m4: Remove ranlib test.
30802 * configure.in: No need to check for ranlib.
30803 * elf/rtld-Rules: Don't use RANLIB.
30805 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30807 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30809 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30810 inclusion protection macro.
30812 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30813 SIGRTMIN and SIGRTMAX and print information in that case only when
30814 SIGRTMIN is defined.
30816 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30818 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30819 arginfo fn returning -1.
30821 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30822 and thousands string is zero terminated.
30824 2011-02-03 Andreas Schwab <schwab@redhat.com>
30826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30827 sysdeps/unix/sysv/linux/bits/socket.h.
30829 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30831 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30832 (__CPU_COUNT): Remove old macros.
30833 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30834 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30835 (__CPU_ALLOC, __CPU_FREE): Add macros.
30836 (__sched_cpualloc, __sched_cpufree): Add declarations.
30838 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30840 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30841 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30842 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30843 (readdhstai): Return value of addhstaiX call.
30844 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30845 (addgrbyX): Return value returned by cache_addgr.
30846 (readdgrbyname): Return value returned by addgrbyX.
30847 (readdgrbygid): Likewise.
30848 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30849 (addpwbyX): Return value returned by cache_addpw.
30850 (readdpwbyname): Return value returned by addhstbyX.
30851 (readdpwbyuid): Likewise.
30852 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30853 (addservbyX): Return value returned by cache_addserv.
30854 (readdservbyname): Return value returned by addservbyX:
30855 (readdservbyport): Likewise.
30856 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30857 (addhstbyX): Return value returned by cache_addhst.
30858 (readdhstbyname): Return value returned by addhstbyX.
30859 (readdhstbyaddr): Likewise.
30860 (readdhstbynamev6): Likewise.
30861 (readdhstbyaddrv6): Likewise.
30862 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30863 (readdinitgroups): Return value returned by addinitgroupsX.
30864 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30865 (prune_cache): Keep track of timeout value of re-added entries.
30866 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30867 * nscd/nscd.h: Adjust prototypes of readd* functions.
30869 2011-02-04 Roland McGrath <roland@redhat.com>
30871 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30872 (nis_stats): Likewise.
30873 * nis/nis_modify.c (nis_modify): Likewise.
30874 * nis/nis_remove.c (nis_remove): Likewise.
30875 * nis/nis_add.c (nis_add): Likewise.
30877 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30879 * posix/fnmatch_loop.c: Add some consts.
30881 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30883 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30886 * config.make.in (config-cflags-novzeroupper): Define.
30887 * configure.in: Substitute libc_cv_cc_novzeroupper.
30888 * elf/Makefile (AVX-CFLAGS): Define.
30889 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30890 (CFLAGS-tst-auditmod4a.c): Likewise.
30891 (CFLAGS-tst-auditmod4b.c): Likewise.
30892 (CFLAGS-tst-auditmod6b.c): Likewise.
30893 (CFLAGS-tst-auditmod6c.c): Likewise.
30894 (CFLAGS-tst-auditmod7b.c): Likewise.
30895 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30897 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30899 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30900 function to the callback.
30901 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30903 2011-02-02 Andreas Schwab <schwab@redhat.com>
30905 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30908 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30911 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30913 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30915 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30918 * elf/Makefile: Add rules to build and run new test.
30919 * elf/tst-initorder.c: New file.
30920 * elf/tst-initorder.exp: New file.
30921 * elf/tst-initordera1.c: New file.
30922 * elf/tst-initordera2.c: New file.
30923 * elf/tst-initordera3.c: New file.
30924 * elf/tst-initordera4.c: New file.
30925 * elf/tst-initorderb1.c: New file.
30926 * elf/tst-initorderb2.c: New file.
30927 * elf/tst-order-a1.c: New file.
30928 * elf/tst-order-a2.c: New file.
30929 * elf/tst-order-a3.c: New file.
30930 * elf/tst-order-a4.c: New file.
30931 * elf/tst-order-b1.c: New file.
30932 * elf/tst-order-b2.c: New file.
30933 * elf/tst-order-main.c: New file.
30934 New test case by George Gensure <werkt0@gmail.com>.
30936 2010-10-01 Andreas Schwab <schwab@redhat.com>
30938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30939 decoding ACE if AI_CANONIDN.
30941 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30943 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30945 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30947 * version.h (RELEASE): Bump for 2.13 release.
30948 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30950 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30954 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30956 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30957 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30961 * posix/getconf.c: Update copyright year.
30962 * catgets/gencat.c: Likewise.
30963 * csu/version.c: Likewise.
30964 * debug/catchsegv.sh: Likewise.
30965 * debug/xtrace.sh: Likewise.
30966 * elf/ldconfig.c: Likewise.
30967 * elf/ldd.bash.in: Likewise.
30968 * elf/sprof.c (print_version): Likewise.
30969 * iconv/iconv_prog.c: Likewise.
30970 * iconv/iconvconfig.c: Likewise.
30971 * locale/programs/locale.c: Likewise.
30972 * locale/programs/localedef.c: Likewise.
30973 * malloc/memusage.sh: Likewise.
30974 * malloc/mtrace.pl: Likewise.
30975 * nscd/nscd.c (print_version): Likewise.
30976 * nss/getent.c: Likewise.
30978 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30979 PF_CAIF, and PF_ALG.
30980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30982 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30984 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30985 (modules-names): Use them.
30986 (ifunc-test-modules, ifunc-pie-tests): Define.
30987 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30988 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30989 (test-extras): Likewise.
30990 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30991 $(compile-command.c).
30992 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30993 (all-built-dso): Define.
30994 (check-textrel.out, check-execstack.out): Depend on it.
30996 * configure.in: Don't override --enable-multi-arch.
30998 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31001 * nscd/hstcache.c (tryagain): Define.
31002 (cache_addhst): Return tryagain not notfound for temporary errors.
31003 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31006 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31009 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31010 to make the syscall.
31011 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31014 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31015 and fall back to matching as normal character if the string ends before
31016 the matching ']' is found. This is what POSIX requires.
31017 * posix/testfnm.c: Adjust test result.
31018 * posix/globtest.sh: Adjust test result. Add new test.
31019 * posix/tst-fnmatch.input: Likewise.
31020 * posix/tst-fnmatch2.c: Add new test.
31022 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31024 * elf/Makefile (check-execstack): Revert last change. Depend on
31026 (check-execstack.h): New target.
31027 (generated): Add check-execstack.h.
31028 * elf/check-execstack.c: Include "check-execstack.h".
31029 (main): Revert last change.
31030 (handle_file): Return zero if GNU_STACK is absent and
31031 DEFAULT_STACK_PERMS doesn't include PF_X.
31033 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31035 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31036 in child fails because the descriptor is already closed.
31037 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31038 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31039 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31042 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31046 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31047 temporary buffer used to handle multi lookups locally.
31048 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31050 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31052 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31055 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31057 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31058 alignment for SSE2.
31060 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31063 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31064 characters. When rounding increased number of integer digits recompute
31066 * stdio-common/tst-grouping.c: New file.
31067 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31069 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31071 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31072 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31074 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31076 * bits/select.h: Likewise.
31078 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31080 * po/ja.po: Update from translation team.
31082 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31085 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31086 implementation just like for lxstat, fxstatat, et al.
31088 2010-12-27 Jim Meyering <meyering@redhat.com>
31091 * posix/regexec.c (build_trtable): Return failure indication upon
31092 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31094 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31097 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31098 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31103 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31106 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31107 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31109 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31111 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31112 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31113 script has SORT_BY_INIT_PRIORITY.
31114 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31115 NO_CTORS_DTORS_SECTIONS is defined.
31116 * elf/soinit.c: Likewise.
31117 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31118 NO_CTORS_DTORS_SECTIONS is defined.
31119 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31120 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31121 * sysdeps/sh/init-first.c: Likewise.
31122 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31124 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31126 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31127 always use the slow path.
31129 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31131 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31132 similar rule which adds the sysdep directories to the header search in
31133 order to pick up the correct platform stackinfo.h.
31134 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31135 perform test if it is, otherwise return successfully without testing.
31136 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31137 DEFAULT_STACK_PERMS define in stackinfo.h.
31138 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31139 defined in stackinfo.h.
31140 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31141 DEFAULT_STACK_PERMS defined in stackinfo.h.
31142 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31143 * sysdeps/ia64/stackinfo.h: Likewise.
31144 * sysdeps/s390/stackinfo.h: Likewise.
31145 * sysdeps/sh/stackinfo.h: Likewise.
31146 * sysdeps/sparc/stackinfo.h: Likewise.
31147 * sysdeps/x86_64/stackinfo.h: Likewise.
31148 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31149 PF_X for powerpc64. Retain PF_X for powerpc32.
31151 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31153 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31155 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31156 GETDENTS_64BIT_ALIGNED.
31158 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31160 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31162 2010-12-10 Andreas Schwab <schwab@redhat.com>
31164 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31168 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31170 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31171 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31173 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31176 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31179 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31181 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31183 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31185 * po/it.po: Update from translation team.
31187 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31192 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31194 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31196 2010-11-24 Andreas Schwab <schwab@redhat.com>
31198 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31200 (gaih_getanswer_slice): Likewise.
31202 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31206 2010-05-31 Petr Baudis <pasky@suse.cz>
31209 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31210 silently even in the chroot mode.
31212 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31214 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31215 last patch a bit. Pretty printing
31217 2010-05-31 Petr Baudis <pasky@suse.cz>
31220 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31221 initialization of skip_initgroups_dyn.
31223 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31228 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31230 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31232 2010-11-11 Andreas Schwab <schwab@redhat.com>
31234 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31235 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31236 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31237 ($(objpfx)tst-fnmatch-mem): New rule.
31238 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31239 * posix/tst-fnmatch.c (main): Call mtrace.
31241 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31244 Support Intel processor model 6 and model 0x2c.
31246 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31251 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31254 * string/test-strncasecmp.c (check_result): New function.
31255 (do_one_test): Use it.
31256 (check1): New function.
31257 (test_main): Use it.
31258 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31259 Support strcasecmp and strncasecmp.
31261 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31264 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31265 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31267 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31269 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31273 * sysdeps/x86_64/multiarch/bzero.S: New file.
31274 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31275 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31276 * sysdeps/x86_64/multiarch/memset.S: New file.
31277 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31279 Set bit_Prefer_SSE_for_memop for Intel processors.
31280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31282 (index_Prefer_SSE_for_memop): Define.
31283 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31285 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31288 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31290 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31293 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31294 (__x86_64_raw_data_cache_size_half): Likewise.
31295 (__x86_64_raw_shared_cache_size): Likewise.
31296 (__x86_64_raw_shared_cache_size_half): Likewise.
31298 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31299 (__x86_64_raw_data_cache_size_half): Likewise.
31300 (__x86_64_raw_shared_cache_size): Likewise.
31301 (__x86_64_raw_shared_cache_size_half): Likewise.
31302 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31303 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31304 and __x86_64_raw_shared_cache_size_half. Round
31305 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31306 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31307 to multiple of 256 bytes.
31309 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31313 of inacessible symlinks. Verify result of symlink before returning it.
31314 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31315 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31317 2010-10-28 Erich Ritz <erichritz@gmail.com>
31319 * math/math.h (isinf): Fix typo in comment.
31321 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31323 * po/da.po: Update from translation team.
31325 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31327 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31328 is added to the list.
31330 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31331 Ulrich Drepper <drepper@gmail.com>
31333 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31334 the global list here. Move code to...
31335 (_dl_add_to_namespace_list): ...here. New function.
31336 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31337 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31338 * elf/dl-load.c (lose): Don't remove the element from the list.
31339 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31340 (_dl_map_object): Likewise.
31342 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31345 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31346 into all bytes of SSE register.
31347 Patch by Richard Li <richardpku@gmail.com>.
31349 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31352 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31355 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31357 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31358 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31360 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31365 2010-10-22 Andreas Schwab <schwab@redhat.com>
31367 * include/dlfcn.h (__RTLD_SECURE): Define.
31368 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31369 mode & __RTLD_SECURE instead.
31370 (open_path): Rename preloaded parameter to secure.
31371 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31372 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31373 * elf/dl-deps.c (openaux): Likewise.
31374 * elf/rtld.c (struct map_args): Remove is_preloaded.
31375 (map_doit): Don't use it.
31376 (dl_main): Likewise.
31377 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31378 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31380 2010-09-09 Andreas Schwab <schwab@redhat.com>
31382 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31383 (sysd-rules-targets): Remove duplicates.
31384 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31385 rtld-%.$o dependency.
31387 2010-10-18 Andreas Schwab <schwab@redhat.com>
31389 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31390 _dl_map_object do it.
31392 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31394 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31395 fast fma builtins, define the macros in the C99 standard.
31396 (FP_FAST_FMAF): Likewise.
31397 (FP_FAST_FMAL): Likewise.
31398 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31400 * bits/mathdef.h: Update copyright year.
31401 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31403 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31405 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31406 builtins, define the macros in the C99 standard.
31407 (FP_FAST_FMAF): Likewise.
31408 (FP_FAST_FMAL): Likewise.
31409 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31411 (FP_FAST_FMAF): Likewise.
31413 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31416 * math/libm-test.inc (fma_test): Some new testcases.
31417 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31418 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31419 y and infinite z. Do multiplication by C already in long double.
31420 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31422 y and infinite z. Do bitwise or of inexact bit into u.d.
31423 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31424 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31425 * sysdeps/i386/fpu/s_fma.S: Removed.
31426 * sysdeps/i386/fpu/s_fmal.S: Removed.
31428 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31431 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31433 computation is not scheduled after fetestexcept. Fix value
31434 of minimum denormal long double.
31436 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31439 * math/libm-test.inc (fma_test): Add some more tests.
31440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31443 2010-10-15 Andreas Schwab <schwab@redhat.com>
31445 * scripts/data/localplt-s390-linux-gnu.data: New file.
31446 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31448 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31451 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31452 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31454 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31456 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31458 if one of x and y is very large and the other is subnormal.
31459 * sysdeps/s390/fpu/s_fmaf.c: New file.
31460 * sysdeps/s390/fpu/s_fma.c: New file.
31461 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31462 * sysdeps/powerpc/fpu/s_fma.S: New file.
31463 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31464 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31465 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31467 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31470 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31473 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31474 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31475 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31476 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31477 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31480 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31483 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31484 * posix/bug-regex31.input: Add test case.
31486 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31488 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31489 * posix/bug-regex31.input: New file.
31492 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31493 (parse_sub_exp): Fix last change, use postorder.
31495 * posix/bug-regex31.c: New file.
31496 * posix/Makefile: Add rules to build and run bug-regex31.
31498 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31501 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31504 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31505 to have entries in sys_siglist.
31508 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31511 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31514 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31515 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31516 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31517 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31518 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31519 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31520 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31521 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31522 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31523 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31524 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31525 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31526 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31527 * math/ftestexcept.c (fetestexcept): Likewise.
31528 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31529 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31530 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31531 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31532 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31533 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31536 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31539 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31542 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31544 * string/bug-strstr1.c: New file.
31545 * string/Makefile: Add rules to build and run bug-strstr1.
31547 2010-10-05 Eric Blake <eblake@redhat.com>
31550 * string/str-two-way.h (two_way_long_needle): Always clear memory
31551 when skipping input due to the shift table.
31553 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31556 * malloc/mcheck.c: Handle large requests.
31559 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31560 for strncmp and strncasecmp.
31561 * string/stratcliff.c: Add tests for strcmp and strncmp.
31562 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31564 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31566 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31569 2010-09-30 Andreas Jaeger <aj@suse.de>
31571 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31572 (CGROUP_SUPER_MAGIC): Define.
31573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31574 Handle btrfs and cgroup file systems.
31575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31578 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31580 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31581 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31583 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31586 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31587 trying to locate the ELF header.
31589 2010-09-27 Andreas Schwab <schwab@redhat.com>
31592 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31593 Mask out sign-bit copies when constructing f_fsid.
31595 2010-09-24 Petr Baudis <pasky@suse.cz>
31597 * debug/stack_chk_fail_local.c: Add missing licence exception.
31598 * debug/warning-nop.c: Likewise.
31600 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31603 implementing getdents64 using getdents syscall, set d_type if
31604 __ASSUME_GETDENTS32_D_TYPE.
31606 2010-09-16 Andreas Schwab <schwab@redhat.com>
31608 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31609 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31611 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31614 * posix/unistd.h: Undo change of feature selection for ftruncate from
31617 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31619 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31622 2010-09-20 Andreas Schwab <schwab@redhat.com>
31624 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31628 2010-09-14 Andreas Schwab <schwab@redhat.com>
31630 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31631 variables after CHECK_SP call.
31632 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31634 2010-09-13 Andreas Schwab <schwab@redhat.com>
31635 Ulrich Drepper <drepper@redhat.com>
31637 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31638 re-relocationg ld.so.
31639 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31640 _dl_init_paths call.
31641 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31644 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31646 * resolv/res_init.c (__res_vinit): Count the default server we added.
31648 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31649 Ulrich Drepper <drepper@redhat.com>
31652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31653 (____longjmp_chk): Use %ebx for saving value across system call.
31656 2010-09-06 Andreas Schwab <schwab@redhat.com>
31658 * manual/Makefile: Don't mix pattern rules with normal rules.
31660 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31662 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31664 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31665 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31666 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31667 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31671 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31674 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31675 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31677 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31679 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31680 * sysdeps/x86_64/addmul_1.S: Likewise.
31681 * sysdeps/x86_64/lshift.S: Likewise.
31682 * sysdeps/x86_64/mul_1.S: Likewise.
31683 * sysdeps/x86_64/rshift.S: Likewise.
31684 * sysdeps/x86_64/sub_n.S: Likewise.
31685 * sysdeps/x86_64/submul_1.S: Likewise.
31687 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31689 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31690 Define __sched_param instead of SCHED_* and sched_param when
31691 <bits/sched.h> is included with __need_schedparam defined.
31692 * bits/sched.h [__need_schedparam]
31693 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31694 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31695 (__defined_schedparam): Define to 1.
31696 (__sched_param): New structure, identical to sched_param.
31697 (__need_schedparam): Undefine.
31699 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31702 (epoll_create1): Declare.
31704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31706 2010-08-31 Andreas Schwab <schwab@redhat.com>
31709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31710 shifting retval into place.
31712 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31714 * nis/rpcsvc/nis.h: Update copyright notice.
31715 * nis/rpcsvc/nis.x: Likewise.
31716 * nis/rpcsvc/nis_callback.h: Likewise.
31717 * nis/rpcsvc/nis_callback.x: Likewise.
31718 * nis/rpcsvc/nis_object.x: Likewise.
31719 * nis/rpcsvc/nis_tags.h: Likewise.
31720 * nis/rpcsvc/yp.h: Likewise.
31721 * nis/rpcsvc/yp.x: Likewise.
31722 * nis/rpcsvc/ypupd.h: Likewise.
31723 * nis/yp_xdr.c: Likewise.
31724 * nis/ypupdate_xdr.c: Likewise.
31726 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31727 mainly the body of pmap_getport. Add parameters to specify timeouts.
31728 (pmap_getport): Use __libc_rpc_getport.
31729 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31730 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31731 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31733 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31738 2010-08-27 Roland McGrath <roland@redhat.com>
31740 * sysdeps/i386/i686/multiarch/Makefile
31741 (CFLAGS-varshift.c): New variable.
31743 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31745 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31746 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31750 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31752 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31754 * sysdeps/x86_64/strlen.S: Unroll the loop.
31755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31756 strlen-sse2 strlen-sse2-bsf.
31757 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31758 __strlen_no_bsf if bit_Slow_BSF is set.
31759 (__strlen_sse42): Removed.
31760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31761 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31763 2010-08-25 Roland McGrath <roland@redhat.com>
31765 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31766 * sysdeps/x86_64/multiarch/varshift.c: New file.
31767 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31768 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31769 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31770 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31772 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31775 strlen-sse2 strlen-sse2-bsf.
31776 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31777 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31778 (__strlen_sse2): Removed.
31779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31782 bit_Slow_BSF for Atom.
31783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31784 (index_Slow_BSF): Define.
31785 (HAS_SLOW_BSF): Define.
31787 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31790 * resolv/res_init.c (__res_vinit): When no server address at all
31791 is given default to loopback.
31793 2010-08-24 Roland McGrath <roland@redhat.com>
31795 * configure.in: Remove config-name.h generation.
31796 * configure: Regenerated.
31797 * config-name.in: File removed.
31798 * scripts/config-uname.sh: New file.
31799 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31800 ($(objdir)config-name.h): New target.
31802 * sunrpc/rpc_parse.h: Avoid nested comment.
31804 2010-08-24 Richard Henderson <rth@redhat.com>
31805 Ulrich Drepper <drepper@redhat.com>
31806 H.J. Lu <hongjiu.lu@intel.com>
31808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31810 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31811 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31812 _mm_alignr_epi8 with _mm_loadu_si128.
31813 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31814 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31815 (__m128i_shift_right): Removed.
31816 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31817 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31818 * sysdeps/x86_64/multiarch/varshift.h: New file.
31819 * sysdeps/x86_64/multiarch/varshift.S: New file.
31821 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31823 * configure.in: Move assembler checks to before sysdep dir checking.
31825 2010-08-20 Petr Baudis <pasky@suse.cz>
31827 * LICENSES: Sync the sunrpc license.
31829 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31831 * sunrpc/auth_des.c: Update copyright notice once again.
31832 * sunrpc/auth_none.c: Likewise.
31833 * sunrpc/auth_unix.c: Likewise.
31834 * sunrpc/authdes_prot.c: Likewise.
31835 * sunrpc/authuxprot.c: Likewise.
31836 * sunrpc/bindrsvprt.c: Likewise.
31837 * sunrpc/clnt_gen.c: Likewise.
31838 * sunrpc/clnt_perr.c: Likewise.
31839 * sunrpc/clnt_raw.c: Likewise.
31840 * sunrpc/clnt_simp.c: Likewise.
31841 * sunrpc/clnt_tcp.c: Likewise.
31842 * sunrpc/clnt_udp.c: Likewise.
31843 * sunrpc/clnt_unix.c: Likewise.
31844 * sunrpc/des_crypt.c: Likewise.
31845 * sunrpc/des_soft.c: Likewise.
31846 * sunrpc/get_myaddr.c: Likewise.
31847 * sunrpc/getrpcport.c: Likewise.
31848 * sunrpc/key_call.c: Likewise.
31849 * sunrpc/key_prot.c: Likewise.
31850 * sunrpc/openchild.c: Likewise.
31851 * sunrpc/pm_getmaps.c: Likewise.
31852 * sunrpc/pm_getport.c: Likewise.
31853 * sunrpc/pmap_clnt.c: Likewise.
31854 * sunrpc/pmap_prot.c: Likewise.
31855 * sunrpc/pmap_prot2.c: Likewise.
31856 * sunrpc/pmap_rmt.c: Likewise.
31857 * sunrpc/rpc/auth.h: Likewise.
31858 * sunrpc/rpc/auth_unix.h: Likewise.
31859 * sunrpc/rpc/clnt.h: Likewise.
31860 * sunrpc/rpc/des_crypt.h: Likewise.
31861 * sunrpc/rpc/key_prot.h: Likewise.
31862 * sunrpc/rpc/netdb.h: Likewise.
31863 * sunrpc/rpc/pmap_clnt.h: Likewise.
31864 * sunrpc/rpc/pmap_prot.h: Likewise.
31865 * sunrpc/rpc/pmap_rmt.h: Likewise.
31866 * sunrpc/rpc/rpc.h: Likewise.
31867 * sunrpc/rpc/rpc_des.h: Likewise.
31868 * sunrpc/rpc/rpc_msg.h: Likewise.
31869 * sunrpc/rpc/svc.h: Likewise.
31870 * sunrpc/rpc/svc_auth.h: Likewise.
31871 * sunrpc/rpc/types.h: Likewise.
31872 * sunrpc/rpc/xdr.h: Likewise.
31873 * sunrpc/rpc_clntout.c: Likewise.
31874 * sunrpc/rpc_cmsg.c: Likewise.
31875 * sunrpc/rpc_common.c: Likewise.
31876 * sunrpc/rpc_cout.c: Likewise.
31877 * sunrpc/rpc_dtable.c: Likewise.
31878 * sunrpc/rpc_hout.c: Likewise.
31879 * sunrpc/rpc_main.c: Likewise.
31880 * sunrpc/rpc_parse.c: Likewise.
31881 * sunrpc/rpc_parse.h: Likewise.
31882 * sunrpc/rpc_prot.c: Likewise.
31883 * sunrpc/rpc_sample.c: Likewise.
31884 * sunrpc/rpc_scan.c: Likewise.
31885 * sunrpc/rpc_scan.h: Likewise.
31886 * sunrpc/rpc_svcout.c: Likewise.
31887 * sunrpc/rpc_tblout.c: Likewise.
31888 * sunrpc/rpc_util.c: Likewise.
31889 * sunrpc/rpc_util.h: Likewise.
31890 * sunrpc/rpcinfo.c: Likewise.
31891 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31892 * sunrpc/rpcsvc/key_prot.x: Likewise.
31893 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31894 * sunrpc/rpcsvc/mount.x: Likewise.
31895 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31896 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31897 * sunrpc/rpcsvc/rex.x: Likewise.
31898 * sunrpc/rpcsvc/rstat.x: Likewise.
31899 * sunrpc/rpcsvc/rusers.x: Likewise.
31900 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31901 * sunrpc/rpcsvc/spray.x: Likewise.
31902 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31903 * sunrpc/rtime.c: Likewise.
31904 * sunrpc/svc.c: Likewise.
31905 * sunrpc/svc_auth.c: Likewise.
31906 * sunrpc/svc_authux.c: Likewise.
31907 * sunrpc/svc_raw.c: Likewise.
31908 * sunrpc/svc_run.c: Likewise.
31909 * sunrpc/svc_simple.c: Likewise.
31910 * sunrpc/svc_tcp.c: Likewise.
31911 * sunrpc/svc_udp.c: Likewise.
31912 * sunrpc/svc_unix.c: Likewise.
31913 * sunrpc/svcauth_des.c: Likewise.
31914 * sunrpc/xcrypt.c: Likewise.
31915 * sunrpc/xdr.c: Likewise.
31916 * sunrpc/xdr_array.c: Likewise.
31917 * sunrpc/xdr_float.c: Likewise.
31918 * sunrpc/xdr_mem.c: Likewise.
31919 * sunrpc/xdr_rec.c: Likewise.
31920 * sunrpc/xdr_ref.c: Likewise.
31921 * sunrpc/xdr_sizeof.c: Likewise.
31922 * sunrpc/xdr_stdio.c: Likewise.
31924 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31927 2010-08-19 Andreas Schwab <schwab@redhat.com>
31929 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31931 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31933 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31934 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31936 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31938 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31940 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31943 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31944 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31945 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31946 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31948 2010-07-26 Anton Blanchard <anton@samba.org>
31950 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31951 * malloc/arena.c (heap_trim): Likewise.
31953 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31955 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31958 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31960 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/i386/elf/Makefile: New file.
31964 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31966 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31967 from fanotify_init.
31968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31971 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31973 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31975 * sysdeps/multiarch/strcmp.S: Likewise.
31977 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31979 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31980 strncase_l-nonascii.
31981 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31982 Add strncase_l-ssse3.
31983 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31984 * sysdeps/x86_64/strcmp.S: Likewise.
31985 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31986 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31987 * sysdeps/x86_64/strncase.S: New file.
31988 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31989 * sysdeps/x86_64/strncase_l.S: New file.
31990 * string/Makefile (strop-tests): Add strncasecmp.
31991 * string/test-strncasecmp.c: New file.
31993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31996 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31997 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31999 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32001 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32003 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32005 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32009 2010-05-01 Alan Modra <amodra@gmail.com>
32011 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32012 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32013 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32014 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32015 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32016 tidying. Don't tail-call __sigjmp_save for static lib.
32017 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32019 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32020 (CALL_MCOUNT): Add eh info, and nop after bl.
32021 (TAIL_CALL_SYSCALL_ERROR): New macro.
32022 (PSEUDO_RET): Use it.
32023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32024 Correct save location of integer regs and cr.
32025 (_dl_profile_resolve): Correct cr save location. Delete nops
32026 after bl when SHARED. Reduce cfi size a little by better
32027 placement of cfi directives.
32028 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32029 make a stack frame. Instead use parm save area as a temp.
32030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32031 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32033 Don't make a stack frame for parent, use parm save area.
32034 Increase child stack frame to 112 bytes. Don't save unused reg,
32035 and adjust reg usage. Set up cfi on error recovery and
32036 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32038 (__makecontext): Add dummy nop after jump to exit.
32039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32040 Use correct parm save area and cr save, reduce stack frame.
32041 Correct cfi for possible PSEUDO_RET frame setup.
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32043 Branch to local label emitted by PSEUDO_RET rather than
32046 2010-08-12 Andreas Schwab <schwab@redhat.com>
32049 * locale/programs/locale.c (print_assignment): New function.
32050 (show_locale_vars): Use it.
32052 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32054 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32056 (struct statfs64): Likewise.
32057 (_STATFS_F_FLAGS): Define.
32058 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32060 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32061 (ST_VALID): Define locally.
32062 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32063 __statvfs_getflags, use the provided value.
32064 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32065 __ASSUME_STATFS_F_FLAGS.
32067 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32069 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32070 Add sys/fanotify.h.
32071 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32072 fanotify_mask for GLIBC_2.13.
32073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32074 fanotify_init and fanotify_mark.
32075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32076 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32080 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32081 prlimit64 for GLIBC_2.13.
32082 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32088 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32089 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32092 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32095 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32096 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32098 * nss/Makefile: Add rules to build and run tst-nss-test1.
32099 * shlib-versions: Add entry for libnss_test1.
32100 * nss/nss_test1.c: New file.
32101 * nss/tst-nss-test1.c: New file.
32103 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32104 (__nss_configure_lookup): Set appropriate entry in
32105 __nss_configure_lookup to true.
32106 * nss/nsswitch.h: Define enum with indeces of databases in
32107 databases and __nss_database_custom arrays. Declare
32108 __nss_database_custom.
32109 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32110 to avoid using nscd when custom rules are installed.
32111 * nss/getXXbyYY_r.c: Likewise.
32112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32114 * nss/nss_files/files-parse.c: Whitespace fixes.
32116 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32119 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32120 * posix/fnmatch_loop.c: Likewise.
32122 2010-07-17 Andi Kleen <ak@linux.intel.com>
32124 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32125 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32126 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32127 * Versions.def [GLIBC_2.13]: Add.
32129 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32132 Also fail if tpwd after pwuid call is NULL.
32134 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32136 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32137 when converting to ms.
32139 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32141 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32142 EOPNOTSUPP errors with ENOTTY.
32143 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32144 EOPNOTSUPP errors with ENOTTY.
32146 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32148 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32149 Add strcasecmp_l-ssse3.
32150 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32152 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32153 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32154 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32156 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32158 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32160 * string/Makefile (strop-tests): Add strcasecmp.
32161 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32162 strcasecmp_l-nonascii.
32163 (gen-as-const-headers): Add locale-defines.sym.
32164 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32165 * sysdeps/x86_64/strcasecmp.S: New file.
32166 * sysdeps/x86_64/strcasecmp_l.S: New file.
32167 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32168 * sysdeps/x86_64/locale-defines.sym: New file.
32169 * string/test-strcasecmp.c: New file.
32171 * string/test-strcasestr.c: Test both ends of the range of characters.
32172 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32174 2010-07-29 Roland McGrath <roland@redhat.com>
32177 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32179 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32181 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32184 2010-07-27 Andreas Schwab <schwab@redhat.com>
32186 * manual/memory.texi (Malloc Tunable Parameters): Document
32189 2010-07-26 Roland McGrath <roland@redhat.com>
32192 * configure.in (-fgnu89-inline check): Set and substitute
32193 gnu89_inline, not libc_cv_gnu89_inline.
32194 * configure: Regenerated.
32195 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32197 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32199 * string/test-strnlen.c: New file.
32200 * string/Makefile (strop-tests): Add strnlen.
32201 * string/tester.c (test_strnlen): Add a few more test cases.
32202 * string/tst-strlen.c: Better error reporting.
32204 * sysdeps/x86_64/strnlen.S: New file.
32206 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32209 lower-latency instructions.
32211 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32213 * string/test-strcasestr.c: New file.
32214 * string/test-strstr.c: New file.
32215 * string/Makefile (strop-tests): Add strstr and strcasestr.
32216 * string/str-two-way.h: Don't undefine MAX.
32217 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32219 2010-07-21 Andreas Schwab <schwab@redhat.com>
32221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32222 strcasestr-nonascii.
32223 (CFLAGS-strcasestr-nonascii.c): Define.
32224 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32226 Remove unused attribute.
32228 2010-07-20 Roland McGrath <roland@redhat.com>
32230 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32231 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32232 ld.so.cache was broken. With it, there is no way to disable dsocaps
32233 like LD_HWCAP_MASK can disable hwcaps.
32235 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32237 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32239 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32241 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32242 call in strcasestr.
32243 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32244 __strcasestr_sse42_nonascii.
32245 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32246 strcasestr-nonascii.c.
32247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32249 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32252 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32256 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32261 2010-07-06 Andreas Schwab <schwab@redhat.com>
32264 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32267 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32270 _PC_PIPE_BUF using F_GETPIPE_SZ.
32272 2010-07-05 Roland McGrath <roland@redhat.com>
32274 * manual/arith.texi (Rounding Functions): Fix rint description
32275 implicit in round description.
32277 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32279 * elf/Makefile: Fix linking for a few tests to make recent linker
32282 2010-06-30 Andreas Schwab <schwab@redhat.com>
32284 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32285 $(common-objpfx)libc_nonshared.a.
32287 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32289 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32290 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32291 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32292 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32293 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32294 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32296 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32311 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32312 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32313 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32314 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32315 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32316 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32317 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32318 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32319 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32320 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32321 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32322 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32338 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32340 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32341 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32342 * string/memmove.c (memmove): Renamed to ...
32343 (MEMMOVE): ...this. Default to memmove.
32344 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32345 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32348 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32349 mempcpy-ssse3-back memmove-ssse3-back.
32350 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32353 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32354 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32355 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32356 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32357 * sysdeps/x86_64/multiarch/memmove.c: New file.
32358 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32359 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32360 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32361 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32362 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32365 (index_Fast_Copy_Backward): Define.
32366 (HAS_ARCH_FEATURE): Define.
32367 (HAS_FAST_REP_STRING): Define.
32368 (HAS_FAST_COPY_BACKWARD): Define.
32370 2010-06-21 Andreas Schwab <schwab@redhat.com>
32372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32373 Restore proper fallback handling.
32375 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32378 * posix/group_member.c (__group_member): Correct checking loop.
32380 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32381 OOM in getpwuid_r correctly. Return error number when the caller
32382 should return, otherwise -1.
32383 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32384 call returning > 0 value.
32385 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32387 2010-06-07 Andreas Schwab <schwab@redhat.com>
32389 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32390 libc_nonshared.a from targets in modules-names.
32392 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32394 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32397 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32400 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32404 2010-06-02 Andreas Schwab <schwab@redhat.com>
32406 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32408 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32419 2010-06-14 Roland McGrath <roland@redhat.com>
32421 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32423 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32425 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32426 __REDIRECT followed by __THROW.
32427 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32428 * posix/getopt.h (getopt): Likewise.
32430 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32432 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32433 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32434 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32436 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32437 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32439 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32443 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32447 Properly check family and model.
32449 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32451 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32453 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32455 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32457 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32459 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32462 2010-05-19 Andreas Schwab <schwab@redhat.com>
32464 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32467 2010-05-21 Andreas Schwab <schwab@redhat.com>
32469 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32470 and internal_recvmmsg.
32471 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32472 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32473 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32474 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32476 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32477 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32478 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32480 2010-05-20 Andreas Schwab <schwab@redhat.com>
32482 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32484 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32486 POWER7 optimizations.
32487 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32488 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32490 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32492 * version.h: Update for 2.13 development version.
32494 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32496 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32497 exceptions. Return 0.
32499 2010-05-07 Roland McGrath <roland@redhat.com>
32501 * elf/ldconfig.c (main): Add a const.
32503 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32505 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32506 (args_options): Add no-idn option.
32507 (ahosts_keys_int): Add idn_flags to ai_flags.
32508 (parse_option): Handle 'i' option to clear idn_flags.
32510 * malloc/malloc.c (_int_free): Possible race in the most recently
32511 added check. Only act on the data if no current modification
32514 See ChangeLog.17 for earlier changes.