1 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3 * Versions.def (libc): Add GLIBC_2.19.
5 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14 intermediate calculations in recurrence.
15 (__ieee754_ynf): Likewise.
16 * math/libm-test.inc (jn_test_data): Do not allow spurious
17 underflow exception. Add more tests.
18 (yn_test_data): Add more tests.
19 * sysdeps/i386/fpu/libm-test-ulps: Update.
20 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28 * csu/init-first.c: Fix then/than typos.
29 * locale/programs/ld-collate.c: Likewise.
30 * locale/programs/linereader.h: Likewise.
31 * manual/charset.texi: Likewise.
32 * manual/filesys.texi: Likewise.
33 * manual/stdio.texi: Likewise.
34 * manual/string.texi: Likewise.
35 * stdlib/fmtmsg.c: Likewise.
36 * sysdeps/i386/stpncpy.S: Likewise.
37 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44 * elf/dl-open.c: Fix typos.
45 * iconvdata/gbbig5.c: Likewise.
46 * iconvdata/iso-2022-jp.c: Likewise.
47 * iconv/gconv_int.h: Likewise.
48 * iconv/loop.c: Likewise.
49 * nis/rpcsvc/nis.h: Likewise.
50 * resolv/ns_name.c: Likewise.
51 * stdio-common/vfscanf.c: Likewise.
52 * streams/stropts.h: Likewise.
53 * sunrpc/rpc_thread.c: Likewise.
54 * sysdeps/i386/strpbrk.S: Likewise.
55 * sysdeps/ieee754/k_standard.c: Likewise.
56 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59 * sysdeps/mach/hurd/profil.c: Likewise.
60 * sysdeps/s390/dl-procinfo.h: Likewise.
61 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64 * sysdeps/x86_64/dl-trampoline.S: Likewise.
65 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
69 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
70 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
72 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
74 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
76 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
77 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
78 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
81 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
85 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
86 Roland McGrath <roland@hack.frob.com>
88 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
89 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
91 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
93 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
94 __executable_start symbol instead of _start.
96 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
98 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
99 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
101 * sysdeps/gnu/ldsodefs.h: ... this new file.
103 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
104 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
105 instead of ELFOSABI_LINUX.
107 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
108 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
109 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
110 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
112 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
113 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
116 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
117 (ibm_extended_long_double): Add ieee_nan member.
118 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
119 (do_test): New function.
121 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
123 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
124 functions, renamed from truncdfsf_test, trunctfsf_test,
126 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
128 (do_test): Run all these.
130 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
132 * argp/argp-help.c: Fix typos.
133 * argp/argp-parse.c: Likewise.
134 * debug/backtracesyms.c: Likewise.
135 * elf/elf.h: Likewise.
136 * malloc/malloc.c: Likewise.
137 * nis/nis_print.c: Likewise.
138 * resolv/res_comp.c: Likewise.
139 * stdlib/stdlib.h: Likewise.
140 * sunrpc/clnt_tcp.c: Likewise.
141 * sunrpc/clnt_udp.c: Likewise.
142 * sunrpc/clnt_unix.c: Likewise.
143 * sysdeps/unix/bsd/ptsname.c: Likewise.
144 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
145 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
152 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
154 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
156 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
159 2013-08-27 Mike Frysinger <vapier@gentoo.org>
162 * dlfcn/Makefile (tests): Add bug-dl-leaf.
163 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
164 ($(objpfx)bug-dl-leaf): New rule.
165 ($(objpfx)bug-dl-leaf.so): Likewise.
166 ($(objpfx)bug-dl-leaf.out): Likewise.
167 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
168 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
169 * dlfcn/bug-dl-leaf.c: New test.
170 * dlfcn/bug-dl-leaf-lib.c: Likewise.
171 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
172 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
176 2013-08-27 Roland McGrath <roland@hack.frob.com>
178 * include/netdb.h [!_ISOMAC]:
179 Don't include <tls.h>.
180 (h_errno, __libc_h_errno): Move declaration and macros out of
183 * include/resolv.h [_RESOLV_H_]:
184 Don't include <tls.h>.
185 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
186 * resolv/res_libc.c: Don't include <tls.h>.
187 (_res): Use __attribute__ ((nocommon)) in place of
188 __attribute__ ((section (".bss"))).
190 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
191 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
193 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
195 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
196 only under [SIOCGIFCONF && SIOCGIFNETMASK].
198 * resolv/res_mkquery.c: Include <sys/time.h>.
200 * inet/ifreq.c: Moved to ...
201 * sysdeps/unix/ifreq.c: ... here.
202 * inet/ifreq.c: New file, true stub version.
204 * socket/sa_len.c: New file.
205 * socket/Makefile (aux): Add it.
206 * sysdeps/unix/sysv/linux/Makefile
207 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
208 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
209 and #include <socket/sa_len.c>.
210 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
211 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
213 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
214 * bits/socket.h: ... here.
216 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
217 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
218 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
220 2013-08-27 Andreas Schwab <schwab@suse.de>
223 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
224 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
225 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
226 * string/test-strcasecmp.c (test_main): Run tests in several
228 * string/test-strncasecmp.c (test_main): Likewise.
230 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
231 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
232 to __strcasecmp_nonascii and __strncasecmp_nonascii.
233 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
234 (__strncasecmp_ssse3) [PIC]: Likewise.
236 2013-08-26 Roland McGrath <roland@hack.frob.com>
238 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
240 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
241 instead of explicitly declaring xdecrypt.
242 * nis/nss_nis/nis-publickey.c: Likewise.
244 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
247 * nscd/aicache.c: Include res_hconf.h.
248 (addhstaiX): Initialize res_hconf.
250 2013-08-26 Andreas Schwab <schwab@suse.de>
252 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
253 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
255 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
257 * nscd/aicache.c (addhstaiX): Fix indentation.
259 2013-08-25 Mike Frysinger <vapier@gentoo.org>
261 * configure.ac: Quote $build_pt_chown test.
262 * configure: Regenerated.
264 2013-08-23 Joseph Myers <joseph@codesourcery.com>
267 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
268 * math/s_cexpf.c (__cexpf): Likewise.
269 * math/s_cexpl.c (__cexpl): Likewise.
270 * math/libm-test.inc (cexp_test_data): Correct expected return
271 value for NaN + i0. Add another test.
273 2013-08-22 David S. Miller <davem@davemloft.net>
275 * po/ca.po: Update Catalan translation from translation project.
276 * po/uk.po: Add Ukrainian translations from translation project.
278 2013-08-21 Joseph Myers <joseph@codesourcery.com>
281 * math/s_fdim.c (__fdim): Check for infinite arguments if result
282 is infinite, not alongside NaN test.
283 * math/s_fdimf.c (__fdimf): Likewise.
284 * math/s_fdiml.c (__fdiml): Likewise.
285 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
288 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
290 * argp/argp-help.c: Fix typos.
291 * crypt/speeds.c: Likewise.
292 * csu/check_fds.c: Likewise.
293 * elf/dl-load.c: Likewise.
294 * elf/dl-open.c: Likewise.
295 * elf/reldep3.c: Likewise.
296 * elf/reldep.c: Likewise.
297 * elf/sprof.c: Likewise.
298 * iconv/iconv_charmap.c: Likewise.
299 * iconv/skeleton.c: Likewise.
300 * iconv/strtab.c: Likewise.
301 * io/lockf64.c: Likewise.
302 * libio/libioP.h: Likewise.
303 * resolv/gai_notify.c: Likewise.
304 * resolv/ns_name.c: Likewise.
305 * resolv/ns_samedomain.c: Likewise.
306 * resolv/res_send.c: Likewise.
307 * stdlib/random.c: Likewise.
308 * sunrpc/rpc/xdr.h: Likewise.
309 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
311 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
312 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
313 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
314 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
317 * sysdeps/mach/hurd/check_fds.c: Likewise.
318 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
319 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
321 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
322 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
323 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
324 * sysdeps/pthread/aio_notify.c: Likewise.
325 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
326 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
327 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
328 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
329 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
331 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
333 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
334 version if bit_Slow_SSE4_2 is set.
335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
336 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
338 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
342 trampoline stack frame information.
343 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
345 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
346 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
347 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
349 (_libc_vdso_platform_setup): Initialize the signal trampolines.
350 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
352 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
353 interrupting a syscall and set with option SA_SIGINFO.
355 2013-08-20 Joseph Myers <joseph@codesourcery.com>
358 * math/s_cproj.c (__cproj): Only return an infinity if one part of
359 argument is infinite.
360 * math/s_cprojf.c (__cprojf): Likewise.
361 * math/s_cprojl.c (__cprojl): Likewise.
362 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
363 * math/libm-test.inc (cproj_test_data): Add more tests.
365 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
367 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
368 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
369 size. Use __ffs to determine corresponding shift.
371 2013-08-20 Joseph Myers <joseph@codesourcery.com>
372 Roland McGrath <roland@hack.frob.com>
374 * Makefile (INSTALL): Remove trailing blank lines from output of
377 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
379 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
380 Align 32 bit compat elf_greg to 8 bytes.
382 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
384 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
386 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
388 * string/strcoll_l.c (coll_seq): New structure.
389 (get_next_seq_cached): New function.
390 (get_next_seq): New function.
391 (do_compare): New function.
392 (STRCOLL): Use GNU style definition. Simplify implementation
393 by using get_next_seq, get_next_seq_cached and do_compare.
395 2013-08-16 Florian Weimer <fweimer@redhat.com>
399 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
401 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
403 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
404 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
405 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
407 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
408 GETDENTS_64BIT_ALIGNED.
409 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
410 * manual/filesys.texi (Reading/Closing Directory): Document
411 ENAMETOOLONG return value of readdir_r. Recommend readdir more
413 * manual/conf.texi (Limits for Files): Add portability note to
415 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
417 2013-08-13 Andreas Schwab <schwab@suse.de>
420 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
422 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
423 LDBL_MAX_EXP >= 16384]: Add tests for it.
425 2013-08-12 David S. Miller <davem@davemloft.net>
427 * version.h (RELEASE): Set to "development".
428 (VERSION): Set to "2.18.90".
429 * NEWS: Add 2.19 section.
431 2013-08-03 David S. Miller <davem@davemloft.net>
433 * po/ko.po: Update Korean translation from translation project.
435 2013-08-01 David S. Miller <davem@davemloft.net>
437 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
438 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
441 2013-07-30 David S. Miller <davem@davemloft.net>
443 * po/fr.po: Update French translation from translation project.
445 2013-07-28 David S. Miller <davem@davemloft.net>
447 * po/cs.po: Update Czech translation from translation project.
449 * po/sv.po: Update Swedish translation from translation project.
451 2013-07-27 David S. Miller <davem@davemloft.net>
453 * po/eo.po: Update Esperanto translation from translation project.
455 * po/vi.po: Update Vietnamese translation from translation project.
457 * po/de.po: Update German translation from translation project.
459 2013-07-26 David S. Miller <davem@davemloft.net>
461 * po/bg.po: Update Bulgarian translation from translation project.
463 * po/nl.po: Update Dutch translation from translation project.
464 * po/pl.po: Update Polish translation from translation project.
465 * po/ru.po: Update Russian translation from translation project.
467 2013-07-24 David S. Miller <davem@davemloft.net>
469 * po/libc.pot: Update.
471 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
473 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
475 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
477 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
479 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
481 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
483 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
484 Andreas Schwab <schwab@suse.de>
485 Roland McGrath <roland@hack.frob.com>
486 Joseph Myers <joseph@codesourcery.com>
487 Carlos O'Donell <carlos@redhat.com>
490 * config.h.in: Define HAVE_PT_CHOWN.
491 * config.make.in (build-pt-chown): New variable.
492 * configure.in (--enable-pt_chown): New configure option.
493 * configure: Regenerate.
494 * login/Makefile: Include Makeconfig. Build pt_chown only if
495 build-pt-chown is enabled.
496 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
497 pt_chown to fix pty ownership.
498 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
500 * manual/install.texi (Configuring and compiling): Mention
501 --enable-pt_chown. Add @findex for grantpt.
502 * INSTALL: Regenerate.
504 2013-07-20 David S. Miller <davem@davemloft.net>
506 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
507 difference between 32-bit and 64-bit.
509 2013-07-15 Carlos O'Donell <carlos@redhat.com>
512 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
513 Avoid system header dependency with -ffreestanding.
514 ($(objpfx)bits/syscall%d): Likewise.
516 2013-07-13 David S. Miller <davem@davemloft.net>
518 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
519 underflows from atanl/atan2l due to bug 15319.
520 (casinh_test_data): Likewise.
522 2013-07-07 David S. Miller <davem@davemloft.net>
524 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
526 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
528 * sysdeps/i386/fpu/libm-test-ulps: Update.
529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
531 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
533 * configure.in (--enable-lock-elision): Fix message text.
534 * INSTALL: Regenerate.
535 * configure: Regenerate.
537 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
541 2013-07-03 Andreas Jaeger <aj@suse.de>
543 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
545 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
546 (ptrace_peeksiginfo_args): Add.
547 (__ptrace_peeksiginfo_flags): Add.
548 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
552 2013-07-03 Allan McRae <allan@archlinux.org>
554 * sysdeps/i386/fpu/libm-test-ulps: Update.
556 2013-07-02 David S. Miller <davem@davemloft.net>
558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
560 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
564 2013-07-02 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
569 2013-07-02 Andi Kleen <ak@linux.intel.com>
571 * config.h.in (ENABLE_LOCK_ELISION): Add.
572 * configure.in (--enable-lock-elision): Add option.
573 * manual/install.texi: Document --enable lock elision.
574 * configure: Regenerate
575 * INSTALL: Regenerate.
577 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
579 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
580 SSE4.2 strcasecmp for libc.a.
581 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
583 2013-07-02 Joseph Myers <joseph@codesourcery.com>
586 * soft-fp/op-common.h (_FP_FMA): New macro.
587 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
588 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
589 (_FP_MUL_MEAT_1_imm): ... here.
590 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
591 (_FP_MUL_MEAT_1_wide): ... here.
592 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
593 (_FP_MUL_MEAT_1_hard): ... here.
594 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
595 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
596 (_FP_MUL_MEAT_2_wide): ... here.
597 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
598 (_FP_MUL_MEAT_2_wide_3mul): ... here.
599 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
600 (_FP_MUL_MEAT_2_gmp): ... here.
601 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
602 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
603 (_FP_MUL_MEAT_4_wide): ... here.
604 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
605 (_FP_MUL_MEAT_4_gmp): ... here.
606 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
607 (_FP_WFRACBITS_DW_S): Likewise.
608 (_FP_WFRACXBITS_DW_S): Likewise.
609 (_FP_HIGHBIT_DW_S): Likewise.
610 (FP_FMA_S): Likewise.
611 (_FP_FRAC_HIGH_DW_S): Likewise.
612 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
613 (_FP_WFRACBITS_DW_D): Likewise.
614 (_FP_WFRACXBITS_DW_D): Likewise.
615 (_FP_HIGHBIT_DW_D): Likewise.
616 (FP_FMA_D): Likewise.
617 (_FP_FRAC_HIGH_DW_D): Likewise.
618 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
619 (_FP_WFRACBITS_DW_E): Likewise.
620 (_FP_WFRACXBITS_DW_E): Likewise.
621 (_FP_HIGHBIT_DW_E): Likewise.
622 (FP_FMA_E): Likewise.
623 (_FP_FRAC_HIGH_DW_E): Likewise.
624 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
625 (_FP_WFRACBITS_DW_Q): Likewise.
626 (_FP_WFRACXBITS_DW_Q): Likewise.
627 (_FP_HIGHBIT_DW_Q): Likewise.
628 (FP_FMA_Q): Likewise.
629 (_FP_FRAC_HIGH_DW_Q): Likewise.
630 * soft-fp/fmasf4.c: New file.
631 * soft-fp/fmadf4.c: Likewise.
632 * soft-fp/fmatf4.c: Likewise.
634 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
637 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
641 (index_Slow_SSE4_2): Likewise.
642 (index_Prefer_PMINUB_for_stringop): Likewise.
643 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
644 bit_Slow_SSE4_2 is set.
645 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
646 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
648 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
650 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
651 rtld_global._dl_hwcap2.
652 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
654 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
655 POWER8 feature descriptions defined in _dl_hwcap2.
656 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
657 string handling for POWER8 feature bits.
658 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
659 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
660 _dl_powerpc_cap_flags.
661 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
662 * sysdeps/powerpc/rtld-global-offsets.sym
663 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
664 _dl_hwcap2 in the rtld_global_ro structure.
666 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
668 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
669 hardware capabilities in support of AT_HWCAP2.
670 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
671 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
673 (_dl_show_auxv): Add support for calling _dl_procinfo to display
674 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
675 explicitly the unknown a_type display mechanism is used.
676 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
677 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
679 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
680 to macro prototype for AT_HWCAP2 support.
681 * sysdeps/i386/dl-procinfo.h: Likewise.
682 * sysdeps/s390/dl-procinfo.h: Likewise.
683 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
684 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
685 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
686 return -1 for unknown a_type display fallback.
687 * sysdeps/sparc/dl-procinfo.h: Likewise.
688 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
689 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
691 2013-06-28 Joseph Myers <joseph@codesourcery.com>
693 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
694 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
696 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
699 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
700 mprotect making __stack_prot writable.
702 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
703 Joseph Myers <joseph@codesourcery.com>
705 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
706 as being properly aligned.
708 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
710 * dlfcn/modstatic5.c: New file.
711 * dlfcn/tststatic5.c: New file.
712 * dlfcn/Makefile (tests): Add tststatic5.
713 (tests-static): Likewise.
714 (modules-names): Add modstatic5.
715 (tststatic5-ENV): New variable.
716 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
719 * elf/dl-support.c (_dl_main_map): New variable.
720 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
721 (_dl_nns, _dl_load_adds): Set to 1.
722 (_dl_initial_searchlist): Refer to _dl_main_map.
723 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
724 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
725 call to _dl_get_origin.
726 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
728 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
729 * dlfcn/modstatic3.c: New file.
730 * dlfcn/tststatic3.c: New file.
731 * dlfcn/tststatic4.c: New file.
732 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
733 (tests-static): Likewise.
734 (modules-names): Add modstatic3.
735 (tststatic3-ENV, tststatic4-ENV): New variables.
736 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
737 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
739 2013-06-26 Joseph Myers <joseph@codesourcery.com>
741 * configure.in (CC): Require GCC version 4.4 or later.
742 * configure: Regenerated.
743 * manual/install.texi (Tools for Compilation): Update GCC version
745 * INSTALL: Regenerated.
747 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
750 * string/test-memcmp.c (check2): New.
753 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
755 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
758 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
760 (dl_open_worker) [!SHARED]: ... here.
762 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
764 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
766 2013-06-25 Richard Henderson <rth@redhat.com>
768 * locale/programs/locarchive.c: Include <libc-internal.h>
770 2013-06-25 Joseph Myers <joseph@codesourcery.com>
772 * manual/texinfo.tex: Update to version 2013-06-21.17, with
773 trailing whitespace removed.
775 2013-06-24 Mike Frysinger <vapier@gentoo.org>
778 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
779 * locale/programs/locarchive.c: Include libc-mmap.h.
780 (prepare_address_space): Take two new outputs (the mmap base and len).
781 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
783 (create_archive): Declare new mmap base and len values for
784 prepare_address_space, and store the result in ah.
785 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
786 (enlarge_archive): If ah->mmap_base is not NULL, use that and
787 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
788 Declare new mmap base and len values for
789 prepare_address_space, and store the result in new_ah.
790 (open_archive): Declare new mmap base and len values for
791 prepare_address_space, and store the result in ah.
792 (close_archive): If ah->mmap_base is not NULL, use that and
793 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
794 * sysdeps/generic/libc-mmap.h: New file.
796 2013-06-24 Mike Frysinger <vapier@gentoo.org>
798 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
799 (ALIGN_UP): Likewise.
800 (PTR_ALIGN_DOWN): Likewise.
801 (PTR_ALIGN_UP): Likewise.
803 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
805 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
806 entry mapped to PPC_PLATFORM_POWER8.
807 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
809 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
810 (_dl_string_platform): Add case for exporting platform position for
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
813 search path to sysdeps/powerpc/powerpc32/power8 directory.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
815 search path to sysdeps/powerpc/powerpc64/power8 directory.
816 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
818 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
821 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
823 * INSTALL: Regenerate.
825 * nscd/connections.c (nscd_init): Fix comment.
827 2013-06-22 Joseph Myers <joseph@codesourcery.com>
829 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
832 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
833 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
835 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
837 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
839 (DL_DST_REQ_STATIC): Remove macro.
841 2013-06-21 Joseph Myers <joseph@codesourcery.com>
844 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
845 with a shift of 0 bits.
847 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
849 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
852 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
855 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
857 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
860 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
861 accepts -fno-tree-loop-distribute-patterns.
862 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
863 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
865 * string/memset.c (memset): Likewise.
866 * string/test-memmove.c (simple_memmove): Disable loop transformation
868 * string/test-memset.c (simple_memset): Likewise.
869 * benchtests/bench-memmove.c (simple_memmove): Likewise.
870 * benchtests/bench-memset.c (simple_memset): Likewise.
871 * configure: Regenerated.
873 2013-06-20 Joseph Myers <joseph@codesourcery.com>
875 * math/test-misc.c (main): Ignore fesetround failure when failures
876 of subsequent rounding tests would be ignored.
879 * math/fedisblxcpt.c (fedisableexcept): Return 0.
880 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
881 * math/fegetenv.c (__fegetenv): Return 0.
882 * math/fegetexcept.c (fegetexcept): Return 0.
883 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
885 * math/feholdexcpt.c (feholdexcept): Return 0.
886 * math/fesetenv.c (__fesetenv): Return 0.
887 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
888 argument FE_TONEAREST.
889 * math/feupdateenv.c (__feupdateenv): Return 0.
890 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
892 2013-06-18 Roland McGrath <roland@hack.frob.com>
894 * elf/rtld-Rules (rtld-compile-command.S): New variable.
895 (rtld-compile-command.s, rtld-compile-command.c): New variables.
896 ($(objpfx)rtld-%.os rules): Use them.
898 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
903 2013-06-17 Roland McGrath <roland@hack.frob.com>
905 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
906 length of target pattern, then descending length of dependency pattern.
907 * configure.in (AWK): Require gawk 3.1.2 or newer.
908 * manual/install.texi (Tools for Compilation): Say that we do.
909 * configure: Regenerated.
911 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
912 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
913 * scripts/sysd-rules.awk: ... this new script.
914 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
915 than a glob-style pattern.
917 2013-06-17 Joseph Myers <joseph@codesourcery.com>
919 * math/test-misc.c (main): Do not treat incorrectly rounded
920 conversions as failure unless ROUNDING_TESTS passes.
922 2013-06-15 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
926 restore exception state around main square root computation, then
927 check for inexactness explicitly.
929 * math/libm-test.inc (fma_test_data): Add another test.
931 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
933 * manual/threads.texi (Non-POSIX Extensions): New document
934 node. Document pthread_getattr_default_np and
935 pthread_setattr_default_np.
937 * Versions.def (libpthread): Add GLIBC_2.18.
938 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
947 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
958 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
961 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
963 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
964 H.J. Lu <hjl.tools@gmail.com>
967 * sysdeps/x86_64/rtld-memset.c: Remove file.
968 * sysdeps/x86_64/rtld-memset.S: New file.
970 2013-06-14 Joseph Myers <joseph@codesourcery.com>
972 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
973 (test_in_one_mode): Take arguments for whether the rounding mode
974 is supported for each floating-point type.
975 (do_test): Pass new arguments to test_in_one_mode using
978 2013-06-13 Roland McGrath <roland@hack.frob.com>
980 * posix/tst-waitid.c (do_test): Distinguish different instances of
981 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
982 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
983 before entering the kernel for waitpid.
985 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
987 * NEWS: Fix note on clock function precision. Text by Roland
990 2013-06-13 Roland McGrath <roland@hack.frob.com>
992 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
993 it into place only when and if the sanity check passes.
995 2013-06-13 Joseph Myers <joseph@codesourcery.com>
997 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
998 output for whether conversion result is exact. Take argument
999 indicating whether type is IBM long double.
1000 (round_for_all): Change need_exact field to ibm_ld.
1001 * stdlib/tst-strtod-round.c (struct exactness): New type.
1002 (struct test): Change bool ld_ok field to struct exactness exact.
1003 (TEST): Update all definitions for change to field.
1004 (tests): Regenerate array contents.
1005 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1006 field value. Check for IBM long double here.
1007 (do_test): Update calls to test_in_one_mode.
1009 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1012 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1013 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1015 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1018 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1019 generated by the compiler on loop optimizations.
1020 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1021 general definitions.
1023 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1025 * math/bug-nextafter.c: Include <math-tests.h>.
1026 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1028 * math/bug-nexttoward.c: Include <math-tests.h>.
1029 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1031 * math/test-misc.c: Include <math-tests.h>.
1032 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1035 2013-06-12 Andreas Jaeger <aj@suse.de>
1037 * po/ia.po: Update Interlingua translation from translation
1040 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1042 * include/fenv.h: Include stdbool.h.
1043 (struct rm_ctx): New structure.
1044 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1046 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1047 (SET_RESTORE_ROUNDF): Likewise.
1048 (SET_RESTORE_ROUNDL): Likewise.
1049 (SET_RESTORE_ROUND_NOEX): Likewise.
1050 (SET_RESTORE_ROUND_NOEXF): Likewise.
1051 (SET_RESTORE_ROUND_NOEXL): Likewise.
1052 (SET_RESTORE_ROUND_53BIT): Likewise.
1053 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1054 (libc_feresetround_noexf_ctx): Likewise.
1055 (libc_feresetround_noexl_ctx): Likewise.
1056 (libc_feholdsetround_53bit_ctx): Likewise.
1057 (libc_feresetround_53bit_ctx): Likewise.
1058 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1059 (libc_feholdexcept_setround_sse_ctx): New function.
1060 (libc_fesetenv_sse_ctx): Likewise.
1061 (libc_feupdateenv_sse_ctx): Likewise.
1062 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1063 (libc_feholdexcept_setround_387_ctx): Likewise.
1064 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1065 (libc_feholdsetround_387_prec_ctx): Likewise.
1066 (libc_feholdsetround_387_ctx): Likewise.
1067 (libc_feholdsetround_387_53bit_ctx): Likewise.
1068 (libc_feholdsetround_sse_ctx): Likewise.
1069 (libc_feresetround_sse_ctx): Likewise.
1070 (libc_feresetround_387_ctx): Likewise.
1071 (libc_feupdateenv_387_ctx): Likewise.
1072 (libc_feholdexcept_setroundf_ctx): Define macro.
1073 (libc_fesetenvf_ctx): Likewise.
1074 (libc_feupdateenvf_ctx): Likewise.
1075 (libc_feholdsetroundf_ctx): Likewise.
1076 (libc_feresetroundf_ctx): Likewise.
1077 (libc_feholdexcept_setround_ctx): Likewise.
1078 (libc_fesetenv_ctx): Likewise.
1079 (libc_feupdateenv_ctx): Likewise.
1080 (libc_feholdsetround_ctx): Likewise.
1081 (libc_feresetround_ctx): Likewise.
1082 (libc_feholdexcept_setroundl_ctx): Likewise.
1083 (libc_feupdateenvl_ctx): Likewise.
1084 (libc_feholdsetroundl_ctx): Likewise.
1085 (libc_feresetroundl_ctx): Likewise.
1086 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1087 (libc_feresetround_53bit_ctx): Likewise.
1089 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1091 * locale/iso-639.def: Convert to UTF-8.
1093 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1095 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1096 (EXCEPTION_TESTS_double): Likewise.
1097 (EXCEPTION_TESTS_long_double): Likewise.
1098 (EXCEPTION_TESTS): Likewise.
1099 * math/libm-test.inc (test_exceptions): Only test exceptions if
1100 EXCEPTION_TESTS (FLOAT).
1102 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1104 * benchtests/Makefile (string-bench): Add strcpy_chk and
1106 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1107 * benchtests/bench-stpcpy_chk.c: New file.
1108 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1109 * benchtests/bench-strcpy_chk.c: New file.
1110 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1112 (do_test): Likewise.
1114 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1116 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1117 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1118 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1119 with tabs where appropriate.
1120 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1122 [PPC_PLATFORM_PPC440]: Likewise.
1123 [PPC_PLATFORM_PPC464]: Likewise.
1124 [PPC_PLATFORM_PPC476]: Likewise.
1125 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1126 ppc464, and ppc476 platform strings merging from ports/
1129 2013-06-11 Andreas Schwab <schwab@suse.de>
1132 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1133 (from_ucs4_idx): Regenerate.
1134 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1135 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1136 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1137 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1138 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1139 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1140 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1141 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1142 from FROM_LOOP and TO_LOOP specific macros.
1143 (BODY): Handle combining characters.
1144 * iconvdata/BIG5HKSCS.irreversible: Update.
1145 * iconvdata/BIG5HKSCS.precomposed: New file.
1146 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1148 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1150 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1152 * include/sys/time.h: Fix indentation and add copyright header.
1154 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1155 (do_test): Likewise.
1156 * string/test-memchr.c (do_one_test): Likewise.
1157 (do_test): Likewise.
1158 * string/test-memcmp.c (do_one_test): Likewise.
1159 (do_test): Likewise.
1160 * string/test-memcpy.c (do_one_test): Likewise.
1161 (do_test): Likewise.
1162 * string/test-memmem.c (do_one_test): Likewise.
1163 (do_test): Likewise.
1164 (do_random_tests): Likewise.
1165 * string/test-memmove.c (do_one_test): Likewise.
1166 (do_test): Likewise.
1167 * string/test-memset.c (do_one_test): Likewise.
1168 (do_test): Likewise.
1169 * string/test-rawmemchr.c (do_one_test): Likewise.
1170 (do_test): Likewise.
1171 * string/test-strcasecmp.c (do_one_test): Likewise.
1172 (do_test): Likewise.
1173 * string/test-strcasestr.c (do_one_test): Likewise.
1174 (do_test): Likewise.
1175 * string/test-strcat.c (do_one_test): Likewise.
1176 (do_test): Likewise.
1177 * string/test-strchr.c (do_one_test): Likewise.
1178 (do_test): Likewise.
1179 * string/test-strcmp.c (do_one_test): Likewise.
1180 (do_test): Likewise.
1181 * string/test-strcpy.c (do_one_test): Likewise.
1182 (do_test): Likewise.
1183 * string/test-string.h: Likewise.
1184 (test_init): Likewise.
1185 * string/test-strlen.c (do_one_test): Likewise.
1186 (do_test): Likewise.
1187 * string/test-strncasecmp.c (do_one_test): Likewise.
1188 (do_test): Likewise.
1189 * string/test-strncat.c (do_one_test): Likewise.
1190 (do_test): Likewise.
1191 * string/test-strncmp.c (do_one_test): Likewise.
1192 (do_test_limit): Likewise.
1193 (do_test): Likewise.
1194 * string/test-strncpy.c (do_one_test): Likewise.
1195 (do_test): Likewise.
1196 * string/test-strnlen.c (do_one_test): Likewise.
1197 (do_test): Likewise.
1198 * string/test-strpbrk.c (do_one_test): Likewise.
1199 (do_test): Likewise.
1200 * string/test-strrchr.c (do_one_test): Likewise.
1201 (do_test): Likewise.
1202 * string/test-strspn.c (do_one_test): Likewise.
1203 (do_test): Likewise.
1204 * string/test-strstr.c (do_one_test): Likewise.
1205 (do_test): Likewise.
1207 * benchtests/Makefile (string-bench): Add string benchmarks.
1208 * benchtests/bench-bcopy-ifunc.c: New file.
1209 * benchtests/bench-bcopy.c: New file.
1210 * benchtests/bench-bzero-ifunc.c: New file.
1211 * benchtests/bench-bzero.c: New file.
1212 * benchtests/bench-memccpy-ifunc.c: New file.
1213 * benchtests/bench-memccpy.c: New file.
1214 * benchtests/bench-memchr-ifunc.c: New file.
1215 * benchtests/bench-memchr.c: New file.
1216 * benchtests/bench-memcmp-ifunc.c: New file.
1217 * benchtests/bench-memcmp.c: New file.
1218 * benchtests/bench-memmem-ifunc.c: New file.
1219 * benchtests/bench-memmem.c: New file.
1220 * benchtests/bench-memmove-ifunc.c: New file.
1221 * benchtests/bench-memmove.c: New file.
1222 * benchtests/bench-mempcpy-ifunc.c: New file.
1223 * benchtests/bench-mempcpy.c: New file.
1224 * benchtests/bench-memset-ifunc.c: New file.
1225 * benchtests/bench-memset.c: New file.
1226 * benchtests/bench-rawmemchr-ifunc.c: New file.
1227 * benchtests/bench-rawmemchr.c: New file.
1228 * benchtests/bench-stpcpy-ifunc.c: New file.
1229 * benchtests/bench-stpcpy.c: New file.
1230 * benchtests/bench-stpncpy-ifunc.c: New file.
1231 * benchtests/bench-stpncpy.c: New file.
1232 * benchtests/bench-strcasecmp-ifunc.c: New file.
1233 * benchtests/bench-strcasecmp.c: New file.
1234 * benchtests/bench-strcasestr-ifunc.c: New file.
1235 * benchtests/bench-strcasestr.c: New file.
1236 * benchtests/bench-strcat-ifunc.c: New file.
1237 * benchtests/bench-strcat.c: New file.
1238 * benchtests/bench-strchr-ifunc.c: New file.
1239 * benchtests/bench-strchr.c: New file.
1240 * benchtests/bench-strchrnul-ifunc.c: New file.
1241 * benchtests/bench-strchrnul.c: New file.
1242 * benchtests/bench-strcmp-ifunc.c: New file.
1243 * benchtests/bench-strcmp.c: New file.
1244 * benchtests/bench-strcpy-ifunc.c: New file.
1245 * benchtests/bench-strcpy.c: New file.
1246 * benchtests/bench-strcspn-ifunc.c: New file.
1247 * benchtests/bench-strcspn.c: New file.
1248 * benchtests/bench-strlen-ifunc.c: New file.
1249 * benchtests/bench-strlen.c: New file.
1250 * benchtests/bench-strncasecmp-ifunc.c: New file.
1251 * benchtests/bench-strncasecmp.c: New file.
1252 * benchtests/bench-strncat-ifunc.c: New file.
1253 * benchtests/bench-strncat.c: New file.
1254 * benchtests/bench-strncmp-ifunc.c: New file.
1255 * benchtests/bench-strncmp.c: New file.
1256 * benchtests/bench-strncpy-ifunc.c: New file.
1257 * benchtests/bench-strncpy.c: New file.
1258 * benchtests/bench-strnlen-ifunc.c: New file.
1259 * benchtests/bench-strnlen.c: New file.
1260 * benchtests/bench-strpbrk-ifunc.c: New file.
1261 * benchtests/bench-strpbrk.c: New file.
1262 * benchtests/bench-strrchr-ifunc.c: New file.
1263 * benchtests/bench-strrchr.c: New file.
1264 * benchtests/bench-strspn-ifunc.c: New file.
1265 * benchtests/bench-strspn.c: New file.
1266 * benchtests/bench-strstr-ifunc.c: New file.
1267 * benchtests/bench-strstr.c: New file.
1269 * benchtests/Makefile: Disable parallel execution of targets.
1270 (string-bench): Add memcpy.
1271 (benchset): New variable to store a list of benchmark sets.
1272 (bench-func): Renamed from bench.
1273 (bench-set): New target.
1274 (bench): Depend on bench-func and bench-set.
1275 * benchtests/README: Add section on benchmark sets.
1276 * benchtests/bench-memcpy-ifunc.c: New file.
1277 * benchtests/bench-memcpy.c: New file.
1278 * benchtests/bench-string.h: New file.
1280 2013-06-11 Andreas Schwab <schwab@suse.de>
1283 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1284 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1285 values in the triple.
1286 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1287 terminator in the group key.
1289 2013-06-11 Andreas Jaeger <aj@suse.de>
1291 * po/zh_TW.po: Update Chinese (traditional) translation from
1292 translation project.
1294 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1296 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1297 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1298 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1299 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1300 (clock_getcpuclockid): Likewise.
1301 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1302 Add weak_alias and libc_hidden_def.
1303 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1304 * rt/clock_gettime.c (clock_gettime): Rename to
1305 __clock_gettime. Add weak_alias and libc_hidden_def.
1306 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1307 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1308 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1309 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1310 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1312 * rt/clock_settime.c (clock_settime): Rename to
1313 __clock_settime. Add weak_alias and libc_hidden_def.
1314 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1316 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1318 * mach/err_boot.sub: Remove trailing whitespace.
1319 * mach/err_ipc.sub: Likewise.
1320 * mach/err_mach.sub: Likewise.
1322 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1323 (ROUNDING_TESTS_double): Likewise.
1324 (ROUNDING_TESTS_long_double): Likewise.
1325 (ROUNDING_TESTS): Likewise.
1326 * math/libm-test.inc: Include <math-tests.h>.
1327 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1328 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1329 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1330 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1332 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1334 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1337 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1339 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1340 otherwise empty TRANS lines.
1341 * sysdeps/gnu/errlist.c: Regenerated.
1343 * catgets/gencat.c (error_print): Use (void) in function
1345 * crypt/crypt_util.c (__init_des): Likewise.
1346 * crypt/speeds.c (Stop): Likewise.
1348 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1349 * inet/ruserpass.c (token): Likewise.
1350 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1351 * intl/localealias.c (extend_alias_table): Likewise.
1352 * intl/plural-exp.c (init_germanic_plural): Likewise.
1353 * libio/fcloseall.c (__fcloseall): Likewise.
1354 * libio/genops.c (_IO_flush_all): Likewise.
1355 (_IO_flush_all_linebuffered): Likewise.
1356 (_IO_cleanup): Likewise.
1357 (_IO_iter_begin): Likewise.
1358 (_IO_iter_end): Likewise.
1359 (_IO_list_lock): Likewise.
1360 (_IO_list_unlock): Likewise.
1361 (_IO_list_resetlock): Likewise.
1362 * libio/getchar.c (getchar): Likewise.
1363 * libio/getchar_u.c (getchar_unlocked): Likewise.
1364 * libio/getwchar.c (getwchar): Likewise.
1365 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1366 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1367 * login/getpt.c (__getpt): Likewise.
1368 * login/tst-utmp.c (main): Likewise.
1369 * malloc/hooks.c (__malloc_check_init): Likewise.
1370 * malloc/malloc.c (__malloc_stats): Likewise.
1371 * malloc/mtrace.c (tr_break): Likewise.
1373 (muntrace): Likewise.
1374 * misc/fstab.c (endfsent): Likewise.
1375 * misc/getclktck.c (__getclktck): Likewise.
1376 * misc/getdtsz.c (__getdtablesize): Likewise.
1377 * misc/gethostid.c (gethostid): Likewise.
1378 * misc/getpagesize.c (__getpagesize): Likewise.
1379 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1380 (__get_nprocs): Likewise.
1381 (__get_phys_pages): Likewise.
1382 (__get_avphys_pages): Likewise.
1383 * misc/getttyent.c (getttyent): Likewise.
1384 (setttyent): Likewise.
1385 (endttyent): Likewise.
1386 * misc/getusershell.c (getusershell): Likewise.
1387 (endusershell): Likewise.
1388 (setusershell): Likewise.
1389 (initshells): Likewise.
1390 * misc/hsearch.c (__hdestroy): Likewise.
1391 * misc/sync.c (sync): Likewise.
1392 * misc/syslog.c (closelog_internal): Likewise.
1393 (closelog): Likewise.
1394 * misc/ttyslot.c (ttyslot): Likewise.
1395 * misc/vhangup.c (vhangup): Likewise.
1396 * posix/fork.c (__fork): Likewise.
1397 * posix/getegid.c (__getegid): Likewise.
1398 * posix/geteuid.c (__geteuid): Likewise.
1399 * posix/getgid.c (__getgid): Likewise.
1400 * posix/getpid.c (__getpid): Likewise.
1401 * posix/getppid.c (__getppid): Likewise.
1402 * posix/getuid.c (__getuid): Likewise.
1403 * posix/pause.c (pause): Likewise.
1404 * posix/setpgrp.c (setpgrp): Likewise.
1405 * posix/setsid.c (__setsid): Likewise.
1406 * posix/test-vfork.c (noop): Likewise.
1407 * resolv/gethnamaddr.c (_endhtent): Likewise.
1408 (_gethtent): Likewise.
1409 (ht_endhostent): Likewise.
1410 (gethostent): Likewise.
1411 (dns_service): Likewise.
1412 * stdlib/drand48.c (drand48): Likewise.
1413 * stdlib/lrand48.c (lrand48): Likewise.
1414 * stdlib/mrand48.c (mrand48): Likewise.
1415 * stdlib/rand.c (rand): Likewise.
1416 * stdlib/random.c (__random): Likewise.
1417 * stdlib/setenv.c (clearenv): Likewise.
1418 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1419 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1420 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1421 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1422 (__get_nprocs): Likewise.
1423 (__get_phys_pages): Likewise.
1424 (__get_avphys_pages): Likewise.
1425 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1426 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1427 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1428 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1429 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1430 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1431 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1432 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1433 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1434 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1435 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1436 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1437 * sysdeps/posix/clock.c (clock): Likewise.
1438 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1439 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1440 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1441 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1442 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1443 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1444 (__get_nprocs_conf): Likewise.
1445 (__get_phys_pages): Likewise.
1446 (__get_avphys_pages): Likewise.
1447 * time/clock.c (clock): Likewise.
1448 * time/tzset.c (__tzname_max): Likewise.
1450 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1452 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1453 (__bswap_32): Do not use "register".
1454 * crypt/crypt.c (_ufc_doit_r): Likewise.
1455 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1456 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1457 * gmon/gmon.c (__monstartup): Likewise.
1458 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1459 * hurd/hurdmalloc.c (more_memory): Likewise.
1462 (realloc): Likewise.
1463 (malloc_fork_prepare): Likewise.
1464 (malloc_fork_parent): Likewise.
1465 (malloc_fork_child): Likewise.
1466 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1467 (_svcauth_des): Likewise.
1468 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1469 * inet/inet_net.c (inet_network): Likewise.
1470 * inet/inet_netof.c (inet_netof): Likewise.
1471 * inet/rcmd.c (__validuser2_sa): Likewise.
1472 * io/fts.c (fts_open): Likewise.
1473 (fts_load): Likewise.
1474 (fts_close): Likewise.
1475 (fts_read): Likewise.
1476 (fts_children): Likewise.
1477 (fts_build): Likewise.
1478 (fts_stat): Likewise.
1479 (fts_sort): Likewise.
1480 (fts_alloc): Likewise.
1481 (fts_lfree): Likewise.
1482 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1483 (_IO_file_xsgetn): Likewise.
1484 (_IO_file_xsgetn_mmap): Likewise.
1485 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1486 (_IO_cookie_write): Likewise.
1487 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1488 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1489 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1490 * malloc/obstack.c (_obstack_begin): Likewise.
1491 (_obstack_begin_1): Likewise.
1492 (_obstack_newchunk): Likewise.
1493 (_obstack_allocated_p): Likewise.
1494 (obstack_free): Likewise.
1495 (_obstack_memory_used): Likewise.
1496 * misc/getttyent.c (getttynam): Likewise.
1497 (getttyent): Likewise.
1500 * misc/getusershell.c (initshells): Likewise.
1501 * misc/syslog.c (__vsyslog_chk): Likewise.
1502 * misc/ttyslot.c (ttyslot): Likewise.
1503 * nis/nis_hash.c (__nis_hash): Likewise.
1504 * posix/fnmatch_loop.c (FCT): Likewise.
1505 * posix/getconf.c (print_all): Likewise.
1507 * posix/getopt.c (exchange): Likewise.
1508 * posix/glob.c (globfree): Likewise.
1509 (prefix_array): Likewise.
1510 (__glob_pattern_type): Likewise.
1511 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1512 (NS_GET32): Likewise.
1513 (NS_PUT16): Likewise.
1514 (NS_PUT32): Likewise.
1515 * resolv/gethnamaddr.c (getanswer): Likewise.
1516 (gethostbyname2): Likewise.
1517 (gethostbyaddr): Likewise.
1518 (_gethtent): Likewise.
1519 (_gethtbyname2): Likewise.
1520 (_gethtbyaddr): Likewise.
1521 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1522 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1523 * resolv/res_init.c (__res_vinit): Likewise.
1524 (net_mask): Likewise.
1525 * resolv/res_mkquery.c (outchar): Likewise.
1527 * stdio-common/printf_fp.c (outchar): Likewise.
1529 * stdio-common/printf_fphex.c (outchar): Likewise.
1531 * stdio-common/printf_size.c (outchar): Likewise.
1533 * stdio-common/test_rdwr.c (main): Likewise.
1534 * stdio-common/tfformat.c (matches): Likewise.
1535 * stdio-common/vfprintf.c (outchar): Likewise.
1536 (printf_unknown): Likewise.
1537 (buffered_vfprintf): Likewise.
1538 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1539 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1540 (ReadFile): Likewise.
1541 * stdlib/qsort.c (SWAP): Likewise.
1542 (_quicksort): Likewise.
1543 * stdlib/setenv.c (__add_to_environ): Likewise.
1544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1545 * stdlib/strtol_l.c (__strtol_l): Likewise.
1546 * stdlib/tst-strtod.c (main): Likewise.
1547 * stdlib/tst-strtol.c (main): Likewise.
1548 * stdlib/tst-strtoll.c (main): Likewise.
1549 * string/bits/string2.h (__strcmp_cc): Likewise.
1550 (__strcmp_cg): Likewise.
1551 (__strcspn_c1): Likewise.
1552 (__strcspn_c2): Likewise.
1553 (__strcspn_c3): Likewise.
1554 (__strspn_c1): Likewise.
1555 (__strspn_c2): Likewise.
1556 (__strspn_c3): Likewise.
1557 (__strsep_1c): Likewise.
1558 (__strsep_2c): Likewise.
1559 (__strsep_3c): Likewise.
1560 * string/memccpy.c (__memccpy): Likewise.
1561 * string/stpcpy.c (__stpcpy): Likewise.
1562 * string/strcmp.c (strcmp): Likewise.
1563 * string/strrchr.c (strrchr): Likewise.
1564 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1566 * sysdeps/mach/hurd/getcwd.c
1567 (_hurd_canonicalize_directory_name_internal): Likewise.
1568 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1569 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1570 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1571 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1572 Likewise, in both definitions.
1573 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1575 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1576 64] (__bswap_64): Likewise.
1577 * time/test_time.c (main): Likewise.
1578 * time/tzfile.c (__tzfile_read): Likewise.
1579 (__tzfile_compute): Likewise.
1580 * time/tzset.c (__tzset_parse_tz): Likewise.
1581 (tzset_internal): Likewise.
1582 (compute_change): Likewise.
1583 * wcsmbs/wcscat.c (__wcscat): Likewise.
1584 * wcsmbs/wcschr.c (wcschr): Likewise.
1585 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1586 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1587 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1588 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1589 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1590 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1591 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1592 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1593 * wcsmbs/wmemset.c (wmemset): Likewise.
1595 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1597 * scripts/config.guess: Update to version 2013-05-16.
1598 * scripts/config.sub: Update to version 2013-04-24.
1599 * scripts/install-sh: Update to version 2011-11-20.07.
1600 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1601 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1603 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1605 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1606 * elf/sln.c: Likewise.
1607 * hurd/hurd/ioctl.h: Likewise.
1608 * hurd/hurdmalloc.c: Likewise.
1609 * hurd/xattr.c: Likewise.
1610 * include/shlib-compat.h: Likewise.
1611 * inet/ruserpass.c: Likewise.
1612 * libio/iofgets_u.c: Likewise.
1613 * libio/iofgetws_u.c: Likewise.
1614 * locale/programs/ld-identification.c: Likewise.
1615 * locale/programs/ld-time.c: Likewise.
1616 * mach/msg-destroy.c: Likewise.
1617 * nss/nss_files/files-netgrp.c: Likewise.
1618 * resolv/res_data.c: Likewise.
1619 * soft-fp/op-1.h: Likewise.
1620 * soft-fp/op-2.h: Likewise.
1621 * soft-fp/op-4.h: Likewise.
1622 * soft-fp/op-common.h: Likewise.
1623 * stdio-common/printf_fphex.c: Likewise.
1624 * stdlib/strtod_l.c: Likewise.
1625 * sunrpc/rpc/clnt.h: Likewise.
1626 * sysdeps/generic/framestate.c: Likewise.
1627 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1628 * sysdeps/i386/bsd-setjmp.S: Likewise.
1629 * sysdeps/i386/__longjmp.S: Likewise.
1630 * sysdeps/i386/setjmp.S: Likewise.
1631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1632 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1633 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1649 * sysdeps/ieee754/support.c: Likewise.
1650 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1651 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1652 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1653 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1654 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1655 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1656 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1657 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1658 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1659 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1660 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1661 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1662 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1663 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1664 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1665 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1666 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1669 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1671 * posix/transbug.c: Remove executable mode.
1673 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1675 * crypt/speeds.c: Remove trailing whitespace.
1676 * dlfcn/default.c: Likewise.
1677 * elf/ifuncdep2.c: Likewise.
1678 * elf/ifuncmain1.c: Likewise.
1679 * elf/ifuncmain1vis.c: Likewise.
1680 * elf/testobj.h: Likewise.
1681 * elf/tst-stackguard1.c: Likewise.
1682 * gmon/sys/gmon.h: Likewise.
1683 * hurd/hurdmsg.c: Likewise.
1684 * hurd/new-fd.c: Likewise.
1685 * hurd/ports-get.c: Likewise.
1686 * iconvdata/ibm1008_420.c: Likewise.
1687 * inet/tst-getni1.c: Likewise.
1688 * inet/tst-getni2.c: Likewise.
1689 * libio/ioungetc.c: Likewise.
1690 * libio/wfiledoalloc.c: Likewise.
1691 * manual/libm-err-tab.pl: Likewise.
1692 * math/w_dremf.c: Likewise.
1693 * misc/ftruncate.c: Likewise.
1694 * posix/bug-glob2.c: Likewise.
1695 * posix/tst-pcre.c: Likewise.
1696 * posix/wait4.c: Likewise.
1697 * resolv/README: Likewise.
1698 * resolv/res_debug.h: Likewise.
1699 * resolv/tst-inet_ntop.c: Likewise.
1700 * setjmp/bug269-setjmp.c: Likewise.
1701 * soft-fp/extended.h: Likewise.
1702 * soft-fp/op-1.h: Likewise.
1703 * soft-fp/op-2.h: Likewise.
1704 * soft-fp/op-4.h: Likewise.
1705 * soft-fp/op-8.h: Likewise.
1706 * soft-fp/testit.c: Likewise.
1707 * stdio-common/bug16.c: Likewise.
1708 * stdlib/random.c: Likewise.
1709 * sunrpc/rpcsvc/rquota.x: Likewise.
1710 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1711 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1713 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1714 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1716 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1718 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1719 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1720 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1739 * sysdeps/ieee754/s_lib_version.c: Likewise.
1740 * sysdeps/mach/hurd/check_fds.c: Likewise.
1741 * sysdeps/mach/hurd/getsockname.c: Likewise.
1742 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1743 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1744 * sysdeps/powerpc/bits/link.h: Likewise.
1745 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1746 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1747 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1748 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1749 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1750 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1751 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1752 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1753 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1754 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1755 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1756 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1757 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1758 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1759 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1760 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1762 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1766 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1768 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1769 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1770 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1771 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1773 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1774 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1775 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1776 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1777 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1778 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1779 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1780 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1782 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1783 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1784 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1785 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1786 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1787 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1788 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1789 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1790 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1791 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1792 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1793 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1794 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1797 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1798 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1799 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1800 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1801 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1802 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1803 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1804 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1805 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1806 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1807 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1809 * sysdeps/powerpc/sysdep.h: Likewise.
1810 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1811 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1812 * sysdeps/sh/dl-trampoline.S: Likewise.
1813 * sysdeps/sh/memset.S: Likewise.
1814 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1815 * sysdeps/sh/strlen.S: Likewise.
1816 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1817 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1818 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1819 * sysdeps/sparc/sparc32/rem.S: Likewise.
1820 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1821 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1822 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1823 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1824 * sysdeps/sparc/sparc32/urem.S: Likewise.
1825 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1826 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1827 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1828 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1829 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1830 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1831 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1832 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1833 * sysdeps/unix/bsd/times.c: Likewise.
1834 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1835 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1839 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1840 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1841 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1842 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1843 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1844 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1845 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1846 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1847 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1848 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1849 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1851 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1852 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1853 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1854 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1855 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1856 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1857 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1858 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1859 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1860 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1861 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1862 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1863 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1864 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1865 * sysdeps/x86_64/strcspn.S: Likewise.
1867 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1869 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1870 generated file. Regenerate properly from gen-translit.pl.
1871 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1872 locale/C-translit.h.
1874 2013-06-05 Andreas Schwab <schwab@suse.de>
1877 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1878 week as 6 instead of -1.
1879 * time/tst-strptime.c (day_tests): Add test case.
1881 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1883 * sysdeps/generic/math_private.h
1884 (libc_feholdexcept_setround_53bit): Replace with
1885 libc_feholdsetround_53bit.
1886 (libc_feupdateenv_53bit): Replace with
1887 libc_feresetround_53bit.
1888 (SET_RESTORE_ROUND_53BIT): Adjust.
1890 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1892 * string/test-strchrnul.c: Add copyright header.
1894 * posix/tst-getaddrinfo4.c: Increase test timeout.
1896 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1899 * math/libm-test.inc (MAX_EXP): Remove
1901 (ulp): Use MIN_EXP - MANT_DIG.
1902 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1904 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1906 * po/be.po: Revert last change.
1907 * po/zh_CN.po: Likewise.
1908 * po/header.pot: Likewise.
1910 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1912 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1913 link-libc-deps to empty as target-specific variable.
1914 * Makerules (link-libc-args): New variable.
1915 (libc-for-link): Likewise.
1916 (link-libc-deps): Likewise.
1917 (lib%.so): Depend on $(link-libc-deps). Link with
1919 (build-module): Link with $(link-libc-args).
1920 (build-module-asneeded): Likewise.
1921 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1923 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1924 target-specific variable.
1925 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1926 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1927 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1929 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1931 ($(objpfx)libpcprofile.so): Likewise.
1932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1934 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1935 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1936 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1938 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1939 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1940 * login/Makefile ($(objpfx)libutil.so): Likewise.
1941 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1942 * math/Makefile ($(objpfx)libm.so): Likewise.
1943 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1944 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1945 variable instead of depending directly on libc.
1946 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1947 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1949 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1951 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1952 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1953 ($(objpfx)libanl.so): Likewise.
1954 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1956 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1958 * sysdeps/i386/fpu/Makefile: Remove file.
1959 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1960 ($(objpfx)libm.so): Remove dependency on ld.so.
1962 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1965 * nis/yp_xdr.c (XDRMAXNAME): Define.
1966 (XDRMAXRECORD): Define.
1967 (xdr_domainname): Use XDRMAXNAME.
1968 (xdr_mapname): Likewise.
1969 (xdr_peername): Likewise.
1970 (xdr_keydat): Use XDRMAXRECORD.
1971 (xdr_valdat): Likewise.
1973 2013-05-30 Jeff Law <law@redhat.com>
1976 * manual/errno.texi (ESTALE): Update to account for more than
1977 just NFS file systems.
1978 * sysdeps/gnu/errlist.c: Regenerated.
1980 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1983 * elf/Makefile (tests): Add tst-null-argv.
1984 (modules-names): Add tst-null-argv-lib.
1985 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1986 (tst-null-argv-ENV): Set environment for tst-null-argv.
1987 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1988 (RTLD_PROGNAME): New macro.
1989 * elf/tst-null-argv.c: New test case.
1990 * elf/tst-null-argv-lib.c: Library for test case.
1991 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1992 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1993 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1994 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1995 * elf/dl-init.c (call_init): Likewise.
1996 (_dl_init): Likewise.
1997 * elf/dl-load.c (print_search_path): Likewise.
1998 (_dl_map_object): Likewise.
1999 * elf/dl-lookup.c (do_lookup_x): Likewise.
2000 (add_dependency): Likewise.
2001 (_dl_lookup_symbol_x): Likewise.
2002 (_dl_debug_bindings): Likewise.
2003 * elf/dl-open.c (_dl_show_scope): Likewise.
2004 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2005 * elf/dl-version.c (match_symbol): Likewise.
2006 (_dl_check_map_versions): Likewise.
2007 * elf/rtld.c (dl_main): Likewise.
2008 (print_unresolved): Use RTLD_PROGNAME.
2009 (print_missing_version): Likewise.
2010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2011 (elf_machine_rela): Likewise.
2012 * sysdeps/powerpc/powerpc32/dl-machine.c
2013 (__process_machine_rela): Likewise.
2014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2016 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2027 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2029 * po/be.po: Add descriptive title.
2030 * po/zh_CN.po: Likewise.
2031 * po/header.pot: Likewise.
2033 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2035 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2037 (enlarge_archive): Likewise.
2039 2013-05-28 Ben North <ben@redfrontdoor.org>
2041 * manual/arith.texi (frexp): It is the magnitude of the return
2042 value which lies in [0.5, 1), not the return value itself.
2044 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2048 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2050 * stdio-common/bug26.c (main): Correct fscanf template.
2052 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2053 declare _dl_skip_args.
2055 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2058 * manual/platform.texi: Add missing @end deftypefun.
2060 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2063 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2064 bit of mantissa of 2^16382.
2065 * math/libm-test.inc (hypot_test_data): Add more tests.
2067 * math/libm-test.inc: Add drem and pow10 to list of tested
2069 (pow10_test): New function.
2070 (drem_test): Likewise.
2071 (drem_test_tonearest): Likewise.
2072 (drem_test_towardzero): Likewise.
2073 (drem_test_downward): Likewise.
2074 (drem_test_upward): Likewise.
2075 (main): Call the new functions.
2077 * math/libm-test.inc (finite_test_data): Remove.
2078 (finite_test): Run tests from isfinite_test_data.
2079 (gamma_test_data): Remove.
2080 (gamma_test): Run tests from lgamma_test_data.
2081 * sysdeps/i386/fpu/libm-test-ulps: Update.
2082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2084 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086 * manual/platform.texi: Add PowerPC PPR function set documentation.
2087 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2090 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2092 * math/libm-test.inc (MAX_EXP): Define.
2094 (ulp): New function.
2095 (check_float_internal): Use ULPDIFF.
2096 (cpow_test): Disable failing test.
2097 (check_ulp): Test ulp() implemetnation.
2098 (main): Call check_ulp before starting tests.
2100 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2102 * math/gen-libm-test.pl (generate_testfile): Do not handle
2103 START_DATA and END_DATA.
2104 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2106 (acos_tonearest_test_data): Likewise.
2107 (acos_towardzero_test_data): Likewise.
2108 (acos_downward_test_data): Likewise.
2109 (acos_upward_test_data): Likewise.
2110 (acosh_test_data): Likewise.
2111 (asin_test_data): Likewise.
2112 (asin_tonearest_test_data): Likewise.
2113 (asin_towardzero_test_data): Likewise.
2114 (asin_downward_test_data): Likewise.
2115 (asin_upward_test_data): Likewise.
2116 (asinh_test_data): Likewise.
2117 (atan_test_data): Likewise.
2118 (atanh_test_data): Likewise.
2119 (atan2_test_data): Likewise.
2120 (cabs_test_data): Likewise.
2121 (cacos_test_data): Likewise.
2122 (cacosh_test_data): Likewise.
2123 (carg_test_data): Likewise.
2124 (casin_test_data): Likewise.
2125 (casinh_test_data): Likewise.
2126 (catan_test_data): Likewise.
2127 (catanh_test_data): Likewise.
2128 (cbrt_test_data): Likewise.
2129 (ccos_test_data): Likewise.
2130 (ccosh_test_data): Likewise.
2131 (ceil_test_data): Likewise.
2132 (cexp_test_data): Likewise.
2133 (cimag_test_data): Likewise.
2134 (clog_test_data): Likewise.
2135 (clog10_test_data): Likewise.
2136 (conj_test_data): Likewise.
2137 (copysign_test_data): Likewise.
2138 (cos_test_data): Likewise.
2139 (cos_tonearest_test_data): Likewise.
2140 (cos_towardzero_test_data): Likewise.
2141 (cos_downward_test_data): Likewise.
2142 (cos_upward_test_data): Likewise.
2143 (cosh_test_data): Likewise.
2144 (cosh_tonearest_test_data): Likewise.
2145 (cosh_towardzero_test_data): Likewise.
2146 (cosh_downward_test_data): Likewise.
2147 (cosh_upward_test_data): Likewise.
2148 (cpow_test_data): Likewise.
2149 (cproj_test_data): Likewise.
2150 (creal_test_data): Likewise.
2151 (csin_test_data): Likewise.
2152 (csinh_test_data): Likewise.
2153 (csqrt_test_data): Likewise.
2154 (ctan_test_data): Likewise.
2155 (ctan_tonearest_test_data): Likewise.
2156 (ctan_towardzero_test_data): Likewise.
2157 (ctan_downward_test_data): Likewise.
2158 (ctan_upward_test_data): Likewise.
2159 (ctanh_test_data): Likewise.
2160 (ctanh_tonearest_test_data): Likewise.
2161 (ctanh_towardzero_test_data): Likewise.
2162 (ctanh_downward_test_data): Likewise.
2163 (ctanh_upward_test_data): Likewise.
2164 (erf_test_data): Likewise.
2165 (erfc_test_data): Likewise.
2166 (exp_test_data): Likewise.
2167 (exp_tonearest_test_data): Likewise.
2168 (exp_towardzero_test_data): Likewise.
2169 (exp_downward_test_data): Likewise.
2170 (exp_upward_test_data): Likewise.
2171 (exp10_test_data): Likewise.
2172 (exp2_test_data): Likewise.
2173 (expm1_test_data): Likewise.
2174 (fabs_test_data): Likewise.
2175 (fdim_test_data): Likewise.
2176 (finite_test_data): Likewise.
2177 (floor_test_data): Likewise.
2178 (fma_test_data): Likewise.
2179 (fma_towardzero_test_data): Likewise.
2180 (fma_downward_test_data): Likewise.
2181 (fma_upward_test_data): Likewise.
2182 (fmax_test_data): Likewise.
2183 (fmin_test_data): Likewise.
2184 (fmod_test_data): Likewise.
2185 (fpclassify_test_data): Likewise.
2186 (frexp_test_data): Likewise.
2187 (gamma_test_data): Likewise.
2188 (hypot_test_data): Likewise.
2189 (ilogb_test_data): Likewise.
2190 (isfinite_test_data): Likewise.
2191 (isgreater_test_data): Likewise.
2192 (isgreaterequal_test_data): Likewise.
2193 (isinf_test_data): Likewise.
2194 (isless_test_data): Likewise.
2195 (islessequal_test_data): Likewise.
2196 (islessgreater_test_data): Likewise.
2197 (isnan_test_data): Likewise.
2198 (isnormal_test_data): Likewise.
2199 (issignaling_test_data): Likewise.
2200 (isunordered_test_data): Likewise.
2201 (j0_test_data): Likewise.
2202 (j1_test_data): Likewise.
2203 (jn_test_data): Likewise.
2204 (ldexp_test_data): Likewise.
2205 (lgamma_test_data): Likewise.
2206 (lrint_test_data): Likewise.
2207 (lrint_tonearest_test_data): Likewise.
2208 (lrint_towardzero_test_data): Likewise.
2209 (lrint_downward_test_data): Likewise.
2210 (lrint_upward_test_data): Likewise.
2211 (llrint_test_data): Likewise.
2212 (llrint_tonearest_test_data): Likewise.
2213 (llrint_towardzero_test_data): Likewise.
2214 (llrint_downward_test_data): Likewise.
2215 (llrint_upward_test_data): Likewise.
2216 (log_test_data): Likewise.
2217 (log10_test_data): Likewise.
2218 (log1p_test_data): Likewise.
2219 (log2_test_data): Likewise.
2220 (logb_test_data): Likewise.
2221 (logb_downward_test_data): Likewise.
2222 (lround_test_data): Likewise.
2223 (llround_test_data): Likewise.
2224 (modf_test_data): Likewise.
2225 (nearbyint_test_data): Likewise.
2226 (nextafter_test_data): Likewise.
2227 (nexttoward_test_data): Likewise.
2228 (pow_test_data): Likewise.
2229 (pow_tonearest_test_data): Likewise.
2230 (pow_towardzero_test_data): Likewise.
2231 (pow_downward_test_data): Likewise.
2232 (pow_upward_test_data): Likewise.
2233 (remainder_test_data): Likewise.
2234 (remainder_tonearest_test_data): Likewise.
2235 (remainder_towardzero_test_data): Likewise.
2236 (remainder_downward_test_data): Likewise.
2237 (remainder_upward_test_data): Likewise.
2238 (remquo_test_data): Likewise.
2239 (rint_test_data): Likewise.
2240 (rint_tonearest_test_data): Likewise.
2241 (rint_towardzero_test_data): Likewise.
2242 (rint_downward_test_data): Likewise.
2243 (rint_upward_test_data): Likewise.
2244 (round_test_data): Likewise.
2245 (scalb_test_data): Likewise.
2246 (scalbn_test_data): Likewise.
2247 (scalbln_test_data): Likewise.
2248 (signbit_test_data): Likewise.
2249 (sin_test_data): Likewise.
2250 (sin_tonearest_test_data): Likewise.
2251 (sin_towardzero_test_data): Likewise.
2252 (sin_downward_test_data): Likewise.
2253 (sin_upward_test_data): Likewise.
2254 (sincos_test_data): Likewise.
2255 (sinh_test_data): Likewise.
2256 (sinh_tonearest_test_data): Likewise.
2257 (sinh_towardzero_test_data): Likewise.
2258 (sinh_downward_test_data): Likewise.
2259 (sinh_upward_test_data): Likewise.
2260 (sqrt_test_data): Likewise.
2261 (tan_test_data): Likewise.
2262 (tan_tonearest_test_data): Likewise.
2263 (tan_towardzero_test_data): Likewise.
2264 (tan_downward_test_data): Likewise.
2265 (tan_upward_test_data): Likewise.
2266 (tanh_test_data): Likewise.
2267 (tgamma_test_data): Likewise.
2268 (trunc_test_data): Likewise.
2269 (y0_test_data): Likewise.
2270 (y1_test_data): Likewise.
2271 (yn_test_data): Likewise.
2272 (significand_test_data): Likewise.
2274 * math/gen-libm-test.pl (@functions): Remove variable.
2275 (generate_testfile): Don't handle START and END lines.
2276 * math/libm-test.inc (START): New macro.
2278 (END_COMPLEX): Likewise.
2279 (acos_test): Use END macro without arguments.
2280 (acos_test_tonearest): Likewise.
2281 (acos_test_towardzero): Likewise.
2282 (acos_test_downward): Likewise.
2283 (acos_test_upward): Likewise.
2284 (acosh_test): Likewise.
2285 (asin_test): Likewise.
2286 (asin_test_tonearest): Likewise.
2287 (asin_test_towardzero): Likewise.
2288 (asin_test_downward): Likewise.
2289 (asin_test_upward): Likewise.
2290 (asinh_test): Likewise.
2291 (atan_test): Likewise.
2292 (atanh_test): Likewise.
2293 (atan2_test): Likewise.
2294 (cabs_test): Likewise.
2295 (cacos_test): Use END_COMPLEX macro without arguments.
2296 (cacosh_test): Likewise.
2297 (carg_test): Use END macro without arguments.
2298 (casin_test): Use END_COMPLEX macro without arguments.
2299 (casinh_test): Likewise.
2300 (catan_test): Likewise.
2301 (catanh_test): Likewise.
2302 (cbrt_test): Use END macro without arguments.
2303 (ccos_test): Use END_COMPLEX macro without arguments.
2304 (ccosh_test): Likewise.
2305 (ceil_test): Use END macro without arguments.
2306 (cexp_test): Use END_COMPLEX macro without arguments.
2307 (cimag_test): Use END macro without arguments.
2308 (clog_test): Use END_COMPLEX macro without arguments.
2309 (clog10_test): Likewise.
2310 (conj_test): Likewise.
2311 (copysign_test): Use END macro without arguments.
2312 (cos_test): Likewise.
2313 (cos_test_tonearest): Likewise.
2314 (cos_test_towardzero): Likewise.
2315 (cos_test_downward): Likewise.
2316 (cos_test_upward): Likewise.
2317 (cosh_test): Likewise.
2318 (cosh_test_tonearest): Likewise.
2319 (cosh_test_towardzero): Likewise.
2320 (cosh_test_downward): Likewise.
2321 (cosh_test_upward): Likewise.
2322 (cpow_test): Use END_COMPLEX macro without arguments.
2323 (cproj_test): Likewise.
2324 (creal_test): Use END macro without arguments.
2325 (csin_test): Use END_COMPLEX macro without arguments.
2326 (csinh_test): Likewise.
2327 (csqrt_test): Likewise.
2328 (ctan_test): Likewise.
2329 (ctan_test_tonearest): Likewise.
2330 (ctan_test_towardzero): Likewise.
2331 (ctan_test_downward): Likewise.
2332 (ctan_test_upward): Likewise.
2333 (ctanh_test): Likewise.
2334 (ctanh_test_tonearest): Likewise.
2335 (ctanh_test_towardzero): Likewise.
2336 (ctanh_test_downward): Likewise.
2337 (ctanh_test_upward): Likewise.
2338 (erf_test): Use END macro without arguments.
2339 (erfc_test): Likewise.
2340 (exp_test): Likewise.
2341 (exp_test_tonearest): Likewise.
2342 (exp_test_towardzero): Likewise.
2343 (exp_test_downward): Likewise.
2344 (exp_test_upward): Likewise.
2345 (exp10_test): Likewise.
2346 (exp2_test): Likewise.
2347 (expm1_test): Likewise.
2348 (fabs_test): Likewise.
2349 (fdim_test): Likewise.
2350 (finite_test): Likewise.
2351 (floor_test): Likewise.
2352 (fma_test): Likewise.
2353 (fma_test_towardzero): Likewise.
2354 (fma_test_downward): Likewise.
2355 (fma_test_upward): Likewise.
2356 (fmax_test): Likewise.
2357 (fmin_test): Likewise.
2358 (fmod_test): Likewise.
2359 (fpclassify_test): Likewise.
2360 (frexp_test): Likewise.
2361 (gamma_test): Likewise.
2362 (hypot_test): Likewise.
2363 (ilogb_test): Likewise.
2364 (isfinite_test): Likewise.
2365 (isgreater_test): Likewise.
2366 (isgreaterequal_test): Likewise.
2367 (isinf_test): Likewise.
2368 (isless_test): Likewise.
2369 (islessequal_test): Likewise.
2370 (islessgreater_test): Likewise.
2371 (isnan_test): Likewise.
2372 (isnormal_test): Likewise.
2373 (issignaling_test): Likewise.
2374 (isunordered_test): Likewise.
2375 (j0_test): Likewise.
2376 (j1_test): Likewise.
2377 (jn_test): Likewise.
2378 (ldexp_test): Likewise.
2379 (lgamma_test): Likewise.
2380 (lrint_test): Likewise.
2381 (lrint_test_tonearest): Likewise.
2382 (lrint_test_towardzero): Likewise.
2383 (lrint_test_downward): Likewise.
2384 (lrint_test_upward): Likewise.
2385 (llrint_test): Likewise.
2386 (llrint_test_tonearest): Likewise.
2387 (llrint_test_towardzero): Likewise.
2388 (llrint_test_downward): Likewise.
2389 (llrint_test_upward): Likewise.
2390 (log_test): Likewise.
2391 (log10_test): Likewise.
2392 (log1p_test): Likewise.
2393 (log2_test): Likewise.
2394 (logb_test): Likewise.
2395 (logb_test_downward): Likewise.
2396 (lround_test): Likewise.
2397 (llround_test): Likewise.
2398 (modf_test): Likewise.
2399 (nearbyint_test): Likewise.
2400 (nextafter_test): Likewise.
2401 (nexttoward_test): Likewise.
2402 (pow_test): Likewise.
2403 (pow_test_tonearest): Likewise.
2404 (pow_test_towardzero): Likewise.
2405 (pow_test_downward): Likewise.
2406 (pow_test_upward): Likewise.
2407 (remainder_test): Likewise.
2408 (remainder_test_tonearest): Likewise.
2409 (remainder_test_towardzero): Likewise.
2410 (remainder_test_downward): Likewise.
2411 (remainder_test_upward): Likewise.
2412 (remquo_test): Likewise.
2413 (rint_test): Likewise.
2414 (rint_test_tonearest): Likewise.
2415 (rint_test_towardzero): Likewise.
2416 (rint_test_downward): Likewise.
2417 (rint_test_upward): Likewise.
2418 (round_test): Likewise.
2419 (scalb_test): Likewise.
2420 (scalbn_test): Likewise.
2421 (scalbln_test): Likewise.
2422 (signbit_test): Likewise.
2423 (sin_test): Likewise.
2424 (sin_test_tonearest): Likewise.
2425 (sin_test_towardzero): Likewise.
2426 (sin_test_downward): Likewise.
2427 (sin_test_upward): Likewise.
2428 (sincos_test): Likewise.
2429 (sinh_test): Likewise.
2430 (sinh_test_tonearest): Likewise.
2431 (sinh_test_towardzero): Likewise.
2432 (sinh_test_downward): Likewise.
2433 (sinh_test_upward): Likewise.
2434 (sqrt_test): Likewise.
2435 (tan_test): Likewise.
2436 (tan_test_tonearest): Likewise.
2437 (tan_test_towardzero): Likewise.
2438 (tan_test_downward): Likewise.
2439 (tan_test_upward): Likewise.
2440 (tanh_test): Likewise.
2441 (tgamma_test): Likewise.
2442 (trunc_test): Likewise.
2443 (y0_test): Likewise.
2444 (y1_test): Likewise.
2445 (yn_test): Likewise.
2446 (significand_test): Likewise.
2448 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2451 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2453 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2456 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2457 __ppc_mdoio and __ppc_mdoom.
2458 * manual/platform.texi: Document new functions __ppc_yield,
2459 __ppc_mdoio and __ppc_mdoom.
2461 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2463 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2464 (main): Mention "tls" pseudo-hwcap is legacy.
2465 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2467 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2469 * math/gen-libm-test.pl (parse_args): Output only string of
2470 arguments as text for test name, not full call or descriptions of
2471 tests for extra outputs.
2472 (generate_testfile): Do not pass function name to parse_args.
2473 Generate this_func variable from START.
2474 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2476 (struct test_ff_f_data): Likewise.
2477 (test_ff_f_data_nexttoward): Likewise.
2478 (struct test_fi_f_data): Likewise.
2479 (struct test_fl_f_data): Likewise.
2480 (struct test_if_f_data): Likewise.
2481 (struct test_fff_f_data): Likewise.
2482 (struct test_c_f_data): Likewise.
2483 (struct test_f_f1_data): Likewise. Remove field extra_name.
2484 (struct test_fF_f1_data): Likewise.
2485 (struct test_ffI_f1_data): Likewise.
2486 (struct test_c_c_data): Rename test_name field to arg_str.
2487 (struct test_cc_c_data): Likewise.
2488 (struct test_f_i_data): Likewise.
2489 (struct test_ff_i_data): Likewise.
2490 (struct test_f_l_data): Likewise.
2491 (struct test_f_L_data): Likewise.
2492 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2494 (COMMON_TEST_SETUP): New macro.
2495 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2496 (COMMON_TEST_CLEANUP): Likewise.
2497 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2498 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2500 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2501 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2503 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2504 (RUN_TEST_fff_f): Take argument string. Call new setup and
2506 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2507 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2509 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2510 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2512 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2513 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2515 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2516 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2518 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2519 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2521 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2522 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2524 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2525 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2527 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2528 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2530 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2531 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2533 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2534 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2536 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2537 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2539 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2540 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2542 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2543 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2545 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2546 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2548 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2549 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2551 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2553 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2555 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2556 to _sifields.sigfault.
2557 (si_addr_lsb): Define new macro.
2558 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2560 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2562 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2565 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2567 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2569 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2572 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2574 * math/gen-libm-test.pl (parse_args): Do not include expected
2575 result in test name.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2578 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2579 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2580 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2583 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2585 * benchtests/Makefile: Sort function entries.
2587 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2588 tanh, asinh, acosh, atanh.
2589 * benchtests/acos-inputs: New file.
2590 * benchtests/acosh-inputs: New file.
2591 * benchtests/asin-inputs: New file.
2592 * benchtests/asinh-inputs: New file.
2593 * benchtests/atanh-inputs: New file.
2594 * benchtests/cosh-inputs: New file.
2595 * benchtests/log-inputs: New file.
2596 * benchtests/sinh-inputs: New file.
2597 * benchtests/tanh-inputs: New file.
2599 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2602 * posix/tst-getaddrinfo4.c: New test.
2603 * posix/Makefile (tests): Add it.
2605 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2608 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2609 when no services were used.
2610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2611 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2613 2013-05-21 Andreas Schwab <schwab@suse.de>
2616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2617 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2619 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2620 redundant variable declarations and reallocation of buffer when
2621 parsing as IPv6 address. Always set NSS status when called from
2622 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2623 buffer too small. Correct computation of needed size.
2624 * nss/Makefile (tests): Add test-digits-dots.
2625 * nss/test-digits-dots.c: New test.
2627 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2629 * benchtests/Makefile: Remove instructions for adding
2631 * benchtests/README: New file to explain how to execute and
2632 enhance the benchmark tests.
2634 2013-05-21 Andreas Schwab <schwab@suse.de>
2637 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2638 * setjmp/tst-sigsetjmp.c: New test.
2640 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2642 * sysdeps/x86_64/memset.S (memset): New implementation.
2643 (__bzero): Likewise.
2644 (__memset_tail): New function.
2646 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2648 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2649 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2650 __memcpy_sse2_unaligned ifunc selection.
2651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2652 Add memcpy-sse2-unaligned.S.
2653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2654 Add: __memcpy_sse2_unaligned.
2656 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2659 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2660 math_force_eval before restoring floating-point envrionment.
2661 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2666 (__nearbyintl): Use math_force_eval before restoring
2667 floating-point environment.
2668 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2670 * math/gen-libm-test.pl (special_functions): Remove.
2671 (parse_args): Don't handle TEST_extra. Handle functions with no
2673 * math/libm-test.inc (struct test_sincos_data): Replace with
2674 struct test_fFF_11_data.
2675 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2676 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2677 (sincos_test_data): Change element type to struct
2678 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2679 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2680 RUN_TEST_LOOP_sincos.
2681 * math/README.libm-test: Don't mention special handling of
2682 individual functions.
2683 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2685 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2686 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690 * math/gen-libm-test.pl (get_variable): Remove function.
2691 (parse_args): Don't show pointer parameters to call in test
2692 names. Use "extra output N" in test names for extra outputs
2693 rather than naming variables.
2695 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2698 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2699 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2700 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2702 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2704 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2707 * math/gen-libm-test.pl (@tests): Remove variable.
2709 (new_test): Remove function.
2710 (show_exceptions): New function.
2711 (special_functions): Use show_exceptions instead of new_test.
2712 (parse_args): Likewise.
2713 (generate_testfile): Pass only function name in generated call to
2714 print_max_error or print_complex_max_error.
2715 (get_ulps): Do not handle complex tests specially.
2716 (output_test): Rename to ...
2717 (get_all_ulps_for_test): ... this. Return a string rather than
2718 printing to a file. Require ulps to be present.
2719 (output_ulps): Generate arrays rather than #defines.
2720 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2721 (struct ulp_data): New type.
2722 (BUILD_COMPLEX_ULP): Remove macro.
2723 (compare_ulp_data): New function.
2724 (find_ulps): Likewise.
2725 (find_test_ulps): Likewise.
2726 (find_function_ulps): Likewise.
2727 (find_complex_function_ulps): Likewise.
2728 (print_max_error): Determine allowed ulps using
2730 (print_complex_max_error): Determine allowed ulps using
2731 find_complex_function_ulps.
2732 (check_float_internal): Determine max ulps using find_test_ulps.
2733 (check_float): Do not take max_ulp parameter. Update call to
2734 check_float_internal.
2735 (check_complex): Likewise.
2736 (check_int): Do not take max_ulp parameter.
2737 (check_long): Likewise.
2738 (check_bool): Likewise.
2739 (check_longlong): Likewise.
2740 (struct test_f_f_data): Remove max_ulp field.
2741 (struct test_ff_f_data): Likewise.
2742 (struct test_ff_f_data_nexttoward): Likewise.
2743 (struct test_fi_f_data): Likewise.
2744 (struct test_fl_f_data): Likewise.
2745 (struct test_if_f_data): Likewise.
2746 (struct test_fff_f_data): Likewise.
2747 (struct test_c_f_data): Likewise.
2748 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2749 (struct test_fF_f1_data): Likewise.
2750 (struct test_ffI_f1_data): Likewise.
2751 (struct test_c_c_data): Remove max_ulp field.
2752 (struct test_cc_c_data): Likewise.
2753 (struct test_f_i_data): Likewise.
2754 (struct test_ff_i_data): Likewise.
2755 (struct test_f_l_data): Likewise.
2756 (struct test_f_L_data): Likewise.
2757 (struct test_sincos_data): Likewise.
2758 (RUN_TEST_f_f): Do not handle ulps.
2759 (RUN_TEST_LOOP_f_f): Likewise.
2760 (RUN_TEST_2_f): Likewise.
2761 (RUN_TEST_LOOP_2_f): Likewise.
2762 (RUN_TEST_fff_f): Likewise.
2763 (RUN_TEST_LOOP_fff_f): Likewise.
2764 (RUN_TEST_c_f): Likewise.
2765 (RUN_TEST_LOOP_c_f): Likewise.
2766 (RUN_TEST_f_f1): Likewise.
2767 (RUN_TEST_LOOP_f_f1): Likewise.
2768 (RUN_TEST_fF_f1): Likewise.
2769 (RUN_TEST_LOOP_fF_f1): Likewise.
2770 (RUN_TEST_fI_f1): Likewise.
2771 (RUN_TEST_LOOP_fI_f1): Likewise.
2772 (RUN_TEST_ffI_f1): Likewise.
2773 (RUN_TEST_LOOP_ffI_f1): Likewise.
2774 (RUN_TEST_c_c): Likewise.
2775 (RUN_TEST_LOOP_c_c): Likewise.
2776 (RUN_TEST_cc_c): Likewise.
2777 (RUN_TEST_LOOP_cc_c): Likewise.
2778 (RUN_TEST_f_i): Likewise.
2779 (RUN_TEST_LOOP_f_i): Likewise.
2780 (RUN_TEST_f_i_tg): Likewise.
2781 (RUN_TEST_LOOP_f_i_tg): Likewise.
2782 (RUN_TEST_ff_i_tg): Likewise.
2783 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2784 (RUN_TEST_f_b): Likewise.
2785 (RUN_TEST_LOOP_f_b): Likewise.
2786 (RUN_TEST_f_b_tg): Likewise.
2787 (RUN_TEST_LOOP_f_b_tg): Likewise.
2788 (RUN_TEST_f_l): Likewise.
2789 (RUN_TEST_LOOP_f_l): Likewise.
2790 (RUN_TEST_f_L): Likewise.
2791 (RUN_TEST_LOOP_f_L): Likewise.
2792 (RUN_TEST_sincos): Likewise.
2793 (RUN_TEST_LOOP_sincos): Likewise.
2795 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2799 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2800 main case of finite arguments, set rounding mode to FE_TONEAREST
2801 and discard exceptions.
2802 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2804 (remainder_tonearest_test_data): New variable.
2805 (remainder_test_tonearest): New function.
2806 (remainder_towardzero_test_data): New variable.
2807 (remainder_test_towardzero): New function.
2808 (remainder_downward_test_data): New variable.
2809 (remainder_test_downward): New function.
2810 (remainder_upward_test_data): New variable.
2811 (remainder_test_upward): New function.
2812 (main): Call the new test functions.
2814 * math/libm-test.inc (struct test_f_f1_data): Remove field
2816 (struct test_fF_f1_data): Likewise.
2817 (struct test_ffI_f1_data): Likewise.
2818 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2819 based on value of EXTRA_EXPECTED.
2820 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2821 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2822 EXTRA_VAR based on value of EXTRA_EXPECTED.
2823 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2824 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2825 EXTRA_VAR based on value of EXTRA_EXPECTED.
2826 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2827 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2828 EXTRA_VAR based on value of EXTRA_EXPECTED.
2829 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2830 * math/gen-libm-test.pl (parse_args): Don't output initializers
2831 for extra output values.
2833 * math/libm-test.inc (check_int): Expect result to be exactly
2834 equal to expected value and do not handle ulps.
2835 (check_long): Likewise.
2836 (check_longlong): Likewise.
2838 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2840 (cimag_test_data): Likewise.
2841 (conj_test_data): Likewise.
2842 (copysign_test_data): Likewise.
2843 (cproj_test_data): Likewise.
2844 (creal_test_data): Likewise.
2845 (fabs_test_data): Likewise.
2846 (fdim_test_data): Likewise.
2847 (finite_test_data): Likewise.
2848 (floor_test_data): Likewise.
2849 (fmax_test_data): Likewise.
2850 (fmin_test_data): Likewise.
2851 (fmod_test_data): Likewise.
2852 (fpclassify_test_data): Likewise.
2853 (frexp_test_data): Likewise.
2854 (ilogb_test_data): Likewise.
2855 (isfinite_test_data): Likewise.
2856 (isgreater_test_data): Likewise.
2857 (isgreaterequal_test_data): Likewise.
2858 (isinf_test_data): Likewise.
2859 (isless_test_data): Likewise.
2860 (islessequal_test_data): Likewise.
2861 (islessgreater_test_data): Likewise.
2862 (isnan_test_data): Likewise.
2863 (isnormal_test_data): Likewise.
2864 (issignaling_test_data): Likewise.
2865 (isunordered_test_data): Likewise.
2866 (ldexp_test_data): Likewise.
2867 (lrint_test_data): Likewise.
2868 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2869 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2870 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2871 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2872 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2873 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2875 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2876 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2877 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2878 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2880 (lrint_downward_test_data): Test for "inexact" exceptions.
2881 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2882 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2883 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2885 (lrint_upward_test_data): Test for "inexact" exceptions.
2886 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2888 (llrint_test_data): Test for "inexact" exceptions.
2889 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2890 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2891 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2892 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2893 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2894 (llrint_downward_test_data): Test for "inexact" exceptions.
2895 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2896 (llrint_upward_test_data): Test for "inexact" exceptions.
2897 (logb_test_data): Likewise.
2898 (logb_downward_test_data): Likewise.
2899 (nextafter_test_data): Likewise.
2900 (nexttoward_test_data): Likewise.
2901 (remainder_test_data): Likewise.
2902 (remquo_test_data): Likewise.
2903 (scalbn_test_data): Likewise.
2904 (scalbln_test_data): Likewise.
2905 (signbit_test_data): Likewise.
2906 (sqrt_test_data): Likewise.
2907 (significand_test_data): Likewise.
2909 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2912 * benchtests/bench-modf.c (struct args): Mark arg0 as
2914 * scripts/bench.pl: Mark members of struct args as volatile.
2916 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2919 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2920 negative infinity on POWER6 or lower.
2921 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2923 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2926 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2927 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2928 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2929 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2930 (_FP_SETQNAN): New macro.
2931 (_FP_SETQNAN_SEMIRAW): Likewise.
2932 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2933 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2934 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2935 (FP_EXTEND): Use _FP_FRAC_SNANP.
2936 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2937 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2939 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2944 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2946 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2947 with DIVIDE_BY_ZERO_EXCEPTION.
2948 (gamma_test_data): Likewise.
2949 (lgamma_test_data): Likewise.
2950 (log_test_data): Likewise.
2951 (log10_test_data): Likewise.
2952 (log2_test_data): Likewise.
2953 (tgamma_test_data): Likewise.
2955 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2956 (acos_test_tonearest): Likewise.
2957 (acos_test_towardzero): Likewise.
2958 (acos_test_downward): Likewise.
2959 (acos_test_upward): Likewise.
2960 (acosh_test): Likewise.
2961 (asin_test): Likewise.
2962 (asin_test_tonearest): Likewise.
2963 (asin_test_towardzero): Likewise.
2964 (asin_test_downward): Likewise.
2965 (asin_test_upward): Likewise.
2966 (asinh_test): Likewise.
2967 (atan_test): Likewise.
2968 (atanh_test): Likewise.
2969 (atan2_test): Likewise.
2970 (cabs_test): Likewise.
2971 (cacos_test): Likewise.
2972 (cacosh_test): Likewise.
2973 (casin_test): Likewise.
2974 (casinh_test): Likewise.
2975 (catan_test): Likewise.
2976 (catanh_test): Likewise.
2977 (cbrt_test): Likewise.
2978 (ccos_test): Likewise.
2979 (ccosh_test): Likewise.
2980 (cexp_test): Likewise.
2981 (clog_test): Likewise.
2982 (clog10_test): Likewise.
2983 (cos_test): Likewise.
2984 (cos_test_tonearest): Likewise.
2985 (cos_test_towardzero): Likewise.
2986 (cos_test_downward): Likewise.
2987 (cos_test_upward): Likewise.
2988 (cosh_test): Likewise.
2989 (cosh_test_tonearest): Likewise.
2990 (cosh_test_towardzero): Likewise.
2991 (cosh_test_downward): Likewise.
2992 (cosh_test_upward): Likewise.
2993 (cpow_test): Likewise.
2994 (csin_test): Likewise.
2995 (csinh_test): Likewise.
2996 (csqrt_test): Likewise.
2997 (ctan_test): Likewise.
2998 (ctan_test_tonearest): Likewise.
2999 (ctan_test_towardzero): Likewise.
3000 (ctan_test_downward): Likewise.
3001 (ctan_test_upward): Likewise.
3002 (ctanh_test): Likewise.
3003 (ctanh_test_tonearest): Likewise.
3004 (ctanh_test_towardzero): Likewise.
3005 (ctanh_test_downward): Likewise.
3006 (ctanh_test_upward): Likewise.
3007 (erf_test): Likewise.
3008 (erfc_test): Likewise.
3009 (exp_test): Likewise.
3010 (exp_test_tonearest): Likewise.
3011 (exp_test_towardzero): Likewise.
3012 (exp_test_downward): Likewise.
3013 (exp_test_upward): Likewise.
3014 (exp10_test): Likewise.
3015 (exp2_test): Likewise.
3016 (expm1_test): Likewise.
3017 (fmod_test): Likewise.
3018 (gamma_test): Likewise.
3019 (hypot_test): Likewise.
3020 (j0_test): Likewise.
3021 (j1_test): Likewise.
3022 (jn_test): Likewise.
3023 (lgamma_test): Likewise.
3024 (log_test): Likewise.
3025 (log10_test): Likewise.
3026 (log1p_test): Likewise.
3027 (log2_test): Likewise.
3028 (logb_test_downward): Likewise.
3029 (pow_test): Likewise.
3030 (pow_test_tonearest): Likewise.
3031 (pow_test_towardzero): Likewise.
3032 (pow_test_downward): Likewise.
3033 (pow_test_upward): Likewise.
3034 (remainder_test): Likewise.
3035 (remquo_test): Likewise.
3036 (sin_test): Likewise.
3037 (sin_test_tonearest): Likewise.
3038 (sin_test_towardzero): Likewise.
3039 (sin_test_downward): Likewise.
3040 (sin_test_upward): Likewise.
3041 (sincos_test): Likewise.
3042 (sinh_test): Likewise.
3043 (sinh_test_tonearest): Likewise.
3044 (sinh_test_towardzero): Likewise.
3045 (sinh_test_downward): Likewise.
3046 (sinh_test_upward): Likewise.
3047 (sqrt_test): Likewise.
3048 (tan_test): Likewise.
3049 (tan_test_tonearest): Likewise.
3050 (tan_test_towardzero): Likewise.
3051 (tan_test_downward): Likewise.
3052 (tan_test_upward): Likewise.
3053 (tanh_test): Likewise.
3054 (tgamma_test): Likewise.
3055 (y0_test): Likewise.
3056 (y1_test): Likewise.
3057 (yn_test): Likewise.
3059 * math/gen-libm-test.pl (adjust_arg): Remove function.
3060 (special_function): Remove argument $in_func. Only handle
3061 generating output for tables of tests, not inside functions.
3062 (parse_args): Likewise.
3063 (generate_testfile): Remove variable $in_func. Update call to
3065 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3066 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3067 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3068 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3069 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3070 (MAX_VALUE_INIT): Rename macro to max_value.
3071 (MIN_VALUE_INIT): Rename macro to min_value.
3072 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3073 (plus_zero): Remove variable.
3074 (minus_zero): Likewise.
3075 (plus_infty): Likewise.
3076 (minus_infty): Likewise.
3077 (qnan_value): Likewise.
3078 (max_value): Likewise.
3079 (min_value): Likewise.
3080 (min_subnorm_value): Likewise.
3082 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3084 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3085 uint64_t or uint32_t usage.
3086 * crypt/sha256-block.c: Likewise.
3087 * crypt/sha256-crypt.c: Likewise.
3088 * crypt/sha256.c: Likewise.
3089 * crypt/sha512-block.c: Likewise.
3090 * crypt/sha512-crypt.c: Likewise.
3091 * crypt/sha512.c: Likewise.
3092 * debug/backtrace-tst.c: Likewise.
3093 * debug/pcprofiledump.c: Likewise.
3094 * elf/cache.c: Likewise.
3095 * elf/dl-cache.c: Likewise.
3096 * elf/dl-misc.c: Likewise.
3097 * elf/dl-profile.c: Likewise.
3098 * elf/dl-support.c: Likewise.
3099 * elf/ldconfig.c: Likewise.
3100 * elf/sprof.c: Likewise.
3101 * iconv/dummy-repertoire.c: Likewise.
3102 * iconv/iconv_charmap.c: Likewise.
3103 * iconv/skeleton.c: Likewise.
3104 * iconvdata/8bit-generic.c: Likewise.
3105 * iconvdata/cp737.h: Likewise.
3106 * iconvdata/cp775.h: Likewise.
3107 * iconvdata/ibm1008.h: Likewise.
3108 * iconvdata/ibm1025.h: Likewise.
3109 * iconvdata/ibm1046.h: Likewise.
3110 * iconvdata/ibm1097.h: Likewise.
3111 * iconvdata/ibm1112.h: Likewise.
3112 * iconvdata/ibm1122.h: Likewise.
3113 * iconvdata/ibm1123.h: Likewise.
3114 * iconvdata/ibm1124.h: Likewise.
3115 * iconvdata/ibm1129.h: Likewise.
3116 * iconvdata/ibm1130.h: Likewise.
3117 * iconvdata/ibm1132.h: Likewise.
3118 * iconvdata/ibm1133.h: Likewise.
3119 * iconvdata/ibm1137.h: Likewise.
3120 * iconvdata/ibm1140.h: Likewise.
3121 * iconvdata/ibm1141.h: Likewise.
3122 * iconvdata/ibm1142.h: Likewise.
3123 * iconvdata/ibm1143.h: Likewise.
3124 * iconvdata/ibm1144.h: Likewise.
3125 * iconvdata/ibm1145.h: Likewise.
3126 * iconvdata/ibm1146.h: Likewise.
3127 * iconvdata/ibm1147.h: Likewise.
3128 * iconvdata/ibm1148.h: Likewise.
3129 * iconvdata/ibm1149.h: Likewise.
3130 * iconvdata/ibm1153.h: Likewise.
3131 * iconvdata/ibm1154.h: Likewise.
3132 * iconvdata/ibm1155.h: Likewise.
3133 * iconvdata/ibm1156.h: Likewise.
3134 * iconvdata/ibm1157.h: Likewise.
3135 * iconvdata/ibm1158.h: Likewise.
3136 * iconvdata/ibm1160.h: Likewise.
3137 * iconvdata/ibm1161.h: Likewise.
3138 * iconvdata/ibm1162.h: Likewise.
3139 * iconvdata/ibm1163.h: Likewise.
3140 * iconvdata/ibm1164.h: Likewise.
3141 * iconvdata/ibm1166.h: Likewise.
3142 * iconvdata/ibm1167.h: Likewise.
3143 * iconvdata/ibm12712.h: Likewise.
3144 * iconvdata/ibm1390.h: Likewise.
3145 * iconvdata/ibm1399.h: Likewise.
3146 * iconvdata/ibm16804.h: Likewise.
3147 * iconvdata/ibm4517.h: Likewise.
3148 * iconvdata/ibm4899.h: Likewise.
3149 * iconvdata/ibm4909.h: Likewise.
3150 * iconvdata/ibm4971.h: Likewise.
3151 * iconvdata/ibm5347.h: Likewise.
3152 * iconvdata/ibm803.h: Likewise.
3153 * iconvdata/ibm856.h: Likewise.
3154 * iconvdata/ibm901.h: Likewise.
3155 * iconvdata/ibm902.h: Likewise.
3156 * iconvdata/ibm9030.h: Likewise.
3157 * iconvdata/ibm9066.h: Likewise.
3158 * iconvdata/ibm921.h: Likewise.
3159 * iconvdata/ibm922.h: Likewise.
3160 * iconvdata/ibm9448.h: Likewise.
3161 * iconvdata/isiri-3342.h: Likewise.
3162 * iconvdata/jis0201.h: Likewise.
3163 * include/link.h: Likewise.
3164 * include/netdb.h: Likewise.
3165 * inet/check_native.c: Likewise.
3166 * inet/check_pf.c: Likewise.
3167 * inet/getipv4sourcefilter.c: Likewise.
3168 * inet/getnameinfo.c: Likewise.
3169 * inet/getsourcefilter.c: Likewise.
3170 * inet/htonl.c: Likewise.
3171 * inet/setipv4sourcefilter.c: Likewise.
3172 * inet/setsourcefilter.c: Likewise.
3173 * inet/test-inet6_opt.c: Likewise.
3174 * inet/tst-network.c: Likewise.
3175 * locale/C-collate.c: Likewise.
3176 * locale/C-ctype.c: Likewise.
3177 * locale/C-time.c: Likewise.
3178 * locale/C-translit.h: Likewise.
3179 * locale/loadarchive.c: Likewise.
3180 * locale/programs/3level.h: Likewise.
3181 * locale/programs/charmap.c: Likewise.
3182 * locale/programs/charmap.h: Likewise.
3183 * locale/programs/ld-address.c: Likewise.
3184 * locale/programs/ld-collate.c: Likewise.
3185 * locale/programs/ld-ctype.c: Likewise.
3186 * locale/programs/ld-identification.c: Likewise.
3187 * locale/programs/ld-measurement.c: Likewise.
3188 * locale/programs/ld-messages.c: Likewise.
3189 * locale/programs/ld-monetary.c: Likewise.
3190 * locale/programs/ld-name.c: Likewise.
3191 * locale/programs/ld-numeric.c: Likewise.
3192 * locale/programs/ld-paper.c: Likewise.
3193 * locale/programs/ld-telephone.c: Likewise.
3194 * locale/programs/ld-time.c: Likewise.
3195 * locale/programs/linereader.c: Likewise.
3196 * locale/programs/locale.c: Likewise.
3197 * locale/programs/locarchive.c: Likewise.
3198 * locale/programs/locfile.h: Likewise.
3199 * locale/programs/repertoire.c: Likewise.
3200 * locale/programs/simple-hash.c: Likewise.
3201 * locale/programs/simple-hash.h: Likewise.
3202 * malloc/memusage.c: Likewise.
3203 * malloc/memusagestat.c: Likewise.
3204 * nis/nis_defaults.c: Likewise.
3205 * nis/nis_hash.c: Likewise.
3206 * nis/nis_print.c: Likewise.
3207 * nis/nis_xdr.c: Likewise.
3208 * nscd/connections.c: Likewise.
3209 * nscd/hstcache.c: Likewise.
3210 * nscd/nscd_gethst_r.c: Likewise.
3211 * nscd/nscd_getserv_r.c: Likewise.
3212 * nscd/nscd_helper.c: Likewise.
3213 * nscd/servicescache.c: Likewise.
3214 * nss/makedb.c: Likewise.
3215 * nss/nss_db/db-XXX.c: Likewise.
3216 * nss/nss_db/db-initgroups.c: Likewise.
3217 * nss/nss_db/db-netgrp.c: Likewise.
3218 * nss/nss_files/files-network.c: Likewise.
3219 * nss/nss_files/files-parse.c: Likewise.
3220 * posix/bug-regex5.c: Likewise.
3221 * posix/fnmatch_loop.c: Likewise.
3222 * posix/regcomp.c: Likewise.
3223 * posix/regexec.c: Likewise.
3224 * posix/tst-rfc3484-2.c: Likewise.
3225 * posix/tst-rfc3484-3.c: Likewise.
3226 * posix/tst-rfc3484.c: Likewise.
3227 * resolv/nss_dns/dns-canon.c: Likewise.
3228 * resolv/nss_dns/dns-network.c: Likewise.
3229 * resolv/res_init.c: Likewise.
3230 * resolv/res_mkquery.c: Likewise.
3231 * resolv/tst-aton.c: Likewise.
3232 * stdlib/cxa_atexit.c: Likewise.
3233 * stdlib/cxa_finalize.c: Likewise.
3234 * stdlib/gen-fpioconst.c: Likewise.
3235 * stdlib/strtol_l.c: Likewise.
3236 * string/tst-endian.c: Likewise.
3237 * sunrpc/auth_des.c: Likewise.
3238 * sunrpc/clnt_udp.c: Likewise.
3239 * sunrpc/rtime.c: Likewise.
3240 * sunrpc/svcauth_des.c: Likewise.
3241 * sunrpc/xdr.c: Likewise.
3242 * sunrpc/xdr_intXX_t.c: Likewise.
3243 * sunrpc/xdr_rec.c: Likewise.
3244 * sysdeps/generic/ldconfig.h: Likewise.
3245 * sysdeps/generic/ldsodefs.h: Likewise.
3246 * sysdeps/generic/memusage.h: Likewise.
3247 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3250 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3257 * sysdeps/posix/getaddrinfo.c: Likewise.
3258 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3259 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3260 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3262 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3263 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3264 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3265 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3266 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3269 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3270 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3271 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3273 * sysdeps/x86_64/dl-tls.h: Likewise.
3274 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3275 * time/alt_digit.c: Likewise.
3276 * time/era.c: Likewise.
3277 * wcsmbs/tst-c16c32-1.c: Likewise.
3279 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3281 * math/libm-test.inc (struct test_sincos_data): New type.
3282 (RUN_TEST_LOOP_sincos): New macro.
3283 (sincos_test_data): New variable.
3284 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3286 2013-05-16 Richard Henderson <rth@redhat.com>
3288 * math/atest-exp2.c (LIMB64): New macro.
3289 (CONSTSZ): New macro.
3290 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3292 (print_mpn_fp): ... to function scope.
3293 (read_mpn_hex): Remove.
3295 (exp2_mpn): Use mp_log2.
3296 (main): Use mp_exp1.
3298 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3300 * math/libm-test.inc: Remove comment about not testing "inexact"
3302 (INEXACT_EXCEPTION): New macro.
3303 (NO_INEXACT_EXCEPTION): Likewise.
3304 (INVALID_EXCEPTION_OK): Update value.
3305 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3306 (OVERFLOW_EXCEPTION_OK): Likewise.
3307 (UNDERFLOW_EXCEPTION_OK): Likewise.
3308 (IGNORE_ZERO_INF_SIGN): Likewise.
3309 (ERRNO_UNCHANGED): Likewise.
3310 (ERRNO_EDOM): Likewise.
3311 (ERRNO_ERANGE): Likewise.
3312 (test_exceptions): Handle testing "inexact" exceptions.
3313 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3314 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3315 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3316 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3318 (rint_towardzero_test_data): Likewise.
3319 (rint_downward_test_data): Likewise.
3320 (rint_upward_test_data): Likewise.
3322 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3323 with OVERFLOW_EXCEPTION.
3324 (exp10_test_data): Likewise.
3325 (exp2_test_data): Likewise.
3326 (expm1_test_data): Likewise.
3327 (lgamma_test_data): Likewise.
3328 (pow_test_data): Likewise.
3329 (tgamma_test_data): Likewise.
3330 (yn_test_data): Remove duplicate test of overflow.
3332 * math/libm-test.inc (struct test_cc_c_data): New type.
3333 (RUN_TEST_LOOP_cc_c): New macro.
3334 (cpow_test_data): New variable.
3335 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3337 * math/libm-test.inc (struct test_f_L_data): New type.
3338 (RUN_TEST_LOOP_f_L): New macro.
3339 (llrint_test_data): New variable.
3340 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3341 (llrint_tonearest_test_data): New variable.
3342 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3343 (llrint_towardzero_test_data): New variable.
3344 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3345 (llrint_downward_test_data): New variable.
3346 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3347 (llrint_upward_test_data): New variable.
3348 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3349 (llround_test_data): New variable.
3350 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3352 2013-05-13 Peter Collingbourne <pcc@google.com>
3354 * math/atest-exp2.c (get_log2): Remove const attribute.
3356 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3358 * math/libm-test.inc (struct test_f_l_data): New type.
3359 (RUN_TEST_LOOP_f_l): New macro.
3360 (lrint_test_data): New variable.
3361 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3362 (lrint_tonearest_test_data): New variable.
3363 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3364 (lrint_towardzero_test_data): New variable.
3365 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3366 (lrint_downward_test_data): New variable.
3367 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3368 (lrint_upward_test_data): New variable.
3369 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3370 (lround_test_data): New variable.
3371 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3373 2013-05-15 Peter Collingbourne <pcc@google.com>
3375 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3376 (EXTRACT_WORDS64) Use where appropriate.
3377 (INSERT_WORDS64) Likewise.
3379 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3380 constraints with x constraints.
3381 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3383 * malloc/obstack.c (_obstack_compat): Add initializer.
3385 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3388 si_trapno and add si_addr_lsb to _sifields.sigfault.
3389 (si_trapno): Remove macro.
3390 (si_addr_lsb): Define new macro.
3391 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3393 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3395 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3396 instead of TEST_f_l.
3397 (llrint_test_tonearest): Likewise.
3398 (llrint_test_towardzero): Likewise.
3399 (llrint_test_downward): Likewise.
3400 (llrint_test_upward): Likewise.
3401 (llround_test): Likewise.
3403 * math/libm-test.inc (struct test_f_i_data): Add comment.
3404 (RUN_TEST_LOOP_f_b): New macro.
3405 (RUN_TEST_LOOP_f_b_tg): Likewise.
3406 (finite_test_data): New variable.
3407 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3408 (isfinite_test_data): New variable.
3409 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3410 (isinf_test_data): New variable.
3411 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3412 (isnan_test_data): New variable.
3413 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3414 (isnormal_test_data): New variable.
3415 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3416 (issignaling_test_data): New variable.
3417 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3418 (signbit_test_data): New variable.
3419 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3421 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3422 with INVALID_EXCEPTION.
3423 (acosh_test_data): Likewise.
3424 (asin_test_data): Likewise.
3425 (atanh_test_data): Likewise.
3426 (fmod_test_data): Likewise.
3427 (log_test_data): Likewise.
3428 (log10_test_data): Likewise.
3429 (log2_test_data): Likewise.
3430 (pow_test_data): Likewise.
3431 (sqrt_test_data): Likewise.
3432 (y0_test_data): Likewise.
3433 (y1_test_data): Likewise.
3434 (yn_test_data): Likewise.
3436 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3439 * math/libm-test.inc (struct test_ff_i_data): New type.
3440 (RUN_TEST_LOOP_ff_i_tg): New macro.
3441 (isgreater_test_data): New variable.
3442 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3443 (isgreaterequal_test_data): New variable.
3444 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3445 (isless_test_data): New variable.
3446 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3447 (islessequal_test_data): New variable.
3448 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3449 (islessgreater_test_data): New variable.
3450 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3451 (isunordered_test_data): New variable.
3452 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3454 2013-05-14 David S. Miller <davem@davemloft.net>
3456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3458 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3460 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3462 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3464 (struct test_f_i_data): Change type of max_ulp to int.
3466 * math/libm-test.inc (test_ffI_f1_data): New type.
3467 (RUN_TEST_LOOP_ffI_f1): New macro.
3468 (remquo_test_data): New variable.
3469 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3471 * setjmp/tst-setjmp-fp.c: New file.
3472 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3473 (link-libm): New variable.
3474 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3476 * math/libm-test.inc (struct test_f_i_data): New type.
3477 (RUN_TEST_LOOP_f_i): New macro.
3478 (RUN_TEST_LOOP_f_i_tg): Likewise.
3479 (fpclassify_test_data): New variable.
3480 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3481 (ilogb_test_data): New variable.
3482 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3484 * math/libm-test.inc (scalbln_test): Correct function name in END
3487 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3488 (RUN_TEST_LOOP_fI_f1): New macro.
3489 (frexp_test_data): New variable.
3490 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3492 * math/libm-test.inc (struct test_fF_f1_data): New type.
3493 (RUN_TEST_LOOP_fF_f1): New macro.
3494 (modf_test_data): New variable.
3495 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3497 * math/libm-test.inc (struct test_f_f1_data): New type.
3498 (RUN_TEST_LOOP_f_f1): New macro.
3499 (gamma_test_data): New variable.
3500 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3501 (lgamma_test_data): New variable.
3502 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3504 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3506 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3507 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3508 (main): Comment "tls" pseudo-hwcap.
3510 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3512 * math/libm-test.inc (struct test_fl_f_data): New type.
3513 (RUN_TEST_LOOP_fl_f): New variable.
3514 (scalbln_test_data): New variable.
3515 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3517 * math/libm-test.inc (struct test_fi_f_data): New type.
3518 (RUN_TEST_LOOP_fi_f): New macro.
3519 (ldexp_test_data): New variable.
3520 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3521 (scalbn_test_data): New variable.
3522 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3524 * math/libm-test.inc (struct test_c_f_data): New type.
3525 (RUN_TEST_LOOP_c_f): New macro.
3526 (cabs_test_data): New variable.
3527 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3528 (carg_test_data): New variable.
3529 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3530 (cimag_test_data): New variable.
3531 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3532 (creal_test_data): New variable.
3533 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3535 * math/libm-test.inc (struct test_if_f_data): New type.
3536 (RUN_TEST_LOOP_if_f): New macro.
3537 (jn_test_data): New variable.
3538 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3539 (yn_test_data): New variable.
3540 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3542 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3544 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3546 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3547 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3549 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3551 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3552 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3553 (bench-deps): Add bench-timing.h.
3554 * benchtests-bench-skeleton.c: Include bench-timing.h.
3555 (main): Use TIMING_* macros instead of clock_gettime.
3556 * benchtests/bench-timing.h: New file.
3559 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3560 Renamed from _LIB_VERSION.
3561 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3563 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3565 * math/libm-test.inc (struct test_fff_f_data): New type.
3566 (RUN_TEST_LOOP_fff_f): New macro.
3567 (fma_test_data): New variable.
3568 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3569 (fma_towardzero_test_data): New variable.
3570 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3571 (fma_downward_test_data): New variable.
3572 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3573 (fma_upward_test_data): New variable.
3574 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3576 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3577 (struct test_c_c_data): New type.
3578 (RUN_TEST_LOOP_c_c): New macro.
3579 (cacos_test_data): New variable.
3580 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3581 (cacosh_test_data): New variable.
3582 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3583 (casin_test_data): New variable.
3584 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3585 (casinh_test_data): New variable.
3586 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3587 (catan_test_data): New variable.
3588 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3589 (catanh_test_data): New variable.
3590 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3591 (ccos_test_data): New variable.
3592 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3593 (ccosh_test_data): New variable.
3594 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3595 (cexp_test_data): New variable.
3596 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3597 (clog_test_data): New variable.
3598 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3599 (clog10_test_data): New variable.
3600 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3601 (conj_test_data): New variable.
3602 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3603 (cproj_test_data): New variable.
3604 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3605 (csin_test_data): New variable.
3606 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3607 (csinh_test_data): New variable.
3608 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3609 (csqrt_test_data): New variable.
3610 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3611 (ctan_test_data): New variable.
3612 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3613 (ctan_tonearest_test_data): New variable.
3614 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3615 (ctan_towardzero_test_data): New variable.
3616 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3617 (ctan_downward_test_data): New variable.
3618 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3619 (ctan_upward_test_data): New variable.
3620 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3621 (ctanh_test_data): New variable.
3622 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3623 (ctanh_tonearest_test_data): New variable.
3624 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3625 (ctanh_towardzero_test_data): New variable.
3626 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3627 (ctanh_downward_test_data): New variable.
3628 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3629 (ctanh_upward_test_data): New variable.
3630 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3631 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3634 * math/libm-test.inc (struct test_ff_f_data): New type.
3635 (struct test_ff_f_data_nexttoward): Likewise.
3636 (RUN_TEST_LOOP_2_f): New macro.
3637 (RUN_TEST_LOOP_ff_f): Likewise.
3638 (atan2_test_data): New variable.
3639 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3640 (copysign_test_data): New variable.
3641 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3642 (fdim_test_data): New variable.
3643 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3644 (fmax_test_data): New variable.
3645 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3646 (fmin_test_data): New variable.
3647 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3648 (fmod_test_data): New variable.
3649 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3650 (hypot_test_data): New variable.
3651 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3652 (nextafter_test_data): New variable.
3653 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3654 (nexttoward_test_data): New variable.
3655 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3656 (pow_test_data): New variable.
3657 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3658 (pow_tonearest_test_data): New variable.
3659 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3660 (pow_towardzero_test_data): New variable.
3661 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3662 (pow_downward_test_data): New variable.
3663 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3664 (pow_upward_test_data): New variable.
3665 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3666 (remainder_test_data): New variable.
3667 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3668 (scalb_test_data): New variable.
3669 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3670 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3674 * math/libm-test.inc (fma_test): Use max_value instead of local
3676 (nextafter_test): Likewise.
3678 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3679 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3680 (acos_downward_test_data): New variable.
3681 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3682 (acos_upward_test_data): New variable.
3683 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3684 (acosh_test_data): New variable.
3685 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3686 (asin_test_data): New variable.
3687 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3688 (asin_tonearest_test_data): New variable.
3689 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3690 (asin_towardzero_test_data): New variable.
3691 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3692 (asin_downward_test_data): New variable.
3693 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3694 (asin_upward_test_data): New variable.
3695 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3696 (asinh_test_data): New variable.
3697 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3698 (atan_test_data): New variable.
3699 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3700 (atanh_test_data): New variable.
3701 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3702 (cbrt_test_data): New variable.
3703 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3704 (ceil_test_data): New variable.
3705 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3706 (cos_test_data): New variable.
3707 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3708 (cos_tonearest_test_data): New variable.
3709 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3710 (cos_towardzero_test_data): New variable.
3711 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3712 (cos_downward_test_data): New variable.
3713 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3714 (cos_upward_test_data): New variable.
3715 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3716 (cosh_test_data): New variable.
3717 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3718 (cosh_tonearest_test_data): New variable.
3719 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3720 (cosh_towardzero_test_data): New variable.
3721 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3722 (cosh_downward_test_data): New variable.
3723 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3724 (cosh_upward_test_data): New variable.
3725 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3726 (erf_test_data): New variable.
3727 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3728 (erfc_test_data): New variable.
3729 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3730 (exp_test_data): New variable.
3731 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3732 (exp_tonearest_test_data): New variable.
3733 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3734 (exp_towardzero_test_data): New variable.
3735 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3736 (exp_downward_test_data): New variable.
3737 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3738 (exp_upward_test_data): New variable.
3739 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3740 (exp10_test_data): New variable.
3741 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3742 (exp2_test_data): New variable.
3743 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3744 (expm1_test_data): New variable.
3745 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3746 (fabs_test_data): New variable.
3747 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3748 (floor_test_data): New variable.
3749 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3750 (j0_test_data): New variable.
3751 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3752 (j1_test_data): New variable.
3753 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3754 (log_test_data): New variable.
3755 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3756 (log10_test_data): New variable.
3757 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3758 (log1p_test_data): New variable.
3759 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3760 (log2_test_data): New variable.
3761 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3762 (logb_test_data): New variable.
3763 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3764 (logb_downward_test_data): New variable.
3765 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3766 (nearbyint_test_data): New variable.
3767 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3768 (rint_test_data): New variable.
3769 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3770 (rint_tonearest_test_data): New variable.
3771 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3772 (rint_towardzero_test_data): New variable.
3773 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3774 (rint_downward_test_data): New variable.
3775 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3776 (rint_upward_test_data): New variable.
3777 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3778 (round_test_data): New variable.
3779 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3780 (sin_test_data): New variable.
3781 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3782 (sin_tonearest_test_data): New variable.
3783 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3784 (sin_towardzero_test_data): New variable.
3785 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3786 (sin_downward_test_data): New variable.
3787 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3788 (sin_upward_test_data): New variable.
3789 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3790 (sinh_test_data): New variable.
3791 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3792 (sinh_tonearest_test_data): New variable.
3793 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3794 (sinh_towardzero_test_data): New variable.
3795 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3796 (sinh_downward_test_data): New variable.
3797 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3798 (sinh_upward_test_data): New variable.
3799 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3800 (sqrt_test_data): New variable.
3801 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3802 (tan_test_data): New variable.
3803 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3804 (tan_tonearest_test_data): New variable.
3805 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3806 (tan_towardzero_test_data): New variable.
3807 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3808 (tan_downward_test_data): New variable.
3809 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3810 (tan_upward_test_data): New variable.
3811 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3812 (tanh_test_data): New variable.
3813 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3814 (tgamma_test_data): New variable.
3815 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3816 (trunc_test_data): New variable.
3817 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3818 (y0_test_data): New variable.
3819 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3820 (y1_test_data): New variable.
3821 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3822 (significand_test_data): New variable.
3823 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3825 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3828 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3830 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3832 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3834 2013-05-10 Andreas Jaeger <aj@suse.de>
3837 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3838 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3840 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3842 * math/gen-libm-test.pl (adjust_arg): New function.
3843 (special_functions): Handle generating output in both functions
3845 (parse_args): Likewise.
3846 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3847 $in_func argument to parse_args.
3848 * math/libm-test.inc (struct test_f_f_data): New type.
3849 (IF_ROUND_INIT_): New macro.
3850 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3851 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3852 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3853 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3854 (ROUND_RESTORE_): Likewise.
3855 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3856 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3857 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3858 (ROUND_RESTORE_FE_UPWARD): Likewise.
3859 (RUN_TEST_LOOP_f_f): New macro.
3860 (acos_test_data): New variable.
3861 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3862 (acos_tonearest_test_data): New variable.
3863 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3865 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3867 * benchtests/bench-skeleton.c (startup): Fix coding style.
3869 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3872 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3873 negative infinity argument.
3874 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3875 negative infinity argument.
3876 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3877 negative infinity argument.
3878 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3881 2013-05-10 Florian Weimer <fweimer@redhat.com>
3883 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3884 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3885 * iconv/iconv_prog.c (main): Likewise.
3886 * locale/programs/charmap-dir.c (charmap_readdir)
3887 (fopen_uncompressed): Likewise.
3888 * locale/programs/locfile.c (siblings_uncached)
3889 (write_locale_data): Use lstat64 instead of lstat.
3890 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3893 2013-05-10 Andreas Jaeger <aj@suse.de>
3896 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3900 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3902 * elf/dl-close.c (_dl_close_worker): Add comments.
3904 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3909 (__ieee754_rem_pio2l): Update comments.
3912 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3914 (__ieee754_rem_pio2l): Update comments.
3916 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3917 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3919 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3922 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3923 (M_PI_34_LOG10El): Likewise.
3924 (M_PI2_LOG10El): Likewise.
3925 (M_PI4_LOG10El): Likewise.
3926 (M_PI_LOG10El): Likewise.
3928 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3932 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3934 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3935 (MINUS_ZERO_INIT): Likewise.
3936 (PLUS_INFTY_INIT): Likewise.
3937 (MINUS_INFTY_INIT): Likewise.
3938 (QNAN_VALUE_INIT): Likewise.
3939 (MAX_VALUE_INIT): Likewise.
3940 (MIN_VALUE_INIT): Likewise.
3941 (MIN_SUBNORM_VALUE_INIT): Likewise.
3942 (plus_zero): Initialize with PLUS_ZERO_INIT.
3943 (minus_zero): Initialize with MINUS_ZERO_INIT.
3944 (plus_infty): Initialize with PLUS_INFTY_INIT.
3945 (minus_infty): Initialize with MINUS_INFTY_INIT.
3946 (qnan_value): Initialize with QNAN_VALUE_INIT.
3947 (max_value): Initialize with MAX_VALUE_INIT.
3948 (min_value): Initialize with MIN_VALUE_INIT.
3949 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3951 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3952 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3953 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3954 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3956 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3957 (RUN_TEST_2_f): Likewise.
3958 (RUN_TEST_ff_f): Likewise.
3959 (RUN_TEST_fi_f): Likewise.
3960 (RUN_TEST_fl_f): Likewise.
3961 (RUN_TEST_fff_f): Likewise.
3962 (RUN_TEST_c_f): Likewise.
3963 (RUN_TEST_f_f1): Likewise.
3964 (RUN_TEST_fF_f1): Likewise.
3965 (RUN_TEST_fI_f1): Likewise.
3966 (RUN_TEST_ffI_f1): Likewise.
3967 (RUN_TEST_c_c): Likewise.
3968 (RUN_TEST_cc_c): Likewise.
3969 (RUN_TEST_f_i): Likewise.
3970 (RUN_TEST_f_i_tg): Likewise.
3971 (RUN_TEST_ff_i_tg): Likewise.
3972 (RUN_TEST_f_b): Likewise.
3973 (RUN_TEST_f_b_tg): Likewise.
3974 (RUN_TEST_f_l): Likewise.
3975 (RUN_TEST_f_L): Likewise.
3976 (RUN_TEST_sincos): Likewise.
3977 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3978 whether to show exceptions. Do not include ");\n" in return
3980 (special_functions): Output call to RUN_TEST_sincos instead of
3981 check_float calls. Update calls to new_test.
3982 (parse_args): Output call to single RUN_TEST_* macro instead of
3983 check_* calls and other assignments. Update calls to new_test.
3989 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3990 input to result for tgamma overflow.
3991 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3992 (gamma_coeff): New variable.
3993 (NCOEFF): New macro.
3994 (gamma_positive): New function.
3995 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3996 underflow here. Use gamma_positive instead of exp (lgamma) for
3998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3999 (gamma_coeff): New variable.
4000 (NCOEFF): New macro.
4001 (gammaf_positive): New function.
4002 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4003 underflow here. Use gamma_positive instead of exp (lgamma) for
4005 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4006 (gamma_coeff): New variable.
4007 (NCOEFF): New macro.
4008 (gammal_positive): New function.
4009 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4010 underflow here. Use gamma_positive instead of exp (lgamma) for
4012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4013 (gamma_coeff): New variable.
4014 (NCOEFF): New macro.
4015 (gammal_positive): New function.
4016 (__ieee754_gammal_r): Handle positive infinity, overflow and
4017 underflow here. Handle NaN the same as positive infinity. Remove
4018 check x < 0xffffffff for negative integers. Use gamma_positive
4019 instead of exp (lgamma) for other arguments.
4020 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4021 (gamma_coeff): New variable.
4022 (NCOEFF): New macro.
4023 (gammal_positive): New function.
4024 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4025 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4029 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4030 * sysdeps/generic/math_private.h (__gamma_productf): New
4032 (__gamma_product): Likewise.
4033 (__gamma_productl): Likewise.
4034 * math/Makefile (libm-calls): Add gamma_product.
4035 * math/libm-test.inc (tgamma_test): Add more tests.
4036 * sysdeps/i386/fpu/libm-test-ulps: Update.
4037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4039 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4041 * benchtests/bench-skeleton.c (main): Preheat CPU.
4043 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4045 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4047 2013-05-07 Roland McGrath <roland@hack.frob.com>
4049 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4050 and _dl_skip_args_internal.
4052 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4054 * manual/message.texi (Message Translation): Talk about users.
4055 Message to key mapping impacts design.
4057 2013-05-06 Roland McGrath <roland@hack.frob.com>
4059 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4061 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4063 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4064 * sysdeps/wordsize-64/glob64.c: ... here.
4066 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4067 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4070 * debug/getlogin_r_chk.c: Moved to ...
4071 * login/getlogin_r_chk.c: ... here.
4072 * debug/Makefile (routines): Move getlogin_r_chk to ...
4073 * login/Makefile (routines): ... here.
4074 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4075 * login/Versions (libc: GLIBC_2.4): ... here.
4077 * io/poll.c (__poll): Renamed from poll.
4078 Add libc_hidden_def.
4079 (poll): Define as weak alias.
4081 * debug/ptsname_r_chk.c: Moved to ...
4082 * login/ptsname_r_chk.c: ... here.
4083 * debug/Makefile (routines): Move ptsname_r_chk to ...
4084 * login/Makefile (routines): ... here.
4085 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4086 * login/Versions (libc: GLIBC_2.4): ... here.
4088 * posix/getlogin.c: Moved to ...
4089 * login/getlogin.c: ... here.
4090 * posix/getlogin_r.c: Moved to ...
4091 * login/getlogin_r.c: ... here.
4092 * posix/getlogin_r.c: Moved to ...
4093 * login/getlogin_r.c: ... here.
4094 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4095 * login/Makefile (routines): ... here.
4096 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4097 * login/Versions (libc: GLIBC_2.0): ... here.
4099 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4100 (setrlimit): Define as weak alias.
4102 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4103 Call __ names for open, ftruncate, and close.
4104 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4105 (truncate): Define as weak alias.
4107 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4109 * math/gen-libm-test.pl (parse_args): Initialize x before each
4110 test of frexp, modf and remquo.
4112 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4115 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4119 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4121 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4123 2013-05-06 Roland McGrath <roland@hack.frob.com>
4125 * elf/dl-writev.h: New file.
4126 * elf/dl-misc.c: Include it.
4127 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4128 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4130 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4132 * math/libm-test.inc (noXFails): Remove variable.
4133 (noXPasses): Likewise.
4134 (BUILD_COMPLEX_INT): Remove macro.
4135 (print_screen): Remove xfail argument.
4136 (print_screen_max_error): Likewise.
4137 (update_stats): Likewise.
4138 (print_max_error): Likewise. Update calls to other affected
4140 (print_complex_max_error): Likewise.
4141 (test_single_exception): Update calls to print_screen.
4142 (test_single_errno): Likewise.
4143 (check_float_internal): Remove xfail argument. Update calls to
4144 other affected functions.
4145 (check_float): Likewise.
4146 (check_complex): Likewise.
4147 (check_int): Likewise.
4148 (check_long): Likewise.
4149 (check_bool): Likewise.
4150 (check_longlong): Likewise.
4151 (main): Don't print noXFails and noXPasses.
4152 * math/gen-libm-test.pl (top level): Don't mention expected
4153 failure handling in comment.
4154 (new_test): Don't handle expected failures.
4155 (parse_args): Don't mention expected failure handling in comment.
4156 (generate_testfile): Don't handle expected failures.
4157 (parse_ulps): Likewise.
4158 (print_ulps_file): Likewise.
4159 (get_failure): Remove function.
4160 (output_test): Don't handle expected failures.
4161 * make/README.libm-test: Don't mention expected failure handling.
4163 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4164 (minus_zero): Likewise.
4165 (plus_infty): Likewise.
4166 (minus_infty): Likewise.
4167 (qnan_value): Likewise.
4168 (max_value): Likewise.
4169 (min_value): Likewise.
4170 (min_subnorm_value): Likewise.
4171 (initialize): Do not initialize those variables dynamically.
4173 2013-05-03 Roland McGrath <roland@hack.frob.com>
4175 * io/open.c (__open_2): Moved to ...
4176 * io/open_2.c: ... this new file.
4177 * io/open64.c (__open64_2): Moved to ...
4178 * io/open64_2.c: ... this new file.
4179 * io/openat.c (__openat_2): Moved to ...
4180 * io/openat_2.c: ... this new file.
4181 * io/openat64.c (__openat64_2): Moved to ...
4182 * io/openat64_2.c: ... this new file.
4183 * io/Makefile (routines): Add them.
4184 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4185 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4186 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4187 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4188 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4189 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4190 (__openat64): Add hidden_ver.
4191 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4192 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4194 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4195 Separately conditionalize setting of GLRO(dl_sysinfo) so
4196 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4197 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4199 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4202 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4204 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4205 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4206 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4207 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4208 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4210 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4212 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4215 * math/libm-test.inc (hypot_test): Do not use
4216 IGNORE_ZERO_INF_SIGN.
4218 2013-05-03 Andreas Jaeger <aj@suse.de>
4220 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4222 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4223 (PF_MAX): Adjust for VSOCK change.
4225 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4229 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4232 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4233 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4234 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4236 2013-05-02 David S. Miller <davem@davemloft.net>
4238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4240 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4242 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4244 2013-05-01 Roland McGrath <roland@hack.frob.com>
4246 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4248 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4251 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4252 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4253 Use __attribute__ ((__gnu_inline__)).
4254 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4255 Don't use __attribute__ ((__gnu_inline__)).
4257 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4260 * math/s_catan.c (__catan): Handle small real or imaginary part of
4261 input specially to avoid spurious underflow.
4262 * math/s_catanf.c (__catanf): Likewise.
4263 * math/s_catanh.c (__catanh): Likewise.
4264 * math/s_catanhf.c (__catanhf): Likewise.
4265 * math/s_catanhl.c (__catanhl): Likewise.
4266 * math/s_catanl.c (__catanl): Likewise.
4267 * math/libm-test.inc (catan_test): Add more tests.
4268 (catanh_test): Likewise.
4269 * sysdeps/i386/fpu/libm-test-ulps: Update.
4270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4276 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4279 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4280 accurately for denominator in atan2.
4281 * math/s_catanf.c (__catanf): Likewise.
4282 * math/s_catanh.c (__catanh): Likewise.
4283 * math/s_catanhf.c (__catanhf): Likewise.
4284 * math/s_catanhl.c (__catanhl): Likewise.
4285 * math/s_catanl.c (__catanl): Likewise.
4286 * math/libm-test.inc (catan_test): Add more tests.
4287 (catanh_test): Likewise.
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4293 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4295 * benchtests/Makefile (bench): Remove slow benchmarks.
4296 * benchtests/atan-inputs: Add slow benchmark inputs.
4297 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4298 (BENCH_FUNC): Accept variant offset.
4300 * benchtests/bench-skeleton.c (main): Run benchmark for each
4302 * benchtests/cos-inputs: Add slow benchmark inputs.
4303 * benchtests/exp-inputs: Likewise.
4304 * benchtests/pow-inputs: Likewise.
4305 * benchtests/sin-inputs: Likewise.
4306 * benchtests/slowatan-inputs: Remove.
4307 * benchtests/slowatan.c: Remove.
4308 * benchtests/slowcos-inputs: Remove.
4309 * benchtests/slowcos.c: Remove.
4310 * benchtests/slowexp-inputs: Remove.
4311 * benchtests/slowexp.c: Remove.
4312 * benchtests/slowpow-inputs: Remove.
4313 * benchtests/slowpow.c: Remove.
4314 * benchtests/slowsin-inputs: Remove.
4315 * benchtests/slowsin.c: Remove.
4316 * benchtests/slowtan-inputs: Remove.
4317 * benchtests/slowtan.c: Remove.
4318 * benchtests/tan-inputs: Add slow benchmark inputs.
4319 * scripts/bench.pl: Parse comments and directives.
4321 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4323 ($(objpfx)bench-%.c): Remove *-ITER.
4324 * benchtests/bench-modf.c: Remove definition of ITER.
4325 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4326 (main): Loop for DURATION seconds instead of fixed number of
4328 * scripts/bench.pl: Don't expect iterations in parameters.
4330 2013-04-29 Roland McGrath <roland@hack.frob.com>
4332 * io/fchdir.c (__fchdir): Renamed from fchdir.
4333 (fchdir): Define as weak alias.
4335 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4337 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4338 (ERRNO_EDOM): Likewise.
4339 (ERRNO_ERANGE): Likewise.
4340 (noErrnoTests): New variable.
4341 (init_max_error): Set errno to 0.
4342 (test_single_errno): New function.
4343 (test_errno): Likewise.
4344 (check_float_internal): Call test_errno. Set errno to 0.
4345 (check_complex): Refer to errno tests in comment.
4346 (check_int): Call test_errno. Set errno to 0.
4347 (check_long): Likewise.
4348 (check_bool): Likewise.
4349 (check_longlong): Likewise.
4350 (cos_test): Use ERRNO_* flags for errno tests instead of
4352 (expm1_test): Likewise.
4353 (fmod_test): Likewise.
4354 (ilogb_test): Likewise.
4355 (lgamma_test): Likewise.
4356 (pow_test): Likewise.
4357 (remainder_test): Likewise.
4358 (sin_test): Likewise.
4359 (tan_test): Likewise.
4360 (yn_test): Likewise.
4361 (initialize): Set errno to 0.
4362 (main): Print number of errno tests.
4363 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4365 2013-04-29 Andreas Jaeger <aj@suse.de>
4368 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4372 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4373 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4377 * stdlib/random.c (__initstate): Return NULL if
4381 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4382 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4385 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4389 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4391 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4392 of individual tests.
4393 (casin_test): Likewise.
4394 (casinh_test): Likewise.
4396 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4399 * math/s_catan.c (__catan): Handle arguments with large real or
4400 imaginary part separately without squaring.
4401 * math/s_catanf.c (__catanf): Likewise.
4402 * math/s_catanh.c (__catanh): Likewise.
4403 * math/s_catanhf.c (__catanhf): Likewise.
4404 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4406 (__catanhl): Handle arguments with large real or imaginary part
4407 separately without squaring.
4408 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4410 (__catanl): Handle arguments with large real or imaginary part
4411 separately without squaring.
4412 * math/libm-test.inc (catan_test): Add more tests.
4413 (catanh_test): Likewise.
4414 * sysdeps/i386/fpu/libm-test-ulps: Update.
4415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4417 2013-04-27 Andreas Jaeger <aj@suse.de>
4420 * stdlib/stdlib.h: Update guards for qecvt.
4421 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4424 2013-04-27 Allan McRae <allan@archlinux.org>
4426 * sysdeps/i386/fpu/libm-test-ulps: Update.
4428 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4431 * math/s_catan.c: Include <float.h>.
4432 (__catan): Ensure underflow exception occurs for underflowed
4434 * math/s_catanf.c: Include <float.h>.
4435 (__catanf): Ensure underflow exception occurs for underflowed
4437 * math/s_catanh.c: Include <float.h>.
4438 (__catanh): Ensure underflow exception occurs for underflowed
4440 * math/s_catanhf.c: Include <float.h>.
4441 (__catanhf): Ensure underflow exception occurs for underflowed
4443 * math/s_catanhl.c: Include <float.h>.
4444 (__catanhl): Ensure underflow exception occurs for underflowed
4446 * math/s_catanl.c: Include <float.h>.
4447 (__catanl): Ensure underflow exception occurs for underflowed
4449 * math/libm-test.inc (catan_test): Add more tests.
4450 (catanh_test): Likewise.
4453 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4455 * math/s_ccoshf.c (__ccoshf): Likewise.
4456 * math/s_ccoshl.c (__ccoshl): Likewise.
4457 * math/s_csin.c (__csin): Likewise.
4458 * math/s_csinf.c (__csinf): Likewise.
4459 * math/s_csinh.c (__csinh): Likewise.
4460 * math/s_csinhf.c (__csinhf): Likewise.
4461 * math/s_csinhl.c (__csinhl): Likewise.
4462 * math/s_csinl.c (__csinl): Likewise.
4463 * math/libm-test.inc (ccos_test): Add more tests.
4464 (ccosh_test): Likewise.
4465 (csin_test): Likewise.
4466 (csinh_test): Likewise.
4468 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4471 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4472 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4473 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4474 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4475 powerpc/power5+/fpu folders.
4476 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4479 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4483 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4485 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4486 additions to variable.
4487 [$(config-machine) = x86_64] (modules-names): Likewise.
4488 ($(objpfx)tst-audit3): Remove dependency.
4489 ($(objpfx)tst-audit3.out): Likewise.
4490 ($(objpfx)tst-audit4): Likewise.
4491 ($(objpfx)tst-audit4.out): Likewise.
4492 ($(objpfx)tst-audit5): Likewise.
4493 ($(objpfx)tst-audit5.out): Likewise.
4494 ($(objpfx)tst-audit6): Likewise.
4495 ($(objpfx)tst-audit6.out): Likewise.
4496 ($(objpfx)tst-audit7): Likewise.
4497 ($(objpfx)tst-audit7.out): Likewise.
4498 (tst-audit3-ENV): Remove variable.
4499 (tst-audit4-ENV): Likewise.
4500 (tst-audit5-ENV): Likewise.
4501 (tst-audit6-ENV): Likewise.
4502 (tst-audit7-ENV): Likewise.
4503 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4504 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4505 addition to variable.
4506 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4507 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4508 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4509 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4510 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4511 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4512 tst-audit3, tst-audit4 and tst-audit5.
4513 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4514 tst-audit6 and tst-audit7.
4515 [$(subdir) = elf] (modules-names): Add audit modules for those
4517 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4518 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4519 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4520 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4521 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4522 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4523 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4524 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4525 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4526 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4527 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4528 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4529 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4530 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4531 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4532 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4534 [$(subdir) = elf && $(config-cflags-avx) = yes]
4535 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4536 [$(subdir) = elf && $(config-cflags-avx) = yes]
4537 (CFLAGS-tst-auditmod4a.c): Likewise.
4538 [$(subdir) = elf && $(config-cflags-avx) = yes]
4539 (CFLAGS-tst-auditmod4b.c): Likewise.
4540 [$(subdir) = elf && $(config-cflags-avx) = yes]
4541 (CFLAGS-tst-auditmod6b.c): Likewise.
4542 [$(subdir) = elf && $(config-cflags-avx) = yes]
4543 (CFLAGS-tst-auditmod6c.c): Likewise.
4544 [$(subdir) = elf && $(config-cflags-avx) = yes]
4545 (CFLAGS-tst-auditmod7b.c): Likewise.
4546 * elf/tst-audit3.c: Move to ...
4547 * sysdeps/x86_64/tst-audit3.c: ... here.
4548 * elf/tst-audit4.c: Move to ...
4549 * sysdeps/x86_64/tst-audit4.c: ... here.
4550 * elf/tst-audit5.c: Move to ...
4551 * sysdeps/x86_64/tst-audit5.c: ... here.
4552 * elf/tst-audit6.c: Move to ...
4553 * sysdeps/x86_64/tst-audit6.c: ... here.
4554 * elf/tst-audit7.c: Move to ...
4555 * sysdeps/x86_64/tst-audit7.c: ... here.
4556 * elf/tst-auditmod3a.c: Move to ...
4557 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4558 * elf/tst-auditmod3b.c: Move to ...
4559 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4560 * elf/tst-auditmod4a.c: Move to ...
4561 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4562 * elf/tst-auditmod4b.c: Move to ...
4563 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4564 * elf/tst-auditmod5a.c: Move to ...
4565 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4566 * elf/tst-auditmod5b.c: Move to ...
4567 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4568 * elf/tst-auditmod6a.c: Move to ...
4569 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4570 * elf/tst-auditmod6b.c: Move to ...
4571 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4572 * elf/tst-auditmod6c.c: Move to ...
4573 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4574 * elf/tst-auditmod7a.c: Move to ...
4575 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4576 * elf/tst-auditmod7b.c: Move to ...
4577 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4579 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4582 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4583 define unconditionally.
4584 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4585 define unconditionally.
4586 (INT8_C, INT16_C, etc.): Likewise.
4588 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4590 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4591 __ehdr_start with hidden visibility.
4593 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4595 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4597 * math/libm-test.inc (cos_test): Use accurate hex constants.
4598 (sincost_test): Likewise.
4600 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4602 * math/libm-test.inc (catan_test): Add more tests.
4603 (catanh_test): Likewise.
4605 * math/s_catanf.c (__catanf): Use suffixed floating-point
4607 * math/s_catanhf.c (__catanhf): Likewise.
4608 * math/s_catanhl.c (__catanhl): Likewise.
4609 * math/s_catanl.c (__catanl): Likewise.
4612 * math/s_catan.c (__catan): Calculate imaginary part of result
4613 with log1p not log unless computing log of number close to 0.
4614 * math/s_catanf.c (__catanf): Likewise.
4615 * math/s_catanl.c (__catanl): Likewise.
4616 * math/s_catanh.c (__catanh): Calculate real part of result with
4617 log1p not log unless computing log of number close to 0.
4618 * math/s_catanhf.c (__catanhf): Likewise.
4619 * math/s_catanhl.c (__catanhl): Likewise.
4620 * math/libm-test.inc (catan_test): Add more tests.
4621 (catanh_test): Likewise.
4622 * sysdeps/i386/fpu/libm-test-ulps: Update.
4623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4625 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4627 * benchtests/Makefile: Mention files in which fast and slow
4628 paths of math functions are implemented.
4630 2013-04-23 Roland McGrath <roland@hack.frob.com>
4632 * sysdeps/posix/timespec_get.c: New file.
4634 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4636 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4638 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4640 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4641 powerpc/power5/fpu folders.
4642 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4643 * benchtests/Makefile: Add modf testcase.
4644 * benchtests/bench-modf.c: New file: Benchmark test for mo
4646 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4649 * time/Makefile (tests): Add tst-strptime-whitespace.
4650 * time/strptime_l.c (get_number): Use ISSPACE.
4651 (__strptime_internal): Likewise.
4652 * time/tst-strptime-whitespace.c: New test case.
4654 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4656 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4658 (_nss_files_init): Set it here.
4660 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4662 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4663 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4666 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4668 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4670 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4675 2013-04-21 David S. Miller <davem@davemloft.net>
4677 * po/ru.po: Update Russion translation from translation project.
4679 2013-04-17 Adam Conrad <adconrad@0c3.net>
4681 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4684 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4686 * configure.in: Remove i386 configure warning. Remove i386 case.
4687 * configure: Regenerate.
4688 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4689 Add example to error message.
4690 * sysdeps/i386/configure: Regenerate.
4692 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4694 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4696 * benchtests/cos-inputs: New file.
4697 * benchtests/slowcos-inputs: New file.
4698 * benchtests/slowcos.c: New file.
4699 * benchtests/slowtan-inputs: New file.
4700 * benchtests/slowtan.c: New file.
4701 * benchtests/tan-inputs: New file.
4703 2013-04-16 Roland McGrath <roland@hack.frob.com>
4705 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4708 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4710 * benchtests/Makefile: Include cppflags-iterator.mk to add
4711 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4713 * Makefile.in (bench-clean): New target.
4714 * benchtests/Makefile (bench-clean): Likewise.
4716 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4718 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4720 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4722 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4724 2013-04-15 Andreas Schwab <schwab@suse.de>
4726 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4728 * nscd/pwdcache.c (cache_addpw): Likewise.
4729 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4732 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4734 * benchtests/Makefile (bench): Write all output to
4735 bench-out.tmp together.
4737 2013-04-15 Andreas Schwab <schwab@suse.de>
4739 * nscd/nscd.c (main): Don't fork again after closing files.
4741 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4745 * benchtests/Rules (bench-deps): Collect dependencies into a
4746 single variable. Add Makefile to dependencies.
4747 ($(objpfx)bench-%.c): Depend on bench-deps.
4749 2013-04-12 Roland McGrath <roland@hack.frob.com>
4750 Xavier Roche <roche+kml2@exalead.com>
4753 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4754 just that it's a file descriptor.
4755 * manual/llio.texi (Synchronizing AIO Operations): Update description
4756 for EBADF error from aio_fsync.
4758 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4760 * Rules (bench): Move target definition...
4761 * benchtests/Makefile: ... here.
4763 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4765 * math/libm-test.inc (cos_test): Fix PI/2 test.
4766 (sincos_test): Likewise.
4767 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4768 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4770 2013-04-11 Andreas Schwab <schwab@suse.de>
4773 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4774 accept exponent character only when digits were seen.
4775 * stdio-common/Makefile (tests): Add bug26.
4776 * stdio-common/bug26.c: New file.
4779 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4782 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4784 * Makeconfig (rtld-prefix): Define built linker prefix.
4785 * Rules (run-bench): Use it.
4786 * math/Makefile (run-regen-ulps): Likewise.
4788 * Rules (bench): Remove eval.
4790 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4791 Roland McGrath <roland@hack.frob.com>
4792 Ondrej Bilka <neleai@seznam.cz>
4795 * time/getdate.c: Include ctype.h and alloca.h.
4796 (__getdate_r): Trim leading and trailing spaces of input.
4797 * time/tst-getdate.c (tests): Add tests with leading and
4800 2013-04-08 Roland McGrath <roland@hack.frob.com>
4803 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4804 when computing value.
4806 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4808 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4809 Use testrun.sh to run libm tests.
4812 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4814 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4817 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4819 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4821 * Makefile.in (regen-ulps): New target.
4822 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4823 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4824 [ifneq (no,$(PERL)] (regen-ulps): New target.
4825 [ifeq (no,$(PERL)] (regen-ulps): New target.
4826 * math/libm-test.inc (ulps_file_name): Define.
4827 (output_dir): New variable.
4828 (options): Add "output-dir" option.
4829 (parse_opt): Handle 'o' case.
4830 (main): If output_dir is non-NULL use it as a prefix
4832 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4834 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4837 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4838 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4839 fail configure if __sync_val_compare_and_swap is not inlined.
4840 * sysdeps/i386/configure: Regenerate.
4841 * configure.in: Build for i686 when configured for i386.
4842 * configure: Regenerate.
4843 * README: Remove i386 reference.
4845 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4847 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4850 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4852 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4853 (lmsnanval): New variables.
4854 (F): Add conversion tests.
4855 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4856 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4858 * stdio-common/tstdiomisc.c (F): Properly collect individual
4862 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4863 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4864 Instead, use input NaN values or generate a qNaN by arithmetic
4865 operation. Also fix bugs to comply with the standard.
4866 * math/libm-test.inc (remainder_test): Add more tests.
4869 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4871 input NaN values or generate a qNaN by arithmetic operation.
4873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4876 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4879 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4882 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4884 * math/s_cexpf.c (__cexpf): Likewise.
4885 * math/s_cexpl.c (__cexpl): Likewise.
4886 * math/libm-test.inc (cexp_test): Add more tests.
4888 2013-04-03 Andreas Schwab <schwab@suse.de>
4891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4892 order arrays from heap if bigger than alloca cutoff.
4894 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4896 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4897 (SNAN_TESTS_double): Refer to GCC PR56831.
4898 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4901 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4903 * Rules (bench): Move bench.out after the run is complete.
4905 * Rules (bench): Echo currently running benchmark.
4907 * benchtests/Makefile (bench): Add atan and slowatan.
4908 * benchtests/atan-inputs: New file.
4909 * benchtests/slowatan-inputs: New file.
4910 * benchtests/slowatan.c: New file.
4912 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4913 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4917 * sysdeps/unix/sysv/linux/kernel-features.h
4918 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4919 __ASSUME_XFS_RESTRICTED_CHOWN.
4920 * sysdeps/unix/sysv/linux/pathconf.c
4921 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4922 Save and restore errno.
4924 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4927 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4928 arguments using __kernel_casinh.
4929 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4930 arguments using __kernel_casinhf.
4931 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4932 arguments using __kernel_casinhl.
4933 * math/libm-test.inc (cacosh_test): Add more tests.
4934 * sysdeps/i386/fpu/libm-test-ulps: Update.
4935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4937 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4939 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4942 * bench/Makefile (bench): Add sin and slowsin.
4943 * benchtests/sin-inputs: New file.
4944 * benchtests/slowsin-inputs: New file.
4945 * benchtests/slowsin.c: New file.
4947 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4948 (bench): Add slowexp and slowpow.
4949 (exp-ITER): Increase iterations.
4950 (pow-ITER): Likewise.
4951 * benchtests/exp-inputs: Change input.
4952 * benchtests/pow-inputs: Likewise.
4953 * benchtests/slowexp-inputs: New file.
4954 * benchtests/slowexp.c: New file.
4955 * benchtests/slowpow-inputs: New file.
4956 * benchtests/slowpow.c: New file.
4958 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4962 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4963 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4964 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4965 * benchtests/Makefile: Add rint benchtest.
4966 * benchtests/rint-inputs: Input for rint benchtest.
4968 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4970 * Versions.def (libm): Add GLIBC_2.18.
4971 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4972 hidden libm prototypes.
4973 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4974 * math/Makefile (libm-calls): Add s_issignaling.
4975 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4976 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4977 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4979 * math/math.h [__USE_GNU] (issignaling): New macro.
4980 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4981 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4983 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4986 * manual/arith.texi (issignaling): New section.
4987 * manual/libm-err-tab.pl (@all_functions): Update comment.
4988 * math/gen-libm-test.pl (parse_args): Apply special handling for
4990 * math/libm-test.inc (print_float, issignaling_test): New
4992 (check_float_internal): Add issignaling checks.
4993 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4995 * sysdeps/powerpc/math-tests.h: New file.
4996 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4998 * math/test-snan.c (TEST_FUNC): Likewise.
5000 2013-03-30 David S. Miller <davem@davemloft.net>
5002 * po/de.po: Update from translation team.
5004 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5007 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5008 imaginary part less than 1.0 and real part less than 0.5
5010 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5011 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5012 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5013 (cacos_test): Add more tests.
5014 (casin_test): Likewise.
5015 (casinh_test): Likewise.
5016 * sysdeps/i386/fpu/libm-test-ulps: Update.
5017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5019 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5021 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5024 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5025 (__pow_mp): Replace ONE and MONE with their values.
5026 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5027 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5028 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5029 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5030 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5031 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5033 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5035 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5036 (__pow_mp): Replace ZERO and MZERO with their values.
5037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5038 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5039 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5041 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5042 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5045 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5047 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5049 2013-03-28 Roland McGrath <roland@hack.frob.com>
5051 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5052 Declare with __attribute__ ((weak)).
5053 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5054 Call __call_tls_dtors only if it's not NULL.
5056 2013-03-28 Roland McGrath <roland@hack.frob.com>
5058 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5059 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5060 magic __ehdr_start linker symbol if it's defined.
5061 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5062 them up here if it was already done.
5064 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5065 (_dl_aux_init): Use const in cast when setting it.
5066 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5067 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5068 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5070 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5072 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5073 * csu/libc-tls.c: Nor here.
5074 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5076 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5077 (__libc_message): Never call vsyslog.
5079 2013-03-28 Alan Modra <amodra@gmail.com>
5081 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5083 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5086 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5089 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5093 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5096 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5097 Don't add gid passed as argument.
5099 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5101 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5104 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5105 imaginary part between 1.0 and 1.5 and real part less than 0.5
5107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5109 * math/libm-test.inc (cacos_test): Add more tests.
5110 (casin_test): Likewise.
5111 (casinh_test): Likewise.
5112 * sysdeps/i386/fpu/libm-test-ulps: Update.
5113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5115 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5117 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5121 (__dbl_mp): Likewise.
5122 (add_magnitudes): Likewise.
5123 (sub_magnitudes): Likewise.
5131 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5133 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5134 (__dubcos): Likewise.
5135 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5136 (__ieee754_acos): Likewise.
5137 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5138 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5143 (my_log2): Likewise.
5144 (checkint): Likewise.
5145 * sysdeps/ieee754/dbl-64/e_remainder.c
5146 (__ieee754_remainder): Likewise.
5147 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5150 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5152 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5153 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5154 MANTISSA_STORE_T to store computations on mantissa. Use
5155 macros for rounding and division.
5157 (__dbl_mp): Likewise.
5158 (add_magnitudes): Likewise.
5159 (sub_magnitudes): Likewise.
5162 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5163 powers of two in terms of TWOPOW macro.
5164 (mp_no): Make type of mantissa as MANTISSA_T.
5165 [!RADIXI]: Define RADIXI.
5166 [!TWO52]: Define TWO52.
5167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5169 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5172 llroundl symbol when building for PPC32.
5174 2013-03-24 Mark H Weaver <mhw@netris.org>
5176 * manual/arith.texi (Normalization Functions): Fix prototypes for
5177 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5179 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5183 high value to check if expl overflow.
5184 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5185 to check for underflow and overflow.
5186 * math/libm-test.inc: Add exp test.
5188 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5191 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5194 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5196 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5199 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5201 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5202 wrap blocks consisting of several statements.
5204 * sysdeps/generic/math-tests.h: New file.
5205 * sysdeps/i386/fpu/math-tests.h: Likewise.
5206 * math/test-snan.c: Include it.
5207 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5209 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5212 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5213 (__ieee754_j0l): Do not improve calculations using cos of twice
5214 input for inputs above LDBL_MAX / 2.0L.
5215 (__ieee754_y0l): Likewise.
5216 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5217 (__ieee754_j1l): Do not improve calculations using cos of twice
5218 input for inputs above LDBL_MAX / 2.0L.
5219 (__ieee754_y1l): Likewise.
5220 * math/libm-test.inc (j0_test): Add another test.
5221 (j1_test): Likewise.
5222 (y0_test): Likewise.
5223 (y1_test): Likewise.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5226 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5228 * Rules ($(objpfx)bench-%.c): Include code from a C source
5231 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5234 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5235 imaginary part 1.0 and real part less than 0.5 specially.
5236 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5237 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5238 * math/libm-test.inc (cacos_test): Add more tests.
5239 (casin_test): Likewise.
5240 (casinh_test): Likewise.
5241 * sysdeps/i386/fpu/libm-test-ulps: Update.
5242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5244 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5246 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5247 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5249 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5251 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5252 * config.make.in (config-cflags-sse4): Remove variable.
5253 (config-cflags-avx): Likewise.
5254 (config-cflags-sse2avx): Likewise.
5255 (config-cflags-novzeroupper): Likewise.
5256 (config-asflags-i686): Likewise.
5257 (have-mfma4): Likewise.
5258 (have-as-vis3): Likewise.
5260 * configure.in (MIG): Do not AC_SUBST.
5261 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5262 (libc_cv_cc_sse4): Do not AC_SUBST.
5263 (libc_cv_cc_avx): Likewise.
5264 (libc_cv_cc_sse2avx): Likewise.
5265 (libc_cv_cc_novzeroupper): Likewise.
5266 (libc_cv_cc_fma4): Likewise.
5267 (libc_cv_as_i686): Likewise.
5268 (libc_cv_sparc_as_vis3): Likewise.
5269 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5271 (config-asflags-i686): Likewise.
5272 (config-cflags-avx): Likewise.
5273 (config-cflags-sse2avx): Likewise.
5274 (have-mfma4): Likewise.
5275 (config-cflags-novzeroupper): Likewise.
5276 * sysdeps/mach/configure.in (MIG): Likewise.
5277 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5278 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5280 (config-cflags-avx): Likewise.
5281 (config-cflags-sse2avx): Likewise.
5282 (have-mfma4): Likewise.
5283 (config-cflags-novzeroupper): Likewise.
5284 * configure: Regenerated.
5285 * sysdeps/i386/configure: Likewise.
5286 * sysdeps/mach/configure: Likewise.
5287 * sysdeps/sparc/configure: Likewise.
5288 * sysdeps/x86_64/configure: Likewise.
5290 2013-03-20 Roland McGrath <roland@hack.frob.com>
5293 * locale/programs/localedef.c (options): Put N_ translation marker
5294 on argument names, not just descriptions.
5296 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5298 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5300 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5303 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5305 2013-03-19 Roland McGrath <roland@hack.frob.com>
5307 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5308 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5309 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5310 [!BEFORE_ABORT] (before_abort): New function.
5311 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5312 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5313 (writev_for_fatal): New function.
5314 (WRITEV_FOR_FATAL): New macro; call that.
5315 (backtrace_and_maps): New function.
5316 (BEFORE_ABORT): New macro; call that.
5317 (struct str_list): Type removed.
5318 (__libc_message, __libc_fatal): Functions removed.
5319 Include <sysdeps/posix/libc_fatal.c> instead.
5321 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5323 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5325 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5328 2013-03-19 Andreas Schwab <schwab@suse.de>
5330 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5331 * sysdeps/gnu/configure: Regenerate.
5333 * configure.in: Substitute libc_cv_rtlddir.
5334 * configure: Regenerate.
5335 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5336 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5337 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5338 * elf/Makefile (install-others, CFLAGS-interp.c)
5339 (ldso_install, common-ldd-rewrite): Likewise.
5340 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5341 $(inst_slibdir)/$(rtld-installed-name).
5342 * scripts/rellns-sh: Add -p option.
5343 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5346 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5348 * manual/nptl.texi: Renamed to ...
5349 * manual/threads.texi: ... this.
5350 * manual/Makefile (chapters): Update.
5352 2013-03-18 Roland McGrath <roland@hack.frob.com>
5355 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5356 on argument names, not just descriptions.
5357 * malloc/memusagestat.c (options): Likewise.
5358 * nss/getent.c (options): Likewise.
5360 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5363 * iconv/iconv_prog.c (options): Put N_ translation marker
5364 on argument names, not just descriptions.
5365 * iconv/iconvconfig.c (options): Likewise.
5367 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5369 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5370 implementation which is faster on all x86_64 architectures.
5371 Tested on AMD, Intel Nehalem, SNB, IVB.
5372 * sysdeps/x86_64/strnlen.S: Likewise.
5374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5375 Remove all multiarch strlen and strnlen versions.
5376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5377 Remove strlen and strnlen related parts.
5379 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5381 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5383 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5384 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5385 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5386 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5387 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5388 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5390 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5392 * manual/memory.texi (Malloc Tunable Parameters):
5393 Sort parameters alphabetically. Add comments for missing entries.
5395 2013-03-17 David S. Miller <davem@davemloft.net>
5397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5399 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5402 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5403 for arguments at most half maximum finite value.
5404 * math/libm-test.inc (j0_test): Add more tests.
5405 (j1_test): Likewise.
5406 (y0_test): Likewise.
5407 (y1_test): Likewise.
5408 * sysdeps/i386/fpu/libm-test-ulps: Update.
5409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5412 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5413 1 / x and functions P and Q for arguments above 0x1p256L.
5414 (__ieee754_y0l): Likewise.
5415 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5416 (__ieee754_y1l): Likewise.
5417 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5418 (j1_test): Likewise.
5419 (y0_test): Likewise.
5420 (y1_test): Likewise.
5422 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5424 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5427 2013-03-15 Roland McGrath <roland@hack.frob.com>
5429 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5430 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5431 zero since it's initialized to EXEC_PAGESIZE.
5433 * sysdeps/unix/sysv/linux/ldsodefs.h
5434 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5435 * sysdeps/generic/ldsodefs.h: ... here.
5437 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5439 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5441 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5443 * math/test-snan.c: Renamed from
5444 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5445 * math/Makefile (tests): Add test-snan.
5446 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5449 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5450 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5452 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5453 __builtin_nan family of functions.
5454 * math/libm-test.inc (initialize): Initialize qnan_value with
5455 __builtin_nan family of functions.
5456 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5458 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5460 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5461 storage class. Initialize qNaN_var and sNaN_var with
5462 __builtin_nan and __builtin_nans families of functions,
5465 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5466 (sqrt_test): Remove duplicate test with qNaN input.
5467 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5468 (round_test, signbit_test, significand_test): Note missing +/-Inf
5469 as well as qNaN tests.
5471 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5472 qNaN_var. Fix a few strings, too.
5473 * math/libm-test.inc (nan_value): Rename to qnan_value.
5474 * math/gen-libm-test.pl (%beautify): Adjust to that.
5475 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5476 * math/test-misc.c (main): Likewise.
5477 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5478 to __qnan_bytes, and __qnan_union, respectively.
5479 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5481 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5482 and lqnanval, respectively.
5483 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5484 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5485 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5486 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5488 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5489 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5492 * math/test-misc.c (main): Fix copy'n'pastos.
5493 * misc/tst-efgcvt.c (special): Likewise.
5495 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5496 Remove declarations.
5498 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5500 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5501 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5502 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5503 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5505 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5508 macro to return vdso values correctly in IFUNC implementations.
5509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5510 Optimization by using IFUNC.
5512 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5513 Richard Henderson <rth@redhat.com>
5514 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5516 * Makefile.in (bench): New target.
5517 * NEWS: Mention the benchmark framework.
5518 * Rules (bench): Likewise.
5519 (binaries-bench): Generate binaries for functions to
5521 * benchtests/Makefile: New makefile for benchmark tests.
5522 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5524 * benchtests/exp-inputs: New input file for EXP function.
5525 * benchtests/pow-inputs: New input file for POW function.
5526 * scripts/bench.pl: New script to generate source files for
5529 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5531 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5532 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5533 computations on mantissa. Use macros for rounding and
5536 (__dbl_mp): Likewise.
5537 (add_magnitudes): Likewise.
5538 (sub_magnitudes): Likewise.
5541 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5542 powers of two in terms of TWOPOW macro.
5543 (mp_no): Make type of mantissa as MANTISSA_T.
5544 [!RADIXI]: Define RADIXI.
5545 [!TWO52]: Define TWO52.
5546 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5548 * manual/nptl.texi (cindex): Modify threads to pthreads.
5550 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5552 * sysdeps/x86_64/preconfigure: Regenerated.
5554 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5557 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5559 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5560 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5562 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5563 * math/libm-test.inc (j0_test): Do not allow one spurious
5564 underflow exception.
5565 (y1_test): Likewise.
5567 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5569 * manual/Makefile (chapters): Add nptl.
5570 * manual/debug.texi (Debugging Support): Add link to Threads
5572 * manual/nptl.texi: New file.
5574 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5576 2013-03-14 Petr Baudis <pasky@ucw.cz>
5578 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5579 for non-NULL pointer before the memory validity test. Pointed
5580 out by Holger Brunck <holger.brunck@keymile.com>.
5582 2013-03-13 Andreas Schwab <schwab@suse.de>
5584 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5587 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5589 * timezone/zic.c: Update from tzcode 2013b.
5591 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5593 * manual/install.texi (Configuring and compiling):
5594 Mention i686 and i586.
5595 * INSTALL: Regenerate.
5597 2013-03-12 Roland McGrath <roland@hack.frob.com>
5599 * sysdeps/init_array/elf-init.c: New file.
5601 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5602 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5604 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5605 __gmon_start__ as global, but as static with a .preinit_array pointer.
5606 * sysdeps/init_array/gmon-start.c: New file. Use that.
5607 * sysdeps/init_array/crti.S: New file, empty except for comments.
5608 * sysdeps/init_array/crtn.S: Likewise.
5610 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5612 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5615 Remove Prefer_SSE_for_memop.
5616 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5617 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5618 HAS_PREFER_SSE_FOR_MEMOP.
5619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5622 Remove bzero, memset ifunc support.
5623 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5624 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5625 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5626 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5628 2013-03-11 Andreas Schwab <schwab@suse.de>
5631 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5634 (GLIBC_2.16): Remove pthread_atfork.
5636 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5638 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5639 (ptestcases.h): Likewise.
5641 2013-03-08 Roland McGrath <roland@hack.frob.com>
5643 * Makeconfig ($(common-objpfx)config.status): Depend on
5644 sysdeps/*/preconfigure{,.in} too.
5646 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5648 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5649 (__free_hook): Use void * instead of __malloc_ptr_t.
5650 (__malloc_hook): Likewise.
5651 (__realloc_hook): Likewise.
5652 (__memalign_hook): Likewise.
5653 (__after_morecore_hook): Likewise.
5654 * malloc/arena.c (save_malloc_hook): Likewise.
5655 (save_free_hook): Likewise.
5656 * malloc/hooks.c (malloc_hook_ini): Likewise.
5657 (realloc_hook_ini): Likewise.
5658 (memalign_hook_ini): Likewise.
5659 * malloc/malloc.c (malloc_hook_ini): Likewise.
5660 (realloc_hook_ini): Likewise.
5661 (memalign_hook_ini): Likewise.
5662 (__free_hook): Likewise.
5663 (__malloc_hook): Likewise.
5664 (__realloc_hook): Likewise.
5665 (__memalign_hook): Likewise.
5666 (__libc_malloc): Likewise.
5667 (__libc_free): Likewise.
5668 (__libc_realloc): Likewise.
5669 (__libc_memalign): Likewise.
5670 (__libc_valloc): Likewise.
5671 (__libc_pvalloc): Likewise.
5672 (__libc_calloc): Likewise.
5673 (__posix_memalign): Likewise.
5674 * malloc/morecore.c (__sbrk): Likewise.
5675 (__default_morecore): Likewise.
5677 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5679 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5680 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5683 * malloc/malloc.h (__malloc_size_t): Remove macro.
5684 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5686 (old_memalign_hook): Likewise.
5687 (old_realloc_hook): Likewise.
5688 (struct hdr): Likewise.
5690 (mallochook): Likewise.
5691 (memalignhook): Likewise.
5692 (reallochook): Likewise.
5693 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5694 (tr_old_realloc_hook): Likewise.
5695 (tr_old_memalign_hook): Likewise.
5696 (tr_mallochook): Likewise.
5697 (tr_reallochook): Likewise.
5698 (tr_memalignhook): Likewise.
5700 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5703 default_ldbl_pack and using as default implementation.
5704 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5706 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5707 redundant definition.
5708 (ldbl_insert_mantissa): Likewise.
5709 (ldbl_canonicalize): Likewise.
5710 (ldbl_nearbyint): Likewise.
5711 (ldbl_pack): Rename to ldbl_pack_ppc.
5712 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5713 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5714 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5716 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5719 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5720 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5721 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5724 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5725 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5727 2013-03-07 Andreas Jaeger <aj@suse.de>
5729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5732 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5734 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5735 Include mpa.h and declare __MPEXP.
5736 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5737 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5738 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5739 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5740 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5741 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5742 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5744 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5745 (__slowpow): Use long double EXPL and LOGL functions to
5747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5748 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5749 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5751 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5752 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5755 intermediate variable to calculate exponent.
5757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5761 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5762 [!NO__SQR]: Define __sqr.
5763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5764 and NO__SQR. Remove all code except __mul and __sqr. Include
5765 sysdeps/ieee754/dbl-64/mpa.c.
5766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5769 * posix/Makefile (tests): Add tst-pathconf.
5770 * posix/tst-pathconf.c: New test case.
5771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5773 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5775 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5777 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5779 2013-03-06 Andreas Jaeger <aj@suse.de>
5781 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5782 definition via __MAP_ANONYMOUS.
5784 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5785 it's not part of Linux headers.
5787 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5788 (MAP_HUGE_MASK): Define.
5790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5793 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5796 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5799 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5801 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5803 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5804 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5805 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5806 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5807 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5808 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5813 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5814 Handle f2fs and efivarfs.
5816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5819 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5820 (EFIVARFS_MAGIC): Add.
5821 (F2FS_LINK_MAX): Add.
5823 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5825 * stdio-common/vfprintf.c: Replace __builtin_expect with
5828 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5831 * sysdeps/generic/bp-sym.h: Remove file.
5832 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5833 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5834 <bp-sym.h> and <bp-asm.h>.
5835 (__longjmp): Don't use BP_SYM.
5836 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5838 (memcpy): Don't use BP_SYM.
5839 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5840 <bp-sym.h> and <bp-asm.h>.
5841 (memcpy): Don't use BP_SYM.
5842 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5844 (memcpy): Don't use BP_SYM.
5845 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5847 (memset): Don't use BP_SYM.
5848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5850 (__bzero): Don't use BP_SYM.
5851 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5852 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5853 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5854 <bp-sym.h> and <bp-asm.h>.
5855 (memcmp): Don't use BP_SYM. Remove comment about bounded
5857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5858 <bp-sym.h> and <bp-asm.h>.
5859 (memcpy): Don't use BP_SYM.
5860 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5861 <bp-sym.h> and <bp-asm.h>.
5862 (memset): Don't use BP_SYM.
5863 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5864 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5865 (__bzero): Don't use BP_SYM.
5866 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5867 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5868 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5869 <bp-sym.h> and <bp-asm.h>.
5870 (strncmp): Don't use BP_SYM. Remove comment about bounded
5872 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5873 <bp-sym.h> and <bp-asm.h>.
5874 (memcpy): Don't use BP_SYM.
5875 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5876 <bp-sym.h> and <bp-asm.h>.
5877 (memset): Don't use BP_SYM.
5878 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5879 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5880 (__bzero): Don't use BP_SYM.
5881 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5882 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5883 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5884 <bp-sym.h> and <bp-asm.h>.
5885 (__memchr): Don't use BP_SYM.
5886 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5887 <bp-sym.h> and <bp-asm.h>.
5888 (memcmp): Don't use BP_SYM. Remove comment about bounded
5890 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (memcpy): Don't use BP_SYM.
5893 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5894 <bp-sym.h> and <bp-asm.h>.
5895 (__mempcpy): Don't use BP_SYM.
5896 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5897 <bp-sym.h> and <bp-asm.h>.
5898 (__memrchr): Don't use BP_SYM.
5899 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5900 <bp-sym.h> and <bp-asm.h>.
5901 (memset): Don't use BP_SYM.
5902 (__bzero): Likewise.
5903 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5904 <bp-sym.h> and <bp-asm.h>.
5905 (__rawmemchr): Don't use BP_SYM.
5906 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5907 <bp-sym.h> and <bp-asm.h>.
5908 (__STRCMP): Don't use BP_SYM.
5909 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5910 <bp-sym.h> and <bp-asm.h>.
5911 (strchr): Don't use BP_SYM.
5912 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5913 <bp-sym.h> and <bp-asm.h>.
5914 (__strchrnul): Don't use BP_SYM.
5915 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5916 <bp-sym.h> and <bp-asm.h>.
5917 (strlen): Don't use BP_SYM.
5918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5919 <bp-sym.h> and <bp-asm.h>.
5920 (strncmp): Don't use BP_SYM. Remove comment about bounded
5922 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5923 <bp-sym.h> and <bp-asm.h>.
5924 (__strnlen): Don't use BP_SYM.
5925 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5926 <bp-sym.h> and <bp-asm.h>.
5927 (__GI__setjmp): Don't use BP_SYM.
5928 (_setjmp): Likewise.
5929 (__sigsetjmp): Likewise.
5930 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5931 (L(start_addresses)): Don't use BP_SYM.
5933 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5935 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5936 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5937 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5938 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5939 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5941 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5942 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5943 about bounded pointers.
5944 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5945 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5946 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5948 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5949 about bounded pointers. Remove GKM FIXME comments.
5950 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5951 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5953 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5954 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5955 Remove GKM FIXME comments.
5956 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5957 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5958 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5960 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5961 about bounded pointers. Remove GKM FIXME comment.
5962 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5964 (strncmp): Don't use BP_SYM. Remove comment about bounded
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5967 <bp-sym.h> and <bp-asm.h>.
5968 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5970 <bp-sym.h> and <bp-asm.h>.
5971 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5974 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5976 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5979 2013-03-05 David S. Miller <davem@davemloft.net>
5981 * po/es.po: Update from translation team.
5983 2013-03-05 Andreas Jaeger <aj@suse.de>
5985 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5986 <bits/mman-linux.h>.
5987 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5989 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5990 <bits/mman-linux.h> to end of file.
5991 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5993 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5994 <bits/mman-linux.h> to end of file.
5995 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5997 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5998 <bits/mman-linux.h> to end of file.
6000 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6001 (MCL_CURRENT, MCL_FUTURE): Define here.
6003 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6008 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6010 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6013 fourth parameter needed for rt_sigprocmask syscall.
6014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6015 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6016 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6017 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6018 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6019 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6021 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6024 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6025 comment about bounded pointers.
6026 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6027 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6029 2013-03-04 Andreas Jaeger <aj@suse.de>
6031 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6034 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6035 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6036 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6038 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6041 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6045 __ieee754_sqrl instead of __sqrl.
6047 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6049 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6050 * sysdeps/powerpc/fpu_control.h: ... here.
6051 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6052 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6053 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6054 * sysdeps/powerpc/bits/mathinline.h: ... here.
6056 2013-03-01 Roland McGrath <roland@hack.frob.com>
6058 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6059 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6060 to just [NEED_DL_SYSINFO_DSO].
6061 * elf/dl-support.c: Likewise.
6062 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6063 * elf/rtld.c (dl_main): Likewise.
6064 * elf/setup-vdso.h (setup_vdso): Likewise.
6065 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6066 * sysdeps/unix/sysv/linux/dl-sysdep.c
6067 (_dl_discover_osversion): Likewise.
6069 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6071 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6072 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6074 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6076 * NEWS: Mention libm performance improvements and non-x86 PI
6079 * csu/libc-start.c (__pthread_initialize_minimal): Change
6081 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6083 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6086 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6087 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6088 <bp-sym.h> and <bp-asm.h>.
6089 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6092 (memcpy): Don't use BP_SYM.
6093 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6095 (__mpn_add_n): Don't use BP_SYM.
6096 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6097 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6099 (__mpn_addmul_1): Don't use BP_SYM.
6100 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6101 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6103 (_setjmp): Don't use BP_SYM.
6104 (__novmx_setjmp): Likewise.
6105 (__GI__setjmp): Likewise.
6106 (__vmx_setjmp): Likewise.
6107 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6109 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6110 (__bzero): Don't use BP_SYM.
6111 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6112 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6113 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6114 <bp-sym.h> and <bp-asm.h>.
6115 (memcpy): Don't use BP_SYM.
6116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6117 <bp-sym.h> and <bp-asm.h>.
6118 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6119 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6120 <bp-sym.h> and <bp-asm.h>.
6121 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6122 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6124 (__mpn_lshift): Don't use BP_SYM.
6125 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6126 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6128 (memset): Don't use BP_SYM.
6129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6131 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6133 (__mpn_mul_1): Don't use BP_SYM.
6134 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6136 <bp-sym.h> and <bp-asm.h>.
6137 (memcmp): Don't use BP_SYM.
6138 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6139 <bp-sym.h> and <bp-asm.h>.
6140 (memcpy): Don't use BP_SYM.
6141 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6142 <bp-sym.h> and <bp-asm.h>.
6143 (memset): Don't use BP_SYM.
6144 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6145 <bp-sym.h> and <bp-asm.h>.
6146 (strncmp): Don't use BP_SYM.
6147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6148 <bp-sym.h> and <bp-asm.h>.
6149 (memcpy): Don't use BP_SYM.
6150 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6151 <bp-sym.h> and <bp-asm.h>.
6152 (memset): Don't use BP_SYM.
6153 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6154 <bp-sym.h> and <bp-asm.h>.
6155 (__memchr): Don't use BP_SYM.
6156 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6157 <bp-sym.h> and <bp-asm.h>.
6158 (memcmp): Don't use BP_SYM.
6159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6160 <bp-sym.h> and <bp-asm.h>.
6161 (memcpy): Don't use BP_SYM.
6162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6163 <bp-sym.h> and <bp-asm.h>.
6164 (__mempcpy): Don't use BP_SYM.
6165 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6166 <bp-sym.h> and <bp-asm.h>.
6167 (__memrchr): Don't use BP_SYM.
6168 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6169 <bp-sym.h> and <bp-asm.h>.
6170 (memset): Don't use BP_SYM.
6171 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6172 <bp-sym.h> and <bp-asm.h>.
6173 (__rawmemchr): Don't use BP_SYM.
6174 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6175 <bp-sym.h> and <bp-asm.h>.
6176 (__STRCMP): Don't use BP_SYM.
6177 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6178 <bp-sym.h> and <bp-asm.h>.
6179 (strchr): Don't use BP_SYM.
6180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6181 <bp-sym.h> and <bp-asm.h>.
6182 (__strchrnul): Don't use BP_SYM.
6183 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6184 <bp-sym.h> and <bp-asm.h>.
6185 (strlen): Don't use BP_SYM.
6186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6187 <bp-sym.h> and <bp-asm.h>.
6188 (strncmp): Don't use BP_SYM.
6189 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6190 <bp-sym.h> and <bp-asm.h>.
6191 (__strnlen): Don't use BP_SYM.
6192 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6194 (__mpn_rshift): Don't use BP_SYM.
6195 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6196 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6197 <bp-sym.h> and <bp-asm.h>.
6198 (__sigsetjmp): Don't use BP_SYM.
6199 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6200 (L(start_addresses)): Don't use BP_SYM.
6202 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6204 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6205 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6206 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6207 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6209 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6210 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6211 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6212 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6214 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6216 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6217 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6219 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6221 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6222 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6223 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6225 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6227 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6229 (strncmp): Don't use BP_SYM,
6230 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6232 (__mpn_sub_n): Don't use BP_SYM.
6233 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6234 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6236 (__mpn_submul_1): Don't use BP_SYM.
6237 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6239 <bp-sym.h> and <bp-asm.h>.
6240 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6242 <bp-sym.h> and <bp-asm.h>.
6243 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6246 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6249 Use ZK to minimize writes to Z.
6250 (sub_magnitudes): Simplify code a bit.
6251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6252 Use ZK to minimize writes to Z.
6253 (sub_magnitudes): Simplify code a bit.
6255 2013-02-27 Roland McGrath <roland@hack.frob.com>
6257 * csu/gmon-start.c: Add special exception to license text.
6259 2013-02-27 Richard Henderson <rth@redhat.com>
6261 * scripts/config.guess: Update from config.git.
6262 * scripts/config.sub: Likewise.
6264 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6266 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6268 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6270 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6272 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6274 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6276 2013-02-26 Roland McGrath <roland@hack.frob.com>
6278 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6279 [$(build-shared = yes].
6281 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6283 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6284 (__mul): Reduce iterations for calculating mantissa.
6286 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6288 (__mpranred): Likewise.
6291 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6292 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6294 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6296 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6297 Define __attribute__.
6299 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6301 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6303 * posix/regex_internal.h (__attribute): Remove.
6304 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6305 (re_string_context_at): Likewise.
6306 (bitset_not): Use __attribute__ and mark function as possibly
6308 (bitset_merge): Likewise.
6309 (bitset_mask): Likewise.
6310 (re_string_char_size_at): Likewise.
6311 (re_string_wchar_at): Likewise.
6312 (re_string_elem_size_at): Likewise.
6314 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6316 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6320 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6325 (__dbl_mp): Likewise.
6326 (add_magnitudes): Likewise.
6327 (sub_magnitudes): Likewise.
6331 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6334 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6337 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6341 up changes with default code.
6342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6345 2013-02-24 Allan McRae <allan@archlinux.org>
6347 * manual/socket.texi (The Internet Namespace): Order menu items
6348 to match that in the file.
6350 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6351 node listing of the info page menu.
6353 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6356 * sysdeps/i386/bp-asm.h: Remove file.
6357 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6358 (PARMS): Do not use macros from bp-asm.h.
6362 (__mpn_add_n): Do not use BP_SYM
6363 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6365 (PARMS): Do not use macros from bp-asm.h.
6368 (__mpn_addmul_1): Do not use BP_SYM
6369 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6371 (PARMS): Do not use macros from bp-asm.h.
6373 (_setjmp): Likewise. Do not use BP_SYM.
6374 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6376 (PARMS): Do not use macros from bp-asm.h.
6378 (setjmp): Likewise. Do not use BP_SYM.
6379 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6381 (PARMS): Do not use macros from bp-asm.h.
6382 (__frexp): Do not use BP_SYM.
6384 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6386 (PARMS): Do not use macros from bp-asm.h.
6387 (__frexpf): Do not use BP_SYM.
6389 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6391 (PARMS): Do not use macros from bp-asm.h.
6392 (__frexpl): Do not use BP_SYM.
6394 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6396 (PARMS): Do not use macros from bp-asm.h.
6397 (__remquo): Do not use BP_SYM.
6399 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6401 (PARMS): Do not use macros from bp-asm.h.
6402 (__remquof): Do not use BP_SYM.
6403 (remquof): Likewise.
6404 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6406 (PARMS): Do not use macros from bp-asm.h.
6407 (__remquol): Do not use BP_SYM.
6408 (remquol): Likewise.
6409 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6411 (PARMS): Do not use macros from bp-asm.h.
6414 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6415 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6417 (PARMS): Do not use macros from bp-asm.h.
6418 (strlen): Do not use BP_SYM.
6419 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6421 (PARMS): Do not use macros from bp-asm.h.
6425 (__mpn_add_n): Do not use BP_SYM.
6426 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6428 (PARMS): Do not use macros from bp-asm.h.
6431 (__mpn_addmul_1): Do not use BP_SYM.
6432 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6435 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6437 (PARMS): Do not use macros from bp-asm.h.
6440 (__mpn_lshift): Do not use BP_SYM.
6441 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6443 (PARMS): Do not use macros from bp-asm.h.
6447 (memcpy): Likewise. Do not use BP_SYM.
6448 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6449 libc_hidden_def and weak_alias.
6450 (mempcpy): Do not use BP_SYM in weak_alias.
6451 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6453 (PARMS): Do not use macros from bp-asm.h.
6456 [!BZERO_P] (CHR): Likewise.
6457 (memset): Likewise. Do not use BP_SYM.
6458 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6460 (PARMS): Do not use macros from bp-asm.h.
6463 (__mpn_mul_1): Do not use BP_SYM.
6464 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6466 (PARMS): Do not use macros from bp-asm.h.
6469 (__mpn_rshift): Do not use BP_SYM.
6470 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6472 (PARMS): Do not use macros from bp-asm.h.
6475 (strchr): Likewise. Do not use BP_SYM.
6476 (index): Do not use BP_SYM in weak_alias.
6477 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6479 (PARMS): Do not use macros from bp-asm.h.
6482 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6483 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6485 (PARMS): Do not use macros from bp-asm.h.
6486 (strlen): Do not use BP_SYM.
6487 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6489 (PARMS): Do not use macros from bp-asm.h.
6493 (__mpn_sub_n): Do not use BP_SYM.
6494 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6496 (PARMS): Do not use macros from bp-asm.h.
6499 (__mpn_submul_1): Do not use BP_SYM.
6500 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6502 (PARMS): Do not use macros from bp-asm.h.
6506 (__mpn_add_n): Do not use BP_SYM.
6507 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6510 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6512 (PARMS): Do not use macros from bp-asm.h.
6515 (memcmp): Do not use BP_SYM.
6516 (bcmp): Do not use BP_SYM in weak_alias.
6517 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6519 (PARMS): Do not use macros from bp-asm.h.
6523 (memcpy): Likewise. Do not use BP_SYM.
6524 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6526 (PARMS): Do not use macros from bp-asm.h.
6530 (memmove): Likewise. Do not use BP_SYM.
6531 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6533 (PARMS): Do not use macros from bp-asm.h.
6537 (__mempcpy): Likewise. Do not use BP_SYM.
6538 (mempcpy): Do not use BP_SYM in weak_alias.
6539 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6541 (PARMS): Do not use macros from bp-asm.h.
6544 [!BZERO_P] (CHR): Likewise.
6545 (memset): Likewise. Do not use BP_SYM.
6546 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6548 (PARMS): Do not use macros from bp-asm.h.
6550 (strcmp): Do not use BP_SYM.
6551 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6553 (PARMS): Do not use macros from bp-asm.h.
6556 [USE_AS_STRTOK_R] (SAVE): Likewise.
6557 (FUNCTION): Likewise. Do not use BP_SYM.
6558 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6560 (strtok_r): Likewise.
6561 (__GI___strtok_r): Likewise.
6562 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6563 (PARMS): Do not use macros from bp-asm.h.
6566 (__mpn_lshift): Do not use BP_SYM.
6567 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6568 (PARMS): Do not use macros from bp-asm.h.
6571 (__memchr): Do not use BP_SYM.
6572 (memchr): Do not use BP_SYM in weak_alias.
6573 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6574 (PARMS): Do not use macros from bp-asm.h.
6577 (memcmp): Do not use BP_SYM.
6578 (bcmp): Do not use BP_SYM in weak_alias.
6579 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6580 (PARMS): Do not use macros from bp-asm.h.
6583 (__mpn_mul_1): Do not use BP_SYM.
6584 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6586 (PARMS): Do not use macros from bp-asm.h.
6589 (__rawmemchr): Do not use BP_SYM.
6590 (rawmemchr): Do not use BP_SYM in weak_alias.
6591 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6592 (PARMS): Do not use macros from bp-asm.h.
6595 (__mpn_rshift): Do not use BP_SYM.
6596 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6597 (PARMS): Do not use macros from bp-asm.h.
6599 (__sigsetjmp): Likewise. Do not use BP_SYM.
6600 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6601 (_start): Do not use BP_SYM.
6602 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6603 (PARMS): Do not use macros from bp-asm.h.
6606 (__stpcpy): Likewise. Do not use BP_SYM.
6607 (stpcpy): Do not use BP_SYM in weak_alias.
6608 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6610 (PARMS): Do not use macros from bp-asm.h.
6614 (__stpncpy): Likewise. Do not use BP_SYM.
6615 (stpncpy): Do not use BP_SYM in weak_alias.
6616 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6617 (PARMS): Do not use macros from bp-asm.h.
6620 (strchr): Likewise. Do not use BP_SYM.
6621 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6623 (PARMS): Do not use macros from bp-asm.h.
6626 (__strchrnul): Likewise. Do not use BP_SYM.
6627 (strchrnul): Do not use BP_SYM in weak_alias.
6628 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6630 (PARMS): Do not use macros from bp-asm.h.
6632 (strcspn): Do not use BP_SYM.
6633 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6635 (PARMS): Do not use macros from bp-asm.h.
6638 (strpbrk): Likewise. Do not use BP_SYM.
6639 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6641 (PARMS): Do not use macros from bp-asm.h.
6644 (strrchr): Likewise. Do not use BP_SYM.
6645 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6646 (PARMS): Do not use macros from bp-asm.h.
6648 (strspn): Do not use BP_SYM.
6649 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6650 (PARMS): Do not use macros from bp-asm.h.
6654 (FUNCTION): Likewise. Do not use BP_SYM.
6655 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6657 (strtok_r): Likewise.
6658 (__GI___strtok_r): Likewise.
6659 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6660 (PARMS): Do not use macros from bp-asm.h.
6664 (__mpn_sub_n): Do not use BP_SYM.
6665 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6667 (PARMS): Do not use macros from bp-asm.h.
6670 (__mpn_submul_1): Do not use BP_SYM.
6671 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6673 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6675 (PARMS): Do not use macros from bp-asm.h.
6680 (__clone): Do not use BP_SYM.
6681 (clone): Do not use BP_SYM in weak_alias.
6682 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6684 (PARMS): Do not use macros from bp-asm.h.
6686 (__mmap64): Do not use BP_SYM.
6687 (mmap64): Do not use BP_SYM in weak_alias.
6688 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6689 <bp-sym.h> and <bp-asm.h>.
6690 (PARMS): Do not use macros from bp-asm.h.
6691 (__posix_fadvise64_l64): Do not use BP_SYM.
6692 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6693 (PARMS): Do not use macros from bp-asm.h.
6695 (semtimedop): Do not use BP_SYM.
6696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6699 2013-02-21 Allan McRae <allan@archlinux.org>
6701 * manual/message.texi (Charset conversion in gettext):
6702 Move @end statement to beginning of line.
6704 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6711 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6716 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6718 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6719 tail-call to the resolved function if pltexit isn't needed.
6721 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6724 or Y being zero as being unlikely.
6725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6728 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6730 * manual/nss.texi (System Databases and Name Service Switch):
6731 Remove frobnicate @pxref.
6733 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6735 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6736 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6738 2013-02-20 Petr Machata <pmachata@redhat.com>
6740 * elf/elf.h (R_ARM_TARGET1): New macro.
6741 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6742 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6743 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6744 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6745 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6746 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6747 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6748 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6749 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6750 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6751 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6752 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6753 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6754 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6755 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6756 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6757 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6758 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6759 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6760 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6761 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6762 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6763 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6764 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6765 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6766 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6767 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6768 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6769 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6770 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6771 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6772 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6773 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6774 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6775 (R_ARM_THM_GOT_BREL12): Likewise.
6776 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6777 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6778 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6779 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6780 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6781 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6782 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6783 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6784 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6786 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6788 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6789 __attribute_used__ to __attribute__ ((unused)).
6791 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6793 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6799 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6802 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6804 (ENTER): Remove both macro definitions.
6806 (CHECK_BOUNDS_LOW): Likewise.
6807 (CHECK_BOUNDS_HIGH): Likewise.
6808 (CHECK_BOUNDS_BOTH): Likewise.
6809 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6810 (RETURN_BOUNDED_POINTER): Likewise.
6811 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6812 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6813 (POP_ERRNO_LOCATION_RETURN): Likewise.
6814 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6815 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6816 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6818 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6819 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6820 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6821 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6822 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6823 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6824 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6825 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6826 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6827 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6828 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6829 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6830 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6831 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6833 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6834 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6836 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6837 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6838 * sysdeps/i386/i586/memset.S (memset): Likewise.
6839 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6841 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6843 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6844 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6845 Change uses of L(2) to L(out).
6846 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6847 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6848 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6849 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6850 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6852 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6853 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6856 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6857 (RETURN): Do not use macro LEAVE.
6858 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6859 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6860 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6861 * sysdeps/i386/i686/memset.S (memset): Likewise.
6862 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6863 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6864 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6865 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6867 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6868 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6869 L(1_2) and L(1_3) into L(1).
6870 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6871 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6872 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6873 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6874 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6875 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6876 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6877 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6878 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6880 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6881 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6882 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6883 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6884 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6885 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6886 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6887 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6888 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6889 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6890 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6891 * sysdeps/i386/strspn.S (strspn): Likewise.
6892 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6894 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6895 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6896 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6897 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6899 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6900 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6901 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6903 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6905 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6907 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6910 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6912 * math/atest-exp.c (exp_mpn): Remove ROUND.
6913 * math/atest-exp2.c (exp_mpn): Likewise.
6914 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6916 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6917 * stdlib/tst-tls-atexit-lib.c: Likewise.
6918 * stdlib/tst-tls-atexit.c: Likewise.
6920 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6922 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6923 and __attribute_alloc_size__.
6925 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6927 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6928 __attribute_alloc_size__.
6929 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6930 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6932 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6934 * include/programs/xmalloc.h: New file.
6935 * catgets/gencat.c: Include it.
6936 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6937 * elf/pldd.c: Likewise.
6938 * iconv/iconv_charmap.c: Likewise.
6939 * iconv/iconvconfig.c: Likewise.
6940 * iconv/strtab.c: Likewise.
6941 * locale/programs/locale.c: Likewise.
6942 * locale/programs/localedef.h: Likewise.
6943 * locale/programs/simple-hash.c: Likewise.
6944 * nscd/nscd.h: Likewise.
6945 * nss/makedb.c: Likewise.
6946 * sysdeps/generic/ldconfig.h: Likewise.
6948 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6950 * Versions.def: Add GLIBC_2.18.
6951 * include/link.h (struct link_map): New member l_tls_dtor_count.
6952 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6953 (__call_tls_dtors): Likewise.
6954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6955 __cxa_thread_atexit_impl.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6972 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6973 (tests): Add test case tst-tls-atexit.
6974 (modules-names): Add shared library for tst-tls-atexit.
6975 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6976 (GLIBC_PRIVATE): Add __call_tls_dtors.
6977 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6979 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6980 * stdlib/tst-tls-atexit.c: New test case.
6981 * stdlib/tst-tls-atexit-lib.c: New test case.
6983 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6985 * elf/Versions (ld): Add _dl_find_dso_for_object.
6986 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6987 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6988 (dl_open_worker): Use _dl_find_dso_for_object.
6989 * elf/dl-sym.c (do_sym): Likewise.
6990 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6992 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6994 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6995 Syntactic changes only.
6996 (_dl_runtime_profile): Do a tail-call to the resolved function.
6998 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7001 * sysdeps/x86_64/bp-asm.h: Remove file.
7002 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7003 <bp-sym.h> and <bp-asm.h>.
7004 (__clone): Do not use BP_SYM.
7005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7006 <bp-sym.h> and <bp-asm.h>.
7007 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7008 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7010 (_setjmp): Do not use BP_SYM.
7011 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7013 (setjmp): Do not use BP_SYM.
7014 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7016 (mempcpy): Do not use BP_SYM in weak_alias.
7017 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7019 (strchr): Do not use BP_SYM.
7020 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7022 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7023 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7024 (_start): Do not use BP_SYM.
7025 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7027 (strcat): Do not use BP_SYM.
7028 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7030 (STRCMP): Do not use BP_SYM.
7031 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7033 (STRCPY): Do not use BP_SYM.
7034 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7036 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7038 (FUNCTION): Do not use BP_SYM.
7039 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7041 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7043 2013-02-17 Andreas Jaeger <aj@suse.de>
7045 * time/Versions: Sort entries.
7046 * string/Versions: Likewise.
7047 * resolv/Versions: Likewise.
7048 * posix/Versions: Likewise.
7049 * iconv/Versions: Likewise.
7050 * elf/Versions: Likewise.
7051 * wcsmbs/Versions: Likewise.
7053 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7055 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7056 loop termination condition.
7058 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7059 variable to calculate EZ.
7062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7063 the lower precision input.
7065 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7068 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7069 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7070 (run-via-rtld-prefix): Do not handle %-bp tests.
7071 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7072 (all-object-suffixes): Remove .ob.
7073 (bppfx): Remove variable.
7074 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7075 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7076 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7077 [$(build-bounded) = yes] (libtype.ob): Likewise.
7078 * Makerules (elide-routines.ob): Remove variable.
7079 (do-tests-clean): Do not handle *-bp.out.
7080 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7081 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7082 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7083 (tests): Do not include $(tests-bp.out).
7084 (xtests): Do not include $(xtests-bp.out).
7085 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7086 [$(build-bounded) = yes] ($(addprefix
7087 $(objpfx),$(binaries-bounded))): Remove rule.
7088 ($(objpfx)%-bp.out): Remove rule.
7089 * config.make.in (build-bounded): Remove variable.
7090 * crypt/Makefile [$(build-bounded) = yes]
7091 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7092 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7094 [$(build-bounded) = yes] (install-lib): Likewise.
7095 [$(build-bounded) = yes] (generated): Likewise.
7096 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7098 * intl/Makefile [$(build-bounded) = yes]
7099 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7100 * math/Makefile [$(build-bounded) = yes]
7101 ($(tests:%=$(objpfx)%-bp): Likewise.
7102 * misc/Makefile [$(build-bounded) = yes]
7103 ($(objpfx)tst-tsearch-bp): Likewise.
7104 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7105 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7107 * string/Makefile (o-objects.ob): Remove variable.
7108 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7109 (CFLAGS-.ob): Remove variable.
7110 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7111 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7112 both definitions of variable.
7113 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7114 (ASFLAGS-.ob): Remove variable.
7116 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7119 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7120 Remove __BOUNDED_POINTERS__ from condition.
7121 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7122 * string/bits/string2.h [!__NO_STRING_INLINES &&
7123 !__BOUNDED_POINTERS__]: Likewise.
7124 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7126 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7127 Remove conditional code.
7128 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7129 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7130 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7134 * csu/libc-start.c: Do not include <bp-sym.h>.
7135 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7136 * elf/dl-open.c: Do not include <bp-sym.h>.
7137 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7138 * math/fegetenv.c: Do not include <bp-sym.h>.
7139 (fegetenv): Do not use BP_SYM in versioned symbols.
7140 * nptl/sysdeps/pthread/bits/libc-lockP.h
7141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7144 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7146 (__pthread_mutex_destroy): Likewise.
7147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7148 (__pthread_mutex_lock): Likewise.
7149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7150 (__pthread_mutex_trylock): Likewise.
7151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7152 (__pthread_mutex_unlock): Likewise.
7153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7154 (__pthread_mutexattr_init): Likewise.
7155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7156 (__pthread_mutexattr_destroy): Likewise.
7157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7158 (__pthread_mutexattr_settype): Likewise.
7159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7160 (__pthread_rwlock_init): Likewise.
7161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7162 (__pthread_rwlock_destroy): Likewise.
7163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7164 (__pthread_rwlock_rdlock): Likewise.
7165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7166 (__pthread_rwlock_tryrdlock): Likewise.
7167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7168 (__pthread_rwlock_wrlock): Likewise.
7169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7170 (__pthread_rwlock_trywrlock): Likewise.
7171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7172 (__pthread_rwlock_unlock): Likewise.
7173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7174 (__pthread_key_create): Likewise.
7175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7176 (__pthread_setspecific): Likewise.
7177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7178 (__pthread_getspecific): Likewise.
7179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7182 (_pthread_cleanup_push_defer): Likewise.
7183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7184 (_pthread_cleanup_pop_restore): Likewise.
7185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7186 (pthread_setcancelstate): Likewise.
7187 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7189 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7190 (memchr): Do not use BP_SYM in weak_alias.
7191 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7192 (fegetenv): Do not use BP_SYM in versioned symbols.
7193 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7194 (fesetenv): Do not use BP_SYM in versioned symbols.
7195 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7196 (feupdateenv): Do not use BP_SYM in versioned symbols.
7197 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7198 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7199 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7200 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7201 (open64): Do not use BP_SYM in weak_alias.
7202 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7203 (fegetenv): Do not use BP_SYM in versioned symbols.
7204 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7205 (fesetenv): Do not use BP_SYM in versioned symbols.
7206 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7207 (feupdateenv): Do not use BP_SYM in versioned symbols.
7208 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7209 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7210 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7211 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7212 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7213 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7214 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7216 (__libc_start_main): Do not use BP_SYM.
7218 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7221 redundant return line.
7225 (sub_magnitudes): Likewise.
7231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7235 (sub_magnitudes): Likewise.
7242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7244 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7245 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7248 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7249 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7251 of __mul for squares.
7252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7256 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7257 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7259 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7262 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7264 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7265 prototype or function definition. Rename ubp_* variables and
7266 parameters. Remove argv definitions conditional on
7267 [__BOUNDED_POINTERS__].
7268 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7269 * elf/dl-runtime.c (_dl_fixup): Likewise.
7270 * include/set-hooks.h (RUN_HOOK): Likewise.
7271 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7273 * string/strcpy.c (strcpy): Do not use __unbounded.
7274 * sysdeps/generic/frame.h (struct layout): Likewise.
7275 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7276 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7277 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7278 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7279 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7280 (__backtrace): Likewise.
7281 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7283 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7284 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7285 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7287 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7288 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7289 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7290 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7291 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7292 Do not use __unbounded.
7293 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7294 Rename __unboundedrlimits parameter to rlimits in prototype.
7295 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7296 Do not use __unbounded.
7297 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7299 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7300 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7301 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7302 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7303 __ptrvalue or __unbounded.
7304 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7307 (__new_msgctl): Do not use __ptrvalue.
7308 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7310 (__libc_msgrcv): Do not use __ptrvalue.
7311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7312 startup_info): Do not use __unbounded.
7313 (__libc_start_main): Likewise. Rename ubp_* variables and
7314 parameters. Remove argv definitions conditional on
7315 [__BOUNDED_POINTERS__].
7316 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7318 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7320 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7322 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7324 (__new_shmctl): Do not use __ptrvalue.
7325 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7326 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7328 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7330 (__libc_sigaction): Likewise.
7331 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7332 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7334 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7336 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7338 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7340 * string/mempcpy.c: Implement by calling memcpy.
7342 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7349 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7350 values in the mantissa.
7352 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7353 minimize writes to Z.
7354 (sub_magnitudes): Simplify code a bit.
7356 2013-02-12 Roland McGrath <roland@hack.frob.com>
7358 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7359 from the message. The linker prefixes all warnings with that already.
7361 2013-02-12 Andreas Schwab <schwab@suse.de>
7364 * posix/regexec.c (extend_buffers): Add parameter min_len.
7365 (check_matching): Pass minimum needed length.
7366 (clean_state_log_if_needed): Likewise.
7367 (get_subexp): Likewise.
7368 * posix/Makefile (tests): Add bug-regex34.
7369 (bug-regex34-ENV): Define.
7370 * posix/bug-regex34.c: New file.
7373 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7374 elements compare against the byte sequence of it, not its name.
7375 * posix/Makefile (tests): Add bug-regex35.
7376 (bug-regex35-ENV): Define.
7377 * posix/bug-regex35.c: New file.
7379 2013-02-11 Tom de Vries <tom@codesourcery.com>
7381 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7383 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7384 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7385 (CHECK_EOL): Add undef.
7387 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7389 * bits/stdlib-bsearch.h: New file.
7390 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7391 * stdlib/stdlib.h: Likewise.
7393 2013-02-11 Roland McGrath <roland@hack.frob.com>
7395 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7396 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7398 * manual/search.texi (Array Search Function): Add missing const in
7400 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7401 declaration to use rlim_t.
7402 (Basic Scheduling Functions): Remove erroneous const from
7403 sched_getparam prototype. Remove erroneous * from
7404 sched_get_priority_max and sched_get_priority_min prototypes.
7405 (Resource Usage): Fix summary @comment on vtimes to refer to
7406 sys/vtimes.h rather than vtimes.h.
7407 Add missing *s in vtimes prototype.
7408 (Limits on Resources): Fix ulimit prototype to return long int.
7409 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7410 prototypes to use long int rather than double.
7411 (BSD Random): Fix initstate and setstate to use char *, not void *.
7412 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7413 prototype to make second argument 'struct aiocb64 *const[]'.
7414 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7415 (Status of AIO Operations): Remove erroneous const in aio_return and
7416 aio_return64 prototypes.
7417 (Synchronizing I/O): Fix sync prototype to return void.
7418 * manual/startup.texi (Suboptions): Remove an erroneous const in
7419 getsubopt prototype.
7420 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7421 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7422 use size_t rather than int.
7423 (Scanning All Users): Likewise for getpwent_r.
7424 (Setting Groups): Add missing const to setgroups prototype.
7425 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7426 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7427 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7428 'const void *' rather than 'const char *'.
7429 (Host Address Functions): Likewise for inet_ntop.
7430 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7431 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7432 ssize_t for return value.
7433 (Sending Data): Likewise for send, sendto, sendmsg.
7434 (Socket Option Functions): Add a missing const in setsockopt prototype.
7435 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7436 use wchar_t for the argument.
7437 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7438 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7440 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7441 double/float/long double for second argument.
7442 Fix return types of significand, significandf, significandl.
7443 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7444 argument in fchmod prototype.
7445 (File Owner): Use uid_t and gid_t in fchown prototype.
7446 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7447 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7448 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7449 use 'const struct dirent **' as argument types to CMP function pointer
7451 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7452 (File Times): Fix summary magic @comment for struct utimbuf and utime
7453 to refer to utime.h, not time.h.
7454 * manual/string.texi (Argz Functions): Add missing const in
7455 argz_extract and argz_next prototypes.
7456 (Finding Tokens in a String): Likewise for basename.
7457 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7458 (Copying and Concatenation): Fix typo in wmemmove prototype.
7459 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7460 (Signal Stack): Remove erroneous const in sigstack prototype.
7461 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7463 (Simple Calendar Time): Likewise for stime.
7464 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7466 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7467 say sys/sysctl.h instead.
7468 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7469 and vsyslog prototypes.
7471 2013-02-11 Tom de Vries <tom@codesourcery.com>
7473 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7476 2013-02-11 Roland McGrath <roland@hack.frob.com>
7478 * misc/sys/mman.h: Fix typo in mremap comment.
7480 2013-02-08 Roland McGrath <roland@hack.frob.com>
7482 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7483 the '\0' terminator.
7485 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7488 * debug/segfault.c: Don't include <bp-checks.h>.
7489 * sysdeps/generic/bp-checks.h: Remove file.
7490 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7491 (__GETDENTS): Don't use CHECK_N.
7492 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7493 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7494 (__getgroups): Don't use CHECK_N.
7495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7496 (setgroups): Don't use CHECK_N.
7497 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7498 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7499 (__libc_msgrcv): Don't use CHECK_N.
7500 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7501 (__libc_msgsnd): Don't use CHECK_N.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7504 (__libc_pread): Don't use CHECK_N.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7506 include <bp-checks.h>.
7507 (__libc_pread64): Don't use CHECK_N.
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7509 include <bp-checks.h>.
7510 (__libc_pwrite): Don't use CHECK_N.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7512 include <bp-checks.h>.
7513 (__libc_pwrite64): Don't use CHECK_N.
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7516 (__libc_pread): Don't use CHECK_N.
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7518 include <bp-checks.h>.
7519 (__libc_pread64): Don't use CHECK_N.
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7521 include <bp-checks.h>.
7522 (__libc_pwrite): Don't use CHECK_N.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7524 include <bp-checks.h>.
7525 (__libc_pwrite64): Don't use CHECK_N.
7526 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7527 (do_pread): Don't use CHECK_N.
7528 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7529 (do_pread64): Don't use CHECK_N.
7530 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7531 (do_pwrite): Don't use CHECK_N.
7532 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7533 (do_pwrite64): Don't use CHECK_N.
7534 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7535 (__libc_readv): Don't use CHECK_N.
7536 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7537 (semop): Don't use CHECK_N.
7538 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7540 (semtimedop): Don't use CHECK_N.
7541 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7542 (__libc_pread): Don't use CHECK_N.
7543 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7545 (__libc_pread64): Don't use CHECK_N.
7546 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7548 (__libc_pwrite): Don't use CHECK_N.
7549 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7551 (__libc_pwrite64): Don't use CHECK_N.
7552 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7554 (__libc_msgrcv): Don't use CHECK_N.
7555 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7556 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7557 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7558 (__libc_writev): Don't use CHECK_N.
7560 2013-02-08 Roland McGrath <roland@hack.frob.com>
7562 * string/strcpy.c: Removed unused variable.
7564 * Makeconfig (+sysdep-includes): Define with := rather than =.
7565 Use an existing include/ subdir of each sysdeps dir before it.
7567 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7569 * nscd/connection.c (register_traced_file): Comment function.
7570 [HAVE_INOTIFY] (union __inev): Define.
7571 [HAVE_INOTIFY] (inotify_check_files): New function.
7572 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7573 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7575 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7577 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7579 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7580 loaded if not already and that a failure is permanent.
7582 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7585 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7586 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7588 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7592 (CHECK_1_NULL_OK): Likewise.
7593 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7594 (__fxstat): Do not use CHECK_1.
7595 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7597 (___fxstat64): Do not use CHECK_1.
7598 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7600 (__fxstatat): Do not use CHECK_1.
7601 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7603 (__fxstatat64): Do not use CHECK_1.
7604 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7606 (__fxstat): Do not use CHECK_1.
7607 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7609 (__fxstatat): Do not use CHECK_1.
7610 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7612 (__getresgid): Do not use CHECK_1.
7613 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7615 (__getresuid): Do not use CHECK_1.
7616 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7618 (__lxstat): Do not use CHECK_1.
7619 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7621 (__old_msgctl): Do not use CHECK_1.
7622 (__new_msgctl): Likewise.
7623 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7625 (__new_setrlimit): Do not use CHECK_1.
7626 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7628 (__old_shmctl): Do not use CHECK_1.
7629 (__new_shmctl): Likewise.
7630 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7632 (__xstat): Do not use CHECK_1.
7633 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7634 (__lxstat): Do not use CHECK_1.
7635 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7637 (___lxstat64): Do not use CHECK_1.
7638 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7639 (__old_msgctl): Do not use CHECK_1.
7640 (__new_msgctl): Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7643 (__gettimeofday): Do not use CHECK_1.
7644 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7645 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7646 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7648 (__gettimeofday): Do not use CHECK_1.
7649 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7650 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7651 (__new_shmctl): Do not use CHECK_1.
7652 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7654 (do_sigtimedwait): Do not use CHECK_1.
7655 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7657 (do_sigwaitinfo): Do not use CHECK_1.
7658 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7660 (msgctl): Do not use CHECK_1.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7663 (shmctl): Do not use CHECK_1.
7664 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7665 (ustat): Do not use CHECK_1.
7666 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7668 (__fxstat): Do not use CHECK_1.
7669 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7671 (__fxstatat): Do not use CHECK_1.
7672 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7674 (__lxstat): Do not use CHECK_1.
7675 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7677 (__xstat): Do not use CHECK_1.
7678 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7679 (__xstat): Do not use CHECK_1.
7680 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7681 (___xstat64): Do not use CHECK_1.
7684 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7686 (CHECK_BOUNDS_HIGH): Likewise.
7687 * string/strcpy.c: Do not include <bp-checks.h>.
7688 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7690 2013-02-07 Roland McGrath <roland@hack.frob.com>
7692 * nscd/nscd-client.h (__nscd_drop_map_ref):
7693 Add __attribute__ ((unused)).
7694 * nis/nss-nisplus.h (niserr2nss): Likewise.
7696 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7697 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7699 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7700 Remove inline keyword.
7701 * include/rounding-mode.h (round_away): Likewise.
7702 * libio/wfileops.c (adjust_wide_data): Likewise.
7703 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7704 (__m128i_strloadu_tolower): Likewise.
7705 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7706 (__m128i_strloadu_tolower): Likewise.
7707 * time/mktime.c (ydhms_diff): Likewise.
7708 * locale/elem-hash.h (elem_hash): Likewise.
7709 * locale/setlocale.c (setdata): Likewise.
7710 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7711 (re_string_wchar_at): Likewise.
7712 (bitset_not, bitset_merge, bitset_mask): Likewise.
7713 [!(__GNUC__ > 3)] (inline): Remove macro.
7714 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7715 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7716 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7717 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7718 * string/memcmp.c (memcmp_bytes): Likewise.
7719 * locale/programs/locarchive.c (compute_hashval): Likewise.
7720 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7721 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7722 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7723 * nss/getent.c (print_rpc, print_protocols): Likewise.
7724 (print_passwd, print_group, print_aliases): Likewise.
7725 * nis/nss-nisplus.h (niserr2nss): Likewise.
7726 * nscd/connections.c (restart_p): Likewise.
7727 Change return type to bool.
7729 2013-02-05 Roland McGrath <roland@hack.frob.com>
7731 * Makeconfig (all-Depend-files): Add existing
7732 $(sorted-subdirs:=/Depend) files.
7733 (all-subdirs): Remove nss.
7734 * sysdeps/unix/inet/Subdirs: Add it here instead.
7735 * hesiod/Depend: New file.
7737 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7738 instead of calling alloca.
7740 * io/lseek.c (__lseek): Rename to __libc_lseek.
7741 Define __lseek as an alias.
7743 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7745 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7747 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7748 else clause and remove check for non-standard endianness.
7750 2013-02-04 David S. Miller <davem@davemloft.net>
7752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7754 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7757 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7758 (__ubp_memchr): Remove prototype.
7759 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7760 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7761 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7762 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7763 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7765 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7766 (__ubp_memchr): Likewise.
7767 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7768 (__ubp_memchr): Likewise.
7769 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7770 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7771 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7772 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7774 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7775 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7776 (__getcwd): Do not use CHECK_STRING.
7777 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7779 (__real_chown): Do not use CHECK_STRING.
7780 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7782 (fchownat): Do not use CHECK_STRING.
7783 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7785 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7787 (__lchown): Do not use CHECK_STRING.
7788 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7789 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7790 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7791 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7793 include <bp-checks.h>.
7794 (truncate64): Do not use CHECK_STRING.
7795 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7797 (__real_chown): Do not use CHECK_STRING.
7798 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7800 (__lchown): Do not use CHECK_STRING.
7801 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7803 (__chown): Do not use CHECK_STRING.
7804 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7806 (truncate64): Do not use CHECK_STRING.
7807 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7809 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7810 (__xmknod): Do not use CHECK_STRING.
7811 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7813 (__xmknodat): Do not use CHECK_STRING.
7814 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7815 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7817 2013-02-04 Andreas Schwab <schwab@suse.de>
7820 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7821 * include/netdb.h: Likewise for h_errno.
7822 * elf/tst-stackguard1.c: Include <tls.h>.
7824 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7826 * elf/link.h (struct link_map): Extend the l_addr comment.
7827 * include/link.h (struct link_map): Likewise.
7829 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7832 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7833 (BOUNDED_1): Remove macro.
7834 * debug/backtrace.c: Don't include <bp-checks.h>.
7835 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7836 (__backtrace): Likewise.
7837 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7839 (__backtrace): Don't use BOUNDED_1.
7840 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7842 (__backtrace): Don't use BOUNDED_1.
7843 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7844 (__backtrace): Don't use BOUNDED_1.
7845 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7846 (shmat): Don't use BOUNDED_N.
7848 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7851 * sysdeps/generic/bp-start.h: Remove file.
7852 * csu/libc-start.c: Don't include <bp-start.h>.
7853 (LIBC_START_MAIN): Set up __environ directly instead of using
7854 INIT_ARGV_and_ENVIRON.
7855 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7859 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7861 (CHECK_FCNTL): Likewise.
7862 (CHECK_N_PAGES): Likewise.
7865 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7867 (CHECK_SIGSET_NULL_OK): Likewise.
7868 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7870 (sigpending): Don't use CHECK_SIGSET.
7871 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7873 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7874 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7876 (do_sigsuspend): Don't use CHECK_SIGSET.
7877 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7879 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7880 (do_sigwait): Don't use CHECK_SIGSET.
7881 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7883 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7884 include <bp-checks.h>.
7885 (sigpending): Don't use CHECK_SIGSET.
7886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7887 include <bp-checks.h>.
7888 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7889 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7891 (sigpending): Don't use CHECK_SIGSET.
7892 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7894 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7897 * sysdeps/generic/bp-semctl.h: Remove file.
7898 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7899 <bp-checks.h> and <bp-semctl.h>.
7900 (__old_semctl): Don't use CHECK_SEMCTL.
7901 (__new_semctl): Likewise.
7902 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7904 (__old_semctl): Don't use CHECK_SEMCTL.
7905 (__new_semctl): Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7907 <bp-checks.h> and <bp-semctl.h>.
7908 (__old_semctl): Don't use CHECK_SEMCTL.
7909 (__new_semctl): Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7911 <bp-checks.h> and <bp-semctl.h>.
7912 (semctl): Don't use CHECK_SEMCTL.
7915 * Makerules (elide-bp-thunks): Remove variable.
7916 (elide-routines.oS): Don't use $(elide-bp-thunks).
7917 (elide-routines.os): Likewise.
7918 (elide-routines.o): Likewise.
7919 (elide-routines.op): Likewise.
7920 (elide-routines.og): Likewise.
7921 (objects): Don't use $(bp-thunks).
7922 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7924 (common-generated): Do not add s-proto-bp.d.
7925 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7928 Do not generate makefile rules for bounded-pointer thunks.
7929 * sysdeps/generic/bp-thunks.h: Remove file.
7930 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7931 * sysdeps/unix/s-proto-bp.S: Likewise.
7934 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7935 parts of result separately when argument is not close to line from
7936 -i to i and one part of argument is small.
7937 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7938 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7939 * math/libm-test.inc (cacos_test): Add more tests.
7940 (casin_test): Likewise.
7941 (casinh_test): Likewise.
7942 * sysdeps/i386/fpu/libm-test-ulps: Update.
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945 2013-01-31 David S. Miller <davem@davemloft.net>
7947 * po/de.po: Update from translation team.
7949 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7951 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7953 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7955 * configure.in (_AC_PROG_CC_C89): New definition.
7956 * configure: Regenerate.
7958 * configure.in (AC_PROG_CPP): New definition.
7959 * configure: Regenerate.
7961 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7963 * debug/tst-backtrace.h: New file.
7964 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7965 (ret): Remove variable.
7967 (FAIL): Remove macro.
7968 (NO_INLINE): Likewise.
7969 (fn1): Use match function instead of strstr.
7970 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7971 (ret): Remove variable.
7973 (FAIL): Remove macro.
7974 (NO_INLINE): Likewise.
7975 (fn): Use match function instead of strstr.
7976 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7977 (ret): Remove variable.
7979 (FAIL): Remove macro.
7980 (NO_INLINE): Likewise.
7981 (handle_signal): Use match function instead of strstr.
7982 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7983 (ret): Remove variable.
7985 (FAIL): Remove macro.
7986 (NO_INLINE): Likewise.
7987 (handle_signal): Use match function instead of strstr.
7989 2013-01-23 Roland McGrath <roland@hack.frob.com>
7991 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7993 2013-01-23 David S. Miller <davem@davemloft.net>
7995 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7996 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7997 argument of CAS if possible.
7998 * sysdeps/sparc/sparc64/bits/atomic.h
7999 (__arch_compare_and_exchange_val_32_acq): Likewise.
8000 (__arch_compare_and_exchange_val_64_acq): Likewise.
8002 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8004 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8005 * sysdeps/posix/ulimit.c: ... this.
8007 * sysdeps/unix/bsd/ulimit.c: Remove file.
8009 2013-01-23 Adam Conrad <adconrad@0c3.net>
8011 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8012 (LDFLAGS-tst-array5): Likewise.
8014 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8017 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8018 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8019 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8020 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8022 2013-01-21 David S. Miller <davem@davemloft.net>
8024 * sysdeps/sparc/backtrace.c: New file.
8025 * sysdeps/sparc/sparc32/backtrace.h: New file.
8026 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8027 * sysdeps/sparc/sparc64/backtrace.h: New file.
8028 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8029 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8032 2013-01-21 Andreas Schwab <schwab@suse.de>
8035 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8038 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8044 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8045 Mark Mitchell <mark@codesourcery.com>
8046 Tom de Vries <tom@codesourcery.com>
8047 Paul Pluzhnikov <ppluzhnikov@google.com>
8049 * debug/tst-backtrace2.c: New file.
8050 * debug/tst-backtrace3.c: Likewise.
8051 * debug/tst-backtrace4.c: Likewise.
8052 * debug/tst-backtrace5.c: Likewise.
8053 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8054 (CFLAGS-tst-backtrace3.c): Likewise.
8055 (CFLAGS-tst-backtrace4.c): Likewise.
8056 (CFLAGS-tst-backtrace5.c): Likewise.
8057 (LDFLAGS-tst-backtrace2): Likewise.
8058 (LDFLAGS-tst-backtrace3): Likewise.
8059 (LDFLAGS-tst-backtrace4): Likewise.
8060 (LDFLAGS-tst-backtrace5): Likewise.
8061 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8062 tst-backtrace4 and tst-backtrace5.
8064 2013-01-18 Anton Blanchard <anton@samba.org>
8065 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8067 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8068 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8069 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8070 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8072 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8073 "+r" and remove output regs list as redundant. Add explicit inline
8074 asm to specify register of return val to work around compiler codegen
8075 bug. Remove (int) cast on return value. Add return type parameter to
8076 use in macro so that this macro does not truncate return value for
8078 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8079 pass to INTERNAL_VSYSCALL_NCS.
8080 (INLINE_VSYSCALL): Add 'long int' as return type to
8081 INTERNAL_VSYSCALL_NCS macro invocation.
8082 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8083 INTERNAL_VSYSCALL_NCS macro invocation.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8086 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8089 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8090 Fix application of SIMD FP exception mask.
8092 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8093 mp_no from a power of two.
8094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8095 __mpexp_twomm1. Use __pow_mp.
8097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8100 2013-01-17 David S. Miller <davem@davemloft.net>
8102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8104 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8107 * include/complex.h: Condition contents on [!_COMPLEX_H].
8108 (__kernel_casinhf): New prototype.
8109 (__kernel_casinh): Likewise.
8110 (__kernel_casinhl): Likewise.
8111 * math/Makefile (libm_calls): Add k_casinh.
8112 * math/k_casinh.c: New file.
8113 * math/k_casinhf.c: Likewise.
8114 * math/k_casinhl.c: Likewise.
8115 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8116 finite nonzero arguments.
8117 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8118 finite nonzero arguments.
8119 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8120 finite nonzero arguments.
8121 * math/s_casinh.c: Do not include <float.h>.
8122 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8123 * math/s_casinhf.c: Do not include <float.h>.
8124 (__casinhf): Move code for finite nonzero arguments to
8126 * math/s_casinhl.c: Do not include <float.h>.
8127 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8129 (__casinhl): Move code for finite nonzero arguments to
8131 * math/libm-test.inc (cacos_test): Add more tests.
8132 * sysdeps/i386/fpu/libm-test-ulps: Update.
8133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8137 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8138 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8139 [!HAVE_MREMAP]: Remove [defined linux] case.
8140 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8142 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8144 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8146 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8148 * elf/elf.h (R_386_SIZE32): New relocation.
8149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8151 (elf_machine_rela): Likewise.
8152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8153 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8155 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8157 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8158 (FP_FAST_FMA): Do not define.
8159 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8160 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8161 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8162 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8163 !_SOFT_FLOAT]: Likewise.
8164 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8165 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8167 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8168 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8169 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8170 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8171 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8172 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8175 2013-01-16 Andreas Schwab <schwab@suse.de>
8178 * include/stdlib.h (__mktemp): Add declaration.
8179 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8180 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8182 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8184 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8186 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8187 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8188 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8190 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8191 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8193 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8195 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8196 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8197 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8199 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8200 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8202 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8204 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8206 2013-01-15 David S. Miller <davem@davemloft.net>
8208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8209 trunc{,f} to libm-sysdep_routes.
8210 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8220 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8221 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8222 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8223 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8224 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8225 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8228 nearbyint{,f} to libm-sysdep_routes.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8243 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8246 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8247 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8250 libc_feholdexcept and libc_fesetenv.
8252 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8254 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8256 2013-01-14 David S. Miller <davem@davemloft.net>
8258 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8259 (SPARC_ASM_VIS2_IFUNC): Likewise.
8260 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8262 use of 'siam' instruction.
8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8296 routines to libm-sysdep_routines.
8297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8300 fdim/fdimf to libm-sysdep_routines.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8309 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8310 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8311 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8312 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8314 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8316 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8319 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8324 local variable MPTWO.
8325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8328 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8330 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8333 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8335 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8337 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8339 * manual/pattern.texi (glob_t): Document gl_flags.
8340 (glob64_t): Likewise.
8342 2013-01-11 David S. Miller <davem@davemloft.net>
8344 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8345 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8346 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8347 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8348 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8349 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8350 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8351 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8352 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8353 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8354 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8355 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8356 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8358 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8359 sparc V9 rather than using V8 code.
8360 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8361 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8363 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8365 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8368 2013-01-11 Roland McGrath <roland@hack.frob.com>
8370 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8371 not in the main loop.
8372 * configure: Regenerated.
8374 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8376 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8377 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8379 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8380 [!__GLIBC_HAVE_LONG_LONG] case.
8381 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8382 condition to just #else.
8383 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8384 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8385 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8386 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8388 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8389 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8390 #elif condition to just #else.
8391 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8392 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8393 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8394 #elif condition to just #else.
8396 2013-01-11 Steve Ellcey <sellcey@mips.com>
8398 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8399 (EF_MIPS_ARCH_64): Fix value.
8400 (EF_MIPS_ARCH_32R2): New.
8401 (EF_MIPS_ARCH_64R2): New.
8403 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8405 * Makeconfig (+link-pie-before-libc): New.
8406 (+link-pie-after-libc): Likewise.
8407 (+link-pie-tests): Likewise.
8408 (+link-pie): Rewritten.
8409 (link-before-libc): Remove $(config-LDFLAGS).
8410 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8411 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8412 (config-LDFLAGS): Renamed to ...
8413 (rtld-LDFLAGS): This.
8414 (rtld-tests-LDFLAGS): New macro.
8415 (link-libc-rpath-link): Likewise.
8416 (link-libc-tests-rpath-link): Likewise.
8417 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8418 (link-libc): Prepand $(link-libc-rpath-link).
8419 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8420 (test-program-prefix): New macro.
8421 (test-via-rtld-prefix): Likewise.
8422 (test-program-cmd): Likewise.
8423 (host-test-program-cmd): Likewise.
8424 * Makefile ($(common-objpfx)testrun.sh): Replace
8425 $(run-program-prefix) with $(test-program-prefix).
8426 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8428 ($(common-objpfx)shlib.lds): Likewise.
8429 (build-module-helper): Likewise.
8430 ($(common-objpfx)format.lds): Likewise.
8431 * Rules (binaries-pie-tests): New.
8432 (binaries-pie-notests): Likewise.
8433 (binaries-pie): Rewritten.
8434 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8435 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8436 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8437 (make-test-out): Replace $(host-built-program-cmd) with
8438 $(host-test-program-cmd).
8439 * config.make.in (build-hardcoded-path-in-tests): New variable.
8440 * configure.in (--enable-hardcoded-path-in-tests): New configure
8442 (hardcoded_path_in_tests): New AC_SUBST.
8443 * configure: Regenerated.
8444 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8445 $(built-program-cmd) with $(test-program-cmd).
8446 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8447 (test_program_cmd): This.
8448 * elf/Makefile ($(objpfx)order.out): Run test with
8449 $(test-program-prefix).
8450 ($(objpfx)order2.out): Likewise.
8451 ($(objpfx)tst-initorder.out): Likewise.
8452 ($(objpfx)tst-initorder2.out): Likewise.
8453 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8454 $(test-program-cmd).
8455 ($(objpfx)tst-array1-static.out): Likewise.
8456 ($(objpfx)tst-array2.out): Likewise.
8457 ($(objpfx)tst-array3.out): Likewise.
8458 ($(objpfx)tst-array4.out): Likewise.
8459 ($(objpfx)tst-array5.out): Likewise.
8460 ($(objpfx)tst-array5-static.out): Likewise.
8461 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8462 $(test-program-cmd).
8463 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8464 $(run-program-prefix) with $(test-program-prefix).
8465 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8466 (test_program_prefix): This.
8467 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8468 $(run-program-prefix) with $(test-program-prefix).
8469 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8470 (test_program_prefix): This.
8471 * iconvdata/tst-tables.sh: Likewise.
8472 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8473 $(run-program-prefix) with $(test-program-prefix).
8474 ($(objpfx)tst-translit.out): Likewise.
8475 ($(objpfx)tst-gettext2.out): Likewise.
8476 ($(objpfx)tst-gettext4.out): Likewise.
8477 ($(objpfx)tst-gettext6.out): Likewise.
8478 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8479 (test_program_prefix): This.
8480 * intl/tst-gettext2.sh: Likewise.
8481 * intl/tst-gettext4.sh Likewise.
8482 * intl/tst-gettext6.sh: Likewise.
8483 * intl/tst-translit.sh: Likewise.
8484 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8485 with $(test-program-cmd).
8486 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8487 $(run-program-prefix) with $(test-program-prefix).
8488 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8489 (test_program_prefix): This.
8490 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8491 $(run-program-prefix) with $(test-program-prefix).
8492 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8493 (test_program_prefix): This.
8494 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8495 * posix/Makefile ($(objpfx)globtest.out): Replace
8496 $(run-via-rtld-prefix) and $(test-wrapper) with
8497 $(test-program-prefix) and $(test-via-rtld-prefix).
8498 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8499 $(test-program-prefix).
8500 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8501 $(host-test-program-cmd).
8502 (tst-spawn-ARGS): Likewise.
8503 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8504 $(test-program-prefix).
8505 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8506 (test_via_rtld_prefix): This.
8507 (test_wrapper): Renamed to ...
8508 (test_program_prefix): This.
8509 (run_program_prefix): Replaced by test_program_prefix.
8510 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8511 (test_program_prefix): This.
8512 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8513 with $(host-test-program-cmd).
8514 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8515 $(run-program-prefix) with $(test-program-prefix).
8516 ($(objpfx)tst-printf.out): Likewise.
8517 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8518 $(test-program-cmd).
8519 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8520 (test_program_prefix): This.
8521 * stdio-common/tst-unbputc.sh: Likewise.
8522 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8523 $(run-program-prefix) with $(test-program-prefix).
8524 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8525 (test_program_prefix): This.
8526 * string/Makefile ($(objpfx)tst-svc.out): Replace
8527 $(built-program-cmd) with $(test-program-cmd).
8529 2013-01-11 Andreas Jaeger <aj@suse.de>
8532 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8533 value. Sync with Linux 3.7.
8535 2013-01-10 David S. Miller <davem@davemloft.net>
8537 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8538 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8539 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8541 2013-01-10 Roland McGrath <roland@hack.frob.com>
8543 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8545 * configure: Regenerated.
8547 2013-01-10 David S. Miller <davem@davemloft.net>
8549 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8550 sparc V9 rather than using V8 code.
8551 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8552 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8554 2013-01-10 Roland McGrath <roland@hack.frob.com>
8556 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8557 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8558 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8559 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8560 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8561 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8562 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8563 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8564 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8565 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8566 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8567 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8568 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8569 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8570 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8571 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8572 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8573 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8574 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8575 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8576 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8577 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8578 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8579 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8580 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8581 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8582 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8584 2013-01-10 David S. Miller <davem@davemloft.net>
8586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8588 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8590 * posix/Makefile (tests-static): New variable.
8591 (tests): Add $(tests-static).
8592 (tst-exec-static-ARGS): New variable.
8593 (tst-spawn-static-ARGS): Likewise.
8594 * posix/tst-exec-static.c: New file.
8595 * posix/tst-spawn-static.c: Likewise.
8596 * posix/tst-exec.c: Support run directly.
8597 * posix/tst-spawn.c: Likewise.
8599 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8601 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8603 * math/bits/mathcalls.h (llrint): Likewise.
8604 (llround): Likewise.
8605 * stdlib/stdlib.h (struct drand48_data): Likewise.
8606 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8607 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8610 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8612 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8613 (elf_greg_t): Likewise.
8614 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8615 (__jmp_buf): Likewise.
8616 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8618 (llrint): Likewise, for all definitions.
8619 (llrintl): Likewise.
8621 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8622 Remove [__GNUC__] condition.
8623 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8624 condition to just [__USE_ISOC99].
8625 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8627 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8630 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8631 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8633 (_POSIX_V6_ILP32_OFF32): Likewise.
8634 (_XBS5_ILP32_OFF32): Likewise.
8635 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8636 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8638 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8640 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8643 doubles __mpexp_twomm1. Adjust usage.
8644 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8647 2013-01-10 Andreas Schwab <schwab@suse.de>
8650 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8651 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8653 2013-01-09 David S. Miller <davem@davemloft.net>
8656 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8657 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8658 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8659 TCP_FASTOPEN): Define.
8660 (tcp_repair_opt): New structure.
8661 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8663 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8664 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8665 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8666 (tcp_cookie_transactions): New structure.
8668 2013-01-09 Anton Blanchard <anton@samba.org>
8670 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8671 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8673 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8675 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8677 * include/features.h (__USE_ANSI): Remove.
8679 2013-01-09 Roland McGrath <roland@hack.frob.com>
8681 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8683 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8685 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8687 * sysdeps/s390/fpu/libm-test-ulps: Update.
8689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8691 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8696 (__mp_dbl): Likewise.
8697 (__dbl_mp): Likewise.
8698 (add_magnitudes): Likewise.
8699 (sub_magnitudes): Likewise.
8705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8710 (__mp_dbl): Likewise.
8711 (__dbl_mp): Likewise.
8712 (add_magnitudes): Likewise.
8713 (sub_magnitudes): Likewise.
8719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8724 (__mp_dbl): Likewise.
8725 (__dbl_mp): Likewise.
8726 (add_magnitudes): Likewise.
8727 (sub_magnitudes): Likewise.
8734 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8736 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8737 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8738 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8739 2 && __USE_EXTERN_INLINES]: Likewise.
8741 2013-01-08 Andreas Jaeger <aj@suse.de>
8744 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8746 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8747 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8749 2013-01-07 Anton Blanchard <anton@samba.org>
8751 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8752 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8753 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8754 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8755 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8756 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8757 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8758 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8760 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8761 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8762 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8763 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8765 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8769 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8771 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8772 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8773 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8774 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8775 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8776 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8777 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8778 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8780 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8781 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8785 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8787 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8788 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8789 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8790 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8791 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8793 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8795 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8797 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8798 (__MALLOC_PMT): Likewise.
8799 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8800 [__GNUC__], only on [_LIBC].
8801 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8802 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8803 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8804 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8805 forward declaration.
8806 (realloc_hook_ini): Likewise.
8807 (memalign_hook_ini): Likewise.
8808 (__libc_memalign): Do not use __MALLOC_PMT in variable
8810 (__libc_valloc): Likewise.
8811 (__libc_pvalloc): Likewise.
8812 (__libc_calloc): Likewise.
8813 (__posix_memalign): Likewise.
8816 * math/s_casinh.c: Include <float.h>.
8817 (__casinh): Do not do computation with squaring and square root
8818 for large arguments.
8819 * math/s_casinhf.c: Include <float.h>.
8820 (__casinhf): Do not do computation with squaring and square root
8821 for large arguments.
8822 * math/s_casinhl.c: Include <float.h>.
8823 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8824 (__casinhl): Do not do computation with squaring and square root
8825 for large arguments.
8826 * math/libm-test.inc (casin_test): Add more tests.
8827 (casinh_test): Likewise.
8828 * sysdeps/i386/fpu/libm-test-ulps: Update.
8829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8831 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8833 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8834 (__x86_64_raw_data_cache_size): Likewise.
8835 (__x86_64_data_cache_size_half): Likewise.
8836 (__x86_64_raw_data_cache_size_half): Likewise.
8837 (__x86_64_shared_cache_size): Likewise.
8838 (__x86_64_raw_shared_cache_size): Likewise.
8839 (__x86_64_shared_cache_size_half): Likewise.
8840 (__x86_64_raw_shared_cache_size_half): Likewise.
8841 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8843 (__x86_data_cache_size): This.
8844 (__x86_64_raw_data_cache_size): Renamed to ...
8845 (__x86_raw_data_cache_size): This.
8846 (__x86_64_data_cache_size_half): Renamed to ...
8847 (__x86_data_cache_size_half): This.
8848 (__x86_64_raw_data_cache_size_half): Renamed to ...
8849 (__x86_raw_data_cache_size_half): This.
8850 (__x86_64_shared_cache_size): Renamed to ...
8851 (__x86_shared_cache_size): This.
8852 (__x86_64_raw_shared_cache_size): Renamed to ...
8853 (__x86_raw_shared_cache_size): This.
8854 (__x86_64_shared_cache_size_half): Renamed to ...
8855 (__x86_shared_cache_size_half): This.
8856 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8857 (__x86_raw_shared_cache_size_half): This.
8858 * sysdeps/x86_64/memcpy.S: Updated.
8859 * sysdeps/x86_64/memset.S: Likewise.
8860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8861 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8862 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8864 2013-01-04 David S. Miller <davem@davemloft.net>
8866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8868 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8870 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8871 1 to avoid redefinition warning.
8872 (__USE_GNU): Don't define.
8873 (init_signaling_nan): Protoize.
8875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8877 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8879 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8881 (__cpymn): Likewise.
8882 (norm): Remove commented code.
8884 (__mp_dbl): Likewise.
8886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8887 (__cpymn): Likewise.
8888 (norm): Remove commented code.
8890 (__mp_dbl): Likewise.
8893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8894 mp_no value for 1.0 and 2.0.
8895 (norm): Use RADIXI instead of radixi.d.
8897 (__mul): Use 0.0 instead of zero.d.
8898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8899 mp_no value for 1.0 and 2.0.
8900 (norm): Use RADIXI instead of radixi.d.
8902 (__mul): Use 0.0 instead of zero.d.
8904 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8907 * math/s_casinh.c (__casinh): Reduce finite argument to first
8908 quadrant then set signs of results at the end.
8909 * math/s_casinhf.c (__casinhf): Likewise.
8910 * math/s_casinhl.c (__casinhl): Likewise.
8911 * math/libm-test.inc (casin_test): Add more tests.
8912 (casinh_test): Likewise.
8913 * sysdeps/i386/fpu/libm-test-ulps: Update.
8914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8916 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8918 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8920 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8922 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8925 (__mp_dbl): Likewise.
8928 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8929 and adjust the header comment.
8931 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8932 variable name from declaration.
8934 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8937 Initialize COMMON_CPUID_INDEX_7 element.
8938 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8939 (CPUID_RTM): Likewise.
8940 (HAS_RTM): Likewise.
8941 (COMMON_CPUID_INDEX_7): New enum.
8943 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8946 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8947 size is zero, record memory as freed.
8949 2013-01-03 Andreas Jaeger <aj@suse.de>
8951 * po/ia.po: Add new Interlingua translation.
8953 2012-01-03 Allan McRae <allan@archlinux.org>
8955 * locale/programs/localedef.c: Fix description of '--posix' flag.
8957 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8959 * NEWS: Update dates in second copyright notice.
8960 * README: Update copyright dates in example.
8961 * manual/libc.texinfo: Update copyright dates.
8962 * scripts/test-installation.pl: Update copyright date in --version
8965 * hurd/ctty-input.c: Fix copyright notice formatting.
8966 * hurd/ctty-output.c: Likewise.
8967 * hurd/dtable.c: Likewise.
8968 * hurd/hurd-raise.c: Likewise.
8969 * hurd/hurdprio.c: Likewise.
8970 * hurd/msgportdemux.c: Likewise.
8971 * misc/sys/file.h: Likewise.
8972 * misc/sys/ioctl.h: Likewise.
8973 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8974 * sysdeps/mach/hurd/chdir.c: Likewise.
8975 * sysdeps/mach/hurd/fchdir.c: Likewise.
8976 * sysdeps/mach/hurd/rename.c: Likewise.
8977 * sysdeps/mach/hurd/rmdir.c: Likewise.
8978 * sysdeps/mach/hurd/seekdir.c: Likewise.
8979 * sysdeps/mach/hurd/setsid.c: Likewise.
8980 * sysdeps/posix/wait3.c: Likewise.
8982 * All files with FSF copyright notices: Update copyright dates
8983 using scripts/update-copyrights.
8984 * intl/plural.c: Regenerated.
8985 * locale/programs/charmap-kw.h: Likewise.
8986 * locale/programs/locfile-kw.h: Likewise.
8988 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8990 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8993 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8994 calculation loop and add branch prediction.
8996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8997 check access beyond bounds of m1np.
8999 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9001 (__inv): Remove local variable MPTWO to use the global
9003 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9004 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9007 MP3HALFS static const.
9009 2013-01-01 David S. Miller <davem@davemloft.net>
9011 * po/ca.po: Update from translation team.
9013 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9015 * scripts/update-copyrights: New file.
9016 * Makeconfig: Reformat copyright notice.
9017 * ctype/ctype.h: Likewise.
9018 * debug/swprintf_chk.c: Likewise.
9019 * elf/dl-cache.c: Likewise.
9020 * elf/dl-debug.c: Likewise.
9021 * elf/dl-object.c: Likewise.
9022 * grp/initgroups.c: Likewise.
9023 * hurd/Makefile: Likewise.
9024 * hurd/hurd/signal.h: Likewise.
9025 * hurd/hurdfault.c: Likewise.
9026 * hurd/hurdioctl.c: Likewise.
9027 * hurd/hurdlookup.c: Likewise.
9028 * hurd/intr-msg.c: Likewise.
9029 * iconv/gconv_open.c: Likewise.
9030 * libio/swprintf.c: Likewise.
9031 * locale/lc-ctype.c: Likewise.
9032 * locale/nl_langinfo.c: Likewise.
9033 * mach/Machrules: Likewise.
9034 * mach/Makefile: Likewise.
9035 * malloc/obstack.h: Likewise.
9036 * manual/Makefile: Likewise.
9037 * manual/tsort.awk: Likewise.
9038 * misc/bits/stab.def: Likewise.
9039 * nis/nis_print_group_entry.c: Likewise.
9040 * nis/nis_table.c: Likewise.
9041 * nis/nss_compat/compat-pwd.c: Likewise.
9042 * nis/nss_compat/compat-spwd.c: Likewise.
9043 * po/Makefile: Likewise.
9044 * posix/fnmatch.c: Likewise.
9045 * posix/regex.h: Likewise.
9046 * resolv/Makefile: Likewise.
9047 * resolv/nss_dns/dns-network.c: Likewise.
9048 * resolv/res_hconf.c: Likewise.
9049 * scripts/gen-sorted.awk: Likewise.
9050 * soft-fp/soft-fp.h: Likewise.
9051 * stdio-common/printf.h: Likewise.
9052 * stdlib/monetary.h: Likewise.
9053 * stdlib/random.c: Likewise.
9054 * stdlib/random_r.c: Likewise.
9055 * sysdeps/generic/Makefile: Likewise.
9056 * sysdeps/gnu/Makefile: Likewise.
9057 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9085 * sysdeps/mach/hurd/errnos.awk: Likewise.
9086 * sysdeps/mach/hurd/fork.c: Likewise.
9087 * sysdeps/mach/hurd/getcwd.c: Likewise.
9088 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9089 * sysdeps/mach/hurd/mmap.c: Likewise.
9090 * sysdeps/mach/hurd/utimes.c: Likewise.
9091 * sysdeps/mach/hurd/xmknod.c: Likewise.
9092 * sysdeps/posix/profil.c: Likewise.
9093 * sysdeps/posix/readdir_r.c: Likewise.
9094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9095 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9096 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9099 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9100 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9101 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9103 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9104 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9105 * sysdeps/pthread/lio_listio.c: Likewise.
9106 * sysdeps/sparc/dl-procinfo.h: Likewise.
9107 * sysdeps/unix/i386/sysdep.S: Likewise.
9108 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9109 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9110 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9111 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9113 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9114 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9115 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9116 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9117 * sysdeps/wordsize-32/divdi3.c: Likewise.
9118 * time/sys/time.h: Likewise.
9119 * wcsmbs/Makefile: Likewise.
9121 2013-01-01 David S. Miller <davem@davemloft.net>
9123 * po/fr.po: Update from translation team.
9125 * catgets/gencat.c: Update copyright year.
9126 * csu/version.c: Likewise.
9127 * debug/catchsegv.sh: Likewise.
9128 * debug/pcprofiledump.c: Likewise.
9129 * debug/xtrace.sh: Likewise.
9130 * elf/ldconfig.c: Likewise.
9131 * elf/ldd.bash.in: Likewise.
9132 * elf/pldd.c: Likewise.
9133 * elf/sotruss.ksh: Likewise.
9134 * elf/sprof.c: Likewise.
9135 * iconv/iconv_prog.c: Likewise.
9136 * iconv/iconvconfig.c: Likewise.
9137 * locale/programs/locale.c: Likewise.
9138 * locale/programs/localedef.c: Likewise.
9139 * login/programs/pt_chown.c: Likewise.
9140 * malloc/memusage.sh: Likewise.
9141 * malloc/memusagestat.c: Likewise.
9142 * malloc/mtrace.pl: Likewise.
9143 * nscd/nscd.c: Likewise.
9144 * nss/getent.c: Likewise.
9145 * nss/makedb.c: Likewise.
9146 * posix/getconf.c: Likewise.
9148 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9150 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9153 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9155 * math/bits/mathcalls.h (modf): Use __nonnull.
9157 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9159 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9160 (split): Use macro CN instead of the bare value.
9161 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9164 instead of the bare value.
9167 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9171 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9173 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9175 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9177 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9178 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9180 2012-12-28 Andreas Jaeger <aj@suse.de>
9182 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9183 values are from Linux 3.7.
9185 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9186 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9188 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9190 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9195 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9196 variables with preprocessor constants.
9197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9198 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9199 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9201 2012-12-27 Bruno Haible <bruno@clisp.org>
9204 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9207 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9210 and use variable directly.
9211 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9213 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9215 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9216 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9220 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9221 include directive. Remove local variable MPONE.
9222 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9223 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9224 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9226 2012-12-25 David S. Miller <davem@davemloft.net>
9228 * version.h (RELEASE): Set to "development".
9229 (VERSION): Set to "2.17.90".
9230 * NEWS: Add 2.18 section.
9232 2012-12-21 David S. Miller <davem@davemloft.net>
9234 * po/hr.po: Update from translation team.
9236 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9238 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9240 2012-12-19 Steve Ellcey <sellcey@mips.com>
9242 * NEWS: Mention new memcpy for MIPS.
9244 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9246 * manual/contrib.texi (Contributors): Spelling correction.
9248 2012-12-15 David S. Miller <davem@davemloft.net>
9250 * po/ru.po: Update from translation team.
9252 2012-12-13 David S. Miller <davem@davemloft.net>
9254 * NEWS: Mention IFUNC testsuite enhancements.
9256 * po/pl.po: Update from translation team.
9257 * po/bg.po: Likewise.
9259 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9260 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9262 2012-12-11 David S. Miller <davem@davemloft.net>
9264 * po/sv.po: Update from translation team.
9266 * po/vi.po: Update from translation team.
9268 * po/cs.po: Update from translation team.
9270 * po/de.po: Update from translation team.
9271 * po/eo.po: Likewise.
9272 * po/nl.po: Likewise.
9274 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9277 * manual/argp.texi (Argp Helper Functions): Move node to follow
9281 * manual/conf.texi (Limits on File System Capacity): Mention if
9282 terminating null is included in the max size.
9284 2012-12-10 Andreas Jaeger <aj@suse.de>
9286 * po/cs.po: Update from translation team.
9288 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9290 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9291 void pointer and cast to uintptr_t.
9292 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9294 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9295 * sysdeps/s390/s390-64/memset.S: Likewise.
9297 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9300 * menual/message.texi (Message Translation): Fix typos.
9301 (Helper programs for gettext): Likewise.
9303 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9306 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9309 2012-12-07 David S. Miller <davem@davemloft.net>
9311 * po/libc.pot: Update.
9313 2012-12-07 Richard Henderson <rth@redhat.com>
9316 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9317 normal/normal case to before the switch.
9318 (_FP_DIV): Likewise.
9320 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9321 Mike Frysinger <vapier@gentoo.org>
9323 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9324 check for __NR_fadvise64_64.
9326 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9328 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9329 0, not just to plain "0" as a statement.
9330 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9333 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9335 * NEWS: Use sourceware.org in Bugzilla URL.
9337 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9340 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9342 * stdio-common/tst-put-error.c (do_test): Add newline to the
9343 padded test to ensure flush.
9345 2012-12-05 Jeff Law <law@redhat.com>
9347 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9349 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9351 * README: Don't refer to ports add-on as distributed separately.
9352 Mention AArch64 in list of systems supported in the ports add-on.
9354 * LICENSES: Add more non-FSF copyright and license notices.
9356 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9359 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9361 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9362 10000 as width of padded output.
9364 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9366 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9369 variable LX with __attribute__ ((unused)).
9370 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9372 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9374 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9375 with __attribute__ ((unused)).
9377 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9379 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9381 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9383 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9384 (CFLAGS-nldbl-acos.c): New variable.
9385 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9386 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9387 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9388 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9389 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9390 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9391 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9392 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9393 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9394 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9395 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9396 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9397 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9398 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9399 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9400 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9401 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9402 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9403 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9404 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9405 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9406 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9407 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9408 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9409 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9410 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9411 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9412 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9413 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9414 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9415 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9416 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9417 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9418 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9419 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9420 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9421 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9422 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9423 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9424 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9425 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9426 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9427 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9428 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9429 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9430 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9431 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9432 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9433 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9434 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9435 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9436 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9437 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9438 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9439 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9440 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9441 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9442 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9443 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9444 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9445 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9446 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9447 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9448 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9449 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9450 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9451 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9452 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9453 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9454 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9455 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9456 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9457 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9458 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9459 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9460 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9461 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9462 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9463 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9464 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9465 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9466 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9467 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9468 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9469 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9470 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9471 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9472 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9473 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9474 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9475 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9476 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9477 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9478 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9479 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9480 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9481 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9484 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9488 whole low double instead of just low 47 bits when splitting values
9491 2012-12-03 Allan McRae <allan@archlinux.org>
9493 * manual/stdio.texi (Predefined Printf Handlers): Remove
9494 @hsep and @vsep usage.
9496 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9498 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9499 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9501 2012-12-03 Jeff Law <law@redhat.com>
9503 * time/sys/time.h (settimeofday): Do not mark TV argument
9506 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9508 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9509 when currently writing and seek to current position when not.
9510 * libio/Makefile (tests): Remove bug-fclose1.
9511 * libio/bug-fclose1.c: Delete.
9513 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9515 * manual/arith.texi (feenableexcept): Fix typo.
9516 (fedisableexcept): Likewise.
9518 2012-11-30 Roland McGrath <roland@hack.frob.com>
9520 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9521 second, differently-typed declaration, rather than a cast.
9523 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9525 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9526 * include/rpc/svc.h: ... here.
9528 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9531 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9532 depending n and resplen2 to catch cases where answer
9535 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9537 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9538 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9540 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9542 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9544 2012-11-29 Roland McGrath <roland@hack.frob.com>
9546 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9548 2012-11-28 Jeff Law <law@redhat.com>
9551 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9552 dataset_temporary. Track alloca usage into alloca_used.
9553 If dataset is large allocate and release it via malloc/free.
9555 2012-06-04 Florian Weimer <fweimer@redhat.com>
9558 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9560 2012-11-28 David S. Miller <davem@davemloft.net>
9562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9564 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9567 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9568 of pi/2 rounded to nearest to 64 bits.
9569 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9571 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9574 2012-11-28 Jeff Law <law@redhat.com>
9575 Martin Osvald <mosvald@redhat.com>
9578 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9579 * sunrpc/svc.c: Include time.h.
9580 (__svc_accept_failed): New function.
9581 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9582 any reason other than EINTR, call __svc_accept_failed.
9583 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9584 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9586 2012-11-28 Andreas Schwab <schwab@suse.de>
9588 * scripts/abilist.awk: Also handle indirect functions in .opd
9591 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9594 * sysdeps/x86/fpu/powl_helper.c: New file.
9595 * sysdeps/x86/fpu/Makefile: Likewise.
9596 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9598 (__ieee754_powl): Use __powl_helper for finite arguments except
9599 integer exponents below 8.
9600 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9602 (__ieee754_powl): Use __powl_helper for finite arguments except
9603 integer exponents below 8.
9604 * math/libm-test.inc (pow_test): Add more tests and enable some
9605 previously disabled tests.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9610 Carlos O'Donell <carlos_odonell@mentor.com>
9612 * nss/makedb.c (is_prime): Assert that input is odd and greater
9613 than 4. Note that fact in a comment too.
9614 (next_prime): Add 4 to input.
9616 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9619 * libio/Makefile (tests): Add test case tst-fwrite-error.
9620 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9621 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9622 * libio/tst-fwrite-error.c: New test case.
9624 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9626 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9627 before casting to void *.
9628 * include/libc-internal.h (__pointer_type): New macro.
9629 (__integer_if_pointer_type_sub): Likewise.
9630 (__integer_if_pointer_type): Likewise.
9631 (cast_to_integer): Likewise.
9632 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9633 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9634 before casting to atomic64_t.
9635 (atomic_exchange_acq): Likewise.
9636 (__arch_exchange_and_add_body): Likewise.
9637 (__arch_add_body): Likewise.
9638 (atomic_add_negative): Likewise.
9639 (atomic_add_zero): Likewise.
9641 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9643 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9644 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9645 (add_fdes): Likewise.
9646 (linear_search_fdes): Likewise.
9647 (binary_search_unencoded_fdes): Likewise.
9649 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9651 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9653 2012-11-24 Adam Conrad <adconrad@0c3.net>
9655 * configure.in: Autodetect C++ header directories.
9656 * configure: Regenerated.
9658 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9660 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9662 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9666 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9668 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9669 LDBL_MANT_DIG == 106]: Disable some tests.
9670 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9672 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9676 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9677 input for small inputs. Return +/- pi/2 for large inputs.
9678 * math/libm-test.inc (atan_test): Add more tests.
9680 * sysdeps/generic/unwind-dw2-fde-glibc.c
9681 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9682 __attribute__ ((unused)).
9685 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9686 x * y if x and y are nonzero and z is zero.
9689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9690 nonzero exponents with absolute value below 0x1p-117 to +/-
9694 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9695 up arguments below 2**-450, not just those below 2**-500.
9696 * math/libm-test.inc (hypot_test): Add another test.
9699 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9700 Return a+b for ratio over 2**120, not 2**60.
9701 * math/libm-test.inc (hypot_test): Add another test.
9703 * math/libm-test.inc (clog_test): Use
9704 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9705 (clog10_test): Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9710 2012-11-22 Andreas Schwab <schwab@suse.de>
9712 * sysdeps/i386/fpu/libm-test-ulps: Update.
9714 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9716 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9717 printf output with newline.
9719 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9722 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9723 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9724 -z nodlopen, -z initfirst and -z execstack support.
9725 * configure: Regenerated.
9727 * elf/elf.h (DF_1_NODIRECT): New macro.
9728 (DF_1_IGNMULDEF): Likewise.
9729 (DF_1_NOKSYMS): Likewise.
9730 (DF_1_NOHDR): Likewise.
9731 (DF_1_EDITED): Likewise.
9732 (DF_1_NORELOC): Likewise.
9733 (DF_1_SYMINTPOSE): Likewise.
9734 (DF_1_GLOBAUDIT): Likewise.
9735 (DF_1_SINGLETON): Likewise.
9736 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9737 DT_1_SUPPORTED_MASK bits.
9738 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9740 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9742 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9744 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9746 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9749 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9750 (sendmmsg): Move declarations...
9751 * socket/sys/socket.h: ... here.
9752 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9753 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9755 * socket/recvmmsg.c: ... this new file.
9756 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9757 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9758 definition of __sendmmsg hidden.
9759 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9760 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9761 Move ENOSYS stub into and include it from...
9762 * socket/sendmmsg.c: ... this new file.
9763 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9764 (sysdep_routines): Move recvmmsg and sendmmsg...
9765 * socket/Makefile (routines): ... here.
9766 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9767 (GLIBC_PRIVATE): Add __sendmmsg.
9768 * include/sys/socket.h (__sendmmsg): Add declarations.
9769 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9772 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9774 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9775 variable I1 with __attribute__ ((unused)).
9776 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9778 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9780 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9781 DUMMY variables with __attribute__ ((unused)).
9783 * bits/byteswap.h: Include <bits/types.h>.
9784 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9786 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9788 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9789 string_t. Do not manually set errno.
9790 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9791 length with __strnlen. Make sure to both set errno and return it on
9794 2012-11-19 David S. Miller <davem@davemloft.net>
9796 With help from Joseph Myers.
9797 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9798 very large arguments properly.
9799 * math/libm-test.inc (atan_test): New tests.
9800 (atan2_test): New tests.
9801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9804 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9807 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9810 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9811 [POSIX] (EADDRNOTAVAIL): Likewise.
9812 [POSIX] (EAFNOSUPPORT): Likewise.
9813 [POSIX] (EALREADY): Likewise.
9814 [POSIX] (ECONNABORTED): Likewise.
9815 [POSIX] (ECONNREFUSED): Likewise.
9816 [POSIX] (ECONNRESET): Likewise.
9817 [POSIX] (EDESTADDRREQ): Likewise.
9818 [POSIX] (EDQUOT): Likewise.
9819 [POSIX] (EHOSTUNREACH): Likewise.
9820 [POSIX] (EIDRM): Likewise.
9821 [POSIX] (EISCONN): Likewise.
9822 [POSIX] (ELOOP): Likewise.
9823 [POSIX] (EMULTIHOP): Likewise.
9824 [POSIX] (ENETDOWN): Likewise.
9825 [POSIX] (ENETUNREACH): Likewise.
9826 [POSIX] (ENOBUFS): Likewise.
9827 [POSIX] (ENODATA): Likewise.
9828 [POSIX] (ENOLINK): Likewise.
9829 [POSIX] (ENOMSG): Likewise.
9830 [POSIX] (ENOPROTOOPT): Likewise.
9831 [POSIX] (ENOSR): Likewise.
9832 [POSIX] (ENOSTR): Likewise.
9833 [POSIX] (ENOTCONN): Likewise.
9834 [POSIX] (ENOTSOCK): Likewise.
9835 [POSIX] (EOPNOTSUPP): Likewise.
9836 [POSIX] (EOVERFLOW): Likewise.
9837 [POSIX] (EPROTO): Likewise.
9838 [POSIX] (EPROTONOSUPPORT): Likewise.
9839 [POSIX] (EPROTOTYPE): Likewise.
9840 [POSIX] (ESTALE): Likewise.
9841 [POSIX] (ETIME): Likewise.
9842 [POSIX] (ETXTBSY): Likewise.
9843 [POSIX] (EWOULDBLOCK): Likewise.
9844 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9845 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9846 [POSIX] (SEEK_CUR): Likewise.
9847 [POSIX] (SEEK_END): Likewise.
9848 [POSIX || UNIX98] (mode_t): Do not require.
9849 [POSIX] (off_t): Likewise.
9850 [POSIX] (pid_t): Likewise.
9851 [POSIX] (sys/stat.h): Do not allow header.
9852 [POSIX] (unistd.h): Likewise.
9853 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9854 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9855 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9856 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9858 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9859 sigevent): Specify elements.
9860 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9862 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9863 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9865 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9866 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9867 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9868 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9869 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9870 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9871 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9872 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9873 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9874 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9875 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9876 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9877 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9878 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9880 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9882 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9884 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9886 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9887 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9888 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9889 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9890 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9891 Specify lower bound on value.
9892 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9893 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9894 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9895 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9896 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9897 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9898 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9899 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9901 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9903 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9904 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9905 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9906 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9907 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9908 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9909 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9910 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9911 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9912 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9913 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9914 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9915 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9916 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9917 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9918 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9920 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9922 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9923 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9924 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9925 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9926 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9927 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9929 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9932 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9933 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9934 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9935 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9937 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9938 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9939 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9940 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9941 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9942 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9943 specify as optional.
9944 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9945 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9946 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9947 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9948 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9949 [XPG3] (NL_LANGMAX): Likewise.
9950 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9951 [POSIX || XPG3] (NL_NMAX): Likewise.
9952 [POSIX || XPG3] (NL_SETMAX): Likewise.
9953 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9954 [XPG3] (NZERO): Likewise.
9955 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9956 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9957 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9958 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9959 (REG_ERANGE): Expect.
9960 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9962 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9963 Use (void) in prototype.
9964 [POSIX] (*_t): Allow.
9965 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9966 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9967 (WRDE_BADVAL): Expect.
9969 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9971 [XPG3 || XPG4] (O_RSYNC): Likewise.
9972 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9974 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9975 [XPG3 || XPG4] (sigqueue): Likewise.
9976 [XPG3 || XPG4] (sigtimedwait): Likewise.
9977 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9978 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9979 [XPG3 || XPG4] (vsnprintf): Likewise.
9980 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9982 [XPG3 || XPG4] (blksize_t): Likewise.
9983 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9985 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9986 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9987 [XPG3 || XPG4] (struct itimerspec): Likewise.
9988 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9989 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9990 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9991 [XPG3 || XPG4] (clockid_t): Likewise.
9992 [XPG3 || XPG4] (timer_t): Likewise.
9993 [XPG3 || XPG4] (clock_getres): Likewise.
9994 [XPG3 || XPG4] (clock_gettime): Likewise.
9995 [XPG3 || XPG4] (clock_settime): Likewise.
9996 [XPG3 || XPG4] (nanosleep): Likewise.
9997 [XPG3 || XPG4] (timer_create): Likewise.
9998 [XPG3 || XPG4] (timer_delete): Likewise.
9999 [XPG3 || XPG4] (timer_gettime): Likewise.
10000 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10001 [XPG3 || XPG4] (timer_settime): Likewise.
10002 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10003 [XPG3 || XPG4] (getlogin_r): Likewise.
10004 [XPG3 || XPG4] (pread): Likewise.
10005 [XPG3 || XPG4] (pthread_atfork): Likewise.
10006 [XPG3 || XPG4] (pwrite): Likewise.
10009 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10012 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10014 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10015 finalizing MALLSTREAM.
10017 * sysdeps/mach/hurd/syncfs.c: New file.
10019 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10022 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10023 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10024 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10025 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10026 (_nss_dns_gethostbyname4_r): Likewise.
10027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10028 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10030 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10033 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10035 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10037 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10038 * elf/cache.c (print_entry): Print ",AArch64" for
10041 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10042 * elf/cache.c (print_entry): Print ",hard-float" for
10045 2012-11-18 David S. Miller <davem@davemloft.net>
10047 With help from Joseph Myers.
10048 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10050 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10052 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10053 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10055 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10056 * math/libm-test.inc (y0_test): New tests.
10057 (y1_test): New tests.
10058 * sysdeps/i386/fpu/libm-test-ulps: Update.
10059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10062 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10064 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10066 * configure: Regenerated.
10068 2012-11-17 David S. Miller <davem@davemloft.net>
10071 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10072 nonzero exponents with absolute value below 0x1p-128 to +/-
10075 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10077 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10079 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10081 * posix/getconf-speclist.c: New file.
10082 * posix/posix-envs.def: Likewise.
10083 * posix/confstr.c (START_ENV_GROUP): New macro.
10084 (END_ENV_GROUP): Likewise.
10085 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10086 (KNOWN_PRESENT_ENV_STRING): Likewise.
10087 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10088 (UNKNOWN_ENVIRONMENT): Likewise.
10089 (confstr): Include posix-envs.def instead of handling
10090 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10091 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10092 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10093 (END_ENV_GROUP): Likewise.
10094 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10095 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10096 (UNKNOWN_ENVIRONMENT): Likewise.
10097 (__sysconf): Include posix-envs.def instead of handling associated
10098 cases directly here.
10099 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10100 preprocessing getconf-speclist.c rather than running getconf or
10101 generating empty file.
10103 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10105 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10107 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10110 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10112 2012-11-16 David S. Miller <davem@davemloft.net>
10114 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10115 smaller than LDBL_EPSILON/2.0L, just return xm1.
10117 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10119 * elf/tst-array1.c (init): Set constructor priority to 1000.
10120 (fini): Set destructor priority to 1000.
10121 * elf/tst-array2dep.c: Likewise.
10123 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10126 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10127 (_IO_new_file_xsputn): Also return EOF if none of the input
10128 data was written when overflow failed.
10129 * libio/iopadn.c (_IO_padn): Likewise.
10130 * libio/iowpadn.c (_IO_wpadn): Likewise.
10131 * stdio-common/tst-put-error.c: Add copyright notice.
10132 (do_test): Add case for printing padded string.
10133 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10134 _IO_padn returned error.
10135 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10136 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10139 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10141 * libio/libioP.h: Add comment note that the references to C++
10142 bits are now obsolete.
10144 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10146 * math/libm-test.inc (check_complex): Use asprintf.
10148 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10150 * debug/pcprofiledump.c (print_version): Update copyright year.
10151 * malloc/memusagestat.c (print_version): Likewise.
10153 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10156 * elf/Makefile (tests): Add tst-audit8.
10157 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10158 ($(objpfx)tst-audit8.out): New target.
10159 (tst-audit8-ENV): New variable.
10160 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10161 audit if l_reloc_result is NULL.
10162 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10163 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10164 * elf/tst-audit8.c: New file.
10166 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10168 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10169 * misc/Makefile (CFLAGS-select.c): Define.
10170 * posix/Makefile (CFLAGS-pause.c): Define.
10172 2012-11-13 David S. Miller <davem@davemloft.net>
10174 * crypt/Makefile: Move test targets after toplevel Rules
10175 inclusion. Grab any necessary sysdep routines when linking.
10176 * crypt/md5.c (md5_process_block): Remove define, we will always
10177 name it __md5_process_block.
10178 (md5_finish_ctx): Update md5_process_block call.
10179 (md5_stream): Likewise.
10180 (md5_process_bytes): Likewise.
10181 (md5_process_block): Rename to __md5_process_block and move to ...
10182 * crypt/md5-block.c: ... here.
10183 * crypt/sha256.c (sha256_process_block): Move to ...
10184 * crypt/sha256-block.c: ... here.
10185 * crypt/sha512.c (sha512_process_block): Move to ...
10186 * crypt/sha512-block.c: ... here.
10187 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10189 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10190 * sysdeps/sparc/sparc64/multiarch/Makefile
10191 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10193 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10194 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10196 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10197 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10198 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10199 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10200 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10201 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10202 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10203 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10206 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10207 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10209 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10211 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10213 * timezone/tzselect.ksh: Update from tzcode git revision
10214 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10215 * timezone/zdump.c: Likewise.
10216 * timezone/zic.c: Likewise.
10217 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10218 in TZVERSION setting, not $(PKGVERSION).
10219 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10220 REPORT_BUGS_TO settings.
10223 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10226 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10228 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10229 detection to immediately after _FP_ROUND().
10230 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10233 2012-11-11 David S. Miller <davem@davemloft.net>
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10237 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10238 __close rather than their public counterparts.
10240 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10242 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10244 [UNIX98] (sem_timedwait): Do not expect.
10245 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10246 [XPG4 || UNIX98] (sockatmark): Do not expect.
10247 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10248 (clock_getcpuclockid): Do not expect.
10249 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10250 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10252 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10253 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10254 [UNIX98] (vwscanf): Likewise.
10255 [UNIX98] (vswscanf): Likewise.
10257 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10259 * timezone/version.h: Remove file.
10260 * timezone/README: Do not refer to version.h.
10261 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10262 $(objpfx)version.h.
10263 ($(objpfx)zdump.o): Likewise.
10264 ($(objpfx)version.h): New target.
10266 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10268 * timezone/README: Don't mention modification to tzselect.ksh.
10269 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10270 work on unmodified tzselect.ksh. Substitute version numbers in
10273 * Makefile (format-me): Remove.
10274 (INSTALL): Adjust indentation. Use commands directly instead of
10275 using $(format-me).
10277 * aclocal.m4 (ACX_PKGVERSION): New macro.
10278 (ACX_BUGURL): Likewise.
10279 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10280 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10281 (REPORT_BUGS_TO): Likewise.
10282 * configure: Regenerated.
10283 * config.h.in (PKGVERSION): New macro.
10284 (REPORT_BUGS_TO): Likewise.
10285 * config.make.in (PKGVERSION): New variable.
10286 (PKGVERSION_TEXI): Likewise.
10287 (REPORT_BUGS_TO): Likewise.
10288 (REPORT_BUGS_TEXI): Likewise.
10289 * Makefile (format-me): Use -I$(common-objpfx)manual.
10290 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10291 ($(common-objpfx)manual/%): New target.
10292 (manual/%): Remove target.
10293 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10294 (print_version): Use PKGVERSION.
10295 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10296 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10297 and REPORT_BUGS_TO.
10298 ($(objpfx)xtrace): Likewise.
10299 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10300 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10301 (print_version): Use PKGVERSION.
10302 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10303 (do_version): Use PKGVERSION.
10304 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10306 (common-ldd-rewrite): Likewise.
10307 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10308 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10309 (print_version): Use PKGVERSION.
10310 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10311 * elf/pldd.c (argp_program_bug_address): Remove variable.
10312 (more_help): New function.
10313 (argp): Use more_help.
10314 (print_version): Use PKGVERSION.
10315 * elf/sln.c (main): Use PKGVERSION.
10316 (usage): Use REPORT_BUGS_TO.
10317 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10318 (top level): Use PKGVERSION.
10319 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10320 (print_version): Use PKGVERSION.
10321 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10322 (print_version): Use PKGVERSION.
10323 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10324 (print_version): Use PKGVERSION.
10325 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10326 (print_version): Use PKGVERSION.
10327 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10328 (print_version): Use PKGVERSION.
10329 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10330 (print_version): Use PKGVERSION.
10331 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10333 ($(objpfx)memusage): Likewise.
10334 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10335 (do_version): Use PKGVERSION.
10336 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10337 (print_version): Use PKGVERSION.
10338 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10339 ($PKGVERSION): New variable.
10340 ($REPORT_BUGS_TO): Likewise.
10341 (usage): Use $REPORT_BUGS_TO.
10342 (top level): Use $PKGVERSION.
10343 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10344 ($(objpfx)pkgvers.texi): New rule.
10345 ($(objpfx)stamp-pkgvers): Likewise.
10346 * manual/install.texi: Include pkgvers.texi.
10347 (--with-pkgversion): Document new configure option.
10348 (--with-bugurl): Likewise.
10349 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10350 than necessarily for this particular distribution. Use
10351 REPORT_BUGS_TO for where to report bugs.
10352 * INSTALL: Regenerated.
10353 * manual/libc.texinfo: Include pkgvers.texi.
10354 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10355 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10356 (print_version): Use PKGVERSION.
10357 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10358 (print_version): Use PKGVERSION.
10359 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10360 (print_version): Use PKGVERSION.
10361 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10362 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10364 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10365 (print_version): Use PKGVERSION.
10366 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10367 (print_version): Use PKGVERSION.
10368 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10371 * timezone/checktab.awk: Update from tzcode 2012i.
10372 * timezone/ialloc.c: Likewise.
10373 * timezone/private.h: Likewise.
10374 * timezone/scheck.c: Likewise.
10375 * timezone/tzfile.h: Likewise.
10376 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10377 (TZVERSION): Hardcode tzcode version number.
10378 * timezone/zdump.c: Update from tzcode 2012i.
10379 * timezone/zic.c: Likewise.
10380 * timezone/version.h: New file.
10381 * timezone/README: Describe version.h. Update upstream location.
10384 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10385 (mktemp): Enable declaration.
10386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10403 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10404 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10405 for copies of such integer values.
10406 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10407 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10409 2012-11-09 Andreas Jaeger <aj@suse.de>
10411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10412 definitions and declarations that are provided by
10413 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10415 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10417 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10418 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10419 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10422 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10424 * elf/elf.h: Update comment before AArch64 relocations.
10426 2012-11-07 David S. Miller <davem@davemloft.net>
10428 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10429 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10430 (__start_context): Declare.
10431 (__makecontext_ret): Delete.
10432 (__makecontext): Hook up __start_context instead of
10434 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10435 (sysdep_routines): Add __start_context when in stdlib.
10437 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10439 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10440 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10441 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10443 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10444 (READELF): New variable. Use it instead of hardcoded "readelf".
10446 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10448 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10449 * sysdeps/x86/Makefile: Here.
10450 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10451 * sysdeps/x86/tst-xmmymm.sh: This.
10453 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10455 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10457 [UNIX98] (pthread_barrier_t): Do not expect.
10458 [UNIX98] (pthread_barrierattr_t): Likewise.
10459 [UNIX98] (pthread_spinlock_t): Likewise.
10460 [UNIX98] (pthread_barrier_destroy): Likewise.
10461 [UNIX98] (pthread_barrier_init): Likewise.
10462 [UNIX98] (pthread_barrier_wait): Likewise.
10463 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10464 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10465 [UNIX98] (pthread_barrierattr_init): Likewise.
10466 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10467 [UNIX98] (pthread_getcpuclockid): Likewise.
10468 [UNIX98] (pthread_mutex_timedlock): Likewise.
10469 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10470 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10471 [UNIX98] (pthread_sigmask): Likewise.
10472 [UNIX98] (pthread_spin_destroy): Likewise.
10473 [UNIX98] (pthread_spin_init): Likewise.
10474 [UNIX98] (pthread_spin_lock): Likewise.
10475 [UNIX98] (pthread_spin_trylock): Likewise.
10476 [UNIX98] (pthread_spin_unlock): Likewise.
10477 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10479 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10481 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10482 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10483 [XPG3 || XPG4] (pthread_key_t): Likewise.
10484 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10485 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10486 [XPG3 || XPG4] (pthread_once_t): Likewise.
10487 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10488 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10490 [XPG3 || XPG4] (pthread_t): Likewise.
10492 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10494 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10496 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10497 Change function return type to int.
10499 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10500 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10501 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10502 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10503 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10504 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10505 [!POSIX] (posix_madvise): Likewise.
10506 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10508 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10509 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10510 (mode_t): Likewise.
10511 (posix_mem_offset): Likewise.
10512 (posix_typed_mem_get_info): Likewise.
10513 (posix_typed_mem_open): Likewise.
10515 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10516 Change condition to [XOPEN2K8].
10518 * conform/conformtest.pl: Preprocess allow-header data with -x c
10519 instead of from stdin.
10520 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10521 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10522 [C99-based standards] (cerfc): Likewise.
10523 [C99-based standards] (cexp2): Likewise.
10524 [C99-based standards] (cexpm1): Likewise.
10525 [C99-based standards] (clog10): Likewise.
10526 [C99-based standards] (clog1p): Likewise.
10527 [C99-based standards] (clog2): Likewise.
10528 [C99-based standards] (clgamma): Likewise.
10529 [C99-based standards] (ctgamma): Likewise.
10530 [C99-based standards] (cerff): Likewise.
10531 [C99-based standards] (cerfcf): Likewise.
10532 [C99-based standards] (cexp2f): Likewise.
10533 [C99-based standards] (cexpm1f): Likewise.
10534 [C99-based standards] (clog10f): Likewise.
10535 [C99-based standards] (clog1pf): Likewise.
10536 [C99-based standards] (clog2f): Likewise.
10537 [C99-based standards] (clgammaf): Likewise.
10538 [C99-based standards] (ctgammaf): Likewise.
10539 [C99-based standards] (cerfl): Likewise.
10540 [C99-based standards] (cerfcl): Likewise.
10541 [C99-based standards] (cexp2l): Likewise.
10542 [C99-based standards] (cexpm1l): Likewise.
10543 [C99-based standards] (clog10l): Likewise.
10544 [C99-based standards] (clog1pl): Likewise.
10545 [C99-based standards] (clog2l): Likewise.
10546 [C99-based standards] (clgammal): Likewise.
10547 [C99-based standards] (ctgammal): Likewise.
10548 * conform/data/inttypes.h-data [C99-based standards]: Include
10549 stdint.h-data. Remove all expectations for stdint.h contents.
10550 [C99-based standards] (PRI*): Do not allow.
10551 [C99-based standards] (SCN*): Likewise.
10552 [C99-based standards] (*_t): Likewise.
10553 [C99-based-standards] (PRId8): Expect macro.
10554 [C99-based-standards] (PRIi8): Likewise.
10555 [C99-based-standards] (PRIo8): Likewise.
10556 [C99-based-standards] (PRIu8): Likewise.
10557 [C99-based-standards] (PRIx8): Likewise.
10558 [C99-based-standards] (PRIX8): Likewise.
10559 [C99-based-standards] (SCNd8): Likewise.
10560 [C99-based-standards] (SCNi8): Likewise.
10561 [C99-based-standards] (SCNo8): Likewise.
10562 [C99-based-standards] (SCNu8): Likewise.
10563 [C99-based-standards] (SCNx8): Likewise.
10564 [C99-based-standards] (PRIdLEAST8): Likewise.
10565 [C99-based-standards] (PRIiLEAST8): Likewise.
10566 [C99-based-standards] (PRIoLEAST8): Likewise.
10567 [C99-based-standards] (PRIuLEAST8): Likewise.
10568 [C99-based-standards] (PRIxLEAST8): Likewise.
10569 [C99-based-standards] (PRIXLEAST8): Likewise.
10570 [C99-based-standards] (SCNdLEAST8): Likewise.
10571 [C99-based-standards] (SCNiLEAST8): Likewise.
10572 [C99-based-standards] (SCNoLEAST8): Likewise.
10573 [C99-based-standards] (SCNuLEAST8): Likewise.
10574 [C99-based-standards] (SCNxLEAST8): Likewise.
10575 [C99-based-standards] (PRIdFAST8): Likewise.
10576 [C99-based-standards] (PRIiFAST8): Likewise.
10577 [C99-based-standards] (PRIoFAST8): Likewise.
10578 [C99-based-standards] (PRIuFAST8): Likewise.
10579 [C99-based-standards] (PRIxFAST8): Likewise.
10580 [C99-based-standards] (PRIXFAST8): Likewise.
10581 [C99-based-standards] (SCNdFAST8): Likewise.
10582 [C99-based-standards] (SCNiFAST8): Likewise.
10583 [C99-based-standards] (SCNoFAST8): Likewise.
10584 [C99-based-standards] (SCNuFAST8): Likewise.
10585 [C99-based-standards] (SCNxFAST8): Likewise.
10586 [C99-based-standards] (PRId16): Likewise.
10587 [C99-based-standards] (PRIi16): Likewise.
10588 [C99-based-standards] (PRIo16): Likewise.
10589 [C99-based-standards] (PRIu16): Likewise.
10590 [C99-based-standards] (PRIx16): Likewise.
10591 [C99-based-standards] (PRIX16): Likewise.
10592 [C99-based-standards] (SCNd16): Likewise.
10593 [C99-based-standards] (SCNi16): Likewise.
10594 [C99-based-standards] (SCNo16): Likewise.
10595 [C99-based-standards] (SCNu16): Likewise.
10596 [C99-based-standards] (SCNx16): Likewise.
10597 [C99-based-standards] (PRIdLEAST16): Likewise.
10598 [C99-based-standards] (PRIiLEAST16): Likewise.
10599 [C99-based-standards] (PRIoLEAST16): Likewise.
10600 [C99-based-standards] (PRIuLEAST16): Likewise.
10601 [C99-based-standards] (PRIxLEAST16): Likewise.
10602 [C99-based-standards] (PRIXLEAST16): Likewise.
10603 [C99-based-standards] (SCNdLEAST16): Likewise.
10604 [C99-based-standards] (SCNiLEAST16): Likewise.
10605 [C99-based-standards] (SCNoLEAST16): Likewise.
10606 [C99-based-standards] (SCNuLEAST16): Likewise.
10607 [C99-based-standards] (SCNxLEAST16): Likewise.
10608 [C99-based-standards] (PRIdFAST16): Likewise.
10609 [C99-based-standards] (PRIiFAST16): Likewise.
10610 [C99-based-standards] (PRIoFAST16): Likewise.
10611 [C99-based-standards] (PRIuFAST16): Likewise.
10612 [C99-based-standards] (PRIxFAST16): Likewise.
10613 [C99-based-standards] (PRIXFAST16): Likewise.
10614 [C99-based-standards] (SCNdFAST16): Likewise.
10615 [C99-based-standards] (SCNiFAST16): Likewise.
10616 [C99-based-standards] (SCNoFAST16): Likewise.
10617 [C99-based-standards] (SCNuFAST16): Likewise.
10618 [C99-based-standards] (SCNxFAST16): Likewise.
10619 [C99-based-standards] (PRId32): Likewise.
10620 [C99-based-standards] (PRIi32): Likewise.
10621 [C99-based-standards] (PRIo32): Likewise.
10622 [C99-based-standards] (PRIu32): Likewise.
10623 [C99-based-standards] (PRIx32): Likewise.
10624 [C99-based-standards] (PRIX32): Likewise.
10625 [C99-based-standards] (SCNd32): Likewise.
10626 [C99-based-standards] (SCNi32): Likewise.
10627 [C99-based-standards] (SCNo32): Likewise.
10628 [C99-based-standards] (SCNu32): Likewise.
10629 [C99-based-standards] (SCNx32): Likewise.
10630 [C99-based-standards] (PRIdLEAST32): Likewise.
10631 [C99-based-standards] (PRIiLEAST32): Likewise.
10632 [C99-based-standards] (PRIoLEAST32): Likewise.
10633 [C99-based-standards] (PRIuLEAST32): Likewise.
10634 [C99-based-standards] (PRIxLEAST32): Likewise.
10635 [C99-based-standards] (PRIXLEAST32): Likewise.
10636 [C99-based-standards] (SCNdLEAST32): Likewise.
10637 [C99-based-standards] (SCNiLEAST32): Likewise.
10638 [C99-based-standards] (SCNoLEAST32): Likewise.
10639 [C99-based-standards] (SCNuLEAST32): Likewise.
10640 [C99-based-standards] (SCNxLEAST32): Likewise.
10641 [C99-based-standards] (PRIdFAST32): Likewise.
10642 [C99-based-standards] (PRIiFAST32): Likewise.
10643 [C99-based-standards] (PRIoFAST32): Likewise.
10644 [C99-based-standards] (PRIuFAST32): Likewise.
10645 [C99-based-standards] (PRIxFAST32): Likewise.
10646 [C99-based-standards] (PRIXFAST32): Likewise.
10647 [C99-based-standards] (SCNdFAST32): Likewise.
10648 [C99-based-standards] (SCNiFAST32): Likewise.
10649 [C99-based-standards] (SCNoFAST32): Likewise.
10650 [C99-based-standards] (SCNuFAST32): Likewise.
10651 [C99-based-standards] (SCNxFAST32): Likewise.
10652 [C99-based-standards] (PRId64): Likewise.
10653 [C99-based-standards] (PRIi64): Likewise.
10654 [C99-based-standards] (PRIo64): Likewise.
10655 [C99-based-standards] (PRIu64): Likewise.
10656 [C99-based-standards] (PRIx64): Likewise.
10657 [C99-based-standards] (PRIX64): Likewise.
10658 [C99-based-standards] (SCNd64): Likewise.
10659 [C99-based-standards] (SCNi64): Likewise.
10660 [C99-based-standards] (SCNo64): Likewise.
10661 [C99-based-standards] (SCNu64): Likewise.
10662 [C99-based-standards] (SCNx64): Likewise.
10663 [C99-based-standards] (PRIdLEAST64): Likewise.
10664 [C99-based-standards] (PRIiLEAST64): Likewise.
10665 [C99-based-standards] (PRIoLEAST64): Likewise.
10666 [C99-based-standards] (PRIuLEAST64): Likewise.
10667 [C99-based-standards] (PRIxLEAST64): Likewise.
10668 [C99-based-standards] (PRIXLEAST64): Likewise.
10669 [C99-based-standards] (SCNdLEAST64): Likewise.
10670 [C99-based-standards] (SCNiLEAST64): Likewise.
10671 [C99-based-standards] (SCNoLEAST64): Likewise.
10672 [C99-based-standards] (SCNuLEAST64): Likewise.
10673 [C99-based-standards] (SCNxLEAST64): Likewise.
10674 [C99-based-standards] (PRIdFAST64): Likewise.
10675 [C99-based-standards] (PRIiFAST64): Likewise.
10676 [C99-based-standards] (PRIoFAST64): Likewise.
10677 [C99-based-standards] (PRIuFAST64): Likewise.
10678 [C99-based-standards] (PRIxFAST64): Likewise.
10679 [C99-based-standards] (PRIXFAST64): Likewise.
10680 [C99-based-standards] (SCNdFAST64): Likewise.
10681 [C99-based-standards] (SCNiFAST64): Likewise.
10682 [C99-based-standards] (SCNoFAST64): Likewise.
10683 [C99-based-standards] (SCNuFAST64): Likewise.
10684 [C99-based-standards] (SCNxFAST64): Likewise.
10685 [C99-based-standards] (PRIdMAX): Likewise.
10686 [C99-based-standards] (PRIiMAX): Likewise.
10687 [C99-based-standards] (PRIoMAX): Likewise.
10688 [C99-based-standards] (PRIuMAX): Likewise.
10689 [C99-based-standards] (PRIxMAX): Likewise.
10690 [C99-based-standards] (PRIXMAX): Likewise.
10691 [C99-based-standards] (SCNdMAX): Likewise.
10692 [C99-based-standards] (SCNiMAX): Likewise.
10693 [C99-based-standards] (SCNoMAX): Likewise.
10694 [C99-based-standards] (SCNuMAX): Likewise.
10695 [C99-based-standards] (SCNxMAX): Likewise.
10696 [C99-based-standards] (PRIdPTR): Likewise.
10697 [C99-based-standards] (PRIiPTR): Likewise.
10698 [C99-based-standards] (PRIoPTR): Likewise.
10699 [C99-based-standards] (PRIuPTR): Likewise.
10700 [C99-based-standards] (PRIxPTR): Likewise.
10701 [C99-based-standards] (PRIXPTR): Likewise.
10702 [C99-based-standards] (SCNdPTR): Likewise.
10703 [C99-based-standards] (SCNiPTR): Likewise.
10704 [C99-based-standards] (SCNoPTR): Likewise.
10705 [C99-based-standards] (SCNuPTR): Likewise.
10706 [C99-based-standards] (SCNxPTR): Likewise.
10707 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10709 * conform/data/stdint.h-data: Update comments to clarify
10711 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10713 [C99-based standards] (INT8_MAX): Likewise.
10714 [C99-based standards] (INT16_MIN): Likewise.
10715 [C99-based standards] (INT16_MAX): Likewise.
10716 [C99-based standards] (INT32_MIN): Likewise.
10717 [C99-based standards] (INT32_MAX): Likewise.
10718 [C99-based standards] (INT64_MIN): Likewise.
10719 [C99-based standards] (INT64_MAX): Likewise.
10720 [C99-based standards] (UINT8_MAX): Likewise.
10721 [C99-based standards] (UINT16_MAX): Likewise.
10722 [C99-based standards] (UINT32_MAX): Likewise.
10723 [C99-based standards] (UINT64_MAX): Likewise.
10724 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10725 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10726 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10727 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10728 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10729 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10730 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10731 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10732 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10733 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10734 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10735 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10736 [C99-based standards] (INT_FAST8_MIN): Likewise.
10737 [C99-based standards] (INT_FAST8_MAX): Likewise.
10738 [C99-based standards] (INT_FAST16_MIN): Likewise.
10739 [C99-based standards] (INT_FAST16_MAX): Likewise.
10740 [C99-based standards] (INT_FAST32_MIN): Likewise.
10741 [C99-based standards] (INT_FAST32_MAX): Likewise.
10742 [C99-based standards] (INT_FAST64_MIN): Likewise.
10743 [C99-based standards] (INT_FAST64_MAX): Likewise.
10744 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10745 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10746 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10747 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10748 [C99-based standards] (INTPTR_MIN): Likewise.
10749 [C99-based standards] (INTPTR_MAX): Likewise.
10750 [C99-based standards] (UINTPTR_MAX): Likewise.
10751 [C99-based standards] (INTMAX_MIN): Likewise.
10752 [C99-based standards] (INTMAX_MAX): Likewise.
10753 [C99-based standards] (UINTMAX_MAX): Likewise.
10754 [C99-based standards] (PTRDIFF_MIN): Likewise.
10755 [C99-based standards] (PTRDIFF_MAX): Likewise.
10756 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10757 [C99-based standards] (SIZE_MAX): Likewise.
10758 [C99-based standards] (WCHAR_MAX): Likewise.
10759 [C99-based standards] (WINT_MAX): Likewise.
10760 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10761 constraint on value.
10762 [C99-based standards] (WCHAR_MIN): Likewise.
10763 [C99-based standards] (WINT_MIN): Likewise.
10764 [C99-based standards] (*_t): Allow.
10765 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10766 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10767 Include math.h-data and complex.h-data. Remove all expectations
10768 of math.h and complex.h contents.
10769 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10771 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10772 (struct tm): Expect tag.
10773 [C99-based-standards] (wcstof): Expect function.
10774 [C99-based-standards] (wcstold): Likewise.
10775 [C99-based-standards] (wcstoll): Likewise.
10776 [C99-based-standards] (wcstoull): Likewise.
10777 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10778 macro-int-constant. Specify type.
10779 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10780 constraint on value.
10781 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10783 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10785 [ISO C standards]: Do not allow headers.
10786 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10787 wcs[abcdefghijklmnopqrstuvwxyz]*.
10788 [ISO C standards] (*_t): Do not allow.
10789 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10791 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10792 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10794 [ISO C standards]: Do not allow headers.
10795 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10796 is[abcdefghijklmnopqrstuvwxyz]*.
10797 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10798 to[abcdefghijklmnopqrstuvwxyz]*.
10799 [ISO C standards] (*_t): Do not allow.
10800 * conform/data/stdalign.h-data: New file.
10801 * conform/data/stdbool.h-data: Likewise.
10802 * conform/data/stdnoreturn.h-data: Likewise.
10804 2012-11-07 Roland McGrath <roland@hack.frob.com>
10807 * manual/filesys.texi (Directory Entries): Typo fix.
10808 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10810 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10812 * elf/elf.h (EM_AARCH64): New macro.
10813 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10814 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10815 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10816 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10817 (R_AARCH64_TLSDESC): Likewise.
10818 (NT_ARM_TLS): Likewise.
10819 (NT_ARM_HW_BREAK): Likewise.
10820 (NT_ARM_HW_WATCH): Likewise.
10822 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10826 (__ieee754_powl): Saturate nonzero exponents with absolute value
10827 below 0x1p-79 to +/- 0x1p-79.
10828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10829 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10830 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10831 nonzero exponents with absolute value below 0x1p-32 to +/-
10833 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10834 (__ieee754_powl): Saturate nonzero exponents with absolute value
10835 below 0x1p-79 to +/- 0x1p-79.
10836 * math/libm-test.inc (pow_test): Add more tests.
10838 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10840 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10841 _dl_s390_cap_flags with kernel. Increase string length.
10842 (_dl_s390_platforms): Add z196 and zEC12.
10844 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10846 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10847 Change XOPEN21K to XOPEN2K.
10849 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10851 * string/memmove.c: Use memcpy when possible.
10853 2012-11-06 Andreas Jaeger <aj@suse.de>
10855 * po/eo.po: Update from translation team.
10857 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10861 exponent and small x and y exponents, scale x or y up. Increase
10862 by 2 the exponent used in scaling up.
10863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10865 * math/libm-test.inc (fma_test): Add more tests.
10866 (fma_test_towardzero): Likewise.
10867 (fma_test_downward): Likewise.
10868 (fma_test_upward): Likewise.
10870 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10873 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10877 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10878 namespace for names of struct fields.
10879 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10881 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10882 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10884 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10887 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10889 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10891 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10895 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10898 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10902 definitely overflow as x * y not x * y + z.
10903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10905 * math/libm-test.inc (fma_test): Add more tests.
10906 (fma_test_towardzero): Likewise.
10907 (fma_test_downward): Likewise.
10908 (fma_test_upward): Likewise.
10910 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10914 * include/stub-tag.h: Remove file.
10915 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10917 * manual/maint.texi (Porting): Don't reference it.
10918 * Makerules ($(objpfx)stubs): Likewise.
10919 * dirent/closedir.c: Don't include <stub-tag.h>.
10920 * dirent/dirfd.c: Likewise.
10921 * dirent/fdopendir.c: Likewise.
10922 * dirent/getdents.c: Likewise.
10923 * dirent/getdents64.c: Likewise.
10924 * dirent/opendir.c: Likewise.
10925 * dirent/readdir.c: Likewise.
10926 * dirent/readdir64.c: Likewise.
10927 * dirent/readdir64_r.c: Likewise.
10928 * dirent/readdir_r.c: Likewise.
10929 * dirent/rewinddir.c: Likewise.
10930 * dirent/seekdir.c: Likewise.
10931 * dirent/telldir.c: Likewise.
10932 * gmon/profil.c: Likewise.
10933 * grp/setgroups.c: Likewise.
10934 * inet/if_index.c: Likewise.
10935 * io/access.c: Likewise.
10936 * io/chdir.c: Likewise.
10937 * io/chmod.c: Likewise.
10938 * io/chown.c: Likewise.
10939 * io/close.c: Likewise.
10940 * io/dup.c: Likewise.
10941 * io/dup2.c: Likewise.
10942 * io/dup3.c: Likewise.
10943 * io/euidaccess.c: Likewise.
10944 * io/faccessat.c: Likewise.
10945 * io/fchdir.c: Likewise.
10946 * io/fchmod.c: Likewise.
10947 * io/fchmodat.c: Likewise.
10948 * io/fchown.c: Likewise.
10949 * io/fchownat.c: Likewise.
10950 * io/fcntl.c: Likewise.
10951 * io/flock.c: Likewise.
10952 * io/fstatfs.c: Likewise.
10953 * io/fstatfs64.c: Likewise.
10954 * io/fstatvfs.c: Likewise.
10955 * io/fstatvfs64.c: Likewise.
10956 * io/futimens.c: Likewise.
10957 * io/fxstat.c: Likewise.
10958 * io/fxstat64.c: Likewise.
10959 * io/fxstatat.c: Likewise.
10960 * io/fxstatat64.c: Likewise.
10961 * io/getcwd.c: Likewise.
10962 * io/isatty.c: Likewise.
10963 * io/lchmod.c: Likewise.
10964 * io/lchown.c: Likewise.
10965 * io/link.c: Likewise.
10966 * io/linkat.c: Likewise.
10967 * io/lseek.c: Likewise.
10968 * io/lseek64.c: Likewise.
10969 * io/lxstat64.c: Likewise.
10970 * io/mkdir.c: Likewise.
10971 * io/mkdirat.c: Likewise.
10972 * io/mkfifo.c: Likewise.
10973 * io/mkfifoat.c: Likewise.
10974 * io/open.c: Likewise.
10975 * io/open64.c: Likewise.
10976 * io/openat.c: Likewise.
10977 * io/openat64.c: Likewise.
10978 * io/pipe.c: Likewise.
10979 * io/pipe2.c: Likewise.
10980 * io/poll.c: Likewise.
10981 * io/posix_fadvise.c: Likewise.
10982 * io/posix_fadvise64.c: Likewise.
10983 * io/posix_fallocate.c: Likewise.
10984 * io/posix_fallocate64.c: Likewise.
10985 * io/read.c: Likewise.
10986 * io/readlink.c: Likewise.
10987 * io/readlinkat.c: Likewise.
10988 * io/rmdir.c: Likewise.
10989 * io/sendfile.c: Likewise.
10990 * io/sendfile64.c: Likewise.
10991 * io/statfs.c: Likewise.
10992 * io/statfs64.c: Likewise.
10993 * io/statvfs.c: Likewise.
10994 * io/statvfs64.c: Likewise.
10995 * io/symlink.c: Likewise.
10996 * io/symlinkat.c: Likewise.
10997 * io/ttyname.c: Likewise.
10998 * io/ttyname_r.c: Likewise.
10999 * io/umask.c: Likewise.
11000 * io/unlink.c: Likewise.
11001 * io/unlinkat.c: Likewise.
11002 * io/utime.c: Likewise.
11003 * io/utimensat.c: Likewise.
11004 * io/write.c: Likewise.
11005 * io/xmknod.c: Likewise.
11006 * io/xmknodat.c: Likewise.
11007 * io/xstat.c: Likewise.
11008 * io/xstat64.c: Likewise.
11009 * login/getpt.c: Likewise.
11010 * login/grantpt.c: Likewise.
11011 * login/unlockpt.c: Likewise.
11012 * math/e_acoshl.c: Likewise.
11013 * math/e_acosl.c: Likewise.
11014 * math/e_asinl.c: Likewise.
11015 * math/e_atan2l.c: Likewise.
11016 * math/e_atanhl.c: Likewise.
11017 * math/e_coshl.c: Likewise.
11018 * math/e_expl.c: Likewise.
11019 * math/e_fmodl.c: Likewise.
11020 * math/e_gammal_r.c: Likewise.
11021 * math/e_hypotl.c: Likewise.
11022 * math/e_j0l.c: Likewise.
11023 * math/e_j1l.c: Likewise.
11024 * math/e_jnl.c: Likewise.
11025 * math/e_lgammal_r.c: Likewise.
11026 * math/e_log10l.c: Likewise.
11027 * math/e_log2l.c: Likewise.
11028 * math/e_logl.c: Likewise.
11029 * math/e_powl.c: Likewise.
11030 * math/e_rem_pio2l.c: Likewise.
11031 * math/e_sinhl.c: Likewise.
11032 * math/e_sqrtl.c: Likewise.
11033 * math/fclrexcpt.c: Likewise.
11034 * math/fedisblxcpt.c: Likewise.
11035 * math/feenablxcpt.c: Likewise.
11036 * math/fegetenv.c: Likewise.
11037 * math/fegetexcept.c: Likewise.
11038 * math/fegetround.c: Likewise.
11039 * math/feholdexcpt.c: Likewise.
11040 * math/fesetenv.c: Likewise.
11041 * math/fesetround.c: Likewise.
11042 * math/feupdateenv.c: Likewise.
11043 * math/fgetexcptflg.c: Likewise.
11044 * math/fraiseexcpt.c: Likewise.
11045 * math/fsetexcptflg.c: Likewise.
11046 * math/ftestexcept.c: Likewise.
11047 * math/k_cosl.c: Likewise.
11048 * math/k_rem_pio2l.c: Likewise.
11049 * math/k_sinl.c: Likewise.
11050 * math/k_tanl.c: Likewise.
11051 * math/s_asinhl.c: Likewise.
11052 * math/s_atanl.c: Likewise.
11053 * math/s_cbrtl.c: Likewise.
11054 * math/s_erfl.c: Likewise.
11055 * math/s_expm1l.c: Likewise.
11056 * math/s_log1pl.c: Likewise.
11057 * math/s_tanhl.c: Likewise.
11058 * misc/acct.c: Likewise.
11059 * misc/brk.c: Likewise.
11060 * misc/chflags.c: Likewise.
11061 * misc/chroot.c: Likewise.
11062 * misc/fchflags.c: Likewise.
11063 * misc/fgetxattr.c: Likewise.
11064 * misc/flistxattr.c: Likewise.
11065 * misc/fremovexattr.c: Likewise.
11066 * misc/fsetxattr.c: Likewise.
11067 * misc/fsync.c: Likewise.
11068 * misc/ftruncate.c: Likewise.
11069 * misc/futimes.c: Likewise.
11070 * misc/futimesat.c: Likewise.
11071 * misc/getdomain.c: Likewise.
11072 * misc/getdtsz.c: Likewise.
11073 * misc/gethostid.c: Likewise.
11074 * misc/gethostname.c: Likewise.
11075 * misc/getloadavg.c: Likewise.
11076 * misc/getpagesize.c: Likewise.
11077 * misc/getsysstats.c: Likewise.
11078 * misc/getxattr.c: Likewise.
11079 * misc/gtty.c: Likewise.
11080 * misc/ioctl.c: Likewise.
11081 * misc/lgetxattr.c: Likewise.
11082 * misc/listxattr.c: Likewise.
11083 * misc/llistxattr.c: Likewise.
11084 * misc/lremovexattr.c: Likewise.
11085 * misc/lsetxattr.c: Likewise.
11086 * misc/lutimes.c: Likewise.
11087 * misc/madvise.c: Likewise.
11088 * misc/mincore.c: Likewise.
11089 * misc/mlock.c: Likewise.
11090 * misc/mlockall.c: Likewise.
11091 * misc/mmap.c: Likewise.
11092 * misc/mprotect.c: Likewise.
11093 * misc/msync.c: Likewise.
11094 * misc/munlock.c: Likewise.
11095 * misc/munlockall.c: Likewise.
11096 * misc/munmap.c: Likewise.
11097 * misc/preadv.c: Likewise.
11098 * misc/preadv64.c: Likewise.
11099 * misc/ptrace.c: Likewise.
11100 * misc/pwritev.c: Likewise.
11101 * misc/pwritev64.c: Likewise.
11102 * misc/readv.c: Likewise.
11103 * misc/reboot.c: Likewise.
11104 * misc/remap_file_pages.c: Likewise.
11105 * misc/removexattr.c: Likewise.
11106 * misc/revoke.c: Likewise.
11107 * misc/select.c: Likewise.
11108 * misc/setdomain.c: Likewise.
11109 * misc/setegid.c: Likewise.
11110 * misc/seteuid.c: Likewise.
11111 * misc/sethostid.c: Likewise.
11112 * misc/sethostname.c: Likewise.
11113 * misc/setregid.c: Likewise.
11114 * misc/setreuid.c: Likewise.
11115 * misc/setxattr.c: Likewise.
11116 * misc/sstk.c: Likewise.
11117 * misc/stty.c: Likewise.
11118 * misc/swapoff.c: Likewise.
11119 * misc/swapon.c: Likewise.
11120 * misc/sync.c: Likewise.
11121 * misc/syncfs.c: Likewise.
11122 * misc/syscall.c: Likewise.
11123 * misc/truncate.c: Likewise.
11124 * misc/ualarm.c: Likewise.
11125 * misc/usleep.c: Likewise.
11126 * misc/ustat.c: Likewise.
11127 * misc/utimes.c: Likewise.
11128 * misc/vhangup.c: Likewise.
11129 * misc/writev.c: Likewise.
11130 * posix/_exit.c: Likewise.
11131 * posix/alarm.c: Likewise.
11132 * posix/execve.c: Likewise.
11133 * posix/fexecve.c: Likewise.
11134 * posix/fork.c: Likewise.
11135 * posix/fpathconf.c: Likewise.
11136 * posix/getaddrinfo.c: Likewise.
11137 * posix/getegid.c: Likewise.
11138 * posix/geteuid.c: Likewise.
11139 * posix/getgid.c: Likewise.
11140 * posix/getgroups.c: Likewise.
11141 * posix/getlogin.c: Likewise.
11142 * posix/getlogin_r.c: Likewise.
11143 * posix/getpgid.c: Likewise.
11144 * posix/getpid.c: Likewise.
11145 * posix/getppid.c: Likewise.
11146 * posix/getresgid.c: Likewise.
11147 * posix/getresuid.c: Likewise.
11148 * posix/getsid.c: Likewise.
11149 * posix/getuid.c: Likewise.
11150 * posix/glob64.c: Likewise.
11151 * posix/nanosleep.c: Likewise.
11152 * posix/pathconf.c: Likewise.
11153 * posix/pause.c: Likewise.
11154 * posix/posix_madvise.c: Likewise.
11155 * posix/pread.c: Likewise.
11156 * posix/pread64.c: Likewise.
11157 * posix/pwrite.c: Likewise.
11158 * posix/pwrite64.c: Likewise.
11159 * posix/sched_getaffinity.c: Likewise.
11160 * posix/sched_getp.c: Likewise.
11161 * posix/sched_gets.c: Likewise.
11162 * posix/sched_primax.c: Likewise.
11163 * posix/sched_primin.c: Likewise.
11164 * posix/sched_rr_gi.c: Likewise.
11165 * posix/sched_setaffinity.c: Likewise.
11166 * posix/sched_setp.c: Likewise.
11167 * posix/sched_sets.c: Likewise.
11168 * posix/sched_yield.c: Likewise.
11169 * posix/setgid.c: Likewise.
11170 * posix/setlogin.c: Likewise.
11171 * posix/setpgid.c: Likewise.
11172 * posix/setresgid.c: Likewise.
11173 * posix/setresuid.c: Likewise.
11174 * posix/setsid.c: Likewise.
11175 * posix/setuid.c: Likewise.
11176 * posix/sleep.c: Likewise.
11177 * posix/spawni.c: Likewise.
11178 * posix/sysconf.c: Likewise.
11179 * posix/times.c: Likewise.
11180 * posix/wait.c: Likewise.
11181 * posix/wait3.c: Likewise.
11182 * posix/wait4.c: Likewise.
11183 * posix/waitpid.c: Likewise.
11184 * resolv/gai_sigqueue.c: Likewise.
11185 * resource/getpriority.c: Likewise.
11186 * resource/getrlimit.c: Likewise.
11187 * resource/getrusage.c: Likewise.
11188 * resource/nice.c: Likewise.
11189 * resource/setpriority.c: Likewise.
11190 * resource/setrlimit.c: Likewise.
11191 * resource/ulimit.c: Likewise.
11192 * rt/aio_cancel.c: Likewise.
11193 * rt/aio_fsync.c: Likewise.
11194 * rt/aio_read.c: Likewise.
11195 * rt/aio_sigqueue.c: Likewise.
11196 * rt/aio_suspend.c: Likewise.
11197 * rt/aio_write.c: Likewise.
11198 * rt/clock_getres.c: Likewise.
11199 * rt/clock_gettime.c: Likewise.
11200 * rt/clock_nanosleep.c: Likewise.
11201 * rt/clock_settime.c: Likewise.
11202 * rt/lio_listio.c: Likewise.
11203 * rt/mq_close.c: Likewise.
11204 * rt/mq_getattr.c: Likewise.
11205 * rt/mq_notify.c: Likewise.
11206 * rt/mq_open.c: Likewise.
11207 * rt/mq_receive.c: Likewise.
11208 * rt/mq_send.c: Likewise.
11209 * rt/mq_setattr.c: Likewise.
11210 * rt/mq_timedreceive.c: Likewise.
11211 * rt/mq_timedsend.c: Likewise.
11212 * rt/mq_unlink.c: Likewise.
11213 * rt/shm_open.c: Likewise.
11214 * rt/shm_unlink.c: Likewise.
11215 * rt/timer_create.c: Likewise.
11216 * rt/timer_delete.c: Likewise.
11217 * rt/timer_getoverr.c: Likewise.
11218 * rt/timer_gettime.c: Likewise.
11219 * rt/timer_settime.c: Likewise.
11220 * setjmp/__longjmp.c: Likewise.
11221 * setjmp/setjmp.c: Likewise.
11222 * signal/kill.c: Likewise.
11223 * signal/killpg.c: Likewise.
11224 * signal/raise.c: Likewise.
11225 * signal/sigaction.c: Likewise.
11226 * signal/sigaltstack.c: Likewise.
11227 * signal/sigblock.c: Likewise.
11228 * signal/sigignore.c: Likewise.
11229 * signal/sigintr.c: Likewise.
11230 * signal/signal.c: Likewise.
11231 * signal/sigpause.c: Likewise.
11232 * signal/sigpending.c: Likewise.
11233 * signal/sigqueue.c: Likewise.
11234 * signal/sigreturn.c: Likewise.
11235 * signal/sigset.c: Likewise.
11236 * signal/sigsetmask.c: Likewise.
11237 * signal/sigstack.c: Likewise.
11238 * signal/sigsuspend.c: Likewise.
11239 * signal/sigtimedwait.c: Likewise.
11240 * signal/sigvec.c: Likewise.
11241 * signal/sigwait.c: Likewise.
11242 * signal/sigwaitinfo.c: Likewise.
11243 * signal/sysv_signal.c: Likewise.
11244 * socket/accept.c: Likewise.
11245 * socket/accept4.c: Likewise.
11246 * socket/bind.c: Likewise.
11247 * socket/connect.c: Likewise.
11248 * socket/getpeername.c: Likewise.
11249 * socket/getsockname.c: Likewise.
11250 * socket/getsockopt.c: Likewise.
11251 * socket/isfdtype.c: Likewise.
11252 * socket/listen.c: Likewise.
11253 * socket/recv.c: Likewise.
11254 * socket/recvfrom.c: Likewise.
11255 * socket/recvmsg.c: Likewise.
11256 * socket/send.c: Likewise.
11257 * socket/sendmsg.c: Likewise.
11258 * socket/sendto.c: Likewise.
11259 * socket/setsockopt.c: Likewise.
11260 * socket/shutdown.c: Likewise.
11261 * socket/sockatmark.c: Likewise.
11262 * socket/socket.c: Likewise.
11263 * socket/socketpair.c: Likewise.
11264 * stdio-common/ctermid.c: Likewise.
11265 * stdio-common/cuserid.c: Likewise.
11266 * stdio-common/remove.c: Likewise.
11267 * stdio-common/rename.c: Likewise.
11268 * stdio-common/renameat.c: Likewise.
11269 * stdio-common/tempname.c: Likewise.
11270 * stdlib/getcontext.c: Likewise.
11271 * stdlib/makecontext.c: Likewise.
11272 * stdlib/setcontext.c: Likewise.
11273 * stdlib/swapcontext.c: Likewise.
11274 * stdlib/system.c: Likewise.
11275 * streams/fattach.c: Likewise.
11276 * streams/fdetach.c: Likewise.
11277 * streams/getmsg.c: Likewise.
11278 * streams/getpmsg.c: Likewise.
11279 * streams/putmsg.c: Likewise.
11280 * streams/putpmsg.c: Likewise.
11281 * sysdeps/unix/bsd/getpt.c: Likewise.
11282 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11283 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11284 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11287 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11288 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11289 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11290 * sysvipc/msgctl.c: Likewise.
11291 * sysvipc/msgget.c: Likewise.
11292 * sysvipc/msgrcv.c: Likewise.
11293 * sysvipc/msgsnd.c: Likewise.
11294 * sysvipc/semctl.c: Likewise.
11295 * sysvipc/semget.c: Likewise.
11296 * sysvipc/semop.c: Likewise.
11297 * sysvipc/semtimedop.c: Likewise.
11298 * sysvipc/shmat.c: Likewise.
11299 * sysvipc/shmctl.c: Likewise.
11300 * sysvipc/shmdt.c: Likewise.
11301 * sysvipc/shmget.c: Likewise.
11302 * termios/tcdrain.c: Likewise.
11303 * termios/tcflow.c: Likewise.
11304 * termios/tcflush.c: Likewise.
11305 * termios/tcgetattr.c: Likewise.
11306 * termios/tcgetpgrp.c: Likewise.
11307 * termios/tcsendbrk.c: Likewise.
11308 * termios/tcsetattr.c: Likewise.
11309 * termios/tcsetpgrp.c: Likewise.
11310 * time/adjtime.c: Likewise.
11311 * time/clock.c: Likewise.
11312 * time/getitimer.c: Likewise.
11313 * time/gettimeofday.c: Likewise.
11314 * time/setitimer.c: Likewise.
11315 * time/settimeofday.c: Likewise.
11316 * time/stime.c: Likewise.
11317 * time/time.c: Likewise.
11319 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11321 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11324 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11326 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11328 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11332 FE_TONEAREST before applying Dekker multiplication and Knuth
11333 addition. Clear inexact exceptions and check for exact zero
11334 results afterwards.
11335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11338 * math/libm-test.inc (fma_test): Add more tests.
11339 (fma_test_towardzero): Likewise.
11340 (fma_test_downward): Likewise.
11341 (fma_test_upward): Likewise.
11342 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11344 (libc_fesetround): New macro.
11345 (libc_fesetroundf): Likewise.
11346 (libc_fesetroundl): Likewise.
11347 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11349 (libc_fesetround_387): Likewise.
11350 (libc_fesetroundf): New macro.
11351 (libc_fesetround): Likewise.
11352 (libc_fesetroundl): Likewise.
11353 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11355 (libc_fesetroundf): New macro.
11356 (libc_fesetround): Likewise.
11357 (libc_fesetroundl): Likewise.
11358 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11359 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11360 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11362 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11363 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11365 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11366 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11368 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11372 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11373 integer constant usable in #if and use that to give value to enum
11375 (FE_DIVBYZERO): Likewise.
11376 (FE_UNDERFLOW): Likewise.
11377 (FE_OVERFLOW): Likewise.
11378 (FE_INVALID): Likewise.
11379 (FE_INVALID_SNAN): Likewise.
11380 (FE_INVALID_ISI): Likewise.
11381 (FE_INVALID_IDI): Likewise.
11382 (FE_INVALID_ZDZ): Likewise.
11383 (FE_INVALID_IMZ): Likewise.
11384 (FE_INVALID_COMPARE): Likewise.
11385 (FE_INVALID_SOFTWARE): Likewise.
11386 (FE_INVALID_SQRT): Likewise.
11387 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11388 (FE_TONEAREST): Likewise.
11389 (FE_TOWARDZERO): Likewise.
11390 (FE_UPWARD): Likewise.
11391 (FE_DOWNWARD): Likewise.
11392 * sysdeps/s390/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.
11401 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11402 (FE_UNDERFLOW): Likewise.
11403 (FE_OVERFLOW): Likewise.
11404 (FE_DIVBYZERO): Likewise.
11405 (FE_INVALID): Likewise.
11406 (FE_TONEAREST): Likewise.
11407 (FE_TOWARDZERO): Likewise.
11408 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11409 (FE_OVERFLOW): Likewise.
11410 (FE_UNDERFLOW): Likewise.
11411 (FE_DIVBYZERO): Likewise.
11412 (FE_INEXACT): Likewise.
11413 (FE_TONEAREST): Likewise.
11414 (FE_TOWARDZERO): Likewise.
11415 (FE_UPWARD): Likewise.
11416 (FE_DOWNWARD): Likewise.
11417 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11418 (FE_DIVBYZERO): Likewise.
11419 (FE_OVERFLOW): Likewise.
11420 (FE_UNDERFLOW): Likewise.
11421 (FE_INEXACT): Likewise.
11422 (FE_TONEAREST): Likewise.
11423 (FE_DOWNWARD): Likewise.
11424 (FE_UPWARD): Likewise.
11425 (FE_TOWARDZERO): Likewise.
11427 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11429 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11431 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11433 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11434 commands. Quote $PWD.
11435 (blacklist_exports): Don't use remove_newlines. Replace "declare
11437 (remove_newlines): Remove.
11439 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11441 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11442 * stdlib/stdlib.h (atof): Moved to ...
11443 * include/bits/stdlib-float.h: Here. New file.
11444 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11445 * stdlib/bits/stdlib-float.h: New file.
11446 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11448 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11451 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11453 * conform/conformtest.pl (@headers): Add fenv.h.
11454 * conform/data/fenv.h-data: New file.
11455 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11456 include of <math/fenv.h>.
11458 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11459 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11460 && !UNIX98]. Enables tests for XOPEN2K8.
11461 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11462 POSIX2008]: Likewise.
11464 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11465 (struct rusage): Do not expect type or its members.
11468 * math/math.h (FP_NAN): Define macro to integer constant usable in
11469 #if and use that to give value to enum constant.
11470 (FP_INFINITE): Likewise.
11471 (FP_ZERO): Likewise.
11472 (FP_SUBNORMAL): Likewise.
11473 (FP_NORMAL): Likewise.
11475 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11477 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11478 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11481 2012-11-02 Roland McGrath <roland@hack.frob.com>
11483 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11484 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11485 autoconf-time if not.
11486 * configure.in: Remove AC_PREREQ.
11488 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11490 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11491 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11492 of the internal implementation.
11494 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11496 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11497 except include of <misc/sys/syslog.h>.
11499 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11502 function returns with a NULL context exit with zero.
11504 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11506 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11508 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11510 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11511 (run_program_cmd): This.
11512 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11513 (tst_langinfo): New variable. Use it.
11515 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11517 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11518 floating point opcodes.
11520 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11522 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11525 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11527 * sysdeps/mach/hurd/powerpc: Remove directory.
11528 * sysdeps/mach/powerpc: Likewise.
11530 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11532 * scripts/check-local-headers.sh: Ignore c++ headers.
11534 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11536 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11537 __libc_cleanup_region_start argument.
11539 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11544 x * y using scaling, not as x * y + z.
11545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11546 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11547 * math/libm-test.inc (fma_test): Add more tests.
11548 (fma_test_towardzero): Likewise.
11549 (fma_test_downward): Likewise.
11550 (fma_test_upward): Likewise.
11552 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11554 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11556 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11558 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11561 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11563 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11565 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11572 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11575 Fix the order of the list for glibc 2.17.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11579 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11583 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11586 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11587 for low part of x being zero before using __atanl (y).
11588 * math/libm-test.inc (atan2_test): Add another test.
11590 * manual/install.texi (Configuring and compiling): Document
11591 general use of test-wrapper and test-wrapper-env.
11592 * INSTALL: Regenerated.
11594 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11595 (__fma): Do not extract and scale down low bits on after-rounding
11596 systems when result rounded to normal precision would have normal
11598 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11599 (__fmal): Do not extract and scale down low bits on after-rounding
11600 systems when result rounded to normal precision would have normal
11602 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11603 (__fmal): Do not extract and scale down low bits on after-rounding
11604 systems when result rounded to normal precision would have normal
11606 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11608 (fma_test): Add more tests.
11609 (fma_test_towardzero): Likewise.
11610 (fma_test_downward): Likewise.
11611 (fma_test_upward): Likewise.
11613 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11615 * sysdeps/i386/tininess.h: Renamed to ...
11616 * sysdeps/x86/tininess.h: This.
11617 * sysdeps/x86_64/tininess.h: Removed.
11619 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11621 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11622 input. Use $(build-program-cmd).
11623 ($(objpfx)tst-array1-static.out): Likewise.
11624 ($(objpfx)tst-array2.out): Likewise.
11625 ($(objpfx)tst-array3.out): Likewise.
11626 ($(objpfx)tst-array4.out): Likewise.
11627 ($(objpfx)tst-array5.out): Likewise.
11628 ($(objpfx)tst-array5-static.out): Likewise.
11630 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11632 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11635 * nss/nsswitch.h (nss_interface_function): Provide new
11636 macro for use with NSS functions.
11637 * grp/initgroups.c: Use new macro.
11638 * nss/getXXbyYY.c: Likewise.
11639 * nss/getXXbyYY_r.c: Likewise.
11640 * nss/getXXent.c: Likewise.
11641 * nss/getXXent_r.c: Likewise.
11642 * sysdeps/posix/getaddrinfo.c: Likewise.
11644 2012-10-30 Andreas Jaeger <aj@suse.de>
11646 * po/ru.po: Update Russion translation from translation project.
11648 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11653 result and shift together with sticky bit instead of replicating
11654 round-to-nearest rounding.
11655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11657 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11658 missing underflow exceptions.
11659 (fma_test_towardzero): Add more tests.
11660 (fma_test_downward): Likewise.
11661 (fma_test_upward): Likewise.
11664 * sysdeps/generic/tininess.h: New file.
11665 * sysdeps/i386/tininess.h: Likewise.
11666 * sysdeps/sh/tininess.h: Likewise.
11667 * sysdeps/x86_64/tininess.h: Likewise.
11668 * stdlib/tst-strtod-underflow.c: Likewise.
11669 * stdlib/tst-tininess.c: Likewise.
11670 * stdlib/strtod_l.c: Include <tininess.h>.
11671 (round_and_return): Do not set errno for exact underflow cases.
11672 Force an underflow exception when setting errno for underflow.
11673 Determine underflow based on rounding to normal precision if
11674 TININESS_AFTER_ROUNDING.
11675 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11676 ERANGE for exact underflow cases.
11677 * stdlib/Makefile (tests): Add tst-tininess and
11678 tst-strtod-underflow.
11679 ($(objpfx)tst-tininess): Use $(link-libm).
11680 ($(objpfx)tst-strtod-underflow): Likewise.
11682 2012-10-30 Andreas Jaeger <aj@suse.de>
11685 * elf/Makefile (tests): Remove conditional for have-initfini-array
11686 since this is now always required and the variable does not exist
11688 (tests-static): Likewise.
11689 (modules-names): Likewise.
11691 * po/eo.po: Add Esperanto translation from translation project.
11693 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11694 merged with constructor/destructor.
11695 (init_array): Likewise.
11696 * elf/tst-array2dep.c (fini_array): Likewise.
11697 (init_array): Likewise.
11699 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11701 * manual/message.texi: Delete @cartouche tags.
11703 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11705 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11707 * sysdeps/mach/hurd/fsync.c: Likewise.
11709 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11710 [_POSIX_REALTIME_SIGNALS]: Change condition to
11711 [_POSIX_REALTIME_SIGNALS > 0].
11713 2012-10-27 Andreas Jaeger <aj@suse.de>
11715 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11716 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11718 [__WORDSIZE != 64]: Likewise.
11720 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11722 * iconvdata/tst-table.sh: Remove ${SHELL}.
11723 * iconvdata/tst-tables.sh: Likewise.
11725 2012-10-25 David S. Miller <davem@davemloft.net>
11727 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11728 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11734 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11735 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11738 2012-10-25 Roland McGrath <roland@hack.frob.com>
11740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11741 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11744 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11745 Jim Blandy <jimb@codesourcery.com>
11747 * scripts/cross-test-ssh.sh: New file.
11748 * manual/install.texi (Configuring and compiling): Document use of
11750 * INSTALL: Regenerated.
11752 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11754 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11757 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11759 * Makeconfig (run-program-prefix): Fix comment.
11761 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11762 Jim Blandy <jimb@codesourcery.com>
11764 * Makeconfig (test-wrapper): New variable,
11765 (test-wrapper-env): Likewise.
11766 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11767 (run-built-tests): Define to yes.
11768 (run-program-prefix): Use $(test-wrapper).
11769 (built-program-cmd): Likewise.
11770 * Rules (make-test-out): Use $(test-wrapper-env) and
11771 $(host-built-program-cmd).
11772 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11773 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11775 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11776 $(test-wrapper-env) to tst-rtld-load-self.sh.
11777 ($(objpfx)order2.out): Use $(test-wrapper).
11778 ($(objpfx)tst-initorder.out): Likewise.
11779 ($(objpfx)tst-initorder2.out): Likewise.
11780 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11781 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11782 (test_wrapper_env): New variable. Use it to run ld.so.
11783 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11784 Use it to run ld.so.
11785 (test_wrapper_env): Likewise.
11786 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11787 $(test-wrapper) to run-iconv-test.sh.
11788 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11789 (ICONV): Use $test_wrapper.
11790 * posix/Makefile ($(objpfx)globtest.out): Pass
11791 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11792 globtest.sh, not $(run-program-prefix).
11793 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11794 (test_wrapper): Likewise.
11795 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11796 set together with run_via_rtld_prefix.
11797 (run_program_prefix): Define in terms of test_wrapper and
11798 run_via_rtld_prefix.
11800 2012-10-24 Roland McGrath <roland@hack.frob.com>
11802 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11803 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11807 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11808 Declare __clock_getres, __clock_gettime, __clock_settime,
11809 __clock_nanosleep, and __clock_getcpuclockid.
11810 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11811 Remove librt_hidden_def (clock_gettime).
11812 * sysdeps/unix/clock_gettime.c: Likewise.
11813 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11815 * rt/clock_getres.c: Define __clock_getres as an alias.
11816 * sysdeps/posix/clock_getres.c: Likewise.
11817 * rt/clock_settime.c: Define __clock_settime as an alias.
11818 * sysdeps/unix/clock_settime.c: Likewise.
11819 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11820 * sysdeps/unix/clock_nanosleep.c: Likewise.
11821 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11822 * rt/clock-compat.c: New file.
11823 * rt/Makefile (librt-routines): Add clock-compat and move
11824 $(clock-routines) to ...
11825 (routines): ... here, new variable.
11826 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11827 Don't add get_clockfreq here.
11828 * rt/Versions (libc: GLIBC_2.17): New version set.
11829 Add clock_* symbols here.
11830 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11831 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11832 (GLIBC_2.17): Add clock_* symbols.
11833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11844 * NEWS: Mention the move.
11846 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11847 Use __open, __read, __close rather than their public counterparts.
11848 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11849 (__get_clockfreq_via_cpuinfo): Likewise.
11850 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11851 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11853 * config.h.in (HAVE_IFUNC): New #undef.
11854 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11856 * configure: Regenerated.
11858 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11860 * configure.in: Move READELF check to start of file.
11861 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11862 libc_cv_asm_gnu_indirect_function in the process.
11863 * configure: Regenerated.
11865 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11867 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11868 send the output to /dev/null.
11869 (libc_cv_cc_with_libunwind): Likewise.
11870 (libc_cv_as_noexecstack): Likewise.
11871 * configure: Regenerate.
11873 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11875 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11877 * posix/globtest.sh (TMPDIR): Do not set.
11878 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11879 (testout): Likewise.
11881 2012-10-24 Andreas Jaeger <aj@suse.de>
11883 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11884 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11885 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11886 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11887 posix_fadvise64, posix_fallocate64.
11889 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11890 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11891 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11893 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11895 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11898 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11899 <bits/fcntl-linux.h>.
11900 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11903 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11904 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11905 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11906 [__WORDSIZE != 64]: Likewise.
11908 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11910 * Makeconfig (run-built-tests): New variable.
11911 * Rules [$(cross-compiling) = yes]: Change condition to
11912 [$(run-built-tests) = no].
11913 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11914 to [$(run-built-tests) = yes].
11915 * elf/Makefile [$(cross-compiling) = no]: Likewise
11916 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11917 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11918 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11919 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11920 * io/Makefile [$(cross-compiling) = no]: Likewise.
11921 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11922 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11923 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11924 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11925 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11926 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11927 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11928 * string/Makefile [$(cross-compiling) = no]: Likewise.
11930 * posix/Makefile ($(objpfx)globtest.out): Pass
11931 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11932 $(rtld-installed-name).
11933 * posix/globtest.sh (elf_objpfx): Remove variable.
11934 (rtld_installed_name): Likewise.
11935 (library_path): Likewise.
11936 (run_program_prefix): New variable. Use for running globtest
11939 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11940 Joseph Myers <joseph@codesourcery.com>
11942 * Makeconfig (host-built-program-cmd): New variable.
11943 * elf/Makefile (tst-stackguard1-ARGS): Use
11944 $(host-built-program-cmd).
11945 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11946 (tst-spawn-ARGS): Likewise.
11947 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11949 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11950 Jim Blandy <jimb@codesourcery.com>
11952 * Makeconfig (run-via-rtld-prefix): New variable.
11953 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11954 (built-program-cmd): Likewise.
11956 2012-10-22 Andreas Jaeger <aj@suse.de>
11958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11959 __O_RSYNC if it exists, otherwise to O_SYNC.
11961 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11962 Joseph Myers <joseph@codesourcery.com>
11964 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11966 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11968 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11971 2012-10-22 Andreas Jaeger <aj@suse.de>
11973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11978 bits/fcntl-linux.h.
11980 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11981 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11988 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11989 Joseph Myers <joseph@codesourcery.com>
11991 * config.make.in (NM): New variable.
11993 2012-10-21 Andreas Jaeger <aj@suse.de>
11995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11996 definitions and declarations that are provided by
11997 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11999 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12002 * elf/Makefile (tests-static): Add tst-leaks1-static.
12003 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12004 ($(objpfx)tst-leaks1-static): New rule.
12005 ($(objpfx)tst-leaks1-static-mem): Likewise.
12006 (tst-leaks1-static-ENV): New macro.
12007 * elf/dl-open.c (dl_open_worker): Check the main application
12008 only if SHARED is defined.
12009 * elf/tst-leaks1-static.c: New file.
12011 2012-10-20 Andreas Jaeger <aj@suse.de>
12013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12014 generic values for Linux.
12015 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12016 and declarations that are provided by <bits/fcntl-linux.h> and
12017 include <bits/fcntl-linux.h>.
12018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12021 2012-10-20 Roland McGrath <roland@hack.frob.com>
12023 * io/fcntl.h: Move include of <bits/types.h> to the top and
12024 include it unconditionally.
12026 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12028 * wcsmbs/Makefile (tests-ifunc): New variable.
12029 (tests): Add $(tests-ifunc).
12030 * wcsmbs/test-wcschr-ifunc.c: New file.
12031 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12032 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12033 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12034 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12035 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12037 * string/Makefile (tests-ifunc): New variable.
12038 (tests): Add $(tests-ifunc).
12039 * string/test-memccpy.c (TEST_NAME): New macro.
12040 * string/test-memchr.c (TEST_NAME): Likewise.
12041 * string/test-memcmp.c (TEST_NAME): Likewise.
12042 * string/test-memcpy.c (TEST_NAME): Likewise.
12043 * string/test-memmem.c (TEST_NAME): Likewise.
12044 * string/test-memmove.c (TEST_NAME): Likewise.
12045 * string/test-memset.c (TEST_NAME): Likewise.
12046 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12047 * string/test-stpcpy.c (TEST_NAME): Likewise.
12048 * string/test-stpncpy.c (TEST_NAME): Likewise.
12049 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12050 * string/test-strcasestr.c (TEST_NAME): Likewise.
12051 * string/test-strcat.c (TEST_NAME): Likewise.
12052 * string/test-strchr.c (TEST_NAME): Likewise.
12053 * string/test-strcmp.c(TEST_NAME): Likewise.
12054 * string/test-strcpy.c (TEST_NAME): Likewise.
12055 * string/test-strcspn.c (TEST_NAME): Likewise.
12056 * string/test-strlen.c (TEST_NAME): Likewise.
12057 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12058 * string/test-strncmp.c (TEST_NAME): Likewise.
12059 * string/test-strncpy.c (TEST_NAME): Likewise.
12060 * string/test-strnlen.c (TEST_NAME): Likewise.
12061 * string/test-strpbrk.c (TEST_NAME): Likewise.
12062 * string/test-strrchr.c (TEST_NAME): Likewise.
12063 * string/test-strspn.c (TEST_NAME): Likewise.
12064 * string/test-strstr.c (TEST_NAME): Likewise.
12065 * string/test-bcopy-ifunc.c: New file.
12066 * string/test-bzero-ifunc.c: Likewise.
12067 * string/test-memccpy-ifunc.c: Likewise.
12068 * string/test-memchr-ifunc.c: Likewise.
12069 * string/test-memcmp-ifunc.c: Likewise.
12070 * string/test-memcpy-ifunc.c: Likewise.
12071 * string/test-memmem-ifunc.c: Likewise.
12072 * string/test-memmove-ifunc.c: Likewise.
12073 * string/test-mempcpy-ifunc.c: Likewise.
12074 * string/test-memset-ifunc.c: Likewise.
12075 * string/test-rawmemchr-ifunc.c: Likewise.
12076 * string/test-stpcpy-ifunc.c: Likewise.
12077 * string/test-stpncpy-ifunc.c: Likewise.
12078 * string/test-strcasecmp-ifunc.c: Likewise.
12079 * string/test-strcasestr-ifunc.c: Likewise.
12080 * string/test-strcat-ifunc.c: Likewise.
12081 * string/test-strchr-ifunc.c: Likewise.
12082 * string/test-strchrnul-ifunc.c: Likewise.
12083 * string/test-strcmp-ifunc.c: Likewise.
12084 * string/test-strcpy-ifunc.c: Likewise.
12085 * string/test-strcspn-ifunc.c: Likewise.
12086 * string/test-strlen-ifunc.c: Likewise.
12087 * string/test-strncasecmp-ifunc.c: Likewise.
12088 * string/test-strncat-ifunc.c: Likewise.
12089 * string/test-strncmp-ifunc.c: Likewise.
12090 * string/test-strncpy-ifunc.c: Likewise.
12091 * string/test-strnlen-ifunc.c: Likewise.
12092 * string/test-strpbrk-ifunc.c: Likewise.
12093 * string/test-strrchr-ifunc.c: Likewise.
12094 * string/test-strspn-ifunc.c: Likewise.
12095 * string/test-strstr-ifunc.c: Likewise.
12097 * debug/Makefile (tests-ifunc): New variable.
12098 (tests): Add $(tests-ifunc).
12099 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12100 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12101 * debug/test-stpcpy_chk-ifunc.c: New file.
12102 * debug/test-strcpy_chk-ifunc.c: Likewise.
12104 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12107 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12108 header is not read in.
12110 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12112 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12113 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12114 directly. Pass built executable to script as
12115 $(built-program-cmd).
12116 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12117 $testprogram without using LD_LIBRARY_PATH and $ldso.
12119 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12120 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12121 $(rtld-installed-name).
12122 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12123 (rtld_installed_name): Likewise.
12124 (library_path): Likewise.
12125 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12126 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12127 $(run-program-prefix) to tst-tables.sh.
12128 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12129 it to run tst-table-from and tst-table-to.
12130 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12131 Pass it to tst-table.sh.
12132 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12133 $(run-program-prefix) to tst-gettext.sh.
12134 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12136 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12138 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12139 to run tst-gettext.
12140 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12141 to run tst-gettext2.
12142 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12143 to run tst-translit.
12144 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12145 $(run-program-prefix) to tst-mtrace.sh.
12146 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12148 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12149 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12150 $(rtld-installed-name).
12151 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12152 (rtld_installed_name): Likewise.
12153 (run_program_prefix): New variable. Use it to run wordexp-test.
12155 * Makeconfig (ARCH): Remove all definitions.
12156 (machine): Likewise.
12157 [ARCH]: Remove conditional code.
12158 [!objdir]: Give error.
12159 [!objdir] (objpfx): Remove.
12160 [!objdir] (common-objpfx): Likewise.
12161 [!objdir] (common-objdir): Likewise.
12162 * configure.in (config_makefile): Remove. Hardcode Makefile in
12163 AC_CONFIG_FILES call.
12164 * configure: Regenerated.
12167 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12169 (testout): Likewise.
12171 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12172 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12173 $(rtld-installed-name).
12174 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12175 (rtld_installed_name): Likwise.
12176 (runit): Remove function.
12177 (run_getconf): New variable, Use it for running getconf binary.
12179 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12182 * string/test-memmem.c (check_result): New function.
12183 (do_one_test): Use it.
12184 (check1): New function.
12185 (test_main): Use it.
12187 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12189 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12191 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12193 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12194 (_G_LSEEK64): Likewise.
12195 (_G_MMAP64): Likewise.
12196 (_G_FSTAT64): Likewise.
12197 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12198 (_G_LSEEK64): Likewise.
12199 (_G_MMAP64): Likewise.
12200 (_G_FSTAT64): Likewise.
12201 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12202 unconditional. Call __mmap64 directly.
12203 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12204 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12205 __lseek64 directly.
12206 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12207 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12209 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12210 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12211 __lseek64 directly.
12212 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12213 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12214 __lseek64 directly.
12215 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12216 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12217 __lseek64 directly.
12218 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12219 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12220 __fxstat64 directly.
12221 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12222 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12224 (freopen64) [!_G_OPEN64]: Remove conditional code.
12225 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12227 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12228 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12230 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12231 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12233 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12234 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12236 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12237 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12239 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12240 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12242 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12243 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12245 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12247 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12250 * manual/memory.texi (Malloc Tunable Parameters): Add note
12251 about free list pointers overwriting some perturb bytes.
12252 Wording suggested by Roland McGrath.
12254 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12256 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12257 (lgamma_test): Likewise.
12258 (tgamma_test): Likewise.
12260 2012-10-16 Florian Weimer <fweimer@redhat.com>
12263 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12264 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12266 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12268 * NEWS: Mention BZ #14716.
12269 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12270 when removing AVAILABLE1_USES_J macro.
12272 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12274 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12275 (__bswap_64): __uint64_t for unsigned 64-bit int.
12277 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12279 * include/string.h (memmem): Declare libc hidden alias.
12280 * string/memmem.c (memmem): Define libc hidden alias.
12281 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12282 __read, __close instead of open, read, close.
12284 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12287 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12289 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12290 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12291 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12293 (__rawmemchr_sse2): Likewise.
12294 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12295 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12296 (__strchr_sse2): Likewise.
12297 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12298 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12299 (__strcasecmp_sse2): Likewise.
12300 (__strncasecmp_sse2): Likewise.
12301 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12302 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12303 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12304 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12305 (__strrchr_sse2): Likewise.
12306 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12308 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12309 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12310 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12311 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12312 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12313 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12314 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12315 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12316 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12317 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12318 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12319 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12320 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12321 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12322 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12323 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12324 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12325 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12326 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12327 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12328 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12329 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12330 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12331 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12332 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12333 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12334 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12335 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12336 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12337 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12341 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12342 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12343 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12344 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12346 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12348 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12349 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12350 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12351 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12353 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12360 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12361 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12362 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12363 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12364 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12365 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12366 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12367 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12369 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12370 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12371 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12375 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12376 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12378 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12379 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12382 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12383 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12384 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12385 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12386 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12387 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12388 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12389 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12390 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12391 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12393 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12395 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12396 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12397 * include/ifunc-impl-list.h: New file.
12398 * misc/ifunc-impl-list.c: Likewise.
12399 * misc/Makefile (routines): Add ifunc-impl-list.
12400 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12401 * string/test-string.h: Include <ifunc-impl-list.h>.
12402 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12403 impl_array): New variables.
12404 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12406 (test_init): Call __libc_ifunc_impl_list to initialize
12407 func_list if TEST_IFUNC and TEST_NAME are defined.
12409 * string/Makefile (strop-tests): Add bcopy and bzero.
12410 * string/test-bcopy.c: New file.
12411 * string/test-bzero.c: Likewise.
12412 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12414 * string/test-memset.c: Support bzero test if TEST_BZERO is
12416 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12418 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12420 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12423 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12425 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12426 * configure: Regenerated.
12428 * Makeconfig (+link-static-before-libc): Don't include
12429 $(link-static-libc).
12431 * libio/libio.h (_IO_pos_t): Remove.
12433 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12435 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12438 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12440 * crypt/crypt-entry.c: Include fips-private.h.
12441 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12442 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12443 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12444 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12446 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12448 * crypt/crypt-private.h: Include stdbool.h.
12449 (_ufc_setup_salt_r): Return bool.
12450 * crypt/crypt-entry.c: Include errno.h.
12451 (__crypt_r): Return NULL with EINVAL for bad salt.
12452 * crypt/crypt_util.c (bad_for_salt): New.
12453 (_ufc_setup_salt_r): Check that salt is long enough and within
12454 the specified alphabet.
12455 * crypt/badsalttest.c: New file.
12456 * crypt/Makefile (tests): Add it.
12457 ($(objpfx)badsalttest): New.
12459 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12461 * NEWS: Add entry for BZ #14602.
12463 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12465 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12467 * math/libm-test.inc: Update comment listing what functions and
12469 (isgreater_test): New function.
12470 (isgreaterequal_test): Likewise.
12471 (isless_test): Likewise.
12472 (islessequal_test): Likewise.
12473 (islessgreater_test): Likewise.
12474 (isunordered_test): Likewise.
12475 (main): Call the new functions.
12477 2012-10-09 Roland McGrath <roland@hack.frob.com>
12479 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12480 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12481 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12482 * sysdeps/i386/configure: Regenerated.
12483 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12484 * sysdeps/mach/configure: Regenerated.
12485 * sysdeps/mach/hurd/configure: Regenerated.
12486 * sysdeps/powerpc/configure: Regenerated.
12487 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12488 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12489 * sysdeps/s390/s390-32/configure: Regenerated.
12490 * sysdeps/s390/s390-64/configure: Regenerated.
12491 * sysdeps/sh/configure: Regenerated.
12492 * sysdeps/sparc/configure: Regenerated.
12493 * sysdeps/unix/sysv/linux/configure: Regenerated.
12494 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12495 * sysdeps/x86_64/configure: Regenerated.
12497 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12498 defined. Don't check if MAP is NULL.
12500 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12502 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12503 (_G_stat64): Likewise.
12504 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12505 (_G_stat64): Likewise.
12506 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12507 instead of struct _G_stat64.
12508 * libio/fileops.c (mmap_remap_check): Likewise.
12509 (decide_maybe_mmap): Likewise.
12510 (_IO_new_file_seekoff): Likewise.
12511 (_IO_file_stat): Likewise.
12512 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12514 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12515 instead of struct _G_stat64.
12516 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12518 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12521 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12523 (CHECK_EOL): New macro.
12524 (two_way_short_needle): Check beginning of haystack for EOL. Use
12526 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12527 Replace with CHECK_EOL.
12528 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12529 Replace with CHECK_EOL.
12531 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12533 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12535 * math/libm-test.inc: Update comment listing what functions and
12537 (finite_test): New function.
12538 (isinf_test): Likewise.
12539 (isnan_test): Likewise.
12540 (fpclassify_test): Test subnormal input.
12541 (isfinite_test): Likewise.
12542 (isnormal_test): Likewise.
12543 (main): Call the new functions.
12545 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12548 * Makerules (%.dynsym): Force C locale when running
12549 $(OBJDUMP) --dynamic-syms.
12551 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12553 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12556 2012-10-06 David S. Miller <davem@davemloft.net>
12558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12559 upper 32-bits of the length value in %o2 since we use branch-on-register
12560 tests which consider the entire 64-bit register.
12562 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12564 * string/test-strstr.c (check2): Add a test for page boundary.
12566 2012-10-05 David S. Miller <davem@davemloft.net>
12568 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12571 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12573 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12574 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12575 and bzero when HWCAP_SPARC_CRYPTO is present.
12577 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12580 * string/test-strstr.c (check2): New function.
12581 (test_main): Call check2.
12583 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12585 * string/bug-strcasestr1.c (do_test): Moved to ...
12586 * string/test-strcasestr.c (check1): Here. New function.
12587 (do_one_test): Break out result checking code into ...
12588 (check_result): This. New function.
12589 (do_one_test): Call check_result.
12590 (test_main): Call check1.
12591 * string/bug-strchr1.c (do_test): Moved to ...
12592 * string/test-strchr.c (check1): Here. New function.
12593 (do_one_test): Break out result checking code into ...
12594 (check_result): This. New function.
12595 (do_one_test): Call check_result.
12596 (test_main): Call check1.
12597 * string/bug-strstr1.c (main): Moved to ...
12598 * string/test-strstr.c (check1): Here. New function.
12599 (do_one_test): Break out result checking code into ...
12600 (check_result): This. New function.
12601 (do_one_test): Call check_result.
12602 (test_main): Call check1.
12603 * string/bug-strcasestr1.c: Removed.
12604 * string/bug-strchr1.c: Likewise.
12605 * string/bug-strstr1.c: Likewise.
12607 * elf/Makefile (dl-routines): Add hwcaps.
12608 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12609 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12610 (_dl_important_hwcaps): Moved to ...
12611 * elf/dl-hwcaps.c: Here. New file.
12612 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12615 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12616 if IS_IN_rtld isn't defined.
12618 * elf/dl-support.c (_dl_sysinfo_map): New.
12619 Include "get-dynamic-info.h" and "setup-vdso.h".
12620 (_dl_non_dynamic_init): Call setup_vdso.
12621 * elf/dynamic-link.h: Don't include <assert.h>.
12622 (elf_get_dynamic_info): Moved to ...
12623 * elf/get-dynamic-info.h: Here. New file.
12624 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12625 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12626 * elf/setup-vdso.h: Here. New file.
12627 * elf/rtld.c: Include "setup-vdso.h".
12628 (dl_main): Call setup_vdso.
12630 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12632 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12633 creal in comment listing functions tested. List finite, isinf,
12634 isnan, isless, islessequal, isgreater, isgreaterequal,
12635 islessgreater, isunordered, lgamma_r and pow10 as functions and
12636 macros not tested. Mention which functions not tested are aliases
12637 for other functions. Fix typo. Note that signs of NaNs are not
12640 * scripts/config.guess: Update from config.git.
12641 * scripts/config.sub: Likewise.
12643 2012-10-04 Roland McGrath <roland@hack.frob.com>
12645 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12646 * misc/madvise.c (madvise): Renamed to __madvise.
12647 Make madvise a weak alias.
12648 * include/sys/mman.h: Declare __madvise.
12649 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12650 * sysdeps/unix/syscalls.list
12651 (madvise): Make __madvise the strong name, and madvise a weak alias.
12652 * sysdeps/unix/sysv/linux/syscalls.list
12653 (madvise, mmap): Remove redundant entries.
12654 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12655 * malloc/malloc.c (mtrim): Likewise.
12656 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12658 2012-10-03 Roland McGrath <roland@hack.frob.com>
12660 * sysdeps/mach/hurd/dl-cache.c: File removed.
12661 * config.h.in (USE_LDCONFIG): New #undef.
12662 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12663 * configure: Regenerated.
12664 * elf/Makefile (dl-routines): Add dl-cache only under
12665 [$(use-ldconfig) = yes].
12666 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12667 cache on [USE_LDCONFIG].
12668 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12670 * elf/rtld.c (dl_main): Likewise.
12672 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12674 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12675 _SC_LEVEL4_CACHE_LINESIZE.
12677 2012-10-03 Roland McGrath <roland@hack.frob.com>
12679 * sysdeps/unix/bsd/confstr.h: File removed.
12681 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12683 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12686 2012-10-02 Roland McGrath <roland@hack.frob.com>
12688 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12689 Make 'mapoff' field ElfW(Off) rather than off_t.
12691 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12693 * nscd/Makefile: Remove nscd-cflags and all its users.
12694 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12695 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12698 * malloc.c (malloc_printerr): Clarify error message.
12700 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12704 Set bit_FMA_Usable if FMA is supported.
12705 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12707 (bit_FMA4_Usable): Updated.
12708 (index_FMA_Usable): New macro.
12709 (CPUID_FMA): Likewise
12710 (HAS_FMA): Defined with bit_FMA_Usable.
12712 2012-10-01 Roland McGrath <roland@hack.frob.com>
12714 * bits/types.h (__swblk_t): Type removed.
12715 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12716 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12718 (__SWBLK_T_TYPE): Likewise.
12719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12720 (__SWBLK_T_TYPE): Likewise.
12721 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12722 (__SWBLK_T_TYPE): Likewise.
12723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12724 (__SWBLK_T_TYPE): Likewise.
12726 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12727 Honza Horak <hhorak@redhat.com>
12729 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12730 (xdr_mapname): Use YPMAXMAP as maxsize.
12731 (xdr_peername): Use YPMAXPEER as maxsize.
12732 (xdr_keydat): Use YPAXRECORD as maxsize.
12733 (xdr_valdat): Use YPMAXRECORD as maxsize.
12735 2012-10-01 Roland McGrath <roland@hack.frob.com>
12737 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12739 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12740 * csu/init-first.c: ... here.
12741 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12742 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12743 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12744 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12745 * sysdeps/i386/init-first.c: File removed.
12746 * sysdeps/sh/init-first.c: File removed.
12748 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12752 if x * y might underflow to zero and z is zero.
12753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12754 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12755 * math/libm-test.inc (min_subnorm_value): New variable.
12756 (fma_test): Add more tests.
12757 (fma_test_towardzero): Likewise.
12758 (fma_test_downward): Likewise
12759 (fma_test_upward): Likewise.
12760 (initialize): Set min_subnorm_value.
12762 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12768 mode for addition resulting in exact zero.
12769 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12770 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12774 * math/libm-test.inc (fma_test): Add more tests.
12775 (fma_test_towardzero): New function.
12776 (fma_test_downward): Likewise.
12777 (fma_test_upward): Likewise.
12778 (main): Call the new functions.
12780 2012-09-28 David S. Miller <davem@davemloft.net>
12782 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12784 2012-09-28 Roland McGrath <roland@hack.frob.com>
12786 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12787 instead of SIGALRM.
12789 * sysdeps/gnu/_G_config.h: Moved to ...
12790 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12791 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12792 * sysdeps/generic/_G_config.h: ... here.
12794 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12796 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12798 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12799 Conditionalize target on [libnss_test1.so-version].
12801 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12803 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12804 (elfobjdir): Move out of conditionals.
12806 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12807 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12808 (__nss_lookup_function): Conditionalize label remove_from_tree on
12809 [!DO_STATIC_NSS || SHARED], matching its only use.
12811 2012-09-28 David S. Miller <davem@davemloft.net>
12813 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12814 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12816 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12818 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12820 when HWCAP_SPARC_CRYPTO is present.
12822 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12824 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12826 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12829 * stdio-common/vfprintf.c (process_string_arg): Revert
12832 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12834 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12836 * stdio-common/tst-sprintf.c: Include <locale.h>
12837 (main): Test sprintf's handling of incomplete multibyte
12840 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12842 * elf/dl-runtime.c (VERSYMIDX): Removed.
12843 * elf/dl-version.c (VERSYMIDX): Likewise.
12844 * elf/do-rel.h (VERSYMIDX): Likewise.
12845 (VALIDX): Likewise.
12846 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12847 * elf/rtld.c (VALIDX): Likewise.
12848 (ADDRIDX): Likewise.
12849 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12850 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12851 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12852 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12853 (VALIDX): Likewise.
12854 (ADDRIDX): Likewise.
12856 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12858 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12860 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12863 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12865 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12866 addresses are in the same scope as 192.0.2/24.
12867 * posix/gai.conf: Document new scope table defaults.
12869 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12872 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12873 for ftell. Compute offsets from write pointers instead.
12874 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12876 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12879 * libio/Makefile (tests): New test case tst-fseek.
12880 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12881 combination works in wide mode.
12882 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12883 state when the external buffer state changes.
12885 2012-09-27 David S. Miller <davem@davemloft.net>
12888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12889 pass reloc->r_addend in as the 'high' argument to
12890 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12894 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12896 * rt/tst-aio2.c: Include <pthread.h>.
12897 * rt/tst-aio3.c: Likewise.
12899 2012-09-27 Steve Ellcey <sellcey@mips.com>
12901 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12903 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12905 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12906 contents on [SHARED].
12908 2012-09-26 Marek Polacek <polacek@redhat.com>
12912 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12913 for C++ and GCC <4.3 as well as for non GCC compilers.
12915 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12919 2012-09-25 Roland McGrath <roland@hack.frob.com>
12921 * Makefile.in (all, install): Declare with .PHONY.
12922 Reported by Michael Hope <michael.hope@linaro.org>.
12924 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12926 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12927 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12929 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12931 (sydep_routines): Add the new and the internal functions.
12932 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12933 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12935 (GLIBC_2.17): Add the new function.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12937 (GLIBC_2.17): Likewise.
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12939 (GLIBC_2.17): Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12941 (GLIBC_2.17): Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12944 2012-09-25 Alan Modra <amodra@gmail.com>
12946 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12947 Add release barrier before setting once_control to say
12948 initialisation is done. Add hints on lwarx. Use macro in
12950 (clear_once_control): Add release barrier.
12952 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12955 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12957 * math/s_clog10.c (__clog10): Likewise.
12958 * math/s_clog10f.c (__clog10f): Likewise.
12959 * math/s_clog10l.c (__clog10l): Likewise.
12960 * math/s_clogf.c (__clogf): Likewise.
12961 * math/s_clogl.c (__clogl): Likewise.
12962 * math/Makefile (libm-calls): Add x2y2m1.
12963 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12964 (__x2y2m1): Likewise.
12965 (__x2y2m1l): Likewise.
12966 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12967 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12970 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12971 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12972 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12973 * sysdeps/i386/fpu/libm-test-ulps: Update.
12974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12977 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12978 int as type of variable DEPTH.
12979 (glob): Use size_t instead of int as type of variables NEWCOUNT
12982 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12984 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12985 Add s_sincosf-sse2.
12986 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12987 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12988 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12989 macros for using routine as __sincosf_ia32.
12990 Use macro for function declaration and weak_alias.
12991 * sysdeps/i386/fpu/libm-test-ulps: Update.
12993 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12996 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12997 subnormal argument.
12998 * math/s_cexpf.c (__cexpf): Likewise.
12999 * math/s_csinf.c (__csinf): Likewise.
13000 * math/s_csinhf.c (__csinhf): Likewise.
13001 * math/s_ctanf.c (__ctanf): Likewise.
13002 * math/s_ctanhf.c (__ctanhf): Likewise.
13003 * math/s_ccosh.c (__ccoshf): Likewise.
13004 * math/s_cexp.c (__cexpl): Likewise.
13005 * math/s_csin.c (__csin): Likewise.
13006 * math/s_csinh.c (__csinh): Likewise.
13007 * math/s_ctan.c (__ctan): Likewise.
13008 * math/s_ctanh.c (ctanh): Likewise.
13009 * math/s_ccoshl.c (__ccoshl): Likewise.
13010 * math/s_cexpl.c (__cexpl): Likewise.
13011 * math/s_csinl.c (__csinl): Likewise.
13012 * math/s_csinhl.c (__csinhl): Likewise.
13013 * math/s_ctanl.c (__ctanl): Likewise.
13014 * math/s_ctanhl.c (__ctanhl): Likewise.
13016 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13018 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13019 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13020 (_IO_off_t): Define to __off_t, not _G_off_t.
13021 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13022 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13023 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13024 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13025 type of __dummy and __dummy2 fields.
13026 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13027 (_G_ssize_t): Likewise.
13028 (_G_off_t): Likewise.
13029 (_G_pid_t): Likewise.
13030 (_G_uid_t): Likewise.
13031 (_G_wchar_t): Likewise.
13032 (_G_wint_t): Likewise.
13033 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13034 (_G_ssize_t): Likewise.
13035 (_G_off_t): Likewise.
13036 (_G_pid_t): Likewise.
13037 (_G_uid_t): Likewise.
13038 (_G_wchar_t): Likewise.
13039 (_G_wint_t): Likewise.
13040 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13041 (_G_ssize_t): Likewise.
13042 (_G_off_t): Likewise.
13043 (_G_pid_t): Likewise.
13044 (_G_uid_t): Likewise.
13045 (_G_wchar_t): Likewise.
13046 (_G_wint_t): Likewise.
13048 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13050 * malloc/arena.c: Include malloc-sysdep.h.
13051 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13052 is sufficient to shrink the heap or an unmap is needed.
13053 * sysdeps/generic/malloc-sysdep.h: New file. Define
13054 new function check_may_shrink_heap.
13055 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13056 new function check_may_shrink_heap.
13058 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13060 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13063 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13065 * catgets/test-gencat.sh: Add "set -e".
13066 * elf/tst-pathopt.sh: Likewise.
13067 * grp/tst_fgetgrent.sh: Likewise.
13068 * iconvdata/run-iconv-test.sh: Likewise.
13069 * intl/tst-gettext.sh: Likewise.
13070 * intl/tst-gettext2.sh: Likewise.
13071 * intl/tst-gettext4.sh: Likewise.
13072 * intl/tst-gettext6.sh: Likewise.
13073 * intl/tst-translit.sh: Likewise.
13074 * io/ftwtest-sh: Likewise.
13075 * libio/test-freopen.sh: Likewise.
13076 * malloc/tst-mtrace.sh: Likewise.
13077 * posix/globtest.sh: Likewise.
13078 * posix/tst-getconf.sh: Likewise.
13079 * posix/wordexp-tst.sh: Likewise.
13080 * stdio-common/tst-printf.sh: Likewise.
13081 * stdio-common/tst-unbputc.sh: Likewise.
13082 * stdlib/tst-fmtmsg.sh: Likewise.
13083 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13084 * catgets/Makefile: Do not specify -e option when running
13085 testsuite shell scripts.
13086 * elf/Makefile: Likewise.
13087 * grp/Makefile: Likewise.
13088 * iconvdata/Makefile: Likewise.
13089 * intl/Makefile: Likewise.
13090 * io/Makefile: Likewise.
13091 * libio/Makefile: Likewise.
13092 * malloc/Makefile: Likewise.
13093 * posix/Makefile: Likewise.
13094 * stdio-common/Makefile: Likewise.
13095 * stdlib/Makefile: Likewise.
13096 * sysdeps/x86_64/Makefile: Likewise.
13098 * io/ftwtest-sh: Add copyright header.
13099 * posix/globtest.sh: Likewise.
13100 * posix/tst-getconf.sh: Likewise.
13101 * posix/wordexp-tst.sh: Likewise.
13102 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13104 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13107 * Makeconfig (+link): Defined as $(+link-static) if
13108 $(build-shared) isn't yes.
13109 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13111 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13113 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13116 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13117 new chunk size with MALLOC_ALIGN_MASK.
13119 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13122 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13124 (__printf_fphex): Determine rounding using get_rounding_mode and
13126 * stdio-common/tst-printf-round.c (struct hex_test): New
13128 (hex_tests): New variable.
13129 (test_hex_in_one_mode): New function.
13130 (do_test): Also run tests for hex float output.
13132 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13134 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13135 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13136 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13137 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13138 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13139 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13140 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13141 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13143 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13145 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13146 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13147 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13148 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13150 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13153 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13155 * elf/tst-rtld-load-self.sh: New test.
13156 * elf/Makefile: Run it.
13158 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13160 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13161 (tst-writev-ENV): Remove.
13162 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13164 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13166 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13168 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13170 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13172 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13174 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13175 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13176 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13179 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13182 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13183 * config.make.in (have-cpp-asm-debuginfo): Removed.
13184 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13185 * configure: Regenerated.
13187 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13190 * stdio-common/printf_fp.c: Include <stdbool.h> and
13192 (___printf_fp): Determine rounding using get_rounding_mode and
13194 * stdio-common/tst-printf-round.c: New file.
13195 * stdio-common/Makefile (tests): Add tst-printf-round.
13196 (link-libm): New variable.
13197 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13199 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13202 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13203 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13205 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13208 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13210 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13211 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13212 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13213 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13215 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13218 * include/rounding-mode.h: New file.
13219 * sysdeps/generic/get-rounding-mode.h: Likewise.
13220 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13221 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13222 (MAX_VALUE): New macro.
13223 (MIN_VALUE): Likewise.
13224 (overflow_value): New function.
13225 (underflow_value): Likewise.
13226 (round_and_return): Use overflow_value and underflow_value to
13227 determine return values in overflow and underflow cases. Use
13228 round_away to determine rounding depending on rounding mode.
13229 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13230 determine return values in overflow and underflow cases.
13231 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13232 (struct test_results): New structure.
13233 (struct test): Use struct test_results to store expected results
13234 for all rounding modes.
13235 (TEST): Include expected results for all rounding modes.
13236 (test_in_one_mode): New function.
13237 (do_test): Use test_in_one_mode to compute and check results.
13238 Check results for all rounding modes.
13239 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13242 2012-12-09 Allan McRae <allan@archlinux.org>
13244 * sysdeps/i386/fpu/libm-test-ulps: Update
13246 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13248 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13249 (_G_int32_t): Likewise.
13250 (_G_uint16_t): Likewise.
13251 (_G_uint32_t): Likewise.
13252 (_G_HAVE_BOOL): Likewise.
13253 (_G_HAVE_ATEXIT): Likewise.
13254 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13255 (_G_HAVE_IO_FILE_OPEN): Likewise.
13256 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13257 (_G_int32_t): Likewise.
13258 (_G_uint16_t): Likewise.
13259 (_G_uint32_t): Likewise.
13260 (_G_HAVE_BOOL): Likewise.
13261 (_G_HAVE_ATEXIT): Likewise.
13262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13263 (_G_HAVE_IO_FILE_OPEN): Likewise.
13264 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13265 (_G_int32_t): Likewise.
13266 (_G_uint16_t): Likewise.
13267 (_G_uint32_t): Likewise.
13268 (_G_HAVE_BOOL): Likewise.
13269 (_G_HAVE_ATEXIT): Likewise.
13270 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13271 (_G_HAVE_IO_FILE_OPEN): Likewise.
13273 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13275 * csu/libc-tls.c: Update copyright years.
13277 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13279 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13280 [!_G_USING_THUNKS]: Remove conditional code.
13281 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13282 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13284 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13285 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13286 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13287 (_G_VTABLE_LABEL_PREFIX): Likewise.
13288 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13289 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13290 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13291 (_G_VTABLE_LABEL_PREFIX): Likewise.
13292 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13293 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13294 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13295 (_G_VTABLE_LABEL_PREFIX): Likewise.
13296 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13298 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13300 * libio/Makefile: Include ../Makeconfig before tests.
13301 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13302 only if $(build-shared) is yes.
13304 * iconv/gconv_db.c: Update copyright years.
13306 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13308 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13309 unwind info if defined PIC. Fix special cases description.
13310 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13312 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13314 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13316 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13318 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13320 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13323 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13324 (LDLIBS-tst-chk4): This.
13325 (LDFLAGS-tst-chk5): Renamed to ...
13326 (LDLIBS-tst-chk5): This.
13327 (LDFLAGS-tst-chk6): Renamed to ...
13328 (LDLIBS-tst-chk6): This.
13329 (LDFLAGS-tst-lfschk4): Renamed to ...
13330 (LDLIBS-tst-lfschk4): This.
13331 (LDFLAGS-tst-lfschk5): Renamed to ...
13332 (LDLIBS-tst-lfschk5): This.
13333 (LDFLAGS-tst-lfschk6): Renamed to ...
13334 (LDLIBS-tst-lfschk6): This.
13336 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13337 on $(common-objpfx)soversions.mk.
13339 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13342 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13345 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13347 * malloc/arena.c (arena_get_retry): New function that gets
13348 another arena for the caller to try its request on.
13349 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13350 current arena cannot fulfill the request.
13351 (__libc_memalign): Likewise.
13352 (__libc_memalign): Likewise.
13353 (__libc_pvalloc): Likewise.
13354 (__libc_calloc): Likewise.
13356 2012-09-05 John Tobey <john.tobey@gmail.com>
13359 * manual/arith.texi (Operations on Complex): Fix description
13360 of carg branch cut.
13362 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13365 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13369 * manual/memory.texi (Memory): Make order of menu items match
13372 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13374 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13375 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13376 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13378 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13380 * csu/libc-tls.c (static_dtv): Renamed to ...
13381 (_dl_static_dtv): This. Make it global.
13382 (_dl_initial_dtv): Removed.
13383 (__libc_setup_tls): Updated.
13384 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13385 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13388 2012-09-06 Petr Machata <pmachata@redhat.com>
13390 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13391 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13392 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13393 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13395 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13398 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13399 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13402 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13405 * Makeconfig (link-static-before-libc): Replace $(+prector)
13407 (link-static-after-libc): Replace $(+postctor) with
13409 (link-bounded): Replace $(+prector)/$(+postctor) with
13410 $(+prectorT)/$(+postctorT).
13411 (+prectorT): New macro.
13412 (+postctorT): Likewise.
13414 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13416 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13417 (round_str): Handle values above the maximum for IBM long double
13419 * stdlib/tst-strtod-round.c (tests): Regenerated.
13421 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13423 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13425 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13426 zarch_nohighgprs around the zarch optimized routines.
13427 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13428 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13432 2012-09-05 David S. Miller <davem@davemloft.net>
13434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13436 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13437 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13438 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13439 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13442 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13444 * malloc/arena.c: Fold copyright years.
13445 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13447 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13449 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13451 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13453 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13455 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13457 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13458 change internal state upon failure.
13460 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13462 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13463 * malloc/memusage.c (mmap): Likewise.
13464 (mmap64, mremap): Likewise. Adjust name in comment.
13466 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13468 * libio/fileops.c: Fix typos in comments.
13469 * libio/oldfileops.c: Likewise.
13470 * libio/wfileops.c: Likewise.
13472 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13475 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13476 (tst-malloc-usable-ENV): Set environment for test case.
13477 * malloc/hooks.c (malloc_check_get_size): New function to get
13479 * malloc/malloc.c (musable): Use malloc_check_get_size.
13480 * malloc/tst-malloc-usable.c: New test case.
13482 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13484 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13486 2012-09-05 Allan McRae <allan@archlinux.org>
13489 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13490 determine header location.
13491 * configure: Regenerated.
13493 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13495 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13497 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13498 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13500 (test): Regenerate.
13502 2012-09-04 David S. Miller <davem@davemloft.net>
13504 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13505 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13506 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13508 2012-09-04 Florian Weimer <fweimer@redhat.com>
13510 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13513 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13515 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13518 * libio/iogetdelim.c: Include <limits.h>.
13519 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13520 + len + 1 would overflow.
13522 2012-09-03 Andreas Jaeger <aj@suse.de>
13524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13525 * sysdeps/i386/fpu/libm-test-ulps: Update.
13527 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13529 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13530 Add s_sinf-sse2, s_conf-sse2.
13532 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13533 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13534 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13535 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13537 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13538 for using routine as __sinf_ia32.
13539 Use macro for function declaration and weak_alias.
13540 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13541 for using routine as __cosf_ia32.
13542 Use macro for function declaration and weak_alias.
13544 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13545 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13547 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13548 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13551 * math/libm-test.inc (cos_test): Add more test cases.
13552 (sin_test): Likewise.
13553 (sincos_test): Likewise.
13555 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13558 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13562 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13565 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13566 first element of the GOT.
13567 (elf_machine_load_address): Return the difference between
13568 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13570 2012-09-01 Allan McRae <allan@archlinux.org>
13573 * configure.in (AWK): Require gawk version 3.0 or later.
13574 * configure: Regenerated.
13576 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13578 * sysdeps/unix/sysv/linux/kernel-features.h
13579 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13580 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13581 [__NR_clock_getres]: Make code unconditional.
13582 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13583 (clock_getcpuclockid): Remove code left unreachable by removal of
13585 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13586 code unconditional.
13587 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13588 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13589 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13590 Make code unconditional.
13591 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13592 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13593 * sysdeps/unix/sysv/linux/clock_settime.c
13594 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13596 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13597 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13599 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13602 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13603 scripts/test-installation.pl.
13605 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13606 and $ld_so_version if it is set.
13608 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13611 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13612 failure if reading from procfs failed.
13613 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13615 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13617 * sysdeps/unix/sysv/linux/kernel-features.h
13618 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13619 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13620 Remove conditional code.
13621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13622 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13623 Remove conditional code.
13624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13625 * sysdeps/unix/sysv/linux/i386/fxstat.c
13626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13628 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13629 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13631 * sysdeps/unix/sysv/linux/i386/lxstat.c
13632 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13634 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13635 Remove conditional code.
13636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13637 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13638 Remove conditional code.
13639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13640 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13641 <kernel-features.h>.
13642 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13644 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13645 Remove conditional code.
13646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13647 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13648 Remove conditional.
13650 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13653 * NEWS: Add fixed bug number.
13655 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13658 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13659 underflowing exponent in case of negative sign.
13660 * stdlib/tst-strtod-round-data: Add more tests.
13661 * stdlib/tst-strtod-round.c (tests): Regenerated.
13664 * stdlib/strtod_l.c (NDIG): Remove.
13665 (HEXNDIG): Likewise.
13666 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13667 smallest representable value.
13668 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13669 lie within an exact representation of 1/2 ulp of the result.
13670 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13672 (TENS_P9_IDX): Define unconditionally.
13673 (TENS_P9_SIZE): Likewise.
13674 (TENS_P10_IDX): Likewise.
13675 (TENS_P10_SIZE): Likewise.
13676 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13677 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13678 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13679 entries for 10^2^13 and 10^2^14.
13680 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13681 (TENS_P13_IDX): Define.
13682 (TENS_P13_SIZE): Likewise.
13683 (TENS_P14_IDX): Likewise.
13684 (TENS_P14_SIZE): Likewise.
13685 (_fpioconst_pow10): Change array size to
13686 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13688 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13689 1024]: Add entries for 10^2^13 and 10^2^14.
13690 [LAST_POW10 > _LAST_POW10]: Remove #error.
13691 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13692 (_fpioconst_pow10): Change array size to
13693 FPIOCONST_POW10_ARRAY_SIZE.
13694 * stdlib/gen-fpioconst.c: New file.
13695 * stdlib/gen-tst-strtod-round.c: Likewise.
13696 * stdlib/tst-strtod-round-data: Likewise.
13697 * stdlib/tst-strtod-round.c: Likewise.
13698 * stdlib/Makefile (tests): Add tst-strtod-round.
13701 * stdlib/strtod_l.c: Include <stdint.h>.
13702 (NDEBUG): Do not define.
13703 (round_and_return): Change EXPONENT parameter to type intmax_t.
13704 Rearrange calculations to avoid internal overflow possibilities.
13705 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13706 Rearrange calculations to avoid internal overflow possibilities.
13707 Assert that number fits inside MPNSIZE limbs.
13708 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13709 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13710 calculations and add assertions to avoid internal overflow
13711 possibilities. Add casts to avoid signed/unsigned operations.
13712 * stdlib/tst-strtod-overflow.c: New file.
13713 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13715 2012-08-25 Marek Polacek <polacek@redhat.com>
13717 * time/time.h: Fix some typos in comments.
13719 2012-08-23 Roland McGrath <roland@hack.frob.com>
13721 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13722 * posix/tst-rfc3484-2.c: Likewise.
13723 * posix/tst-rfc3484-3.c: Likewise.
13725 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13727 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13728 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13730 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13732 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13733 #include of fxstatat64.c.
13735 2012-08-22 Roland McGrath <roland@hack.frob.com>
13737 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13738 * shadow/getspent_r.c: Likewise.
13739 * shadow/getspnam.c: Likewise.
13740 * shadow/getspnam_r.c: Likewise.
13741 * gshadow/getsgent.c: Likewise.
13742 * gshadow/getsgent_r.c: Likewise.
13743 * gshadow/getsgnam.c: Likewise.
13744 * gshadow/getsgnam_r.c: Likewise.
13745 * inet/getnetbyad.c: Likewise.
13746 * inet/getnetbyad_r.c: Likewise.
13747 * inet/getnetbynm.c: Likewise.
13748 * inet/getnetbynm_r.c: Likewise.
13749 * inet/getnetent.c: Likewise.
13750 * inet/getnetent_r.c: Likewise.
13751 * inet/getproto.c: Likewise.
13752 * inet/getproto_r.c: Likewise.
13753 * inet/getprtent.c: Likewise.
13754 * inet/getprtent_r.c: Likewise.
13755 * inet/getprtname.c: Likewise.
13756 * inet/getprtname_r.c: Likewise.
13757 * inet/getrpcbyname.c: Likewise.
13758 * inet/getrpcbyname_r.c: Likewise.
13759 * inet/getrpcbynumber.c: Likewise.
13760 * inet/getrpcbynumber_r.c: Likewise.
13761 * inet/getrpcent.c: Likewise.
13762 * inet/getrpcent_r.c: Likewise.
13763 * inet/getaliasent.c: Likewise.
13764 * inet/getaliasent_r.c: Likewise.
13765 * inet/getaliasname.c: Likewise.
13766 * inet/getaliasname_r.c: Likewise.
13767 * nscd/getgrgid_r.c: Likewise.
13768 * nscd/getgrnam_r.c: Likewise.
13769 * nscd/gethstbyad_r.c: Likewise.
13770 * nscd/gethstbynm3_r.c: Likewise.
13771 * nscd/getpwnam_r.c: Likewise.
13772 * nscd/getpwuid_r.c: Likewise.
13773 * nscd/getsrvbynm_r.c: Likewise.
13774 * nscd/getsrvbypt_r.c: Likewise.
13775 * nscd/gai.c: Likewise.
13777 * configure.in (build_nscd): New substituted variable, set
13778 by --disable-build-nscd and defaults to $use_nscd.
13779 * configure: Regenerated.
13780 * config.make.in (build-nscd): New substituted variable.
13781 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13782 Change conditional to require [$(build-nscd) = yes] as well.
13783 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13786 * configure.in (use_nscd): New substituted variable, set by
13787 --disable-nscd. If enabled, define USE_NSCD.
13788 * configure: Regenerated.
13789 * config.h.in: Add USE_NSCD.
13790 * config.make.in (use-nscd): New substituted variable.
13791 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13792 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13793 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13794 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13795 (CFLAGS-getgrnam_r.c): Likewise.
13796 (CFLAGS-initgroups.c): Likewise.
13797 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13798 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13800 * inet/getnetgrent_r.c
13801 (nscd_setnetgrent): New function, broken out of ...
13802 (setnetgrent): ... here. Call it.
13803 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13804 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13805 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13806 * nscd/Makefile (routines, aux): Move definitions after include of
13807 Makeconfig. Conditionalize on [$(use-nscd) != no].
13808 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13809 Conditionalize on [USE_NSCD].
13810 (is_nscd, nscd_init_cb): Likewise.
13811 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13812 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13813 * nss/nss_db/db-init.c: Likewise.
13814 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13816 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13817 (make_request): Use it.
13818 (cache_valid_p): New function.
13819 (__check_pf): Use it.
13820 * NEWS: Add item for --disable-nscd.
13822 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13824 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13825 to support sed >= 4.2.1-20-ga9bf076.
13826 * configure: Regenerated.
13828 2012-08-22 Roland McGrath <roland@hack.frob.com>
13830 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13831 Conditionalize whole body on [IREL].
13833 2012-08-22 Jeff Law <law@redhat.com>
13836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13837 if the family is PF_UNSPEC.
13839 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13841 * Makerules (lib-version): Rename from V.
13842 (install-lib-nosubdir): Change V to lib-version.
13844 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13847 * powerpc32/power6/wcschr.c: New file.
13848 * powerpc32/power6/wcscpy.c: New file.
13849 * powerpc32/power6/wcsrchr.c: New file.
13850 * powerpc64/power6/wcschr.c: New file.
13851 * powerpc64/power6/wcscpy.c: New file.
13852 * powerpc64/power6/wcsrchr.c: New file.
13854 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13856 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13857 (two_way_short_needle): Use it.
13858 * string/strstr.c (AVAILABLE1_USES_J): Define.
13859 * string/strcasestr.c: Likewise.
13861 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13863 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13866 * NEWS: Add an entry.
13867 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13868 define their defaults.
13869 (two_way_short_needle): Detect end-of-string on-the-fly.
13870 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13871 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13872 * string/bug-strcasestr1.c: New test.
13873 * string/Makefile: Run it.
13875 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13878 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13879 the first character.
13881 2012-08-21 Roland McGrath <roland@hack.frob.com>
13883 * csu/elf-init.c (__libc_csu_irel): Function removed.
13884 * csu/libc-start.c (apply_irel): New function.
13885 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13887 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13889 * sysdeps/unix/sysv/linux/kernel-features.h
13890 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13891 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13892 <kernel-features.h>.
13893 [__NR_fadvise64_64]: Make code unconditional.
13894 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13895 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13896 !__NR_fadvise64_64)]: Likewise.
13897 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13898 !__NR_fadvise64_64))]: Likewise.
13899 [__NR_fadvise64]: Make code unconditional.
13900 [!__NR_fadvise64]: Remove conditional code.
13901 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13902 <kernel-features.h>.
13903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13908 not include <kernel-features.h>.
13909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13913 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13914 include <kernel-features.h>.
13915 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13917 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13920 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13922 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13923 slight instruction rearrangements per scrollpipe analysis.
13924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13926 2012-08-20 Roland McGrath <roland@hack.frob.com>
13928 * manual/syslog.texi (syslog; vsyslog, closelog):
13929 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13930 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13932 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13933 DSOCAPS to match condition on defining it.
13935 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13937 * sysdeps/unix/sysv/linux/kernel-features.h
13938 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13943 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13944 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13946 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13947 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13949 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13950 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13952 * sysdeps/unix/sysv/linux/kernel-features.h
13953 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13954 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13956 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13957 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13958 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13959 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13960 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13961 Make code unconditional.
13962 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13963 (__mmap64) [!__NR_mmap2]: Likewise.
13964 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13965 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13966 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13967 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13968 [__NR_mmap2]: Make code unconditional.
13969 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13970 (__mmap64) [!__NR_mmap2]: Likewise.
13972 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13974 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13976 2012-08-18 Andreas Jaeger <aj@suse.de>
13978 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13980 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13982 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13983 * include/unistd.h (__have_sock_cloexec): Likewise.
13984 (__have_pipe2): Likewise.
13985 (__have_dup3): Likewise.
13987 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13990 * include/unistd.h (__have_pipe2): Change define into an extern int.
13991 (__have_dup3): Likewise.
13992 * socket/have_sock_cloexec.c: Include fcntl.h.
13993 (__have_pipe2): New variable.
13994 (__have_dup3): Likewise.
13996 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13998 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14000 2012-08-17 Marek Polacek <polacek@redhat.com>
14002 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14003 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14005 2012-08-17 Roland McGrath <roland@hack.frob.com>
14007 * configure.in: Add AC_SUBST for sysheaders.
14008 * configure: Regenerated.
14009 * config.make.in (sysheaders): New substituted variable.
14011 * sysdeps/unix/mkfifo.c: Moved ...
14012 * sysdeps/posix/mkfifo.c: ... here.
14013 * sysdeps/unix/mkfifoat.c: Moved ...
14014 * sysdeps/posix/mkfifoat.c: ... here.
14016 * sysdeps/unix/utime.c: Moved ...
14017 * sysdeps/posix/utime.c: ... here.
14019 * sysdeps/unix/time.c: Moved ...
14020 * sysdeps/posix/time.c: ... here.
14021 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14022 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14024 * sysdeps/unix/nice.c: Moved ...
14025 * sysdeps/posix/nice.c: ... here.
14027 * sysdeps/unix/alarm.c: Moved ...
14028 * sysdeps/posix/alarm.c: ... here.
14030 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14032 2012-08-17 Jeff Law <law@redhat.com>
14034 * intl/Makefile (codeset_mo): New variable.
14035 ($(codeset_mo)): New target.
14036 (tst-codeset.out): Depend on that. Remove explicit rule.
14037 (tst-gettext3.out, tst-gettext5.out): Likewise.
14038 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14039 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14040 * intl/tst-codeset.sh: Remove.
14041 * intl/tst-gettext3.sh: Likewise.
14042 * intl/tst-gettext5.sh: Likewise.
14044 2012-08-17 Roland McGrath <roland@hack.frob.com>
14046 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14047 * sysdeps/unix/syscalls.list: ... here.
14049 * sysdeps/posix/getaddrinfo.c
14050 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14051 (gaiconf_init, gaiconf_reload): Use them.
14052 [!_STATBUF_ST_NSEC]
14053 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14054 Define using time_t rather than struct timespec.
14056 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14057 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14059 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14061 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14062 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14065 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14066 __libc_cleanup_push argument.
14068 * bits/param.h: New file.
14069 * misc/sys/param.h: New file.
14070 * include/sys/param.h: New file.
14071 * misc/Makefile (headers): Add bits/param.h.
14072 * sysdeps/generic/sys/param.h: File removed.
14073 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14074 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14075 * sysdeps/mach/hurd/bits/param.h: New file.
14076 * sysdeps/mach/hurd/sys/param.h: File removed.
14078 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14081 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14083 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14084 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14087 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14088 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14089 rather than -D_IO_MTSAFE_IO conditionally.
14090 * stdio-common/Makefile (CPPFLAGS): Likewise.
14091 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14092 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14093 Use $(libio-mtsafe).
14094 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14095 of -D_IO_MTSAFE_IO.
14096 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14097 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14098 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14099 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14100 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14101 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14102 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14103 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14104 (CFLAGS-fread_u_chk.c): Likewise.
14105 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14106 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14107 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14108 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14109 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14110 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14111 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14112 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14113 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14115 * libio/Makefile: Test [$(libc-reentrant) = yes]
14116 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14119 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14120 * sysdeps/pthread/configure: File removed.
14121 * sysdeps/pthread/Makeconfig: New file.
14122 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14123 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14125 2012-08-16 Gary Benson <gbenson@redhat.com>
14127 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14128 unmapping the first object in a namespace.
14130 2012-08-16 Roland McGrath <roland@hack.frob.com>
14132 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14133 (__internal_setnetgrent): ... this. Add internal_function to
14134 definition. Add libc_hidden_def.
14135 (setnetgrent): Update caller.
14136 (internal_endnetgrent): Renamed to ...
14137 (__internal_endnetgrent): ... this. Add internal_function to
14138 definition. Add libc_hidden_def.
14139 (endnetgrent): Update caller.
14140 (internal_getnetgrent_r): Renamed to ...
14141 (__internal_getnetgrent_r): ... this. Add internal_function to
14142 definition. Add libc_hidden_def.
14143 (__getnetgrent_r): Update caller.
14144 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14146 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14148 * stdlib/longlong.h: Update from GCC.
14150 2012-08-16 Roland McGrath <roland@hack.frob.com>
14152 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14153 on _QL, which is set by umul_ppmm but never used.
14154 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14155 variables, which are set by GMP macros but never used.
14156 * stdio-common/_itowa.c (_itowa): Likewise.
14157 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14158 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14160 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14162 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14163 struct La_sh_regs is not constant.
14164 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14165 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14166 and struct La_sparc64_regs are not constant.
14168 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14170 * sysdeps/unix/sysv/linux/kernel-features.h
14171 (__ASSUME_POSIX_TIMERS): Remove.
14172 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14174 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14175 Make code unconditional.
14176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14177 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14178 Make code unconditional.
14179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14180 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14181 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14183 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14184 Make code unconditional.
14185 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14186 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14187 (__libc_missing_posix_timers): Remove.
14189 2012-08-15 Roland McGrath <roland@hack.frob.com>
14191 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14192 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14194 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14196 * elf/dl-sym.c: Include <stdlib.h>.
14198 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14199 constants, which avoids warnings in 32-bit builds.
14201 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14202 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14204 * misc/lseek.c: File moved to ...
14205 * io/lseek.c: ... here.
14207 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14209 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14210 shifting LEN more than 31 bits at once.
14212 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14215 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14216 segmentation fault for a case of two empty input strings.
14217 * string/test-strncasecmp.c (check1): Renamed to...
14218 (bz12205): ...this.
14219 (bz14195): Add new testcase for two empty input strings and N > 0.
14220 (test_main): Call new testcase, adapt for renamed function.
14222 2012-08-15 Andreas Jaeger <aj@suse.de>
14225 * crypt/md5test2.c: New test, based on test supplied by Serge
14226 Belyshev <belyshev@depni.sinp.msu.ru>.
14227 * crypt/Makefile (xtests): Add md5test-giant..
14228 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14230 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14233 * crypt/md5.c (md5_process_block): Don't assume the buffer
14234 length is less than 2**32.
14235 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14236 length is less than 2**64.
14238 2012-08-15 Roland McGrath <roland@hack.frob.com>
14240 * string/str-two-way.h: Include <sys/param.h>.
14241 (MAX): Macro removed.
14243 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14244 Move #define and #undef of memmove to just before and after
14245 including <string.h>.
14247 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14248 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14249 and after including <string.h>. Move declarations of
14250 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14251 to before #include "string/memmove.c".
14253 * include/dirent.h: Declare __getdirentries.
14255 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14256 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14258 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14260 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14261 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14262 * sysdeps/i386/configure: Regenerated.
14263 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14264 STABS_CURRENT_FILE, and STABS_FUN.
14265 (END): Remove call to STABS_FUN_END.
14266 (STABS_CURRENT_FILE1): Delete.
14267 (STABS_CURRENT_FILE): Likewise.
14268 (STABS_FUN): Likewise.
14269 (STABS_FUN_END): Likewise.
14270 (STABS_FUN2): Likewise.
14271 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14272 * sysdeps/x86_64/configure: Regenerated.
14274 2012-08-14 Roland McGrath <roland@hack.frob.com>
14276 * elf/dl-open.c: Include <atomic.h>.
14277 * elf/dl-lookup.c: Likewise.
14279 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14281 * sysdeps/unix/sysv/linux/kernel-features.h
14282 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14283 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14285 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14287 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14288 condition on __ASSUME_CLONE_THREAD_FLAGS.
14290 2012-08-14 Andreas Jaeger <aj@suse.de>
14292 * sysdeps/i386/fpu/libm-test-ulps: Update.
14294 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14296 * include/atomic.h (atomic_exchange_and_add): Split into ...
14297 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14300 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14304 2012-08-13 Jeff Law <law@redhat.com>
14306 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14307 null byte in the output string.
14309 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14311 * sysdeps/unix/sysv/linux/kernel-features.h
14312 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14313 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14314 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14315 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14316 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14317 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14318 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14320 2012-08-09 Jeff Law <law@redhat.com>
14323 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14324 When avoid_arena is set, don't retry in the that arena. Pick the
14325 next one, whatever it might be.
14326 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14327 (arena_lock): Pass in new parameter to arena_get2.
14328 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14330 (__libc_malloc): Unify retrying after main arena failure with
14331 __libc_memalign version.
14332 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14334 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14337 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14338 to __redirect_strstr.
14339 (__strstr_sse42): Use typeof __redirect_strstr.
14340 (__strstr_ia32): Likewise.
14341 (__libc_strstr): New prototype.
14342 (strstr): Renamed to ...
14343 (__libc_strstr): This.
14344 (strstr): New strong alias of __libc_strstr.
14345 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14346 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14349 (__libc_time): New prototype.
14350 (time_ifunc): Replace time with __libc_time.
14351 (time): New strong alias and hidden definition of __libc_time.
14352 (__GI_time): Remove strong alias.
14353 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14354 Include <stddef.h>.
14355 (memmove): Redefined to __redirect_memmove.
14356 (__memmove_sse2): Use typeof __redirect_memmove.
14357 (__memmove_ssse3): Likewise.
14358 (__memmove_ssse3_back): Likewise.
14359 (__libc_memmove): New prototype.
14360 (memmove): Renamed to ...
14361 (__libc_memmove): This.
14362 (memmove): New strong alias of __libc_memmove.
14364 2012-08-08 Mark Salter <msalter@redhat.com>
14367 (R_MN10300_TLS_GD): Define.
14368 (R_MN10300_TLS_LD): Likewise.
14369 (R_MN10300_TLS_LDO): Likewise.
14370 (R_MN10300_TLS_GOTIE): Likewise.
14371 (R_MN10300_TLS_IE): Likewise.
14372 (R_MN10300_TLS_LE): Likewise.
14373 (R_MN10300_TLS_DTPMOD): Likewise.
14374 (R_MN10300_TLS_DTPOFF): Likewise.
14375 (R_MN10300_TLS_TPOFF): Likewise.
14376 (R_MN10300_SYM_DIFF): Likewise.
14377 (R_MN10300_ALIGN): Likewise.
14378 (R_MN10300_NUM): Update.
14380 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14382 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14385 2012-08-08 Roland McGrath <roland@hack.frob.com>
14387 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14389 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14390 sysdeps/unix -> sysdeps/posix move.
14391 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14393 2012-08-07 Allan McRae <allan@archlinux.org>
14396 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14397 (SUNOS_CPP): Likewise.
14398 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14400 (open_input): Call CPP using execvp.
14402 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14404 * sysdeps/unix/sysv/linux/kernel-features.h
14405 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14406 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14407 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14408 (__ASSUME_WAITID_SYSCALL): Likewise.
14409 * sysdeps/unix/sysv/linux/dl-execstack.c
14410 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14411 code unconditional.
14412 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14414 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14415 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14416 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14418 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14420 [__ASSUME_WAITID_SYSCALL]: Likewise.
14421 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14423 2012-08-07 Roland McGrath <roland@hack.frob.com>
14425 * sysdeps/unix/closedir.c: Renamed to ...
14426 * sysdeps/posix/closedir.c: ... here.
14427 * sysdeps/unix/dirfd.c: Renamed to ...
14428 * sysdeps/posix/dirfd.c: ... here.
14429 * sysdeps/unix/dirstream.h: Renamed to ...
14430 * sysdeps/posix/dirstream.h: ... here.
14431 * sysdeps/unix/fdopendir.c: Renamed to ...
14432 * sysdeps/posix/fdopendir.c: ... here.
14433 * sysdeps/unix/opendir.c: Renamed to ...
14434 * sysdeps/posix/opendir.c: ... here.
14435 * sysdeps/unix/readdir.c: Renamed to ...
14436 * sysdeps/posix/readdir.c: ... here.
14437 * sysdeps/unix/readdir_r.c: Renamed to ...
14438 * sysdeps/posix/readdir_r.c: ... here.
14439 * sysdeps/unix/rewinddir.c: Renamed to ...
14440 * sysdeps/posix/rewinddir.c: ... here.
14441 * sysdeps/unix/seekdir.c: Renamed to ...
14442 * sysdeps/posix/seekdir.c: ... here.
14443 * sysdeps/unix/telldir.c: Renamed to ...
14444 * sysdeps/posix/telldir.c: ... here.
14445 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14446 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14447 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14448 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14450 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14451 * bits/fcntl.h: ... here.
14453 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14455 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14456 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14457 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14458 (struct flock): Move l_start, l_len to the beginning.
14459 Use __pid_t for l_pid.
14460 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14461 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14462 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14463 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14464 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14465 [__USE_LARGEFILE64] (struct flock64): New type.
14466 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14468 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14469 * bits/dirent.h: ... here.
14471 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14472 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14474 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14476 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14477 Change from 2.6.0 to 2.6.16.
14478 * sysdeps/unix/sysv/linux/configure: Regenerated.
14479 * sysdeps/unix/sysv/linux/kernel-features.h
14480 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14481 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14483 (__ASSUME_UTIMES): Likewise.
14484 (__ASSUME_CLONE_STOPPED): Remove.
14485 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14486 architectures, not kernel version.
14487 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14488 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14489 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14490 (__ASSUME_WAITID_SYSCALL): Likewise.
14491 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14492 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14493 * README: State 2.6.16 as minimum Linux kernel version. Do not
14494 refer to older versions.
14496 2012-08-06 Roland McGrath <roland@hack.frob.com>
14498 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14499 Define alphasort64 as an alias.
14500 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14501 Define versionsort64 as an alias.
14502 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14503 Define scandir64 as an alias.
14504 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14505 Define scandirat64 as an alias.
14506 * dirent/alphasort64.c (alphasort64):
14507 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14508 * dirent/versionsort64.c: Likewise.
14509 * dirent/scandir64.c: Likewise.
14510 * dirent/scandirat64.c: Likewise.
14511 * sysdeps/wordsize-64/alphasort.c: File removed.
14512 * sysdeps/wordsize-64/alphasort64.c: File removed.
14513 * sysdeps/wordsize-64/scandir.c: File removed.
14514 * sysdeps/wordsize-64/scandir64.c: File removed.
14515 * sysdeps/wordsize-64/scandirat.c: File removed.
14516 * sysdeps/wordsize-64/scandirat64.c: File removed.
14517 * sysdeps/wordsize-64/versionsort.c: File removed.
14518 * sysdeps/wordsize-64/versionsort64.c: File removed.
14519 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14520 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14521 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14522 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14523 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14524 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14528 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14530 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14532 [defined __arch64__ || defined __sparcv9]
14533 (__INO_T_MATCHES_INO64_T): New macro.
14534 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14535 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14536 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14537 * sysdeps/unix/sysv/linux/bits/dirent.h
14538 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14539 (_DIRENT_MATCHES_DIRENT64): New macro.
14541 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14542 Define lockf64 as an alias.
14543 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14544 Define fseeko64 as an alias.
14545 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14546 Define ftello64 as an alias.
14547 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14548 Define _IO_fgetpos64 and fgetpos64 as aliases.
14549 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14550 Define _IO_fsetpos64 and fsetpos64 as aliases.
14551 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14552 Conditionalize body on this.
14553 * libio/fseeko64.c: Likewise.
14554 * libio/ftello64.c: Likewise.
14555 * libio/iofgetpos64.c: Likewise.
14556 * libio/iofsetpos64.c: Likewise.
14557 * sysdeps/wordsize-64/lockf.c: File removed.
14558 * sysdeps/wordsize-64/lockf64.c: File removed.
14559 * sysdeps/wordsize-64/fseeko.c: File removed.
14560 * sysdeps/wordsize-64/fseeko64.c: File removed.
14561 * sysdeps/wordsize-64/ftello.c: File removed.
14562 * sysdeps/wordsize-64/ftello64.c: File removed.
14563 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14564 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14565 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14566 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14567 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14568 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14569 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14570 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14571 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14572 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14573 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14574 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14575 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14576 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14578 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14580 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14582 [defined __arch64__ || defined __sparcv9]
14583 (__OFF_T_MATCHES_OFF64_T): New macro.
14584 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14585 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14587 (__OFF_T_MATCHES_OFF64_T): New macro.
14589 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14591 * stdlib/secure-getenv.c (__secure_getenv): Replace
14592 GLIBC_2_16 with GLIBC_2_17.
14594 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14596 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14599 2012-08-03 David S. Miller <davem@davemloft.net>
14601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14603 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14607 (__ASSUME_CORRECT_SI_PID): Likewise.
14608 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14609 (__ASSUME_TMPFS_NAME): Likewise.
14610 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14611 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14612 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14613 (HAVE_AUX_SECURE): Make definition unconditional.
14614 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14615 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14617 2012-08-03 Roland McGrath <roland@hack.frob.com>
14619 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14620 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14621 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14622 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14623 __eloop_threshold instead of SYMLOOP_MAX.
14625 * sysdeps/generic/eloop-threshold.h: New file.
14626 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14628 * elf/chroot_canon.c (chroot_canon): Likewise.
14630 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14634 Change to 2.6.0 everywhere.
14635 * sysdeps/unix/sysv/linux/configure: Regenerated.
14636 * sysdeps/unix/sysv/linux/kernel-features.h
14637 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14638 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14640 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14641 (__ASSUME_FUTEX_REQUEUE): Remove.
14642 (__ASSUME_STATFS64): Define unconditionally.
14643 (__ASSUME_AT_SECURE): Likewise.
14644 (__ASSUME_CORRECT_SI_PID): Likewise.
14645 (__ASSUME_TGKILL): Define without depending on kernel version for
14647 (__ASSUME_UTIMES): Likewise.
14648 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14650 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14651 (__ASSUME_TMPFS_NAME): Likewise.
14652 * README: Update reference to Linux kernel versions.
14654 2012-08-02 Marek Polacek <polacek@redhat.com>
14657 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14658 libc_cv_asm_type_prefix with %.
14659 * configure: Regenerated.
14660 * include/libc-symbols.h: Remove comment about
14661 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14662 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14663 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14664 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14665 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14666 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14667 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14668 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14669 * elf/tst-unique2mod1.c: Likewise.
14670 * elf/tst-unique1mod2.c: Likewise.
14671 * elf/tst-unique1mod1.c: Likewise.
14672 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14673 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14674 Replace ASM_TYPE_DIRECTIVE with .type.
14675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14676 * sysdeps/i386/sysdep.h: Likewise.
14677 * sysdeps/x86_64/sysdep.h: Likewise.
14678 * sysdeps/sh/sysdep.h: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14680 Do not define ASM_TYPE_DIRECTIVE.
14681 * sysdeps/powerpc/sysdep.h: Likewise.
14682 * sysdeps/powerpc/powerpc32/sysdep.h:
14683 Replace ASM_TYPE_DIRECTIVE with .type.
14684 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14685 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14686 * sysdeps/i386/fpu/e_powf.S: Likewise.
14687 * sysdeps/i386/fpu/e_expl.S: Likewise.
14688 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14689 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14690 * sysdeps/i386/fpu/e_pow.S: Likewise.
14691 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14692 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14693 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14694 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14695 * sysdeps/i386/fpu/e_log2.S: Likewise.
14696 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14697 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14698 * sysdeps/i386/fpu/e_powl.S: Likewise.
14699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14700 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14701 * sysdeps/i386/fpu/e_logl.S: Likewise.
14702 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14703 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14704 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14705 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14706 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14707 * sysdeps/i386/fpu/e_log.S: Likewise.
14708 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14709 * sysdeps/i386/fpu/e_logf.S: Likewise.
14710 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14711 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14712 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14713 * sysdeps/i386/fpu/e_log10.S: Likewise.
14714 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14716 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14717 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14718 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14719 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14720 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14721 * sysdeps/i386/i686/strtok.S: Likewise.
14722 * sysdeps/i386/i386-mcount.S: Likewise.
14723 * sysdeps/i386/strtok.S: Likewise.
14724 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14725 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14727 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14728 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14729 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14730 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14731 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14732 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14733 * sysdeps/x86_64/_mcount.S: Likewise.
14734 * sysdeps/x86_64/strtok.S: Likewise.
14735 * sysdeps/sh/_mcount.S: Likewise.
14737 2012-08-01 Roland McGrath <roland@hack.frob.com>
14739 * libio/iofopen.c: Include <fcntl.h>.
14740 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14741 (_IO_fopen64, fopen64): Define as aliases.
14742 * libio/iofopen64.c: Include <fcntl.h>.
14743 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14744 Conditionalize body on this.
14745 * sysdeps/wordsize-64/iofopen.c: File removed.
14746 * sysdeps/wordsize-64/iofopen64.c: File removed.
14748 2012-08-01 Marek Polacek <polacek@redhat.com>
14750 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14751 Use dlfcn directly instead of a variable.
14752 (binfmt-subdir): Do not define.
14755 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14757 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14758 Remove all definitions.
14759 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14760 <kernel-features.h>.
14761 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14762 (miss_F_GETOWN_EX): Remove all definitions.
14763 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14765 [!__ASSUME_FCNTL64]: Remove conditional code.
14766 [__ASSUME_FCNTL64]: Make code unconditional.
14767 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14768 <kernel-features.h>.
14769 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14770 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14771 (lockf64) [__NR_fcntl64]: Make code unconditional.
14772 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14774 * sysdeps/unix/sysv/linux/kernel-features.h
14775 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14776 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14777 Make code unconditional.
14778 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14779 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14781 [__NR_vfork]: Make code unconditional.
14782 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14783 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14785 [__NR_vfork]: Make code unconditional.
14786 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14787 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14789 2012-08-01 Roland McGrath <roland@hack.frob.com>
14791 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14792 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14794 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14795 Define mkstemp64 as an alias.
14796 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14797 Define mkstemps64 as an alias.
14798 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14799 Define mkostemp64 as an alias.
14800 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14801 Define mkostemps64 as an alias.
14802 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14803 Conditionalize body on this.
14804 * misc/mkostemp64.c: Likewise.
14805 * misc/mkostemps64.c: Likewise.
14806 * misc/mkstemps64.c: Likewise.
14807 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14808 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14809 * sysdeps/wordsize-64/mkostemp.c: File removed.
14810 * sysdeps/wordsize-64/mkstemp.c: File removed.
14811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14812 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14813 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14814 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14817 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14818 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14819 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14820 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14822 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14823 compat_symbol macros from <shlib-compat.h> rather than the underlying
14824 default_symbol_version and symbol_version macros, so that DEFAULT
14825 lines in shlib-versions are respected.
14826 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14828 2012-08-01 Florian Weimer <fweimer@redhat.com>
14830 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14831 Declare with warn_unused_result.
14832 (setgid, setregid, setegid, setresgid): Likewise.
14833 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14835 * WUR-REPORT: Remove set*id functions.
14837 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14839 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14841 2012-07-31 Roland McGrath <roland@hack.frob.com>
14844 * include/sys/socket.h (__libc_accept, __libc_accept4):
14845 Add attribute_hidden.
14846 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14848 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14850 * inet/getnetgrent_r.c (setup): Likewise.
14852 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14854 2012-07-31 David S. Miller <davem@davemloft.net>
14856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14858 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14861 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14862 value between 1.0 and 2.0 and smaller part has absolute value less
14864 * math/s_clog10.c (__clog10): Likewise.
14865 * math/s_clog10f.c (__clog10f): Likewise.
14866 * math/s_clog10l.c (__clog10l): Likewise.
14867 * math/s_clogf.c (__clogf): Likewise.
14868 * math/s_clogl.c (__clogl): Likewise.
14869 * math/libm-test.inc (clog_test): Add more tests.
14870 (clog10_test): Likewise.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874 2012-07-31 Florian Weimer <fweimer@redhat.com>
14876 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14877 Exit with zero in case no suitable GID is found, and write a
14878 message to standard error.
14880 2012-07-30 Roland McGrath <roland@hack.frob.com>
14882 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14884 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14885 (MAXPATHLEN): Removed.
14886 (NOGROUP, NODEV): New macros.
14887 (setbit, clrbit, isset, isclr): New macros.
14888 (howmany, roundup, powerof2): New macros.
14889 (DEV_BSIZE): New macro.
14891 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14892 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14894 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14895 definition on [!__NO_LONG_DOUBLE_MATH].
14897 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14898 PTR_MANGLE and PTR_DEMANGLE.
14900 * socket/accept4.c (accept4): Rename to __libc_accept4.
14901 Define accept4 as a weak alias.
14903 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14904 on [_DIRENT_HAVE_D_TYPE].
14905 * io/ftw.c (ftw_dir): Likewise.
14907 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14909 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14911 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14912 Use the BSD numbers rather than the arbitrary ones we had.
14913 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14914 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14915 (SIGXCPU, SIGXFSZ): New macros.
14918 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14919 initializer on [_LIBC_REENTRANT].
14921 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14922 definitions inside [_POSIX_MAPPED_FILES].
14924 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14926 * dirent/opendir.c: Include <fcntl.h>.
14928 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14929 (__libc_getspecific): Likewise.
14930 (__libc_key_create): Likewise.
14932 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14933 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14934 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14935 (tmpfile64): Define as alias.
14936 * sysdeps/wordsize-64/tmpfile.c: File removed.
14937 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14938 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14939 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14941 * stdio-common/vfscanf.c: Include <stdbool.h>.
14942 * nss/makedb.c: Likewise.
14943 * stdio-common/_i18n_number.h: Likewise.
14944 * argp/argp-help.c: Likewise.
14945 * posix/wordexp.c: Likewise.
14946 * sysdeps/posix/spawni.c: Likewise.
14947 * nss/nss_files/files-initgroups.c: Likewise.
14948 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14949 * nss/nss_files/files-initgroups.c: Likewise.
14950 * nss/nss_db/db-netgrp.c: Likewise.
14951 * nss/nss_db/db-initgroups.c: Likewise.
14952 * io/fchmodat.c: Include <sys/stat.h>.
14954 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14955 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14957 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14960 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14961 Add multiple inclusion protection.
14963 2012-07-27 David S. Miller <davem@davemloft.net>
14965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14967 2012-07-27 Gary Benson <gbenson@redhat.com>
14970 * elf/rtld.c: Include <stap-probe.h>.
14971 (dl_main): Added static probes "init_start" and "init_complete".
14972 * elf/dl-load.c: Include <stap-probe.h>.
14973 (lose): Take new parameter "nsid".
14974 Added static probe "map_failed".
14975 (_dl_map_object_from_fd): Pass namespace id to lose.
14976 Added static probe "map_start".
14977 (open_verify): Pass namespace id to lose.
14978 * elf/dl-open.c: Include <stap-probe.h>.
14979 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14980 and "reloc_complete".
14981 * elf/dl-close.c: Include <stap-probe.h>.
14982 (_dl_close_worker): Added static probes "unmap_start" and
14984 * elf/rtld-debugger-interface.txt: New file documenting the above.
14986 2012-07-26 Roland McGrath <roland@hack.frob.com>
14988 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14989 rather than a string variable.
14990 * sunrpc/rpc_main.c (h_output): Likewise.
14991 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14993 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14995 * inet/check_native.c: New file.
14997 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15000 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15001 if larger part has absolute value 1.0.
15002 * math/s_clog10.c (__clog10): Likewise.
15003 * math/s_clog10f.c (__clog10f): Likewise.
15004 * math/s_clog10l.c (__clog10l): Likewise.
15005 * math/s_clogf.c (__clogf): Likewise.
15006 * math/s_clogl.c (__clogl): Likewise.
15007 * math/libm-test.inc (clog_test): Add more tests.
15008 (clog10_test): Likewise.
15009 * sysdeps/i386/fpu/libm-test-ulps: Update.
15010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15013 (pltexit): Likewise.
15014 (La_regs): Likewise.
15015 (La_retval): Likewise.
15016 (int_retval): Likewise.
15017 Update #error for removed macros to refer only to definitions in
15019 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15021 (pltexit): Likewise.
15022 (La_regs): Likewise.
15023 (La_retval): Likewise.
15024 (int_retval): Likewise.
15025 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15027 (pltexit): Likewise.
15028 (La_regs): Likewise.
15029 (La_retval): Likewise.
15030 (int_retval): Likewise.
15031 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15033 (pltexit): Likewise.
15034 (La_regs): Likewise.
15035 (La_retval): Likewise.
15036 (int_retval): Likewise.
15037 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15039 (pltexit): Likewise.
15040 (La_regs): Likewise.
15041 (La_retval): Likewise.
15042 (int_retval): Likewise.
15043 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15045 (pltexit): Likewise.
15046 (La_regs): Likewise.
15047 (La_retval): Likewise.
15048 (int_retval): Likewise.
15049 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15051 (pltexit): Likewise.
15052 (La_regs): Likewise.
15053 (La_retval): Likewise.
15054 (int_retval): Likewise.
15055 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15056 macro definitions in tst-audit.h.
15057 * sysdeps/i386/tst-audit.h: New file.
15058 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15059 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15060 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15061 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15062 * sysdeps/sh/tst-audit.h: Likewise.
15063 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15064 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15065 * sysdeps/x86_64/tst-audit.h: Likewise.
15067 2012-07-26 Andreas Jaeger <aj@suse.de>
15069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15072 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15073 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15074 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15076 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15077 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15078 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15080 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15083 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15085 (si_call_addr, si_syscall, si_arch): Define new macro.
15086 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15088 (si_call_addr, si_syscall, si_arch): Define new marcro.
15089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15091 (si_call_addr, si_syscall, si_arch): Define new macro.
15092 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15094 (si_call_addr, si_syscall, si_arch): Define new macro.
15096 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15100 Change to 2.4.21 where previously 2.4.1.
15101 * sysdeps/unix/sysv/linux/configure: Regenerated.
15102 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15103 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15104 Linux kernel version.
15105 (__ASSUME_STD_AUXV): Remove.
15106 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15108 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15109 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15110 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15111 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15112 (__ASSUME_NETLINK_SUPPORT): Likewise.
15113 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15114 (__no_netlink_support): Remove conditional definition.
15115 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15117 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15118 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15119 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15120 (if_nameindex_ioctl): Remove.
15121 (if_nameindex_netlink): Do not handle __no_netlink_support.
15122 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15124 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15125 Remove conditional code.
15126 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15128 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15130 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15131 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15132 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15134 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15135 [!__ASSUME_STD_AUXV]: Remove conditional code.
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15137 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15138 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15140 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15143 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15145 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15146 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15148 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15150 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15153 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15156 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15157 code unconditional.
15158 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15160 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15162 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15165 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15167 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15170 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15171 code unconditional.
15172 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15174 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15176 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15179 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15180 code unconditional.
15181 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15183 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15185 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15188 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15190 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15191 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15192 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15193 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15194 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15195 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15196 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15197 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15198 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15199 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15200 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15201 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15202 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15203 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15204 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15205 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15208 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15210 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15211 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15212 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15214 2012-07-25 Florian Weimer <fweimer@redhat.com>
15216 * Versions.def: Add GLIBC_2.17.
15217 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15218 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15219 Introduce __libc_secure_getenv.
15220 * stdlib/Versions (2.17): Add secure_getenv
15221 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15222 * stdlib/secure-getenv.c: Rename __secure_getenv to
15223 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15224 symbol __secure_getenv for GLIBC_2.0.
15225 * stdlib/tst-secure-getenv.c: New.
15226 * stdlib/Makefile (tests): Add testcase.
15227 * manual/startup.texi (Environment Access): Document
15229 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15230 __libc_secure_getenv.
15231 * inet/ruserpass.c (ruserpass): Likewise.
15232 * malloc/mtrace.c (mtrace): Likewise.
15233 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15234 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15235 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15236 * sysdeps/posix/tempname.c: Likewise. Evaluate
15237 HAVE_SECURE_GETENV.
15238 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15239 __secure_getenv to __libc_secure_getenv.
15240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15253 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15255 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15256 (struct La_i86_retval): Likewise.
15257 (struct La_x86_64_regs): Likewise.
15258 (struct La_x86_64_retval): Likewise.
15259 (struct La_x32_regs): Likewise.
15260 (struct La_x32_retval): Likewise.
15261 (struct La_ppc32_regs): Likewise.
15262 (struct La_ppc32_retval): Likewise.
15263 (struct La_ppc64_regs): Likewise.
15264 (struct La_ppc64_retval): Likewise.
15265 (struct La_sh_regs): Likewise.
15266 (struct La_sh_retval): Likewise.
15267 (struct La_s390_32_regs): Likewise.
15268 (struct La_s390_32_retval): Likewise.
15269 (struct La_s390_64_regs): Likewise.
15270 (struct La_s390_64_retval): Likewise.
15271 (struct La_sparc32_regs): Likewise.
15272 (struct La_sparc32_retval): Likewise.
15273 (struct La_sparc64_regs): Likewise.
15274 (struct La_sparc64_retval): Likewise.
15275 (struct audit_ifaces): Remove architecture-specific pltenter and
15277 * sysdeps/i386/ldsodefs.h: New file.
15278 * sysdeps/powerpc/ldsodefs.h: Likewise.
15279 * sysdeps/s390/ldsodefs.h: Likewise.
15280 * sysdeps/sh/ldsodefs.h: Likewise.
15281 * sysdeps/sparc/ldsodefs.h: Likewise.
15282 * sysdeps/x86_64/ldsodefs.h: Likewise.
15284 2012-07-25 Marek Polacek <polacek@redhat.com>
15287 * math/libm-test.inc (yn_test): Add another test.
15288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15289 to ERANGE when the result is +-Inf.
15290 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15291 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15292 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15293 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15295 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15297 * conform/data/time.h-data (NULL): Use macro-constant. Require
15299 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15301 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15303 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15305 * configure.in <sysdeps resolving>: Correct printing
15307 * configure: Regenerate.
15309 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15311 * math/w_ilogb.c: Include <limits.h>.
15312 * math/w_ilogbl.c: Likewise.
15314 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15316 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15317 va_copy. Document allowing for unavailable va_copy only as
15318 pre-C99 compatibility.
15319 * manual/string.texi (Copying and Concatenation): Use va_copy
15320 instead of __va_copy in concat example.
15322 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15324 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15325 (__sendto): Use create_address_port. Initialize APORT and deallocate
15328 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15329 with O_NOLINK passed to __file_name_lookup.
15331 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15332 with O_NOLINK passed to __file_name_lookup.
15334 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15335 negative N or less than NGIDS.
15337 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15338 type to string_t. Set ERANGE as errno and return it if NAME is not big
15339 enough. Use memcpy instead of strncpy.
15341 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15343 * elf/Makefile (check-data): Remove.
15344 (localplt.data): New vpath directive.
15345 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15346 instead of $(check-data).
15347 * scripts/data/localplt-generic.data: Move to ...
15348 * sysdeps/generic/localplt.data: ... here.
15349 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15350 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15351 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15354 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15357 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15360 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15363 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15366 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15370 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15372 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15373 PPC32 and PPC64 files.
15374 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15375 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15377 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15379 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15380 __makecontext_ret to ...
15381 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15382 ... here and call exit if uc_link is NULL. New file.
15383 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15384 __makecontext_ret.S.
15385 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15386 __makecontext_ret to ...
15387 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15388 ... here and call exit if uc_link is NULL. New file.
15389 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15390 __makecontext_ret.S.
15392 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15394 * elf/elf.h (R_390_IRELATIVE): New definition.
15395 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15396 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15397 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15399 (elf_machine_lazy_rel): Likewise.
15400 * sysdeps/s390/dl-irel.h: New file.
15401 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15402 * sysdeps/s390/s390-64/memset.S: New asm code.
15403 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15404 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15405 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15406 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15407 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15408 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15409 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15410 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15411 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15412 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15413 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15414 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15415 * sysdeps/s390/s390-32/memset.S: New asm code.
15416 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15418 2012-07-17 Marek Polacek <polacek@redhat.com>
15421 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15422 * sysdeps/s390/s390-64/configure.in: Likewise.
15423 * sysdeps/sparc/configure.in: Likewise.
15424 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15425 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15426 * sysdeps/i386/configure.in: Likewise.
15427 * sysdeps/x86_64/configure.in: Likewise.
15428 * sysdeps/sh/configure.in: Likewise.
15429 * sysdeps/s390/s390-32/configure: Regenerated.
15430 * sysdeps/s390/s390-64/configure: Likewise.
15431 * sysdeps/x86_64/configure: Likewise.
15432 * sysdeps/sh/configure: Likewise.
15433 * sysdeps/powerpc/powerpc64/configure: Likewise.
15434 * sysdeps/powerpc/powerpc32/configure: Likewise.
15435 * sysdeps/sparc/configure: Likwise.
15436 * sysdeps/i386/configure: Likewise.
15438 * elf/dl-open.c: Comment fixes.
15440 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15442 * Makefile [CXX] (check-data): Remove.
15443 [CXX] (c++-types.data): New vpath directive.
15444 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15445 vpath. Do not allow for C++ type data being missing.
15446 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15447 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15448 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15449 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15450 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15451 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15452 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15455 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15458 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15461 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15464 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15467 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15470 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15473 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15476 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15477 definitions to architecture-specific files.
15478 (TLS_IE): Likewise.
15479 (TLS_LD): Likewise.
15480 (TLS_GD): Likewise.
15481 * sysdeps/i386/tls-macros.h: New file.
15482 * sysdeps/powerpc/tls-macros.h: Likewise.
15483 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15484 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15485 * sysdeps/sh/tls-macros.h: Likewise.
15486 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15487 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15488 * sysdeps/x86_64/tls-macros.h: Likewise.
15490 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15493 zero value for regular exit case.
15495 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15496 (__start_context): Preserve zero value for regular exit case.
15498 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15499 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15501 * manual/setjmp.texi (setcontext): Clarify normal process
15502 termination when uc_link is the null pointer.
15503 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15506 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15508 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15509 preprocessor. Test for each exception mask separately.
15511 2012-07-16 Andreas Jaeger <aj@suse.de>
15513 * po/ru.po: Update from translation team.
15515 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15517 * conform/data/string.h-data (NULL): Use macro-constant. Require
15519 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15520 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15521 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15522 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15525 2012-07-13 Andreas Jaeger <aj@suse.de>
15527 * po/fr.po: Update from translation team.
15529 2012-07-12 Marek Polacek <polacek@redhat.com>
15532 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15536 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15540 Change to 2.4.1 where previously 2.4.0.
15541 * sysdeps/unix/sysv/linux/configure: Regenerated.
15542 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15543 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15545 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15546 (__ASSUME_AT_CLKTCK): Remove.
15547 (__ASSUME_AT_PAGESIZE): Likewise.
15548 (__ASSUME_AT_XID): Likewise.
15549 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15550 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15551 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15553 (HAVE_AUX_PAGESIZE): Likewise.
15554 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15555 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15556 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15558 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15562 the temporary buffer used to invoke __gethostbyname2_r,
15563 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15564 host_data / struct gaih_addrtuple.
15565 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15566 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15567 header file nss/nsswitch.h.
15568 * nss/nsswitch.h (global scope): Add definition of implementation
15569 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15570 resolv/nss_dns/dns-host.c).
15572 2012-07-11 Andreas Jaeger <aj@suse.de>
15574 * po/fr.po: Update from translation team.
15576 * po/sv.po: Update from translation team
15577 * po/fr.po: Another update from translation team.
15579 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15582 for subnormals or multiply small sinh result by itself.
15583 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15586 2012-07-11 David S. Miller <davem@davemloft.net>
15588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15590 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15593 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15594 (INTERNAL_MARK): Shift it here.
15596 2012-07-10 Marek Polacek <polacek@redhat.com>
15599 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15600 libc_cv_asm_global_directive with .globl.
15601 * configure: Regenerated.
15602 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15604 * sysdeps/i386/configure: Regenerated.
15605 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15607 * sysdeps/x86_64/configure: Regenerated.
15608 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15609 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15610 * elf/tst-unique2mod2.c: Likewise.
15611 * elf/tst-unique2mod1.c: Likewise.
15612 * elf/tst-unique1mod2.c: Likewise.
15613 * elf/tst-unique1mod1.c: Likewise.
15614 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15615 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15616 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15617 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15618 * sysdeps/mach/sysdep.h: Likewise.
15619 * sysdeps/i386/sysdep.h: Likewise.
15620 * sysdeps/i386/i386-mcount.S: Likewise.
15621 * sysdeps/x86_64/_mcount.S: Likewise.
15622 * sysdeps/x86_64/sysdep.h: Likewise.
15623 * sysdeps/sh/_mcount.S: Likewise.
15624 * sysdeps/sh/sysdep.h: Likewise.
15625 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15626 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15627 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15628 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15629 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15630 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15631 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15632 * locale/localeinfo.h: Likewise.
15633 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15634 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15636 2012-07-09 Roland McGrath <roland@hack.frob.com>
15639 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15641 * manual/message.texi (The Uniforum approach): Likewise.
15642 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15643 (glibc iconv Implementation): Likewise.
15645 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15648 * math/s_clog.c (__clog): Avoid scaling a value down where that
15649 could result in underflow.
15650 * math/s_clog10.c (__clog10): Likewise.
15651 * math/s_clog10f.c (__clog10f): Likewise.
15652 * math/s_clog10l.c (__clog10l): Likewise.
15653 * math/s_clogf.c (__clogf): Likewise.
15654 * math/s_clogl.c (__clogl): Likewise.
15655 * math/libm-test.inc (clog_test): Add more tests.
15656 (clog10_test): Likewise.
15657 * sysdeps/i386/fpu/libm-test-ulps: Update.
15658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15660 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15663 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15664 by 7 not 8 to examine high bit of fractional part.
15667 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15668 for call to __mcount_internal.
15669 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15670 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15671 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15673 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15676 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15677 approximation for values within 0x1p-13f of an odd multiple of
15679 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15680 exception. Add more tests.
15681 * sysdeps/i386/fpu/libm-test-ulps: Update.
15684 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15685 inputs and return -1 for them. Do not check for +Inf in case not
15686 reachable for +Inf.
15687 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15688 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15689 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15690 and return -1 for them. Do not check for +Inf in case not
15691 reachable for +Inf.
15692 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15694 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15695 and return -1 for them. Do not check for +Inf in case not
15696 reachable for +Inf.
15697 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15698 spurious underflow.
15699 * sysdeps/i386/fpu/libm-test-ulps: Update.
15700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15702 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15704 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15706 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15710 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15711 could result in spurious underflow. Scale down values above
15712 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15713 * math/s_csqrtf.c (__csqrtf): Likewise.
15714 * math/s_csqrtl.c (__csqrtl): Likewise.
15715 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15716 spurious underflow.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15720 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15722 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15724 * catgets/xopen-msg.awk: New file.
15725 * catgets/xopen-msg.sed: Removed.
15727 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15729 * intl/po2test.awk: New file.
15730 * intl/po2test.sed: Removed.
15732 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15735 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15736 or multiply small sinh result by itself.
15737 * math/s_ctanf.c (__ctanf): Likewise.
15738 * math/s_ctanh.c (__ctanh): Likewise.
15739 * math/s_ctanhf.c (__ctanhf): Likewise.
15740 * math/s_ctanhl.c (__ctanhl): Likewise.
15741 * math/s_ctanl.c (__ctanl): Likewise.
15742 * math/libm-test.inc (ctan_test_tonearest): New function.
15743 (ctan_test_towardzero): Likewise.
15744 (ctan_test_downward): Likewise.
15745 (ctan_test_upward): Likewise.
15746 (ctanh_test_tonearest): Likewise.
15747 (ctanh_test_towardzero): Likewise.
15748 (ctanh_test_downward): Likewise.
15749 (ctanh_test_upward): Likewise.
15750 (main): Call these new functions.
15751 * sysdeps/i386/fpu/libm-test-ulps: Update.
15752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15754 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15756 * .gitignore: Delete /ports entry.
15758 2012-07-03 Andreas Jaeger <aj@suse.de>
15760 * po/bg.po: Update from translation team.
15761 * po/cs.po: Likewise.
15762 * po/de.po: Likewise.
15763 * po/hr.po: Likewise.
15764 * po/nl.pl: Likewise.
15765 * po/pl.po: Likewise.
15766 * po/vi.po: Likewise.
15768 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15770 * Makeconfig [!+link] (+link-before-libc): New variable.
15771 [!+link] (+link-after-libc): Likewise.
15772 [!+link] (+link-tests): Likewise.
15773 [!+link] (+link): Define in terms of $(+link-before-libc) and
15774 $(+link-after-libc).
15775 [!+link-static] (+link-static-before-libc): New variable.
15776 [!+link-static] (+link-static-after-libc): Likewise.
15777 [!+link-static] (+link-static-tests): Likewise.
15778 [!+link-static] (+link-static): Define in terms of
15779 $(+link-static-before-libc) and $(+link-static-after-libc).
15780 [build-shared] (link-libc-before-gnulib): New variable.
15781 [build-shared] (link-libc-tests): Likewise.
15782 [build-shared] (link-libc): Define in terms of
15783 $(link-libc-before-gnulib).
15784 [!build-shared] (link-libc-tests): New variable.
15785 (link-libc-static-tests): New variable.
15786 [!gnulib] (gnulib-arch): New variable.
15787 [!gnulib] (gnulib-tests): Likewise.
15788 [!gnulib] (static-gnulib-arch): Likewise.
15789 [!gnulib] (static-gnulib-tests): Likewise.
15790 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15791 Define with "=" instead of ":=".
15792 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15793 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15794 * Rules (binaries-all-notests): New variable.
15795 (binaries-all-tests): Likewise.
15796 (binaries-static-notests): Likewise.
15797 (binaries-static-tests): Likewise.
15798 (binaries-all): Define using $(binaries-all-notests) and
15799 $(binaries-all-tests).
15800 (binaries-static): Define using $(binaries-static-notests) and
15801 $(binaries-static-tests).
15802 (binaries-shared-tests): New variable.
15803 (binaries-shared-notests): Likewise.
15804 (binaries-shared): Remove variable.
15805 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15806 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15807 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15808 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15809 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15810 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15811 * elf/Makefile (sln-modules): New variable.
15812 (extra-objs): Add $(sln-modules:=.o).
15813 (ldconfig-modules): Add static-stubs.
15814 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15815 * elf/static-stubs.c: New file.
15818 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15819 by 7 not 8 to examine high bit of fractional part. Use volatile
15820 variables when splitting into final array of floats if
15821 __FLT_EVAL_METHOD__ != 0.
15822 * math/libm-test.inc (cos_test): Add another test.
15823 (sin_test): Likewise.
15824 * sysdeps/i386/fpu/libm-test-ulps: Update.
15827 * math/libm-test.inc (cosh_test): Add more tests.
15829 * version.h (RELEASE): Set to "development".
15830 (VERSION): Set to "2.16.90".
15832 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15834 * NEWS: Update copyright. Remove last-updated date.
15835 Mention math library bug fixes and timezone data changes.
15836 * README: Mention GNU/Hurd, x32, and HPPA support status.
15838 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15840 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15842 2012-06-27 Andreas Jaeger <aj@suse.de>
15844 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15846 2012-06-25 Andreas Jaeger <aj@suse.de>
15848 * sysdeps/s390/fpu/libm-test-ulps: Update.
15850 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15851 Thomas Schwinge <thomas@codesourcery.com>
15853 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15854 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15858 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15860 * sysdeps/mach/start.c: Remove file.
15861 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15862 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15863 * sysdeps/sh/init-first.c: Likewise.
15865 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15866 registers for frame unwinding purposes, add CFI directives.
15867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15868 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15869 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15872 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15873 __fortify_fail returning.
15874 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15876 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15877 sysdeps/sh/____longjmp_chk.S.
15878 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15879 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15880 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15881 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15883 * sysdeps/sh/abort-instr.h: New file.
15884 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15885 process in case exit returns.
15887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15888 initialize the GOT register before use.
15890 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15891 calculation of ARGC > 4.
15893 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15894 meaningful names to some local labels.
15896 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15897 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15899 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15900 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15901 (__arch_compare_and_exchange_val_16_acq): Likewise.
15902 (__arch_compare_and_exchange_val_32_acq): Likewise.
15903 (atomic_exchange_and_add): Fix gUSA sequence.
15904 (atomic_add): Likewise.
15905 (atomic_add_negative): Likewise.
15906 (atomic_add_zero): Likewise.
15907 (atomic_bit_test_set): Likewise.
15909 2012-06-22 Andreas Schwab <schwab@redhat.com>
15912 * include/link.h (struct link_map): Add l_free_initfini.
15913 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15915 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15916 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15917 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15920 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15922 * configure.in: Use AC_LANG_SOURCE.
15923 * configure: Regenerate.
15925 2012-06-22 Roland McGrath <roland@hack.frob.com>
15927 * configure.in (libc_cv_localstatedir): New substituted variable.
15928 * configure: Regenerated.
15929 * config.make.in (localstatedir): New variable, substituted from
15930 libc_cv_localstatedir.
15931 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15932 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15933 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15934 * sysdeps/gnu/configure: Regenerated.
15936 2012-06-21 Jeff Law <law@redhat.com>
15939 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15940 free. Simplify list management for _LIBC case.
15942 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15945 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15946 Clear sign bit of 64-bit integer value before comparing against
15949 * sysdeps/mach/configure: Regenerated.
15951 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15954 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15956 2012-06-21 Jeff Law <law@redhat.com>
15959 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15960 uint16_t for elements in the "seen" array to avoid char overflows.
15961 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15962 * elf/dl-open.c (dl_open_worker): Likewise.
15964 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15966 * scripts/list-sources.sh: Scan PORTS for translations.
15967 * po/libc.pot: Regenerated.
15969 2012-06-21 Andreas Jaeger <aj@suse.de>
15972 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15974 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15975 * bits/byteswap-16.h (__bswap_16): Likewise.
15976 * bits/byteswap.h (__bswap_constant_16): Likewise.
15978 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15981 * sysdeps/i386/fpu_control.h: Removed.
15982 * sysdeps/x86_64/fpu_control.h: Moved to ...
15983 * sysdeps/x86/fpu_control.h: Here.
15985 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15986 (_FPU_SETCW): Likewise.
15988 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15991 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15992 * sysdeps/x86/fpu/bits/mathinline.h: This.
15993 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15997 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15998 functions if __x86_64__ is defined.
16000 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16002 * string/endian.h: Add !__ASSEMBLER__ condition for including
16003 conversion interfaces.
16005 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16009 of ABS(x) in calculating zero to negative powers other than odd
16011 * math/libm-test.inc (pow_test): Add more tests.
16013 2012-06-15 Andreas Jaeger <aj@suse.de>
16015 * manual/contrib.texi (Contributors): Update entry of Liubov
16016 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16019 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16021 * string/string.h: Add __wur to GNU version of strerror_r.
16023 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16026 * string/Makefile (tests): Add tst-strtok_r.
16027 * string/tst-strtok_r.c: New file.
16028 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16029 RAX_LP/RDX_LP on SAVE_PTR.
16031 2012-06-14 Roland McGrath <roland@hack.frob.com>
16033 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16035 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16037 * libm_test.inc (csqrt_test): Allow more spurious underflow
16039 (j0_test): Likewise.
16040 (j1_test): Likewise.
16041 (y0_test): Likewise.
16042 (y1_test): Likewise.
16044 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16046 * po/Makefile (libc.pot): Use UTF-8 charset.
16048 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16051 Suppress sign-conversion warning from FD_SET.
16052 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16053 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16054 not unsigned long int.
16055 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16057 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16061 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16062 __extern_always_inline instead of __extern_inline.
16063 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16064 (__signbit): Likewise.
16065 (__signbitl): Support C++ namespace.
16066 (lrintf): New inline function.
16068 (llrintf): Likewise.
16069 (llrint): Likewise.
16079 (floorf): Likewise.
16080 (nearbyint): Likewise.
16081 (nearbyintf): Likewise.
16083 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16086 non-default versions.
16088 2012-06-11 Roland McGrath <roland@hack.frob.com>
16091 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16093 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16095 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16096 (FE_UPWARD, FE_DOWNWARD): Don't define.
16097 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16100 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16102 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16103 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16105 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16107 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16109 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16110 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16112 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16115 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16116 * sysdeps/i386/fpu/Implies: New file.
16117 * sysdeps/x86_64/fpu/Implies: Likewise.
16118 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16119 * sysdeps/x86/fpu/bits/fenv.h: This.
16121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16124 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16127 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16128 character 0xffff that matches the last element of the
16131 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16136 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16139 values higher than 25.6283.
16141 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16143 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16144 subnormal exponent extraction and add some __builtin_expect.
16145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16146 Fix for subnormal mantissa calculation.
16148 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16150 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16151 cpu2 is -1 and errno is not ENOSYS.
16153 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16156 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16157 * sysdeps/x86/bits/string.h: This.
16158 * sysdeps/x86_64/bits/string.h: Removed.
16160 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16161 if not compiling for x86-64, but compiling for >= i486.
16163 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16164 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16166 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16167 New macro from Linux kernel 3.4.0.
16168 (FP_XSTATE_MAGIC2): Likewise.
16169 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16170 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16171 (struct _fpx_sw_bytes): New struct.
16172 (struct _xsave_hdr): Likewise.
16173 (struct _ymmh_state): Likewise.
16174 (struct _xstate): Likewise.
16176 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16177 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16178 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16179 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16180 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16181 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16183 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16184 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16185 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16186 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16187 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16188 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16190 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16193 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16194 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16195 (sysdep_headers): Include sys/platform/ppc.h.
16196 * sysdeps/powerpc/test-gettimebase.c: Test for
16197 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16198 * manual/Makefile (appendices): Include platform.texi.
16199 * manual/contrib.texi (Contributors): Update @node pointers.
16200 * manual/maint.texi (Maintenance): Likewise.
16201 (Platform): New node.
16202 * manual/platform.texi: New file. Document the new features.
16204 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16205 Jakub Jelinek <jakub@redhat.com>
16208 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16209 where __builtin_expect is unavailable.
16211 2012-06-03 David S. Miller <davem@davemloft.net>
16213 * stdlib/longlong.h: Updated from GCC.
16215 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16218 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16219 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16222 (GLIBC_2.16): Likewise.
16224 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16226 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16228 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16231 (default-abi): New variable.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16233 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16235 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16237 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16239 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16242 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16243 definition. Document in comment.
16245 2012-06-01 David S. Miller <davem@davemloft.net>
16247 * stdlib/longlong.h: Updated from GCC.
16249 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16252 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16253 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16254 sys/debugreg.h sys/io.h here.
16255 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16256 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16258 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16259 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16260 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16261 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16262 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16263 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16265 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16266 Define only if __x86_64__ is defined.
16268 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16271 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16272 Use int64_t for variable i.
16273 * math/libm-test.inc (fmod_test): Add more tests.
16275 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16276 z computation is not scheduled after fetestexcept.
16277 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16278 Use math_force_eval instead of asm to ensure calculation scheduled
16279 before exception test.
16280 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16281 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16283 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16286 computation is not scheduled after fetestexcept.
16288 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16291 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16294 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16296 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16297 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16299 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16302 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16304 (__WCHAR_MIN): Support __WORDSIZE == 64.
16305 (__WCHAR_MAX): Likewise.
16307 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16312 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16315 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16316 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16318 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16319 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16321 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16322 Defined to 1 if __x86_64__ isn't defined.
16323 (_STAT_VER_LINUX_OLD): New.
16324 (st_atime): Remove duplicate.
16325 (st_mtime): Likewise.
16326 (st_ctime): Likewise.
16328 2012-05-31 David S. Miller <davem@davemloft.net>
16330 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16333 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16335 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16339 * elf/dl-reloc.c: Include <_itoa.h>.
16340 (_dl_reloc_bad_type): Remove use of INTUSE.
16341 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16342 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16343 * stdio-common/psiginfo.c (psiginfo): Likewise.
16344 * stdio-common/psignal.c (psignal): Likewise.
16345 * string/strsignal.c (strsignal): Likewise.
16346 * include/signal.h (_sys_siglist): Declare hidden proto.
16347 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16348 INTVARDEF with libc_hidden_data_def.
16349 * stdio-common/itoa-udigits.c: Likewise.
16350 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16351 (_itoa_lower_digits_internal): Remove declaration.
16352 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16353 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16354 (_sys_sigabbrev_internal): Remove aliases.
16355 (_sys_siglist): Define hidden alias.
16357 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16362 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16365 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16366 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16368 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16369 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16370 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16371 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16373 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16375 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16376 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16377 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16379 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16387 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16388 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16389 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16391 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16392 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16393 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16394 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16395 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16396 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16398 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16399 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16402 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16404 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16406 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16408 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16409 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16411 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16413 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16414 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16415 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16417 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16419 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16421 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16423 * math/math.h (M_El): Use two more decimal places.
16424 (M_LOG2El): Likewise.
16425 (M_LOG10El): Likewise.
16426 (M_LN2l): Likewise.
16427 (M_LN10l): Likewise.
16429 (M_PI_2l): Likewise.
16430 (M_PI_4l): Likewise.
16431 (M_1_PIl): Likewise.
16432 (M_2_PIl): Likewise.
16433 (M_2_SQRTPIl): Likewise.
16434 (M_SQRT2l): Likewise.
16435 (M_SQRT1_2l): Likewise.
16437 2012-05-31 David S. Miller <davem@davemloft.net>
16439 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16440 values between float registers.
16441 * sysdeps/sparc/sparc64/memset.S: Likewise.
16442 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16444 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16446 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16447 -D_FORTIFY_SOURCE=1.
16448 (CPPFLAGS-tst-longjmp_chk.c): Define.
16449 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16450 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16451 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16452 CFLAGS-tst-wchar-h.c.
16454 2012-05-31 Marek Polacek <polacek@redhat.com>
16457 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16458 __endmntent_internal): Remove declaration.
16459 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16460 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16461 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16463 2012-05-30 David S. Miller <davem@davemloft.net>
16465 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16466 (___Q_simulate_exceptions): Use real FP ops rather than writing
16468 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16471 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16474 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16475 * sysdeps/x86/bits/xtitypes.h: This.
16477 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16478 * sysdeps/x86/bits/wordsize.h: This.
16480 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16481 * sysdeps/x86/bits/huge_vall.h: This.
16483 * sysdeps/i386/bits/select.h: Removed.
16484 * sysdeps/x86_64/bits/select.h: Renamed to ...
16485 * sysdeps/x86/bits/select.h: This.
16487 * sysdeps/i386/bits/setjmp.h: Removed.
16488 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16489 * sysdeps/x86/bits/setjmp.h: This.
16491 * sysdeps/i386/bits/mathdef.h: Removed.
16492 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16493 * sysdeps/x86/bits/mathdef.h: This.
16495 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16498 * include/sys/socket.h (__connect_internal)
16499 (__libc_sa_len_internal): Remove declaration.
16500 (__connect, __libc_sa_len): Declare hidden_proto.
16501 (SA_LEN): Remove use of INTUSE.
16502 * socket/connect.c: Add libc_hidden_def.
16503 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16504 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16505 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16507 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16508 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16509 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16510 of adding _internal alias.
16512 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16515 * sysdeps/i386/bits/link.h: Removed.
16516 * sysdeps/i386/bits/linkmap.h: Likewise.
16517 * sysdeps/x86_64/bits/link.h: Renamed to ...
16518 * sysdeps/x86/bits/link.h: This.
16519 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16520 * sysdeps/x86/bits/linkmap.h: This.
16522 * sysdeps/i386/bits/endian.h: Removed.
16523 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16524 * sysdeps/x86/bits/endian.h: This.
16526 * sysdeps/i386/bits/byteswap.h: Removed.
16527 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16528 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16529 * sysdeps/x86/bits/byteswap.h: This.
16530 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16531 * sysdeps/x86/bits/byteswap-16.h: This.
16532 * sysdeps/i386/Implies: Add x86.
16533 * sysdeps/x86_64/Implies: Likewise.
16535 2012-05-30 David S. Miller <davem@davemloft.net>
16537 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16538 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16539 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16540 (FP_TRAPPING_EXCEPTIONS): Define.
16541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16542 (FP_TRAPPING_EXCEPTIONS): Define.
16543 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16544 subnormals only when inexact has been signalled or underflow
16545 exceptions are enabled.
16546 (_FP_PACK_CANONICAL): Likewise.
16548 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16551 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16552 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16554 2012-05-30 Richard Henderson <rth@twiddle.net>
16556 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16557 with #ifndef NOT_IN_libc.
16559 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16560 marked to avoid plt entry.
16562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16565 * Makeconfig (default-abi): New macro.
16566 (abi-includes): Likewise.
16567 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16568 $(abi-$(default-abi)-lib-soname) for soname if defined.
16569 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16571 * Makefile (installed-stubs): Likewise.
16572 * include/stubs-biarch.h: Removed.
16573 * scripts/lib-names.awk: Only handle one library at a time.
16574 * scripts/soversions.awk: Remove WORDSIZE support.
16575 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16577 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16579 (syscall-list-default-condition): Likewise.
16580 (syscall-list-default-condition): Likewise.
16581 (syscall-list-includes): Likewise.
16582 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16583 syscall-list-* with abi-*. Handle undefined abi-variants.
16584 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16585 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16586 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16587 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16588 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16589 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16591 (syscall-list-32-options): Likewise.
16592 (syscall-list-32-condition): Likewise.
16593 (syscall-list-64-options): Likewise.
16594 (syscall-list-64-condition): Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16597 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16600 (abi-64-ld-soname): New macro.
16601 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16602 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16605 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16606 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16608 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16610 * sysdeps/unix/sysv/linux/kernel-features.h
16611 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16612 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16613 include <kernel-features.h>.
16614 [!__NR_ftruncate64]: Remove conditional code.
16615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16616 [__NR_ftruncate64]: Make code unconditional.
16617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16618 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16619 include <kernel-features.h>.
16620 [!__NR_ftruncate64]: Remove conditional code.
16621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16622 [__NR_ftruncate64]: Make code unconditional.
16623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16625 include <kernel-features.h>.
16626 [!__NR_ftruncate64]: Remove conditional code.
16627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16628 [__NR_ftruncate64]: Make code unconditional.
16629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16631 include <kernel-features.h>.
16632 [!__NR_ftruncate64]: Remove conditional code.
16633 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16634 [__NR_ftruncate64]: Make code unconditional.
16635 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16637 * configure.in (libc_cv_fpie): Weaken to a compile test using
16638 LIBC_TRY_CC_OPTION.
16639 * configure: Regenerated.
16641 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16656 2012-05-27 David S. Miller <davem@davemloft.net>
16658 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16660 (__Q_simulate_exceptions): Return void. Change to simulate
16661 exceptions by writing into the %fsr.
16662 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16663 (__Qp_handle_exceptions): Likewise.
16665 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16666 __Qp_handle_exceptions.
16667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16668 __Qp_handle_exceptions.
16669 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16670 as unused and give dummy FP_RND_NEAREST initializer.
16671 (FP_INHIBIT_RESULTS): Define.
16672 (___Q_simulate_exceptions): Update declaration.
16673 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16676 as unused and give dummy FP_RND_NEAREST initializer.
16677 (__Qp_handle_exceptions): Update declaration.
16678 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16681 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16683 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16684 the temporary FPU control word.
16685 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16686 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16687 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16688 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16689 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16690 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16691 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16693 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16694 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16695 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16697 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16699 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16702 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16704 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16705 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16706 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16707 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16709 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16710 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16713 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16715 * po/h.po: Update from translation team.
16717 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16719 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16721 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16722 handling of denormals.
16723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16724 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16725 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16732 2012-05-26 Marek Polacek <polacek@redhat.com>
16735 * math/libm-test.inc (fma_test): Don't always expect underflow
16738 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16741 * elf/tst-execstack.c: Include stackinfo.h.
16742 (do_test): Adjust test case to ensure that pthread_getattr_np
16743 behaviour remains the same after marking stack executable.
16745 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16747 * sysdeps/unix/sysv/linux/kernel-features.h
16748 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16749 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16751 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16752 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16753 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16755 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16756 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16758 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16760 * configure.in: Define the default includes to being none.
16761 * configure: Regenerated.
16763 2012-05-25 Roland McGrath <roland@hack.frob.com>
16765 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16766 * sysdeps/x86_64/setjmp.S: Likewise.
16767 * sysdeps/i386/bsd-setjmp.S: Likewise.
16768 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16769 * sysdeps/i386/setjmp.S: Likewise.
16770 * sysdeps/i386/__longjmp.S: Likewise.
16771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16772 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16774 * include/stap-probe.h: New file.
16775 * configure.in: Handle --enable-systemtap.
16776 * configure: Regenerated.
16777 * config.h.in (USE_STAP_PROBE): New #undef.
16778 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16779 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16780 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16782 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16786 to 2.4.0 where earlier.
16787 * sysdeps/unix/sysv/linux/configure: Regenerated.
16788 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16789 <kernel-features.h>.
16790 [__ASSUME_32BITUIDS]: Make code unconditional.
16791 [!__ASSUME_32BITUIDS]: Remove conditional code.
16792 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16793 <kernel-features.h>.
16794 [__ASSUME_32BITUIDS]: Make code unconditional.
16795 [!__ASSUME_32BITUIDS]: Remove conditional code.
16796 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16797 [__ASSUME_32BITUIDS]: Make code unconditional.
16798 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16799 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16800 <kernel-features.h>.
16801 [__ASSUME_32BITUIDS]: Make code unconditional.
16802 [!__ASSUME_32BITUIDS]: Remove conditional code.
16803 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16804 <kernel-features.h>.
16805 [__ASSUME_32BITUIDS]: Make code unconditional.
16806 [!__ASSUME_32BITUIDS]: Remove conditional code.
16807 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16808 <kernel-features.h>.
16809 [__ASSUME_32BITUIDS]: Make code unconditional.
16810 [!__ASSUME_32BITUIDS]: Remove conditional code.
16811 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16812 <kernel-features.h>.
16813 [__ASSUME_32BITUIDS]: Make code unconditional.
16814 [!__ASSUME_32BITUIDS]: Remove conditional code.
16815 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16816 <kernel-features.h>.
16817 [__ASSUME_32BITUIDS]: Make code unconditional.
16818 [!__ASSUME_32BITUIDS]: Remove conditional code.
16819 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16820 <kernel-features.h>.
16821 [__ASSUME_32BITUIDS]: Make code unconditional.
16822 [!__ASSUME_32BITUIDS]: Remove conditional code.
16823 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16824 <kernel-features.h>.
16825 [__ASSUME_32BITUIDS]: Make code unconditional.
16826 [!__ASSUME_32BITUIDS]: Remove conditional code.
16827 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16828 <kernel-features.h>.
16829 [__ASSUME_32BITUIDS]: Make code unconditional.
16830 [!__ASSUME_32BITUIDS]: Remove conditional code.
16831 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16832 <kernel-features.h>.
16833 [__ASSUME_32BITUIDS]: Make code unconditional.
16834 [!__ASSUME_32BITUIDS]: Remove conditional code.
16835 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16836 <kernel-features.h>.
16837 [__ASSUME_32BITUIDS]: Make code unconditional.
16838 [!__ASSUME_32BITUIDS]: Remove conditional code.
16839 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16840 <kernel-features.h>.
16841 [__NR_setresgid] (__setresgid): Do not declare.
16842 [__ASSUME_32BITUIDS]: Make code unconditional.
16843 [!__ASSUME_32BITUIDS]: Remove conditional code.
16844 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16845 <kernel-features.h>.
16846 [__NR_setresuid] (__setresuid): Do not declare.
16847 [__ASSUME_32BITUIDS]: Make code unconditional.
16848 [!__ASSUME_32BITUIDS]: Remove conditional code.
16849 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16850 <kernel-features.h>.
16851 [__ASSUME_32BITUIDS]: Make code unconditional.
16852 [!__ASSUME_32BITUIDS]: Remove conditional code.
16853 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16854 <kernel-features.h>.
16855 [__ASSUME_32BITUIDS]: Make code unconditional.
16856 [!__ASSUME_32BITUIDS]: Remove conditional code.
16857 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16858 <kernel-features.h>.
16859 [__ASSUME_32BITUIDS]: Make code unconditional.
16860 [!__ASSUME_32BITUIDS]: Remove conditional code.
16861 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16862 <kernel-features.h>.
16863 [__ASSUME_32BITUIDS]: Make code unconditional.
16864 [!__ASSUME_32BITUIDS]: Remove conditional code.
16865 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16866 <kernel-features.h>.
16867 [__ASSUME_32BITUIDS]: Make code unconditional.
16868 [!__ASSUME_32BITUIDS]: Remove conditional code.
16869 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16870 <kernel-features.h>.
16871 [__ASSUME_32BITUIDS]: Make code unconditional.
16872 [!__ASSUME_32BITUIDS]: Remove conditional code.
16873 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16874 <kernel-features.h>.
16875 [__ASSUME_32BITUIDS]: Make code unconditional.
16876 [!__ASSUME_32BITUIDS]: Remove conditional code.
16877 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16878 <kernel-features.h>.
16879 [__ASSUME_32BITUIDS]: Make code unconditional.
16880 [!__ASSUME_32BITUIDS]: Remove conditional code.
16881 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16882 <kernel-features.h>.
16883 [__ASSUME_32BITUIDS]: Make code unconditional.
16884 [!__ASSUME_32BITUIDS]: Remove conditional code.
16885 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16886 <kernel-features.h>.
16887 [__ASSUME_32BITUIDS]: Make code unconditional.
16888 [!__ASSUME_32BITUIDS]: Remove conditional code.
16889 * sysdeps/unix/sysv/linux/kernel-features.h
16890 (__ASSUME_SETRESUID_SYSCALL): Remove.
16891 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16892 (__ASSUME_32BITUIDS): Likewise.
16893 (__ASSUME_LDT_WORKS): Likewise.
16894 (__ASSUME_O_DIRECTORY): Likewise.
16895 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16896 architecture but not kernel version.
16897 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16898 (__ASSUME_MMAP2_SYSCALL): Likewise.
16899 (__ASSUME_STAT64_SYSCALL): Likewise.
16900 (__ASSUME_IPC64): Likewise.
16901 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16902 <kernel-features.h>.
16903 [__ASSUME_32BITUIDS]: Make code unconditional.
16904 [!__ASSUME_32BITUIDS]: Remove conditional code.
16905 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16906 <kernel-features.h>.
16907 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16908 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16909 132096]: Remove conditional code.
16910 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16911 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16912 <kernel-features.h>.
16913 [__ASSUME_32BITUIDS]: Make code unconditional.
16914 [!__ASSUME_32BITUIDS]: Remove conditional code.
16915 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16916 <kernel-features.h>.
16917 [__ASSUME_32BITUIDS]: Make code unconditional.
16918 [!__ASSUME_32BITUIDS]: Remove conditional code.
16919 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16920 <kernel-features.h>.
16921 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16923 (__setresgid): Do not declare.
16924 [__ASSUME_32BITUIDS]: Make code unconditional.
16925 [!__ASSUME_32BITUIDS]: Remove conditional code.
16926 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16927 <kernel-features.h>.
16928 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16930 (__setresuid): Do not declare.
16931 [__ASSUME_32BITUIDS]: Make code unconditional.
16932 [!__ASSUME_32BITUIDS]: Remove conditional code.
16933 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16934 <kernel-features.h>.
16935 [__ASSUME_32BITUIDS]: Make code unconditional.
16936 [!__ASSUME_32BITUIDS]: Remove conditional code.
16937 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16938 <kernel-features.h>.
16939 [__ASSUME_32BITUIDS]: Make code unconditional.
16940 [!__ASSUME_32BITUIDS]: Remove conditional code.
16942 2012-05-25 Richard Henderson <rth@twiddle.net>
16944 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16945 dl_hwcap to ifunc resolver.
16946 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16948 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16949 dl_hwcap to ifunc resolver.
16950 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16952 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16955 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16956 for |x| <= 2**-26, not 2**-57.
16957 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16960 2012-05-24 Jeff Law <law@redhat.com>
16962 * stdio-common/Makefile (tests): Add bug25.
16963 * stdio-common/bug25.c: New test.
16965 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16968 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16969 multiple of MALLOC_ALIGNMENT in size.
16970 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16972 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16974 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16976 (FILENAME_MAX): Use macro-int-constant.
16977 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16978 (_IOFBF): Use macro-int-constant.
16979 (_IOLBF): Likewise.
16980 (_IONBF): Likewise.
16981 (SEEK_CUR): Likewise.
16982 (SEEK_END): Likewise.
16983 (SEEK_SET): Likewise.
16984 (TMP_MAX): Likewise.
16985 (EOF): Use macro-int-constant. Require < 0.
16986 (NULL): Use macro-constant. Require == 0.
16987 (stdin): Require type to be FILE *.
16988 (stdout): Likewise.
16989 (stderr): Likewise.
16990 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16991 macro-int-constant.
16992 (EXIT_SUCCESS): Likewise.
16993 (NULL): Use macro-constant. Require == 0.
16994 (RAND_MAX): Use macro-int-constant.
16995 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16996 [C99-based standards] (strtof): Require function.
16997 [C99-based standards] (strtold): Likewise.
16998 [C99-based standards] (strtoll): Likewise.
16999 [C99-based standards] (strtoull): Likewise.
17000 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17001 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17002 [ISO || ISO99 || ISO11] (math.h): Likewise.
17003 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17004 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17007 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17010 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17011 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17012 * intl/dgettext.c (DCGETTEXT): Likewise.
17013 * intl/gettext.c (DCGETTEXT): Likewise.
17014 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17015 * posix/regex_internal.h (gettext): Likewise.
17016 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17017 Remove declaration.
17018 * include/argz.h (__argz_count_internal)
17019 (__argz_stringify_internal): Remove declaration.
17020 (__argz_count, __argz_stringify): Declare hidden proto.
17021 * intl/dcgettext.c: Remove use of INTDEF.
17022 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17023 * string/argz-stringify.c: Likewise.
17024 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17025 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17026 Declare hidden proto.
17027 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17028 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17029 Declare hidden proto.
17030 * include/stdio.h (__asprintf_internal): Don't declare.
17031 (__asprintf): Don't define as macro. Declare hidden proto.
17032 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17033 (__fsetlocking): Declare hidden proto.
17034 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17035 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17037 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17038 (_IO_setlinebuf): Remove use of INTUSE.
17039 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17040 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17041 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17042 Remove declaration.
17043 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17044 (_IO_do_flush): Remove use of INTUSE.
17045 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17046 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17047 (_IO_adjust_column, _IO_least_wmarker)
17048 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17049 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17050 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17051 (_IO_default_doallocate, _IO_wdefault_doallocate)
17052 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17053 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17054 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17055 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17056 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17057 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17058 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17059 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17060 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17061 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17062 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17063 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17064 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17066 (_IO_flush_all_internal, _IO_adjust_column_internal)
17067 (_IO_default_uflow_internal, _IO_default_finish_internal)
17068 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17069 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17070 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17071 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17072 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17073 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17074 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17075 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17076 (_IO_file_close_internal, _IO_file_close_it_internal)
17077 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17078 (_IO_file_init_internal, _IO_file_attach_internal)
17079 (_IO_file_fopen_internal, _IO_file_read_internal)
17080 (_IO_file_sync_internal, _IO_file_seek_internal)
17081 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17082 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17083 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17084 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17085 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17086 (_IO_list_all_internal, _IO_link_in_internal)
17087 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17088 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17089 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17090 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17091 (_IO_do_write_internal, _IO_padn_internal)
17092 (_IO_getline_info_internal, _IO_getline_internal)
17093 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17094 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17095 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17096 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17097 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17098 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17099 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17100 with libc_hidden_ver, remove use of INTUSE.
17101 * libio/genops.c: Likewise.
17102 * libio/freopen.c: Likewise.
17103 * libio/freopen64.c: Likewise.
17104 * libio/iofclose.c: Likewise.
17105 * libio/iofdopen.c: Likewise.
17106 * libio/iofflush.c: Likewise.
17107 * libio/iofflush_u.c: Likewise.
17108 * libio/iofgets.c: Likewise.
17109 * libio/iofgets_u.c: Likewise.
17110 * libio/iofopen.c: Likewise.
17111 * libio/iofopncook.c: Likewise.
17112 * libio/iofread.c: Likewise.
17113 * libio/iofread_u.c: Likewise.
17114 * libio/ioftell.c: Likewise.
17115 * libio/iofwrite.c: Likewise.
17116 * libio/iogetline.c: Likewise.
17117 * libio/iogets.c: Likewise.
17118 * libio/iogetwline.c: Likewise.
17119 * libio/iopadn.c: Likewise.
17120 * libio/iopopen.c: Likewise.
17121 * libio/ioseekoff.c: Likewise.
17122 * libio/ioseekpos.c: Likewise.
17123 * libio/iosetbuffer.c: Likewise.
17124 * libio/iosetvbuf.c: Likewise.
17125 * libio/ioungetc.c: Likewise.
17126 * libio/ioungetwc.c: Likewise.
17127 * libio/iovdprintf.c: Likewise.
17128 * libio/iovsprintf.c: Likewise.
17129 * libio/iovsscanf.c: Likewise.
17130 * libio/memstream.c: Likewise.
17131 * libio/obprintf.c: Likewise.
17132 * libio/oldfileops.c: Likewise.
17133 * libio/oldiofclose.c: Likewise.
17134 * libio/oldiofdopen.c: Likewise.
17135 * libio/oldiofopen.c: Likewise.
17136 * libio/oldiopopen.c: Likewise.
17137 * libio/oldstdfiles.c: Likewise.
17138 * libio/putc.c: Likewise.
17139 * libio/setbuf.c: Likewise.
17140 * libio/setlinebuf.c: Likewise.
17141 * libio/stdfiles.c: Likewise.
17142 * libio/strops.c: Likewise.
17143 * libio/vasprintf.c: Likewise.
17144 * libio/vscanf.c: Likewise.
17145 * libio/vsnprintf.c: Likewise.
17146 * libio/vswprintf.c: Likewise.
17147 * libio/wfiledoalloc.c: Likewise.
17148 * libio/wfileops.c: Likewise.
17149 * libio/wgenops.c: Likewise.
17150 * libio/wmemstream.c: Likewise.
17151 * libio/wstrops.c: Likewise.
17152 * libio/__fpurge.c: Likewise.
17153 * libio/__fsetlocking.c: Likewise.
17154 * assert/assert.c: Likewise.
17155 * debug/fgets_chk.c: Likewise.
17156 * debug/fgets_u_chk.c: Likewise.
17157 * debug/fread_chk.c: Likewise.
17158 * debug/fread_u_chk.c: Likewise.
17159 * debug/gets_chk.c: Likewise.
17160 * debug/obprintf_chk.c: Likewise.
17161 * debug/vasprintf_chk.c: Likewise.
17162 * debug/vdprintf_chk.c: Likewise.
17163 * debug/vsnprintf_chk.c: Likewise.
17164 * debug/vsprintf_chk.c: Likewise.
17165 * malloc/mtrace.c: Likewise.
17166 * misc/error.c: Likewise.
17167 * misc/syslog.c: Likewise.
17168 * stdio-common/asprintf.c: Likewise.
17169 * stdio-common/fxprintf.c: Likewise.
17170 * stdio-common/getw.c: Likewise.
17171 * stdio-common/isoc99_fscanf.c: Likewise.
17172 * stdio-common/isoc99_scanf.c: Likewise.
17173 * stdio-common/isoc99_vfscanf.c: Likewise.
17174 * stdio-common/isoc99_vscanf.c: Likewise.
17175 * stdio-common/isoc99_vsscanf.c: Likewise.
17176 * stdio-common/printf-prs.c: Likewise.
17177 * stdio-common/printf_fp.c: Likewise.
17178 * stdio-common/printf_fphex.c: Likewise.
17179 * stdio-common/printf_size.c: Likewise.
17180 * stdio-common/putw.c: Likewise.
17181 * stdio-common/scanf.c: Likewise.
17182 * stdio-common/sprintf.c: Likewise.
17183 * stdio-common/tmpfile.c: Likewise.
17184 * stdio-common/vfprintf.c: Likewise.
17185 * stdio-common/vfscanf.c: Likewise.
17186 * stdlib/strfmon_l.c: Likewise.
17187 * sunrpc/openchild.c: Likewise.
17188 * sunrpc/xdr_stdio.c: Likewise.
17189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17190 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17192 2012-05-24 Roland McGrath <roland@hack.frob.com>
17194 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17196 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17197 in the third column, to generate for the shared library an IFUNC
17198 that uses _dl_vdso_vsym.
17199 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17200 * Makeconfig (object-suffixes-noshared): New variable.
17202 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17203 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17204 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17205 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17208 * include/sys/time.h (__gettimeofday): Remove macro.
17209 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17210 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17212 (__gettimeofday): Add libc_hidden_def.
17213 (gettimeofday): Add libc_hidden_weak.
17214 * sysdeps/mach/gettimeofday.c: Likewise.
17215 * sysdeps/posix/gettimeofday.c: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17217 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17219 (__gettimeofday_internal): Remove strong_alias.
17220 (__gettimeofday): Add libc_hidden_def.
17221 (gettimeofday): Add libc_hidden_weak.
17222 * sysdeps/unix/syscalls.list (gettimeofday):
17223 Remove __gettimeofday_internal alias.
17225 2012-05-24 Daniel Jacobowitz <drow@false.org>
17226 H.J. Lu <hongjiu.lu@intel.com>
17229 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17230 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17231 (largebin_index_32_big): New.
17232 (largebin_index): Use it for 16-byte alignment.
17233 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17234 correction with front_misalign.
17236 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17264 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17265 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17267 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17271 * math/libm-test.inc (exp_test): Add test from bug 14036.
17272 (pow_test): Add test from bug 10846.
17274 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17276 (special_function): Do not include flags in test name.
17277 (parse_args): Likewise.
17278 * sysdeps/i386/fpu/libm-test-ulps: Update.
17279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17284 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17286 * math/libm-test.inc ("Philosophy"): Update comment about
17288 (UNDERFLOW_EXCEPTION): New macro.
17289 (UNDERFLOW_EXCEPTION_OK): Likewise.
17290 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17291 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17292 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17293 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17294 (INVALID_EXCEPTION_OK): Update value.
17295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17296 (OVERFLOW_EXCEPTION_OK): Likewise.
17297 (IGNORE_ZERO_INF_SIGN): Likewise.
17298 (test_exceptions): Handle underflow exceptions.
17299 (acos_test): Update for underflow exception expectations.
17300 (cexp_test): Likewise.
17301 (clog_test): Likewise.
17302 (clog10_test): Likewise.
17303 (csqrt_test): Likewise.
17304 (ctan_test): Likewise.
17305 (ctanh_test): Likewise.
17306 (exp_test): Likewise.
17307 (exp10_test): Likewise.
17308 (exp2_test): Likewise.
17309 (expm1_test): Likewise.
17310 (fma_test): Likewise.
17311 (j0_test): Likewise.
17312 (jn_test): Likewise.
17313 (nexttoward_test): Likewise.
17314 (pow_test): Likewise.
17315 (scalbn_test): Likewise.
17316 (scalbln_test): Likewise.
17317 (tan_test): Likewise.
17318 (y1_test): Likewise.
17319 * sysdeps/i386/fpu/libm-test-ulps: Update.
17320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17322 2012-05-23 David S. Miller <davem@davemloft.net>
17324 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17325 (__libc_sigaction): Remove unused local variables.
17327 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17329 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17331 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17333 mktime: avoid signed integer overflow
17334 * time/mktime.c (__mktime_internal): Do not mishandle the case
17335 where diff == INT_MIN.
17337 mktime: simplify computation of average
17338 * time/mktime.c (ranged_convert): Use new time_t_avg function
17339 instead of rolling our own (probably-slower) code.
17341 mktime: do not assume signed right shift propagates sign bit
17342 * time/mktime.c (isdst_differ): New static function.
17343 (__mktime_internal): No need to normalize tm_isdst now.
17344 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17347 mktime: merge another wrapv change from gnulib
17348 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17349 from some compilers.
17351 mktime: remove incorrect attempt at unusual arithmetics
17352 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17353 The code didn't really work on such machines anyway.
17354 (TYPE_MINIMUM): Assume two's complement.
17355 (twos_complement_arithmetic): Verify that long_int and time_t
17356 are two's complement (or unsigned, in the latter case).
17358 mktime: check signed shifts on long_int and time_t, too
17359 * time/mktime.c (SHR): Check that shifts work as desired
17360 on the types long_int and time_t too, as SHR is used on
17363 mktime: do not assume 'long' is wide enough
17364 * time/mktime.c (verify): Move decl up.
17365 (long_int): New type.
17366 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17367 to remove assumption in the code that 'long' is wide enough to
17368 store year values. This assumption is not true on x32 and on
17369 some non-glibc platforms.
17371 mktime: merge wrapv change from gnulib
17372 * time/mktime.c (WRAPV): New macro.
17373 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17374 (guess_time_tm, __mktime_internal): Do not assume that signed
17375 integer overflow wraps around; modern compilers generate code
17376 where this assumption is no longer valid.
17378 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17380 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17381 Replace "jmp L(pseudo_end)" with "ret".
17382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17385 2012-05-23 Andreas Jaeger <aj@suse.de>
17387 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17388 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17390 2012-05-23 Andreas Jaeger <aj@suse.de>
17391 Maximilian Attems <max@stro.at>
17393 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17396 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17399 code so that pseudo_end is just ret and the stack pointer is
17400 correct also for static library in error case.
17402 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17404 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17405 move to syscalls.list.
17406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17411 * manual/install.texi (Running make install): Do not mention Linux
17412 kernel version for which pt_chown is not needed.
17413 (Linux): Do not mention problems with nscd with 2.0 kernels.
17414 * INSTALL: Regenerated.
17416 2012-05-23 Andreas Jaeger <aj@suse.de>
17418 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17419 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17421 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17423 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17425 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17431 * sysdeps/unix/sysv/linux/bits/in.h
17432 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17434 2012-05-22 Roland McGrath <roland@hack.frob.com>
17436 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17437 (PREPARE_VERSION): Just use assert instead, it will be elided
17438 under [NDEBUG] anyway.
17440 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17442 * sysdeps/unix/sysv/linux/Makefile: Include
17443 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17444 (sysdep_routines): Remove sysctl.
17445 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17446 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17447 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17448 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17449 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17451 2012-05-22 Andreas Jaeger <aj@suse.de>
17453 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17454 that pseudo_end is just ret and the stack pointer is correct also
17455 for static library in error case.
17457 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17460 * nss/nsswitch.c (defconfig_entries): New variable.
17461 (__nss_database_lookup): Don't leak defconfig entries.
17462 (nss_parse_service_list): Don't leak on error paths.
17463 (free_database_entries): New function.
17464 (free_defconfig): New function.
17465 (free_mem): Move common code to free_database_entries.
17467 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17469 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17471 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17473 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17474 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17477 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17478 (INTERNAL_SYSCALL_TYPES): Likewise.
17479 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17480 (LOAD_REGS_TYPES_[1-6]): Likewise.
17481 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17482 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17484 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17486 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17487 copysignl for GLIBC_2_0.
17488 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17489 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17491 logbl for GLIBC_2_0.
17492 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17493 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17495 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17498 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17500 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17503 * time/mktime.c: Update copyright years.
17505 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17507 mktime: merge comment-quoting-style change from gnulib
17508 * time/mktime.c: Quote 'like this' in comments.
17509 The GNU coding standards suggest that we no longer quote `like this',
17510 as "`" and "'" are typically rendered asymmetrically nowadays.
17511 The typical gnulib style is to quote 'like this' when quoting
17512 code, and "like this" when quoting English.
17514 * time/mktime.c (compile-command): Add "-I.".
17516 mktime: merge mktime-internal.h change from gnulib
17517 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17519 mktime: merge time_r change from gnulib
17520 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17522 mktime: merge DEBUG change from gnulib
17523 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17524 case system <time.h> has a #define.
17526 mktime: merge <sys/types.h> change from gnulib
17527 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17528 since <time.t> is now guaranteed to define time_t.
17530 mktime: merge HAVE_CONFIG_H change from gnulib
17531 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17533 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17538 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17540 (struct rusage): Use anonymous union to pad each field to
17543 2012-05-21 David S. Miller <davem@davemloft.net>
17545 * Makefules (o-iterator): Remove .s cases.
17546 (compile-command.s): Delete.
17547 (COMPILE.s): Delete.
17548 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17550 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17552 * configure.in (libc_cv_predef_stack_protector): Only consider
17553 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17554 * configure: Regenerated.
17556 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17559 New macro. Use R*LP on int and pointer.
17560 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17561 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17562 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17563 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17565 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17566 [__WORDSIZE_TIME64_COMPAT32] instead of
17567 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17568 (struct utmp): Likewise.
17569 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17570 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17572 (__WORDSIZE_TIME64_COMPAT32): This.
17573 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17574 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17575 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17576 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17577 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17578 (__WORDSIZE_TIME64_COMPAT32): New macro.
17580 2012-05-21 Andreas Jaeger <aj@suse.de>
17582 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17583 only if [SHARED]. Add prototype for __wcschr_ia32.
17585 2012-05-21 Roland McGrath <roland@hack.frob.com>
17587 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17588 of %rbp unmolested in the jmp_buf while mangling the low bits.
17589 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17590 unmolested high bits of %rbp while demangling the low bits.
17591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17593 2012-05-21 Andreas Jaeger <aj@suse.de>
17595 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17596 * sunrpc/svc_simple.c: Use it for registerrpc.
17597 * sunrpc/xcrypt.c: Use it for passwd2des.
17599 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17601 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17603 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17604 Don't define if [__SYSCALL_WORDSIZE != 32].
17605 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17608 2012-05-21 Bruno Haible <bruno@clisp.org>
17609 Andreas Jaeger <aj@suse.de>
17611 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17612 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17613 inptr and inend for must_buffer_ch.
17614 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17615 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17616 * stdio-common/Makefile (tests): Remove bug15.
17617 (bug15-ENV): Remove macro.
17618 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17621 2012-05-19 Andreas Jaeger <aj@suse.de>
17622 Roland McGrath <roland@hack.frob.com>
17624 * manual/contrib.texi: Completely rewritten. It contains now an
17625 alphabetical list of contributors and their contributions.
17627 2012-05-21 Richard Henderson <rth@twiddle.net>
17629 * misc/getauxval.c (__getauxval): Use unsigned long int.
17630 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17631 (getauxval): Use unsigned long int.
17633 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17635 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17637 2012-05-21 Roland McGrath <roland@hack.frob.com>
17639 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17640 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17641 __alignof__ (long double).
17643 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17647 2012-05-20 Richard Henderson <rth@twiddle.net>
17649 * misc/getauxval.c: New file.
17650 * misc/sys/auxv.h: New file.
17651 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17652 (routines): Add getauxval.
17653 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17654 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17655 * elf/dl-sysdep.c (_dl_auxv): Remove.
17656 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17657 * elf/dl-support.c (_dl_auxv): New variable.
17658 (_dl_aux_init): Initialize it.
17659 * manual/startup.texi (Auxiliary Vector): New node.
17660 * sysdeps/generic/bits/hwcap.h: New file.
17661 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17662 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17663 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17664 * sysdeps/sparc/sysdep.h: ... here. Include it.
17665 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17678 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17682 2012-05-19 David S. Miller <davem@davemloft.net>
17684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17686 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17689 * math/s_ccosh.c: Include <float.h>
17690 (__ccosh): Avoid internal overflow calculating sinh and cosh
17691 values before multiplying by sin and cos values.
17692 * math/s_ccoshf.c: Likewise.
17693 * math/s_ccoshl.c: Likewise.
17694 * math/s_csin.c: Likewise.
17695 * math/s_csinf.c: Likewise.
17696 * math/s_csinl.c: Likewise.
17697 * math/s_csinh.c: Likewise.
17698 * math/s_csinhf.c: Likewise.
17699 * math/s_csinhl.c: Likewise.
17700 * math/libm-test.inc (ccos_test): Add more tests.
17701 (ccosh_test): Likewise.
17702 (csin_test): Likewise.
17703 (csinh_test): Likewise.
17704 * sysdeps/i386/fpu/libm-test-ulps: Update.
17705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17707 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17709 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17710 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17712 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17714 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17716 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17717 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17718 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17719 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17720 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17721 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17722 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17723 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17724 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17725 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17726 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17727 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17728 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17729 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17730 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17731 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17732 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17733 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17734 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17735 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17736 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17737 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17738 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17739 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17740 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17741 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17742 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17743 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17744 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17745 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17746 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17748 2012-05-18 Andreas Jaeger <aj@suse.de>
17750 * csu/.gitignore: Delete.
17752 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17754 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17755 (timex): Use __syscall_slong_t.
17757 2012-05-18 Andreas Jaeger <aj@suse.de>
17758 Carlos O'Donell <carlos_odonell@mentor.com>
17760 * manual/install.texi (Configuring and compiling): Update
17761 description about files modified in the source directory.
17762 * INSTALL: Regenerated.
17764 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17766 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17767 value. Use "or" to set return value to -1.
17768 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17769 negate return value.
17771 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17773 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17774 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17775 failure if the compiler has Graphite support disabled.
17776 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17778 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17779 CFLAGS-memmove.c): Likewise.
17780 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17783 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17785 * sysdeps/x86_64/x32/_itoa.h: New file.
17787 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17788 getdents system call only if kernel and user dirents have the
17789 same d_ino and d_off.
17791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17792 LLONG_MAX != LONG_MAX.
17793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17794 (_fitoa_word): Likewise.
17796 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17799 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17803 include <bits/wordsize.h>. Check __x86_64__ instead of
17805 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17806 if __x86_64__ is defined. Use anonymous union on fpstate.
17808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17811 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17813 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17814 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17815 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17816 Refer to _rtld_local_ro instead of _rtld_global_ro.
17817 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17819 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17821 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17823 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17824 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17825 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17827 * sysdeps/powerpc/powerpc32/dl-machine.c
17828 (__elf_machine_runtime_setup) [PROF]: Don't reference
17831 2012-05-18 Andreas Jaeger <aj@suse.de>
17833 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17834 function only available for GCCs before 3.4 since GCC 3.4
17835 introduced a builtin.
17837 (llrintf): Likewise.
17838 (llrint): Likewise.
17845 (nearbyint): Likewise.
17846 (nearbyintf): Likewise.
17850 (floorf): Likewise.
17852 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17854 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17855 on both fields and cast pointer to __syscall_ulong_t.
17857 * bits/types.h (__fsword_t): New type.
17858 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17859 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17861 (__FSWORD_T_TYPE): Likewise.
17862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17863 (__FSWORD_T_TYPE): Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17865 (__FSWORD_T_TYPE): Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17867 (__FSWORD_T_TYPE): Likewise.
17868 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17869 __SWORD_TYPE with __fsword_t.
17870 (statfs64): Likewise.
17872 2012-05-17 David S. Miller <davem@davemloft.net>
17874 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17876 2012-05-17 Andreas Jaeger <aj@suse.de>
17878 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17881 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17883 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17885 2012-05-17 Andreas Jaeger <aj@suse.de>
17887 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17890 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17892 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17894 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17896 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17897 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17899 2012-05-17 Andreas Jaeger <aj@suse.de>
17900 Carlos O'Donell <carlos_odonell@mentor.com>
17903 * sysdeps/x86_64/multiarch/init-arch.h
17904 (bit_YMM_Usable): Rename to...
17905 (bit_AVX_Usable): ... this.
17906 (bit_FMA4_Usable): New macro.
17907 (bit_XMM_state): New macro.
17908 (bit_YMM_state): New macro.
17909 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17910 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17911 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17912 (CPUID_OSXSAVE): New macro.
17913 (CPUID_AVX): New macro.
17914 (CPUID_FMA4): New macro.
17915 (index_YMM_Usable): Rename to...
17916 (index_AVX_Usable): ... this.
17917 (HAS_AVX): Use HAS_ARCH_FEATURE.
17918 (HAS_FMA4): Likewise.
17919 (HAS_YMM_USABLE): Remove.
17920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17921 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17923 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17924 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17925 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17926 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17927 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17929 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17931 * math/libm-test.c: Support platforms without multiple rounding modes.
17932 * math/bug-nextafter.c: Support platforms without FP exceptions.
17933 * math/bug-nexttoward.c: Likewise.
17934 * math/test-fenv.c: Likewise.
17935 * math/test-misc.c: Likewise.
17936 * stdlib/bug-getcontext.c: Likewise.
17938 2012-05-17 Andreas Jaeger <aj@suse.de>
17940 * manual/examples/search.c (critter_cmp): Change signature to
17942 * manual/string.texi (Collation Functions): Likewise.
17944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17946 * bits/types.h: Fold copyright years.
17947 * bits/typesizes.h: Likewise.
17948 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17952 * time/time.h: Likewise.
17954 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17957 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17958 in instead of returning them. Return void.
17959 (__libc_mallinfo): Accumulate over all arenas.
17960 (__malloc_stats): Adjust for change in int_mallinfo interface.
17962 2012-05-16 Roland McGrath <roland@hack.frob.com>
17965 * configure.in (NM): Add AC_CHECK_TOOL for it.
17966 (libc_extra_cflags): New substituted variable.
17967 Check for -fstack-protector being used implicitly.
17968 * configure: Regenerated.
17969 * config.make.in (config-extra-cflags): New variable,
17970 gets @libc_extra_cflags@.
17971 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17974 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17975 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17976 * configure: Regenerated.
17977 * config.make.in (CPPUNDEFS): New substituted variable.
17978 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17979 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17980 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17984 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17985 (mq_attr): Use __syscall_slong_t.
17987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17989 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17990 Check __x86_64__ instead of __WORDSIZE.
17991 (_STAT_VER_LINUX): Likewise.
17992 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17993 __syscall_ulong_t and __syscall_slong_t.
17994 (stat64): Likewise.
17996 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18002 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18006 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18009 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18010 include <bits/wordsize.h>. Check __x86_64__ instead of
18012 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18014 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18017 include <bits/wordsize.h>. Check __x86_64__ instead of
18019 (user_regs_struct): Use "__extension__ unsigned long long"
18020 instead of "unsigned long" if __x86_64__ is defined.
18021 (user): Likewise. Pad after pointer field if __ILP32__ is
18024 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18026 * configure.in (makeinfo): Require version 4.5 or later. Allow
18028 * configure: Regenerated.
18029 * manual/install.texi (texinfo): Increase version requirement to
18031 * INSTALL: Regenerated.
18033 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18037 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18039 * sysdeps/x86_64/x32/ffs.c: New file.
18041 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18043 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18044 defined. Use __syscall_ulong_t.
18045 (shminfo): Use __syscall_ulong_t.
18046 (shm_info): Likewise.
18048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18051 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18053 (msgqnum_t): Use __syscall_ulong_t.
18054 (msglen_t): Likewise.
18055 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18058 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18061 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18063 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18064 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18066 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18069 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18070 include <bits/wordsize.h>. Check __x86_64__ instead of
18073 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18074 "unsigned long long int" if __x86_64__ is defined.
18075 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18078 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18079 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18081 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18083 (GET_PC): Cast to uintptr_t first.
18084 (GET_FRAME): Likewise.
18085 (GET_STACK): Likewise.
18087 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18088 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18094 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18095 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18096 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18097 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18103 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18104 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18105 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18107 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18109 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18112 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18113 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18114 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18115 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18117 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18119 * Makerules (+depfiles): Also collect depfiles from .oS in
18121 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18122 .oS, $(libnldbl-routines)).
18124 * Makerules (native-compile-mkdep-flags): Define.
18125 * sunrpc/Makefile (extra-objs): Add $(addprefix
18126 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18127 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18128 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18129 calling $(make-target-directory).
18131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18133 * bits/types.h (__snseconds_t): Removed.
18134 * time/time.h (struct timespec): Replace __snseconds_t with
18136 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18137 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18140 (__SNSECONDS_T_TYPE): Likewise.
18141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18142 (__SNSECONDS_T_TYPE): Likewise.
18143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18144 (__SNSECONDS_T_TYPE): Likewise.
18146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18148 * sysdeps/mach/hurd/bits/typesizes.h
18149 (__SYSCALL_SLONG_TYPE): New macro.
18150 (__SYSCALL_ULONG_TYPE): Likewise.
18152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18154 * bits/types.h (__syscall_slong_t): New type.
18155 (__syscall_ulong_t): Likewise.
18157 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18158 (__SYSCALL_ULONG_TYPE): Likewise.
18159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18160 (__SYSCALL_SLONG_TYPE): Likewise.
18161 (__SYSCALL_ULONG_TYPE): Likewise.
18162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18163 (__SYSCALL_SLONG_TYPE): Likewise.
18164 (__SYSCALL_ULONG_TYPE): Likewise.
18165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18166 (__SYSCALL_SLONG_TYPE): Likewise.
18167 (__SYSCALL_ULONG_TYPE): Likewise.
18169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18171 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18172 Add sigaltstack-offsets.sym.
18173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18174 <sigaltstack-offsets.h>.
18175 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18176 longjmp_msg pointer.
18177 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18178 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18180 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18182 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18184 * elf/stackguard-macros.h: Remove file.
18185 * sysdeps/generic/stackguard-macros.h: New file.
18186 * sysdeps/i386/stackguard-macros.h: Likewise.
18187 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18188 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18189 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18190 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18191 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18192 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18193 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18194 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18195 <elf/stackguard-macros.h>.
18198 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18199 __aligned__ in attribute.
18200 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18201 (gregset_t): Likewise.
18203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18205 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18206 * sysdeps/x86_64/64/Implies-after: Here. New file.
18207 * sysdeps/x86_64/x32/Implies-after: New file.
18209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18211 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18212 and access return value for _dl_profile_fixup. Use R10_LP to
18215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18217 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18221 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18222 * sysdeps/x86_64/x32/sysdep.h: New file.
18224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18226 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18227 * sysdeps/x86_64/setjmp.S: Likewise.
18229 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18231 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18232 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18233 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18234 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18235 remove unused global constant.
18237 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18239 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18240 include of <not-cancel.h>.
18242 2012-05-15 Roland McGrath <roland@hack.frob.com>
18244 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18246 2012-05-15 Jeff Law <law@redhat.com>
18247 Andreas Jaeger <aj@suse.de>
18250 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18252 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18253 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18254 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18255 code changing __hst_map_handle.map.
18257 2012-05-15 Roland McGrath <roland@hack.frob.com>
18259 * configure.in (sysnames): Look for Implies-before and Implies-after
18261 * configure: Regenerated.
18263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18265 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18266 8-byte data alignment with LP_SIZE alignment.
18268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18270 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18275 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18279 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18280 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18281 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18283 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18287 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18288 (stackinfo_sub_sp): Likewise.
18290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18302 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18307 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18311 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18312 into R11_LP and load __x86_64_shared_cache_size_half into
18315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18320 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18329 powerpc32/power7/fpu/s_logb.c via #include.
18330 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18331 powerpc32/power7/fpu/s_logbf.c via #include.
18332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18333 powerpc32/power7/fpu/s_logbl.c via #include.
18335 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18337 * README.libm: Remove file.
18339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18341 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18342 count for x32. Use R*_LP and omit operand-size suffix.
18344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18346 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18347 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18348 * sysdeps/x86_64/x32/shlib-versions: New file.
18350 2012-05-14 Roland McGrath <roland@hack.frob.com>
18352 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18353 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18354 Use _dl_fatal_printf instead.
18356 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18358 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18359 set if not set by the user. Do not allow for being unset.
18360 * sysdeps/unix/sysv/linux/configure: Regenerated.
18362 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18364 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18365 the `q' suffix from lea and replace .quad with ASM_ADDR.
18367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18370 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18372 (PTR_DEMANGLE): Likewise.
18374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18376 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18378 (ASM_ADDR): Likewise.
18379 (RAX_LP): Likewise.
18380 (RBP_LP): Likewise.
18381 (RBX_LP): Likewise.
18382 (RCX_LP): Likewise.
18383 (RDI_LP): Likewise.
18384 (RSI_LP): Likewise.
18385 (RSP_LP): Likewise.
18388 (R10_LP): Likewise.
18389 (R10_LP): Likewise.
18390 (R11_LP): Likewise.
18391 (R12_LP): Likewise.
18392 (R13_LP): Likewise.
18393 (R14_LP): Likewise.
18394 (R15_LP): Likewise.
18396 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18398 * sysdeps/x86_64/x32/dl-machine.h: New file.
18400 2012-05-14 Andreas Jaeger <aj@suse.de>
18402 * manual/Makefile (subdir): Remove export of subdir.
18403 (all): Remove target.
18404 (.PHONY): Remove all from list.
18405 (mkinstalldirs): Remove.
18406 (.PHONY): Remove installdirs from list.
18407 ($(inst_infodir)/libc.info): Use make-target-directory.
18408 (installdirs): Remove.
18409 (subdir_%): Remove.
18410 (glibc-targets): Remove.
18413 ($(objpfx)stubs ../po/manual.pot): Remove.
18414 ($(objpfx)stamp%): Remove.
18415 (make-target-directory): Remove.
18416 (subdir_install): Remove.
18417 (routines): Remove.
18424 * manual/.gitignore: Remove, it's not needed anymore.
18425 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18427 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18429 (texis): Renamed to $(objpfx)texis.
18430 (texis-path): New, contains path to generated files.
18431 (chapters.%): Use texis-path for complete path, add extra argument
18433 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18434 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18435 (summary,texi, stamp-summary): Use complete path of
18436 files. Generate files in build dir.
18437 (dir-add.texi): Build in build dir.
18438 (libm-err.texi,stamp-libm-err): Likewise.
18439 (version.texi, stamp-version): Likewise.
18440 (.%c.texi): Likewise.
18441 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18442 (mostlyclean): Remove target.
18443 (realclean): Remove target.
18444 (generated): Add new variable with contents from mostlyclean and
18445 realclean, remove entries duplicated in common-mostlyclean, add
18446 stamp-libm-err and stamp-version.
18447 (generated-dirs): Add libc directory.
18448 ($(inst_infodir)/libc.info): Install files from build dir.
18450 * manual/install.texi (Configuring and compiling): Adjust since
18451 the info files are not part of the tar ball anymore.
18453 2012-05-14 Andreas Jaeger <aj@suse.de>
18455 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18458 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18461 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18462 to 2.2.0 where earlier.
18463 * sysdeps/unix/sysv/linux/configure: Regenerated.
18464 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18465 Remove conditional code.
18466 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18467 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18468 Remove conditional code.
18469 [!__NR_lchown]: Likewise.
18470 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18471 [__NR_lchown]: Likewise.
18472 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18473 comment referencing __ASSUME_LCHOWN_SYSCALL.
18474 * sysdeps/unix/sysv/linux/i386/sigaction.c
18475 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18476 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18477 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18478 Remove conditional code.
18479 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18480 (__protocol_available): Remove #if 0 code.
18481 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18483 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18484 * sysdeps/unix/sysv/linux/kernel-features.h
18485 (__ASSUME_GETCWD_SYSCALL): Don't define.
18486 (__ASSUME_REALTIME_SIGNALS): Likewise.
18487 (__ASSUME_PREAD_SYSCALL): Likewise.
18488 (__ASSUME_PWRITE_SYSCALL): Likewise.
18489 (__ASSUME_POLL_SYSCALL): Likewise.
18490 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18491 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18493 (__ASSUME_SIOCGIFNAME): Don't define.
18494 (__ASSUME_MSG_NOSIGNAL): Likewise.
18495 (__ASSUME_SENDFILE): Define unconditionally.
18496 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18497 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18499 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18500 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18501 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18502 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18503 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18504 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18505 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18519 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18522 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18525 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18528 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18530 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18531 Remove conditional code.
18532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18533 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18534 Remove conditional code.
18535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18536 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18537 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18538 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18539 Remove conditional code.
18540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18541 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18542 Remove conditional code.
18543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18544 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18545 Remove conditional code.
18546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18547 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18548 Remove conditional code.
18549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18550 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18551 Remove conditional code.
18552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18553 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18556 * sysdeps/unix/sysv/linux/sigaction.c
18557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18559 * sysdeps/unix/sysv/linux/sigpending.c
18560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18562 * sysdeps/unix/sysv/linux/sigprocmask.c
18563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18565 * sysdeps/unix/sysv/linux/sigsuspend.c
18566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18568 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18569 (__libc_missing_rt_sigs): Remove.
18570 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18571 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18572 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18573 Remove conditional code.
18574 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18575 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18577 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18578 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18579 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18580 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18582 2012-05-14 Andreas Jaeger <aj@suse.de>
18584 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18585 it's not used in glibc.
18586 (__coshm1): Likewise.
18587 (__acosh1p): Likewise.
18590 * manual/string.texi (Copying and Concatenation): Add missing
18591 variable in concat example.
18592 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18598 __builtin_clzl with __builtin_clzll.
18600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18603 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18606 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18608 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18609 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18610 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18611 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18613 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18615 * NEWS: Update ia64 info.
18617 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18619 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18622 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18624 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18625 * sysdeps/unix/syscalls.list (dup3): Likewise.
18626 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18627 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18629 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18631 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18632 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18634 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18636 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18638 (TLS_IE): Use mov/add instead of movq/addq to load thread
18640 (TLS_GD_PREFIX): New.
18643 2012-05-11 David S. Miller <davem@davemloft.net>
18645 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18646 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18647 (_FPU_SETCW): Likewise.
18649 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18651 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18652 is 32-byte aligned.
18654 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18657 * iconvdata/gb18030.c: Update tables.
18658 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18659 characters specially.
18660 (BODY for TO_LOOP): Add encoding of missing ranges.
18662 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18665 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18666 * sysdeps/mach/hurd/dup3.c: Likewise.
18667 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18668 * sysdeps/powerpc/memmove.c:: Likewise.
18670 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18673 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18675 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18677 * elf/elf.h (R_X86_64_RELATIVE64): New.
18678 (R_X86_64_NUM): Updated.
18679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18680 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18681 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18682 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18683 tst-quad1pie tst-quad2pie
18684 (modules-names): Add tst-quadmod1 tst-quadmod2.
18685 ($(objpfx)tst-quad1): New dependency.
18686 ($(objpfx)tst-quad2): Likewise.
18687 ($(objpfx)tst-quad1pie): Likewise.
18688 ($(objpfx)tst-quad2pie): Likewise.
18689 * sysdeps/x86_64/tst-quad1.c: New file.
18690 * sysdeps/x86_64/tst-quad1pie.c: New file.
18691 * sysdeps/x86_64/tst-quad2.c: Likewise.
18692 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18693 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18694 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18695 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18696 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18700 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18701 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18702 * streams/stropts.h (t_scalar_t): Define type.
18704 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18705 (_PATH_PRESERVE): Set to "/var/lib".
18706 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18708 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18711 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18712 if __dir_mkfile succeeded.
18714 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18715 checking for _hurd_dtablesize. Unlock it right after having
18716 finished _hurd_dtable allocation.
18718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18720 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18721 * sysdeps/mach/hurd/configure: Regenerated.
18722 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18723 special-casing to...
18724 * sysdeps/gnu/configure.in: ... this new file.
18725 * sysdeps/unix/sysv/linux/configure: Regenerated.
18726 * sysdeps/gnu/configure: New generated file.
18728 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18729 for Linux: use nsec instead of usec, as well as:
18730 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18731 members of type struct timespec.
18732 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18734 (struct stat64): Likewise.
18735 (_STATBUF_ST_NSEC): New macro.
18736 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18738 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18739 __strtoul_internal rather than strtoul.
18741 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18743 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18748 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18749 which preserves existing values.
18750 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18752 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18754 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18755 TIMEOUT values. Return EINVAL for NFDS values either negative or
18756 greater than FD_SETSIZE.
18758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18760 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18761 allocated, call __vm_protect to finish enabling the existing space, and
18762 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18763 allocate the remainder.
18765 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18767 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18768 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18772 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18773 sysdeps/mach/hurd/readlink.c.
18775 * posix/tst-sysconf.c (posix_options): Only use
18776 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18777 _POSIX_SYNCHRONIZED_IO when they are defined
18778 * sysdeps/mach/hurd/bits/posix_opt.h:
18779 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18780 (_XOPEN_REALTIME): Undefine macro.
18781 (_XOPEN_REALTIME_THREADS): Undefine macro.
18782 (_XOPEN_SHM): Undefine macro.
18783 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18785 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18787 (_POSIX_ASYNC_IO): Undefine macro.
18788 (_POSIX_PRIORITIZED_IO): Undefine macro.
18789 (_POSIX_SPIN_LOCKS): Define macro to -1.
18791 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18792 SA_NODEFER, SA_RESETHAND.
18793 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18794 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18797 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18799 * elf/Makefile (pldd-modules): Define unconditionally.
18801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18803 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18807 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18808 Return ENOENT when name is empty.
18809 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18813 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18815 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18819 Fix mlock in all cases except non-readable pages.
18820 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18821 instead of VM_PROT_ALL as parameter to __vm_wire function.
18823 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18824 (__mkdir): When path is `/', just fail with EEXIST.
18825 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18829 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18830 <sys/uio.h> (for writev).
18831 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18832 and <sys/param.h> (for MIN).
18834 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18836 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18837 REQUESTED_TIME. Properly set the remaining time and return EINTR
18840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18842 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18843 Depend on against $(link-rpcuserlibs).
18845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18847 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18848 (__libc_stack_end): Do not use attribute_relro.
18849 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18850 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18851 to libthread-provided value.
18852 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18858 * bits/libc-lock.h (__libc_once_get): New macro.
18859 * sysdeps/mach/bits/libc-lock.h: Likewise.
18860 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18861 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18862 instead of using implementation details.
18864 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18865 * libio/freopen.c: Likewise.
18866 * libio/freopen64.c: Likewise.
18867 * misc/syslog.c: Likewise.
18868 * nscd/connections.c: Likewise.
18869 * nscd/netgroupcache.c: Likewise.
18870 * sysdeps/posix/getcwd.c: Likewise.
18872 2012-05-10 Roland McGrath <roland@hack.frob.com>
18874 * math/w_ilogbf.c: Add #include <limits.h>.
18876 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18878 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18879 path instead of returning without unlocking.
18881 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18882 immediate-write ioctls.
18883 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18887 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18888 __builtin_frame_address instead of making assumptions about the
18889 location of the return address relative to DATA. Force early load of
18890 the return address.
18891 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18892 __builtin_frame_address.
18895 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18896 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18897 implement dup3 and do some further code clean-ups.
18898 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18899 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18903 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18905 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18906 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18907 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18908 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18909 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18912 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18913 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18914 when handler == SIG_ERR, not when handler != SIG_ERR.
18916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18918 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18919 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18922 accept4 for GNU Hurd.
18923 * include/sys/socket.h (__libc_accept4): New prototype.
18924 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18925 to implement __libc_accept4.
18926 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18928 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18930 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18931 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18932 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18933 signal-defines.sym.
18935 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18937 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18941 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18942 assertion on O_CLOEXEC flag.
18943 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18944 * hurd/intern-fd.c: Likewise.
18945 * hurd/port2fd.c: Likewise.
18947 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18950 * bits/in.h (IPV6_PKTINFO): Define new macro.
18951 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18953 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18958 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18960 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18963 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18964 * math/libm-test.inc (logb_test) : Additional logb tests.
18966 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18967 Andreas Jaeger <aj@suse.de>
18969 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18970 * configure: Regenerated.
18971 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18972 * config.make.in (link-obsolete-rpc): New substituted variable.
18973 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18974 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18975 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18976 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18977 so that libc.a contains the symbols.
18978 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18979 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18980 * sunrpc/auth_none.c: Likewise.
18981 * sunrpc/auth_unix.c: Likewise.
18982 * sunrpc/authdes_prot.c: Likewise.
18983 * sunrpc/authuxprot.c: Likewise.
18984 * sunrpc/clnt_gen.c: Likewise.
18985 * sunrpc/clnt_perr.c: Likewise.
18986 * sunrpc/clnt_raw.c: Likewise.
18987 * sunrpc/clnt_simp.c: Likewise.
18988 * sunrpc/clnt_tcp.c: Likewise.
18989 * sunrpc/clnt_udp.c: Likewise.
18990 * sunrpc/clnt_unix.c: Likewise.
18991 * sunrpc/des_crypt.c: Likewise.
18992 * sunrpc/des_soft.c: Likewise.
18993 * sunrpc/get_myaddr.c: Likewise.
18994 * sunrpc/key_call.c: Likewise.
18995 * sunrpc/key_prot.c: Likewise.
18996 * sunrpc/netname.c: Likewise.
18997 * sunrpc/pm_getmaps.c: Likewise.
18998 * sunrpc/pm_getport.c: Likewise.
18999 * sunrpc/pmap_clnt.c: Likewise.
19000 * sunrpc/pmap_prot.c: Likewise.
19001 * sunrpc/pmap_prot2.c: Likewise.
19002 * sunrpc/pmap_rmt.c: Likewise.
19003 * sunrpc/publickey.c: Likewise.
19004 * sunrpc/rpc_cmsg.c: Likewise.
19005 * sunrpc/rpc_common.c: Likewise.
19006 * sunrpc/rpc_dtable.c: Likewise.
19007 * sunrpc/rpc_prot.c: Likewise.
19008 * sunrpc/rpc_thread.c: Likewise.
19009 * sunrpc/rtime.c: Likewise.
19010 * sunrpc/svc.c: Likewise.
19011 * sunrpc/svc_auth.c: Likewise.
19012 * sunrpc/svc_raw.c: Likewise.
19013 * sunrpc/svc_run.c: Likewise.
19014 * sunrpc/svc_tcp.c: Likewise.
19015 * sunrpc/svc_udp.c: Likewise.
19016 * sunrpc/svc_unix.c: Likewise.
19017 * sunrpc/svcauth_des.c: Likewise.
19018 * sunrpc/xcrypt.c: Likewise.
19019 * sunrpc/xdr.c: Likewise.
19020 * sunrpc/xdr_array.c: Likewise.
19021 * sunrpc/xdr_float.c: Likewise.
19022 * sunrpc/xdr_intXX_t.c: Likewise.
19023 * sunrpc/xdr_mem.c: Likewise.
19024 * sunrpc/xdr_rec.c: Likewise.
19025 * sunrpc/xdr_ref.c: Likewise.
19026 * sunrpc/xdr_sizeof.c: Likewise.
19027 * sunrpc/xdr_stdio.c: Likewise.
19029 2012-05-10 Roland McGrath <roland@hack.frob.com>
19031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19032 change. Update copyright years.
19034 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19036 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19038 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19039 Joseph Myers <joseph@codesourcery.com>
19040 Paul Pluzhnikov <ppluzhnikov@google.com>
19043 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19045 [cross-compiling] (extra-libs): Likewise.
19046 [cross-compiling] (extra-libs-others): Likewise.
19047 [cross-compiling] (librpcsvc-routines): Likewise.
19048 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19049 [cross-compiling] (omit-deps): Likewise.
19050 (sunrpc-CPPFLAGS): New variable.
19051 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19052 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19053 (cross-rpcgen-objs): New variable.
19054 (extra-objs): Append $(cross-rpcgen-objs).
19055 ($(cross-rpcgen-objs)): New rule.
19056 ($(objpfx)cross-rpcgen): Likewise.
19057 (rpcgen-cmd): Define to use $(built-program-file). Expand
19059 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19060 ($(objpfx)x%.stmp): Likewise.
19061 * sunrpc/proto.h [IS_IN_build] (_): Define.
19062 [IS_IN_build] (_libc_intl_domainname): Likewise.
19064 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19067 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19068 and R_X86_64_TPOFF64.
19070 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19072 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19073 sysdeps/unix/sysv/syscalls.list.
19076 * sysdeps/unix/sysv/syscalls.list: Remove file.
19078 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19081 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19082 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19083 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19084 (__LC_IDENTIFICATION): Make these macros useful in #if
19085 expressions, as required by C99.
19087 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19089 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19090 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19093 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19095 * stdlib/longlong.h: Updated from GCC.
19097 2012-05-09 Andreas Jaeger <aj@suse.de>
19099 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19100 default is first entry.
19101 (run_mode): Set type.
19102 (main): Remove informal message about syslog.
19103 (options): Fix typo.
19106 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19109 (llrintf): Likewise.
19110 (llrint): Likewise.
19113 (nearbyint): Likewise.
19114 (nearbyintf): Likewise.
19116 2012-05-09 Andreas Jaeger <aj@suse.de>
19117 Pedro Alves <palves@redhat.com>
19119 * nscd/nscd.c (run_mode): Use enum.
19120 (main): Cleanup coding style issue.
19122 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19123 Andreas Jaeger <aj@suse.de>
19125 * nscd/nscd.c (go_background): Replaced with...
19126 (run_mode): ... this.
19127 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19128 (options): Add -F --foreground.
19129 (main): Implement it.
19130 (parse_opt): Parse it.
19132 2012-05-09 Andreas Jaeger <aj@suse.de>
19135 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19136 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19137 -Wconversion warning.
19138 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19141 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19143 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19145 (LC_ALL): Use macro-int-constant.
19146 (LC_COLLATE): Likewise.
19147 (LC_CTYPE): Likewise.
19148 (LC_MESSAGES): Likewise.
19149 (LC_MONETARY): Likewise.
19150 (LC_NUMERIC): Likewise.
19151 (LC_TIME): Likewise.
19152 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19153 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19155 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19157 [C99-based standards] (float_t): Expect type.
19158 [C99-based standards] (double_t): Expect type.
19159 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19161 [C99-based standards] (HUGE_VALL): Likewise.
19162 [C99-based standards] (INFINITY): Likewise.
19163 [C99-based standards] (NAN): Likewise.
19164 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19165 [C99-based standards] (FP_NAN): Likewise.
19166 [C99-based standards] (FP_NORMAL): Likewise.
19167 [C99-based standards] (FP_SUBNORMAL): Likewise.
19168 [C99-based standards] (FP_ZERO): Likewise.
19169 [C99-based standards] (FP_FAST_FMA): Use
19170 optional-macro-int-constant. Specify type. Require == 1.
19171 [C99-based standards] (FP_FAST_FMAF): Likewise.
19172 [C99-based standards] (FP_FAST_FMAL): Likewise.
19173 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19174 [C99-based standards] (FP_ILOGBNAN): Likewise.
19175 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19177 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19178 [C99-based standards] (math_errhandling): Specify type.
19179 [ISO99 || ISO11] (signgam): Do not allow.
19180 [non-C99-based standards] (copysignf): Do not allow.
19181 [non-C99-based standards] (exp2f): Likewise.
19182 [non-C99-based standards] (log2f): Likewise.
19183 [non-C99-based standards] (modff): Allow.
19184 [non-C99-based standards] (erff): Do not allow.
19185 [non-C99-based standards] (erfcf): Likewise.
19186 [non-C99-based standards] (gammaf): Likewise.
19187 [non-C99-based standards] (hypotf): Likewise.
19188 [non-C99-based standards] (j0f): Likewise.
19189 [non-C99-based standards] (j1f): Likewise.
19190 [non-C99-based standards] (jnf): Likewise.
19191 [non-C99-based standards] (lgammaf): Likewise.
19192 [non-C99-based standards] (tgammaf): Likewise.
19193 [non-C99-based standards] (y0f): Likewise.
19194 [non-C99-based standards] (y1f): Likewise.
19195 [non-C99-based standards] (ynf): Likewise.
19196 [non-C99-based standards] (isnanf): Likewise.
19197 [non-C99-based standards] (acoshf): Likewise.
19198 [non-C99-based standards] (asinhf): Likewise.
19199 [non-C99-based standards] (atanhf): Likewise.
19200 [non-C99-based standards] (cbrtf): Likewise.
19201 [non-C99-based standards] (expm1f): Likewise.
19202 [non-C99-based standards] (ilogbf): Likewise.
19203 [non-C99-based standards] (log1pf): Likewise.
19204 [non-C99-based standards] (logbf): Likewise.
19205 [non-C99-based standards] (nextafterf): Likewise.
19206 [non-C99-based standards] (remainderf): Likewise.
19207 [non-C99-based standards] (rintf): Likewise.
19208 [non-C99-based standards] (scalbf): Likewise.
19209 [non-C99-based standards] (copysignl): Likewise.
19210 [non-C99-based standards] (exp2l): Likewise.
19211 [non-C99-based standards] (log2l): Likewise.
19212 [non-C99-based standards] (modfl): Allow.
19213 [non-C99-based standards] (erfl): Do not allow.
19214 [non-C99-based standards] (erfcl): Likewise.
19215 [non-C99-based standards] (gammal): Likewise.
19216 [non-C99-based standards] (hypotl): Likewise.
19217 [non-C99-based standards] (j0l): Likewise.
19218 [non-C99-based standards] (j1l): Likewise.
19219 [non-C99-based standards] (jnl): Likewise.
19220 [non-C99-based standards] (lgammal): Likewise.
19221 [non-C99-based standards] (tgammal): Likewise.
19222 [non-C99-based standards] (y0l): Likewise.
19223 [non-C99-based standards] (y1l): Likewise.
19224 [non-C99-based standards] (ynl): Likewise.
19225 [non-C99-based standards] (isnanl): Likewise.
19226 [non-C99-based standards] (acoshl): Likewise.
19227 [non-C99-based standards] (asinhl): Likewise.
19228 [non-C99-based standards] (atanhl): Likewise.
19229 [non-C99-based standards] (cbrtl): Likewise.
19230 [non-C99-based standards] (expm1l): Likewise.
19231 [non-C99-based standards] (ilogbl): Likewise.
19232 [non-C99-based standards] (log1pl): Likewise.
19233 [non-C99-based standards] (logbl): Likewise.
19234 [non-C99-based standards] (nextafterl): Likewise.
19235 [non-C99-based standards] (remainderl): Likewise.
19236 [non-C99-based standards] (rintl): Likewise.
19237 [non-C99-based standards] (scalbl): Likewise.
19238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19239 [non-C99-based standards] (FP_*): Do not allow.
19240 [C99-based standards] (FP_*): Change to
19241 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19242 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19244 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19245 (SIG_ERR): Likewise.
19246 [X/Open-based standards] (SIG_HOLD): Likewise.
19247 (SIG_IGN): Likewise.
19248 (SIGABRT): Use macro-int-constant. Specify type. Require
19250 (SIGFPE): Likewise.
19251 (SIGILL): Likewise.
19252 (SIGINT): Likewise.
19253 (SIGSEGV): Likewise.
19254 (SIGTER): Likewise.
19255 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19257 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19264 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19265 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19266 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19268 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19269 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19270 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19271 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19272 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19273 [X/Open-based standards] (SIGTRAP): Likewise.
19274 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19275 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19276 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19278 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19281 2012-05-08 Ian Wienand <ianw@vmware.com>
19284 * time/tzset.c (__tzset_parse_tz): Update default rules for
19285 daylight time changes in the Energy Policy Act of 2005.
19287 2012-05-09 Andreas Jaeger <aj@suse.de>
19290 * elf/ldconfig.c (parse_conf): Change string to make clear that
19291 ldconfig only issued a warning if ld.so.conf does not exist.
19293 2012-05-08 David S. Miller <davem@davemloft.net>
19295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19296 movxtod instead of popping the value on the stack.
19298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19300 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19302 * config.h.in: Add HAVE_ARM_PCS_VFP.
19304 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19307 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19308 checking but the checks are disabled for any reason.
19310 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19312 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19313 and ELF64_R_TYPE with ELFW(R_TYPE).
19315 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19317 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19318 (ulimit): Likewise.
19320 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19321 (settimeofday): Likewise.
19323 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19325 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19326 a struct th_u2 inside the union, and move tu_block/tu_code into
19327 a new th_u3 union of tu_block/tu_code inside of that. Move
19328 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19329 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19330 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19331 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19332 (th_stuff): Change to th_u1.tu_stuff.
19334 (th_msg): Change to th_u1.th_u2.tu_data.
19336 2012-05-07 David S. Miller <davem@davemloft.net>
19338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19341 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19342 (SETUP_PIC_REG): Use it.
19343 (SETUP_PIC_REG_LEAF): Use it.
19345 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19349 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19351 (EXPL_FINITE): Likewise.
19352 (FLDLOG): Likewise.
19353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19354 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19358 (EXPL_FINITE): Likewise.
19359 (FLDLOG): Likewise.
19360 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19361 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19363 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19364 test of -max_value argument for long double.
19365 * sysdeps/i386/fpu/libm-test-ulps: Update.
19366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368 2012-05-06 David S. Miller <davem@davemloft.net>
19370 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19371 quad soft-float symbols whose references which are compiler
19373 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19375 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19379 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19381 (EXPL_FINITE): Likewise.
19382 (FLDLOG): Likewise.
19385 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19386 Adjust comments for base varying.
19387 (__expl_finite): Change alias to EXPL_FINITE.
19388 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19390 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19391 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19393 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19396 (EXPL_FINITE): Likewise.
19397 (FLDLOG): Likewise.
19400 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19401 Adjust comments for base varying.
19402 (__expl_finite): Change alias to EXPL_FINITE.
19403 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19408 * math/libm-test.inc (check_float_internal): Correct ulp
19409 calculation for subnormal expected results.
19411 2012-05-06 Andreas Jaeger <aj@suse.de>
19413 * Makeconfig (+math-flags): New, set to -frounding-math.
19414 (+cflags): Add +math-flags so that all of glibc gets compiled with
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19419 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19421 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19427 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19428 (__ieee754_expl): Allow for and saturate large arguments.
19429 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19430 (u_threshold): Likewise.
19431 (__exp): Call __ieee754_exp before checking for overflow and
19433 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19434 (u_threshold): Likewise.
19435 (__expf): Call __ieee754_expf before checking for overflow and
19437 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19438 (u_threshold): Likewise.
19439 (__expl): Call __ieee754_expl before checking for overflow and
19441 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19442 (__ieee754_expl): Allow for and saturate large arguments.
19443 * math/libm-test.inc (exp_test): Add another test. Do not allow
19444 missing overflow exception on overflow.
19445 (expm1_test): Do not allow missing overflow exception on overflow.
19447 * sysdeps/i386/fpu/e_expl.c: Move to ...
19448 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19449 rather than using inline asm.
19450 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19451 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19452 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19454 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19457 (signal): Likewise.
19461 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19463 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19464 sysdeps/unix/common/syscalls.list.
19465 (fchmod): Likewise.
19466 (fchown): Likewise.
19467 (ftruncate): Likewise.
19468 (getrusage): Likewise.
19469 (gettimeofday): Likewise.
19470 (setpgid): Likewise.
19471 (setregid): Likewise.
19472 (setreuid): Likewise.
19473 (sigaction): Likewise.
19474 (truncate): Likewise.
19475 (vhangup): Likewise.
19476 * sysdeps/unix/common/syscalls.list: Remove file.
19477 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19478 * sysdeps/unix/sysv/linux/Implies: Likewise.
19480 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19482 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19484 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19488 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19491 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19494 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19497 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19500 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19503 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19506 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19510 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19514 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19517 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19521 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19525 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19527 * sysdeps/unix/common/bits/dirent.h: Remove file.
19528 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19530 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19531 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19532 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19533 * sysdeps/unix/bsd/isatty.c: Likewise.
19534 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19535 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19536 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19538 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19542 long double comparison inaccuracies.
19543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19546 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19548 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19551 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19555 nonzero digits before rounding a hex value.
19556 * stdlib/tst-strtod.c (tests): Add another test.
19558 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19560 * sysdeps/s390/fpu/libm-test-ulps: Update.
19562 2012-05-03 Andreas Jaeger <aj@suse.de>
19564 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19565 does not get optimized out.
19566 (malloc_opt_barrier): New.
19568 2012-05-03 Andreas Jaeger <aj@suse.de>
19569 Roland McGrath <roland@hack.frob.com>
19571 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19572 intermediate file deletion.
19573 (generated): Add .symlist files.
19575 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19578 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19579 Redirect under this condition.
19580 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19581 [__USE_GNU] (__dprintf_chk): Not under this condition.
19582 [__USE_GNU] (__vdprintf_chk): Likewise.
19583 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19584 under this condition.
19585 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19586 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19587 [__USE_XOPEN2K8] (vdprintf): Likewise.
19588 [__USE_GNU] (__dprintf_chk): Not under this condition.
19589 [__USE_GNU] (__vdprintf_chk): Likewise.
19590 [__USE_GNU] (dprintf): Likewise.
19591 [__USE_GNU] (vdprintf): Likewise.
19593 2012-05-03 Roland McGrath <roland@hack.frob.com>
19595 * elf/Makefile (common-generated): Set this instead of generated for
19596 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19597 $(all-built-dso)-derived lists.
19599 2012-05-03 Andreas Jaeger <aj@suse.de>
19601 * sysdeps/i386/fpu/libm-test-ulps: Update.
19604 * FAQ.in: Likewise.
19605 * scripts/gen-FAQ.pl: Likewise.
19606 * manual/install.texi (Installation): Point to online location of
19608 * Makefile (files-for-dist): Remove FAQ.
19611 2012-05-02 Allan McRae <allan@archlinux.org>
19613 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19614 (LDFLAGS-reldepmod5.so): Likewise.
19615 (LDFLAGS-reldep6mod1.so): Likewise.
19616 (LDFLAGS-reldep6mod4.so): Likewise.
19617 (LDFLAGS-reldep8mod3.so): Likewise.
19618 (LDFLAGS-unload4mod1.so): Likewise.
19619 (LDFLAGS-unload4mod2.so): Likewise.
19620 (LDFLAGS-tst-initorder): Likewise.
19621 (LDFLAGS-tst-initordera2.so): Likewise.
19622 (LDFLAGS-tst-initordera3.so): Likewise.
19623 (LDFLAGS-tst-initordera4.so): Likewise.
19624 (LDFLAGS-tst-initorderb2.so): Likewise.
19625 (LDFLAGS-noload): Likewise.
19626 (LDFLAGS-next): Likewise.
19627 (LDFLAGS-order2mod1.so): Likewise.
19628 (LDFLAGS-order2mod2.so): Likewise.
19629 (LDFLAGS-tst-initorder2): Likewise.
19630 (LDFLAGS-tst-initorder2a.so): Likewise.
19631 (LDFLAGS-tst-initorder2b.so): Likewise.
19632 (LDFLAGS-tst-initorder2c.so): Likewise.
19633 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19635 2012-05-02 David S. Miller <davem@davemloft.net>
19637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19639 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19642 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19644 2012-05-02 Andreas Jaeger <aj@suse.de>
19646 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19647 since we manipulate rounding mode.
19648 (CPPFLAGS-test-idouble.c): Likewise.
19649 (CPPFLAGS-test-ifloat.c): Likewise.
19650 (CFLAGS-test-ldouble.c): Likewise.
19651 (CFLAGS-test-double.c): Likewise.
19652 (CFLAGS-test-float.c): Likewise.
19653 (CFLAGS-test-misc.c): Likewise.
19654 (CFLAGS-test-test-fenv.c): Likewise.
19656 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19660 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19661 comparisons to determine direction to adjust input.
19663 2012-05-01 Roland McGrath <roland@hack.frob.com>
19665 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19666 output to the target.
19668 * scripts/localplt.awk: New file.
19669 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19670 (check-localplt-CFLAGS): Variable removed.
19671 ($(all-built-dso:=.jmprel)): New static pattern rule.
19672 (generated): Add those targets.
19673 (localplt-built-dso): New variable.
19674 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19676 * elf/check-localplt.c: File removed.
19678 * scripts/check-execstack.awk: New file.
19679 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19680 (check-execstack-CFLAGS): Variable removed.
19681 ($(objpfx)check-execstack.h): Target removed.
19682 ($(objpfx)execstack-default): New target.
19683 (generated): Add that instead of check-execstack.h.
19684 ($(all-built-dso:=.phdr)): New static pattern rule.
19685 (generated): Add those targets.
19686 * elf/check-execstack.c: File removed.
19688 * scripts/check-textrel.awk: New file.
19689 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19690 (check-textrel-CFLAGS): Variable removed.
19691 (all-built-dso): Use := to define.o
19692 ($(all-built-dso:=.dyn)): New static pattern rule.
19693 (generated): Add those targets.
19694 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19695 * config.make.in (READELF): New substituted variable.
19696 * elf/check-textrel.c: File removed.
19698 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19700 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19702 * conform/data/ctype.h-data [C99-based standards] (isblank):
19704 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19705 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19707 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19708 Specify type. Require positive value.
19709 (EILSEQ): Likewise.
19710 (ERANGE): Likewise.
19711 [ISO || POSIX] (EILSEQ): Do not expect.
19712 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19713 Specify type. Require positive value.
19714 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19715 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19716 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19717 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19718 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19720 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19725 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19726 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19727 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19728 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19729 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19730 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19731 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19732 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19733 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19734 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19735 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19736 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19737 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19742 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19743 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19744 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19745 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19757 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19762 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19763 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19764 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19765 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19766 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19767 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19768 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19769 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19770 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19771 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19772 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19773 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19774 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19775 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19776 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19777 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19778 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19779 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19780 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19781 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19782 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19783 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19784 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19785 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19786 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19787 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19788 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19789 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19790 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19792 (FLT_ROUNDS): Expect as macro, not constant.
19793 (FLT_MANT_DIG): Use macro-int-constant.
19794 (DBL_MANT_DIG): Likewise.
19795 (LDBL_MANT_DIG): Likewise.
19796 (FLT_DIG): Likewise.
19797 (DBL_DIG): Likewise.
19798 (LDBL_DIG): Likewise.
19799 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19800 (DBL_MIN_EXP): Likewise.
19801 (LDBL_MIN_EXP): Likewise.
19802 (FLT_MAX_EXP): Use macro-int-constant.
19803 (DBL_MAX_EXP): Likewise.
19804 (LDBL_MAX_EXP): Likewise.
19805 (FLT_MAX_10_EXP): Likewise.
19806 (DBL_MAX_10_EXP): Likewise.
19807 (LDBL_MAX_10_EXP): Likewise.
19808 (FLT_MAX): Use macro-constant.
19809 (DBL_MAX): Likewise.
19810 (LDBL_MAX): Likewise.
19811 (FLT_EPSILON): Use macro-constant. Give upper bound.
19812 (DBL_EPSILON): Likewise.
19813 (LDBL_EPSILON): Likewise.
19814 (FLT_MIN): Likewise.
19815 (DBL_MIN): Likewise.
19816 (LDBL_MIN): Likewise.
19817 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19818 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19819 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19820 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19821 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19822 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19823 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19824 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19825 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19826 [ISO11] (FLT_TRUE_MIN): Likewise.
19827 [ISO11] (LDBL_TRUE_MIN): Likewise.
19828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19829 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19830 (SCHAR_MIN): Use macro-int-constant. Specify type.
19831 (SCHAR_MAX): Likewise.
19832 (UCHAR_MAX): Likewise.
19833 (CHAR_MIN): Likewise.
19834 (CHAR_MAX): Likewise.
19835 (MB_LEN_MAX): Use macro-int-constant.
19836 (SHRT_MIN): Use macro-int-constant. Specify type.
19837 (SHRT_MAX): Likewise.
19838 (USHRT_MAX): Likewise.
19839 (INT_MAX): Likewise.
19840 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19842 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19844 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19846 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19847 bound negative. Suffix upper bound with "L".
19848 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19850 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19852 [C99-based standards] (LLONG_MAX): Likewise.
19853 [C99-based standards] (ULLONG_MAX): Likewise.
19854 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19856 [ISO11] (max_align_t): Require type.
19857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19859 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19860 from $CFLAGS, without defining away __attribute__ calls.
19861 (checknamespace): Use $CFLAGS_namespace.
19863 * conform/conformtest.pl (@keywords): Only include C99 keywords
19864 for standards based on C99 or C11.
19866 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19868 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19871 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19872 usability of symbols in #if.
19874 * conform/conformtest.pl: If macro or constant types start
19875 "promoted:", expect the symbol to be of the following type
19876 promoted by the integer promotions.
19878 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19879 in one place. Also handle "macro-constant".
19881 * conform/conformtest.pl: Only accept expected macro values with
19882 "==". Parse all "macro" lines in one place.
19883 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19885 * conform/conformtest.pl: Handle braced types on "constant" lines
19886 instead of handling "typed-constant".
19887 * conform/data/signal.h-data: Use "constant" instead of
19890 * conform/conformtest.pl: Handle "optional-" at start of lines in
19891 one place rather than duplicating several cases. Handle each
19892 format of "macro" line with initial "optional-".
19894 * conform/conformtest.pl: Only accept expected constant or
19895 optional-constant values with "==". Parse all "constant" lines in
19896 one place. Parse all "optional-constant" lines in one place.
19897 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19898 * conform/data/fmtmsg.h-data: Likewise.
19899 * conform/data/netinet/in.h-data: Likewise.
19900 * conform/data/tar.h-data: Likewise.
19901 * conform/data/limits.h-data: Use "==" form on "constant" and
19902 "optional-constant" lines.
19904 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19905 Use -std=c99 for XOPEN2K.
19906 (@knownproblems): Remove.
19907 (newtoken): Don't check %isknown.
19909 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19910 Do not expect macro.
19911 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19914 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19915 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19916 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19917 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19919 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19920 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19921 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19922 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19923 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19924 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19927 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19928 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19932 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19933 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19936 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19937 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19938 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19941 [XPG3] (acosh): Likewise.
19942 [XPG3] (asinh): Likewise.
19943 [XPG3] (atanh): Likewise.
19944 [XPG3] (cbrt): Likewise.
19945 [XPG3] (expm1): Likewise.
19946 [XPG3] (ilogb): Likewise.
19947 [XPG3] (log1p): Likewise.
19948 [XPG3] (logb): Likewise.
19949 [XPG3] (nextafter): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19952 [XPG3] (remainder): Likewise.
19953 [XPG3] (rint): Likewise.
19954 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19961 [UNIX98 || XOPEN2K] (scalb): Expect.
19962 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19963 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19964 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19965 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19966 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19967 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19968 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19969 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19970 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19971 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19972 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19973 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19974 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19975 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19976 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19977 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19978 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19979 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19980 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19981 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19982 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19983 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19984 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19985 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19986 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19987 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19988 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19989 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19990 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19991 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19992 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19993 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19994 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19995 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19996 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19997 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19998 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19999 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20000 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20001 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20002 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20003 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20004 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20005 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20006 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20007 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20008 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20009 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20010 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20011 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20012 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20013 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20014 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20015 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20016 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20017 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20018 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20019 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20020 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20021 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20022 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20023 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20024 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20025 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20026 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20027 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20028 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20029 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20030 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20031 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20032 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20033 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20034 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20035 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20036 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20037 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20038 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20039 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20040 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20041 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20042 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20043 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20044 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20045 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20046 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20047 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20048 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20049 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20050 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20051 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20052 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20053 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20054 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20055 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20056 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20057 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20058 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20059 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20060 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20061 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20062 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20063 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20064 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20065 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20066 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20067 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20068 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20069 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20070 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20071 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20072 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20073 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20074 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20075 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20076 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20077 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20078 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20079 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20080 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20081 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20082 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20083 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20084 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20085 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20086 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20087 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20088 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20089 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20090 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20091 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20092 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20093 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20094 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20095 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20096 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20097 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20098 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20100 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20101 _XOPEN_SOURCE_EXTENDED for XPG4.
20103 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20105 * Makeconfig (localtime): Remove variable.
20106 (inst_localtime-file): Likewise.
20108 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20129 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20133 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20134 comparisons to determine direction to adjust input.
20135 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20136 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20139 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20143 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20144 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20146 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20148 * math/libm-test.inc (nexttoward_test): Add more tests.
20150 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20154 in version GLIBC_2.1, not GLIBC_2.0.
20155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20158 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20161 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20163 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20164 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20165 * math/libm-test.inc (acos_test): Add more tests.
20166 (asin_test): Likewise.
20167 * sysdeps/i386/fpu/libm-test-ulps: Update.
20168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20171 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20173 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20174 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20175 * math/libm-test.inc (acos_test_tonearest): New function.
20176 (acos_test_towardzero): Likewise.
20177 (acos_test_downward): Likewise.
20178 (acos_test_upward): Likewise.
20179 (asin_test_tonearest): Likewise.
20180 (asin_test_towardzero): Likewise.
20181 (asin_test_downward): Likewise.
20182 (asin_test_upward): Likewise.
20183 (main): Call the new functions.
20184 * sysdeps/i386/fpu/libm-test-ulps: Update.
20185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20189 * math/e_exp10.c: Include <float.h>.
20190 (__ieee754_exp10): Handle underflow here rather than multiplying
20191 large negative argument by M_LN10.
20192 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20194 * math/e_exp10l.c: Include <float.h>.
20195 (__ieee754_exp10l): Handle underflow here rather than multiplying
20196 large negative argument by M_LN10l.
20197 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20198 spurious overflow exception on underflow.
20200 2012-04-29 Marek Polacek <polacek@redhat.com>
20202 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20203 (__fortify_function): New macro.
20204 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20205 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20206 __extern_always_inline.
20207 * libio/bits/stdio2.h: Likewise.
20208 * libio/bits/stdio.h: Likewise.
20209 * string/string.h: Likewise.
20210 * string/bits/string3.h: Likewise.
20211 * include/stdio.h: Likewise.
20212 * stdlib/bits/stdlib.h: Likewise.
20213 * stdlib/stdlib.h: Likewise.
20214 * rt/bits/mqueue2.h: Likewise.
20215 * rt/mqueue.h: Likewise.
20216 * posix/bits/unistd.h: Likewise.
20217 * posix/unistd.h: Likewise.
20218 * io/bits/poll2.h: Likewise.
20219 * io/bits/fcntl2.h: Likewise.
20220 * io/fcntl.h: Likewise.
20221 * io/sys/poll.h: Likewise.
20222 * misc/bits/syslog.h: Likewise.
20223 * misc/bits/syslog-ldbl.h: Likewise.
20224 * misc/sys/syslog.h: Likewise.
20225 * socket/bits/socket2.h: Likewise.
20226 * socket/sys/socket.h: Likewise.
20227 * debug/tst-chk1.c: Likewise.
20228 * wcsmbs/bits/wchar2.h: Likewise.
20229 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20230 * wcsmbs/wchar.h: Likewise.
20232 2012-04-29 Andreas Jaeger <aj@suse.de>
20234 * Makerules (tests): Remove enable-check-abi protection.
20235 (check-abi-warn): Remove.
20236 (check-abi-%): Remove check-abi-warn usage.
20238 * configure.in: Remove check-abi configure option.
20239 * configure: Regenerated.
20240 * config.make.in (enable-check-abi): Remove.
20242 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20245 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20246 double functions to double *_finite functions.
20249 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20250 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20252 * stdio-common/Makefile (tests): Add tst-sprintf3.
20253 * stdio-common/tst-sprintf3.c: New file.
20255 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20256 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20258 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20260 * conform/conformtest.pl: Remove duplicate typed-constant
20263 2012-04-28 David S. Miller <davem@davemloft.net>
20265 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20266 (check-abi-%): Remove AWK script prerequisite and explicit
20268 (check-abi): Rewrite to just diff the symlist with the abilist.
20269 (config-tls, config-abi-config): Delete, no longer used.
20270 (update-abi-%): Remove AWK script and explicit abilist directory.
20271 (update-abi): Rewrite to simply compare and conditionally copy the
20272 symlist and the sysdep abilist file. Remove update-abi-config
20274 * abilist/ld.abilist: Remove.
20275 * abilist/libBrokenLocale.abilist: Remove.
20276 * abilist/libanl.abilist: Remove.
20277 * abilist/libcrypt.abilist: Remove.
20278 * abilist/libdl.abilist: Remove.
20279 * abilist/librt.abilist: Remove.
20280 * abilist/libthread_db.abilist: Remove.
20281 * abilist/libutil.abilist: Remove.
20282 * scripts/extract-abilist.awk: Remove.
20283 * scripts/merge-abilist.awk: Remove.
20284 * sysdeps/generic/libcidn.abilist: New file.
20285 * sysdeps/generic/libnss_compat.abilist: New file.
20286 * sysdeps/generic/libnss_db.abilist: New file.
20287 * sysdeps/generic/libnss_dns.abilist: New file.
20288 * sysdeps/generic/libnss_files.abilist: New file.
20289 * sysdeps/generic/libnss_hesiod.abilist: New file.
20290 * sysdeps/generic/libnss_nis.abilist: New file.
20291 * sysdeps/generic/libnss_nisplus.abilist: New file.
20292 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20293 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20294 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20297 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20298 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20299 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20300 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20301 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20302 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20303 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20304 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20306 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20307 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20308 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20309 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20311 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20312 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20313 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20314 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20315 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20316 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20318 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20319 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20320 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20322 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20425 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20426 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20427 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20430 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20431 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20432 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20433 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20434 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20435 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20436 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20437 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20438 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20490 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20492 * conform/conformtest.pl: Fix typo in handling typed-constant from
20495 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20497 * README: Cut down references to pre-2.6 Linux kernels and
20498 Linuxthreads. Update lists of configurations in libc and ports
20499 and sort alphabetically. Say "or newer" with Linux kernel version
20502 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20504 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20507 * math/libm-test.inc (logb_test_downward): New test to expose
20508 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20511 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20514 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20516 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20517 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20519 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20521 * sysdeps/unix/i386/brk.S: Remove file.
20522 * sysdeps/unix/i386/dl-brk.S: Likewise.
20523 * sysdeps/unix/i386/pipe.S: Likewise.
20524 * sysdeps/unix/i386/sigreturn.S: Likewise.
20525 * sysdeps/unix/i386/syscall.S: Likewise.
20526 * sysdeps/unix/i386/vfork.S: Likewise.
20527 * sysdeps/unix/i386/wait.S: Likewise.
20529 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20530 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20532 * configure.in (arm*-none*): Do not allow without
20533 --enable-hacker-mode.
20534 (netbsd*): Remove case setting base_os.
20535 (386bsd*): Likewise.
20536 (freebsd*): Likewise.
20539 (sunos*): Likewise.
20540 (ultrix*): Likewise.
20541 (newsos*): Likewise.
20542 (dynix*): Likewise.
20548 (minix*): Likewise.
20549 (irix4*): Likewise.
20550 (irix6*): Likewise.
20551 (solaris[2-9]*): Likewise.
20553 * configure: Regenerated.
20555 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20558 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20559 overflow or cancellation in calculating denominator.
20560 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20562 down expression to avoid unexpected rounding in newer GCCs.
20563 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20565 2012-04-26 David S. Miller <davem@davemloft.net>
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20568 long-double compat symbols.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20583 2012-04-25 David S. Miller <davem@davemloft.net>
20585 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20586 HWCAP_* values only after the memory barriers have been defined.
20587 (atomic_full_barrier): Define.
20588 (atomic_read_barrier): Define.
20589 (atomic_write_barrier): Define.
20591 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20593 * shlib-versions: Add libgcc_s version information.
20594 * sysdeps/generic/libgcc_s.h: Remove.
20595 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20597 * sysdeps/gnu/unwind-resume.c: Likewise.
20598 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20600 2012-04-25 David S. Miller <davem@davemloft.net>
20602 * sysdeps/unix/sparc/brk.S: Delete.
20603 * sysdeps/unix/sparc/dl-brk.S: Delete.
20604 * sysdeps/unix/sparc/pipe.S: Delete.
20605 * sysdeps/unix/sparc/sysdep.S: Delete.
20606 * sysdeps/unix/sparc/sysdep.h: Delete.
20607 * sysdeps/unix/sparc/vfork.S: Delete.
20608 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20609 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20611 ret_ERRVAL, r0, r1, MOVE): Define.
20612 (JUMPTARGET): Remove.
20613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20614 sysdeps/unix/sparc/sysdep.h
20615 (ENTRY, END): Remove.
20616 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20618 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20620 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20621 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20624 * timezone/README: Update upstream location and email address for
20626 * timezone/zdump.c: Update from tzcode 2012b.
20627 * timezone/zic.c: Likewise.
20629 * configure.in (libc_cv_as_needed): Remove test.
20630 * configure: Regenerated.
20631 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20632 conditional definition.
20633 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20634 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20635 * config.make.in (have-as-needed): Remove variable.
20637 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20638 Paul Pluzhnikov <ppluzhnikov@google.com>
20640 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20643 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20645 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20646 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20647 * sysdeps/sh/strlen.S: Likewise.
20649 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20651 * sysdeps/unix/fork.S: Remove file.
20652 * sysdeps/unix/i386/fork.S: Likewise.
20653 * sysdeps/unix/sparc/fork.S: Likewise.
20655 * sysdeps/unix/system.c: Remove file.
20656 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20658 * sysdeps/unix/getegid.S: Remove file.
20659 * sysdeps/unix/geteuid.S: Likewise.
20661 2012-04-24 Roland McGrath <roland@hack.frob.com>
20663 * scripts/check-localplt.awk: New file.
20664 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20666 * scripts/data/localplt-generic.data: Add a comment.
20668 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20669 NODE when __dir_mkfile failed.
20670 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20671 Reported by Ludovic Courtès <ludo@gnu.org>.
20673 2012-04-24 Andreas Jaeger <aj@suse.de>
20675 * Makerules (common-clean): Also remove gen-as-const-headers
20678 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20680 * Makerules (native-compile): Do not change working directory for
20681 build. Use $(OUTPUT_OPTION) in command.
20682 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20684 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20687 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20688 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20689 * math/libm-test.inc (floor_test): Add more tests.
20690 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20692 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20694 * sysdeps/unix/getdents.c: Remove file.
20695 * sysdeps/unix/sysv/getdents.c: Likewise.
20696 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20698 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20699 sysdeps/unix/mman/syscalls.list.
20701 (mprotect): Likewise.
20703 (munmap): Likewise.
20704 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20705 * sysdeps/unix/mman/syscalls.list: Remove.
20706 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20708 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20709 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20710 * configure: Regenerated.
20711 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20712 $(libgcc_s_suffix).
20713 * config.make.in (libgcc_s_suffix): Remove variable.
20715 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20717 * sysdeps/unix/sysv/gethostname.c: Move to ...
20718 * sysdeps/posix/gethostname.c: ... here.
20720 * sysdeps/unix/execve.S: Remove file.
20722 * sysdeps/unix/_exit.S: Remove file.
20724 2012-04-23 Andreas Jaeger <aj@suse.de>
20727 * manual/Makefile: Remove make dist support, there's no
20728 need for a stand-alone documentation tar ball.
20729 (TEXI2DVI): Define always, it's not in Makeconfig.
20732 (edition): Removed.
20733 (glibc-doc-$(edition).tar): Removed
20737 (ETAGS): Remove, it's in Makeconfig.
20738 (move-if-change): Remove, it's in Makeconfig.
20740 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20743 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20744 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20745 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20746 (strtod_l, strtof_l, strtold_l): Remove __wur.
20747 It is not necessarily an error to ignore strtol's return value.
20748 One can reliably look at the stored endptr to decide whether
20749 the number had valid syntax.
20751 2012-04-21 Andreas Jaeger <aj@suse.de>
20754 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20756 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20758 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20759 * sysdeps/unix/sysv/Versions: Remove file.
20761 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20766 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20770 version from __vm86.
20772 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20774 * sysdeps/unix/common/lxstat.c: Remove file.
20775 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20777 * sysdeps/unix/sysv/Makefile: Remove file.
20779 * sysdeps/unix/sysv/direct.h: Remove file.
20781 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20782 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20783 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20784 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20785 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20786 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20787 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20789 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20791 * sysdeps/unix/xmknod.c: Remove file.
20792 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20794 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20796 * sysdeps/unix/sysv/i386/time.S: Remove file.
20798 * sysdeps/unix/fxstat.c: Remove file.
20799 * sysdeps/unix/xstat.c: Likewise.
20800 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20802 * sysdeps/unix/sysv/sigaction.c: Remove file.
20804 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20805 (sysdep_headers): Remove variable.
20806 [termio.h not in sysdep_headers] (generated): Likewise.
20807 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20808 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20809 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20810 * sysdeps/unix/sysv/tcflow.c: Likewise.
20811 * sysdeps/unix/sysv/tcflush.c: Likewise.
20812 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20813 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20814 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20815 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20816 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20818 * sysdeps/unix/siglist.c: Remove file.
20820 * sysdeps/unix/getppid.S: Remove file.
20822 * sysdeps/unix/mkdir.c: Remove file.
20823 * sysdeps/unix/rmdir.c: Likewise.
20825 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20827 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20829 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20830 errlist-compat value.
20832 2012-04-18 David S. Miller <davem@davemloft.net>
20834 * sysdeps/generic/memcopy.h (reg_char): Delete.
20835 * debug/strcat_chk.c: Use char, not reg_char.
20836 * debug/strcpy_chk.c: Likewise.
20837 * debug/strncat_chk.c: Likewise.
20838 * debug/strncpy_chk.c: Likewise.
20839 * string/memchr.c: Likewise.
20840 * string/memrchr.c: Likewise.
20841 * string/rawmemchr.c: Likewise.
20842 * string/strcat.c: Likewise.
20843 * string/strchr.c: Likewise.
20844 * string/strchrnul.c: Likewise.
20845 * string/strcmp.c: Likewise.
20846 * string/strcpy.c: Likewise.
20847 * string/strncat.c: Likewise.
20848 * string/strncmp.c: Likewise.
20849 * string/strncpy.c: Likewise.
20851 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20853 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20854 __builtin_memcopy is called when src and dest ranges are known to not
20857 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20860 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20861 fwd_align_merge macro call.
20862 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20863 bwd_align_merge macro call.
20864 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20866 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20868 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20869 bwd_align_merge macros.
20870 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20871 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20874 2012-04-18 David S. Miller <davem@davemloft.net>
20876 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20878 2012-04-18 Andreas Jaeger <aj@suse.de>
20881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20882 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20885 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20886 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20889 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20890 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20891 Adjust for changed ldbl-128 files.
20893 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20894 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20895 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20897 2012-04-17 David S. Miller <davem@davemloft.net>
20899 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20901 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20903 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20904 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20905 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20906 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20907 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20908 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20910 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20913 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20914 * math/libm-test.inc: Add ilogb errno and exception tests.
20915 * math/w_ilogb.c: New file: ilogb wrapper.
20916 * math/w_ilogbf.c: New file: ilogbf wrapper.
20917 * math/w_ilogbl.c: New file: ilogbl wrapper.
20918 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20919 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20920 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20921 exception being thrown with 0.0 as argument.
20922 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20923 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20924 exception being thrown with 0.0 as argument.
20925 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20926 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20927 exception being thrown with 0.0 as argument.
20928 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20929 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20930 exception being thrown with 0.0 as argument.
20931 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20932 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20934 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20935 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20936 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20937 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20938 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20939 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20941 2012-04-17 Petr Baudis <pasky@ucw.cz>
20943 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20946 2012-04-16 Marek Polacek <polacek@redhat.com>
20948 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20950 2012-04-16 Marek Polacek <polacek@redhat.com>
20952 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20953 operands of fdivp instruction.
20955 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20957 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20958 * elf/tst-auditmod3b.c: Likewise.
20959 * elf/tst-auditmod4b.c: Likewise.
20960 * elf/tst-auditmod5b.c: Likewise.
20961 * elf/tst-auditmod6b.c: Likewise.
20962 * elf/tst-auditmod6c.c: Likewise.
20963 * elf/tst-auditmod7b.c: Likewise.
20964 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20965 * sysdeps/x86_64/preconfigure.in: Likewise.
20966 * sysdeps/x86_64/preconfigure: Regenerated.
20968 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20970 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20973 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20976 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20978 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20981 * locale/iso-639.def: Fix gl language name. Spotted by
20984 2012-04-12 Roland McGrath <roland@hack.frob.com>
20987 * libio/libio.h (__io_write_fn): Update comment.
20989 2012-04-12 Petr Baudis <pasky@ucw.cz>
20992 * stdio.texi (Hook Functions): The user provided writer function
20993 is not allowed to return -1.
20995 2012-04-11 David S. Miller <davem@davemloft.net>
20997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20999 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21001 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21002 Add a leading slash to rtkaio.
21004 2012-04-11 Jim Meyering <meyering@redhat.com>
21007 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21008 It is not necessarily an error to ignore fwrite's return
21009 value. One can reliably use ferror to test for errors after
21012 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21014 * bits/types.h (__snseconds_t): New type.
21015 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21017 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21019 (__SNSECONDS_T_TYPE): Likewise.
21020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21021 (__SNSECONDS_T_TYPE): Likewise.
21022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21023 (__SNSECONDS_T_TYPE): Likewise.
21025 2012-04-10 Andreas Jaeger <aj@suse.de>
21028 * manual/time.texi (Processor Time): Return type of times is
21029 elapsed real time since an arbitrary point in the past.
21030 (CPU Time): Move CLK_TCK from here...
21031 (Processor Time): ...to here. Correct description.
21032 * manual/conf.texi (Constants for Sysconf): Correct description of
21035 2012-04-10 David S. Miller <davem@davemloft.net>
21038 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21039 where the is a gap between DT_REL(A) and DT_JMPREL.
21041 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21043 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21044 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21045 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21047 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21049 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21050 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21051 (dl_main): Handle --inhibit-cache.
21052 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21054 * elf/dl-load.c (_dl_map_object): Use it.
21055 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21057 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21060 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21061 (__ieee754_powl): Saturate large exponents rather than testing for
21062 overflow of y*log2(x).
21063 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21064 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21068 * math/s_ctan.c: Include <float.h>.
21069 (__ctan): Avoid internal overflow or cancellation in calculating
21071 * math/s_ctanf.c: Likewise.
21072 * math/s_ctanl.c: Likewise.
21073 * math/s_ctanh.c: Likewise.
21074 * math/s_ctanhf.c: Likewise.
21075 * math/s_ctanhl.c: Likewise.
21076 * math/libm-test.inc (ctan_test): Add more tests.
21077 (ctanh_test): Likewise.
21078 * sysdeps/i386/fpu/libm-test-ulps: Update.
21079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21081 2012-04-09 Andreas Jaeger <aj@suse.de>
21084 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21085 is an optional BSD extension.
21088 * manual/stdio.texi (Opening Streams): Document additional fopen
21091 2012-04-09 Roland McGrath <roland@hack.frob.com>
21093 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21094 %eax without telling the compiler.
21096 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21099 * manual/install.texi: Use sourceware.org.
21101 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21104 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21105 (__ieee754_pow): Generate overflow and underflow using huge*huge
21106 and tiny*tiny rather than just returning constant infinity or zero
21107 for large exponents.
21108 * math/libm-test.inc (pow_test): Require overflow exceptions for
21109 applicable cases of large exponents.
21112 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21113 (__ieee754_pow): Use iterative multiplication algorithm only for
21114 integer exponents with absolute value below 1024. Check for odd
21115 integer exponents when using algorithm for real exponents.
21116 * math/libm-test.inc (pow_test): Add more tests.
21117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21119 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21122 * math/libm-test.inc (exp_test): Do not allow overflow exception
21125 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21128 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21129 instead of __kernel_standard_f.
21131 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21133 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21134 * sysdeps/x86_64/memset_chk.S: Likewise.
21136 2012-04-08 Andreas Jaeger <aj@suse.de>
21139 * manual/startup.texi (Environment Access): Describe return value
21140 for putenv and setenv.
21143 * manual/filesys.texi (Directory Entries): Add description for
21147 * manual/filesys.texi (Directory Entries): Clarify that it's file
21148 system not operating system in the description of DT_UNKNOWN.
21151 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21153 2012-04-08 Stephen Compall <s11@member.fsf.org>
21156 * manual/llio.texi (Opening and Closing Files): Add cross
21157 reference to explain mode argument.
21159 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21161 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21162 * sysdeps/x86_64/memset_chk.S: Likewise.
21164 2012-04-07 David S. Miller <davem@davemloft.net>
21166 * elf/elf.h (R_SPARC_WDISP10): Define.
21167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21170 R_SPARC_SIZE64 and R_SPARC_H34.
21172 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21175 conditions and remove no longer applicable assertion.
21177 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21179 * bits/byteswap.h: Include <features.h>.
21180 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21181 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21183 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21185 * bits/byteswap.h (__bswap_16): Removed.
21186 Include <bits/byteswap-16.h> to get __bswap_16.
21187 * sysdeps/i386/bits/byteswap.h: Likewise.
21188 * sysdeps/s390/bits/byteswap.h: Likewise.
21189 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21190 * bits/byteswap-16.h: New file.
21191 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21192 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21193 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21194 * string/Makefile (headers): Add bits/byteswap-16.h.
21196 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21199 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21201 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21202 * nss/tst-nss-static.c: New.
21204 2012-04-06 Robert Millan <rmh@gnu.org>
21207 * manual/llio.texi (File Position Primitive): lseek
21208 refers to WHENCE when it really means OFFSET.
21210 2012-04-06 Andreas Jaeger <aj@suse.de>
21212 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21213 strncmp declarations.
21215 * abilist/libc.abilist: Add __poll and __ppoll.
21217 2012-04-05 David S. Miller <davem@davemloft.net>
21219 * scripts/check-local-headers.sh: Accept a host triplet in the
21220 path matched by the exclude regexp.
21222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21224 * sysdeps/powerpc/powerpc32/dl-machine.h
21225 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21226 * sysdeps/s390/s390-32/dl-machine.h
21227 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21228 * sysdeps/sparc/sparc32/dl-machine.h
21229 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21230 * sysdeps/sparc/sparc64/dl-machine.h
21231 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21233 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21235 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21236 undefined symbol errors.
21238 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21241 2012-04-05 Michael Matz <matz@suse.de>
21244 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21246 2012-04-05 Andreas Jaeger <aj@suse.de>
21249 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21252 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21255 which ROUND is no valid rounding mode.
21257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21261 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21263 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21265 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21266 an exception using FPU order intentionally.
21268 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21270 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21271 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21272 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21273 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21275 2012-04-05 Simon Josefsson <simon@josefsson.org>
21278 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21279 EINVAL when BUFLEN is too smal.
21281 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21284 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21285 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21287 2012-04-03 Andreas Jaeger <aj@suse.de>
21290 * manual/setjmp.texi (System V contexts): Fix sentence.
21293 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21294 New macro for this case.
21295 [!__GNUC__] (__bswap_64): New inline function for this case.
21296 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21297 * bits/byteswap.h: Likewise.
21298 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21299 ull, guard with __GLIBC_HAVE_LONG_LONG.
21301 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21302 __GLIBC_HAVE_LONG_LONG.
21304 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21305 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21307 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21310 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21311 inptr and inend, rather than using last_ch.
21313 2012-04-02 David S. Miller <davem@davemloft.net>
21315 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21316 * stdio-common/printf-parse.h (read_int): Change return type to
21317 'int', return -1 on INT_MAX overflow.
21318 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21319 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21320 overflows INT_MAX. Check for overflow of in-format-string precision
21321 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21322 SIZE_MAX not INT_MAX for integer overflow test.
21323 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21324 skip the construct in the format string but do not record anything.
21325 * stdio-common/bug22.c: Adjust to test both width/prevision
21326 INT_MAX overflow as well as total length INT_MAX overflow. Check
21327 explicitly for proper errno values.
21329 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21331 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21333 * string/test-strcmp.c [! WIDE]: Likewise.
21334 * time/tst-mktime2.c: Likewise for INT_MAX.
21335 * string/test-string.h: #include <sys/param.h> for MIN.
21337 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21338 * sysdeps/i386/init-first.c (init): Likewise.
21339 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21340 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21341 * sysdeps/sh/init-first.c (init): Likewise.
21343 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21345 * po/ru.po: Update from translation team.
21346 * po/vi.po: Likewise.
21348 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21350 * resolv/nss_dns/dns-host.c: Merge copyright years.
21352 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21354 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21355 Optimize memcpy with prefetch if
21356 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21357 src, dst pointers have unequal 16 byte alignments.
21359 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21362 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21363 from a CNAME entry and return the minimum ttl for the query.
21364 (gaih_getanswer_slice): Likewise.
21366 2012-03-30 Jeff Law <law@redhat.com>
21368 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21370 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21371 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21373 * resolv/nss_dns/dns-host.c: Update copyright year.
21375 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21377 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21378 requests to save a system call. Fix check that all bytes are sent.
21380 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21381 comments for sendmmsg.
21383 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21386 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21387 with only 1 character between 0x0041 and 0x01b0.
21388 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21389 * wcsmbs/tst-mbsnrtowcs.c: New file.
21391 2012-03-29 David S. Miller <davem@davemloft.net>
21393 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21394 small copies by hand.
21396 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21399 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21400 _nss_compat_initgroups_dyn): Fall back to malloc/free
21401 for large group memberships.
21403 2012-03-28 David S. Miller <davem@davemloft.net>
21405 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21406 that branches into memcpy.
21407 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21408 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21409 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21410 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21413 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21414 implementation too.
21415 * sysdeps/sparc/mempcpy.S: New file.
21417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21418 the IFUNC routine in the libc case.
21419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21421 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21422 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21423 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21424 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21425 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21426 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21427 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21428 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21430 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21431 loop to 256 bytes instead of 64 bytes and fix test signedness.
21433 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21434 * sysdeps/sparc/sparc32/Makefile: rather than here...
21435 * sysdeps/sparc/sparc64/Makefile: and here.
21437 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21439 * malloc/mallocbug.c: Avoid warnings about unused variables.
21441 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21444 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21445 in the right place. Discard and retry query if response is
21446 larger than input buffer size.
21448 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21453 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21454 x for large integer exponent.
21455 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21456 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21457 sign of result as needed afterwards.
21458 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21459 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21460 result for underflowing pow the same as for overflow.
21461 (__kernel_standard_l): Handle powl overflow and underflow here
21462 rather than calling __kernel_standard.
21463 * math/libm-test.inc (pow_test): Add more tests.
21478 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21479 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21480 (__kernel_standard_l): New function.
21481 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21483 * math/w_acosl.c (__acosl): Likewise.
21484 * math/w_asinl.c (__asinl): Likewise.
21485 * math/w_atan2l.c (__atan2l): Likewise.
21486 * math/w_atanhl.c (__atanhl): Likewise.
21487 * math/w_coshl.c (__coshl): Likewise.
21488 * math/w_exp10l.c (__exp10l): Likewise.
21489 * math/w_exp2l.c (__exp2l): Likewise.
21490 * math/w_fmodl.c (__fmodl): Likewise.
21491 * math/w_hypotl.c (__hypotl): Likewise.
21492 * math/w_j0l.c (__j0l, __y0l): Likewise.
21493 * math/w_j1l.c (__j1l, __y1l): Likewise.
21494 * math/w_jnl.c (__jnl, __ynl): Likewise.
21495 * math/w_lgammal.c (__lgammal): Likewise.
21496 * math/w_log10l.c (__log10l): Likewise.
21497 * math/w_log2l.c (__log2l): Likewise.
21498 * math/w_logl.c (__logl): Likewise.
21499 * math/w_powl.c (__powl): Likewise.
21500 * math/w_remainderl.c (__remainderl): Likewise.
21501 * math/w_scalbl.c (sysv_scalbl): Likewise.
21502 * math/w_sinhl.c (__sinhl): Likewise.
21503 * math/w_sqrtl.c (__sqrtl): Likewise.
21504 * math/w_tgammal.c (__tgammal): Likewise.
21505 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21506 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21507 * math/libm-test.inc (acos_test): Add more tests.
21508 (acosh_test): Likewise.
21509 (asin_test): Likewise.
21510 (atanh_test): Likewise.
21511 (exp_test): Likewise.
21512 (exp10_test): Likewise.
21513 (exp2_test): Likewise.
21514 (expm1_test): Likewise.
21515 (lgamma_test): Likewise.
21516 (log_test): Likewise.
21517 (log10_test): Likewise.
21518 (log1p_test): Likewise.
21519 (log2_test): Likewise.
21520 (pow_test): Do not allow some spurious overflow exceptions.
21521 (sqrt_test): Add more tests.
21522 (tgamma_test): Likewise.
21523 (y0_test): Likewise.
21524 (y1_test): Likewise.
21525 (yn_test): Likewise.
21527 2012-03-27 Anton Blanchard <anton@samba.org>
21529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21533 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21535 2012-03-27 David S. Miller <davem@davemloft.net>
21537 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21539 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21540 have-as-vis3 check.
21542 2012-03-27 Andreas Jaeger <aj@suse.de>
21544 * sysdeps/x86_64/elf/configure.in: Moved to ...
21545 * sysdeps/x86_64/configure.in: ... here.
21546 * sysdeps/x86_64/elf/start.S: Moved to ...
21547 * sysdeps/x86_64/start.S: ... here.
21548 * sysdeps/x86_64/elf/configure: Delete.
21550 * sysdeps/x86_64/configure.in: Merge contents from
21551 sysdeps/i386/configure.in (without i686 check).
21553 * sysdeps/i386/elf/Versions: Merge into ...
21554 * sysdeps/i386/Versions: ... this.
21555 * sysdeps/i386/elf/Versions: Delete file.
21556 * sysdeps/i386/elf/start.S: Moved to ...
21557 * sysdeps/i386/start.S: ...here.
21558 * sysdeps/i386/elf/configure.in: Merge into...
21559 * sysdeps/i386/configure.in: ...here.
21560 * sysdeps/i386/elf/configure.in: Delete file.
21561 * sysdeps/i386/elf/configure: Delete file.
21563 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21564 * debug/backtracesyms.c: ... here.
21565 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21566 * debug/backtracesymsfd.c: ... here.
21567 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21568 * sysdeps/generic/ifunc-sel.h: ... here.
21570 * sysdeps/unix/i386/start.c: Delete file.
21571 * sysdeps/unix/sparc/start.c: Delete file.
21572 * sysdeps/unix/start.c: Delete file.
21574 * sysdeps/sh/elf/configure.in: Moved to ...
21575 * sysdeps/sh/configure.in: ... here.
21576 * sysdeps/sh/elf/start.S: Moved to ...
21577 * sysdeps/sh/start.S: ... here.
21578 * sysdeps/sh/elf/configure: Delete file.
21580 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21581 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21582 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21583 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21584 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21585 * sysdeps/powerpc/powerpc64/start.S: here.
21586 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21587 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21588 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21589 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21590 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21592 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21593 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21594 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21595 * sysdeps/powerpc/powerpc32/start.S: ... here.
21596 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21597 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21598 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21600 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21601 * sysdeps/powerpc/ifunc-sel.h: ... here.
21602 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21603 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21605 * sysdeps/sparc/elf/configure.in: Moved to ...
21606 * sysdeps/sparc/configure.in: ... here.
21607 * sysdeps/sparc/elf/configure: Delete file.
21608 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21609 * sysdeps/sparc/sparc32/start.S: ... here.
21610 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21611 * sysdeps/sparc/sparc64/start.S: ... here.
21612 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21613 * sysdeps/sparc/sparc32/Makefile: ... this.
21614 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21615 * sysdeps/sparc/sparc64/Makefile: ... this.
21617 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21618 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21619 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21620 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21621 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21622 * sysdeps/s390/s390-32/setjmp.S: ... here.
21623 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21624 * sysdeps/s390/s390-32/configure.in: ... here.
21625 * sysdeps/s390/s390-32/elf/configure: Delete file.
21626 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21627 * sysdeps/s390/s390-32/start.S: ... here.
21629 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21630 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21631 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21632 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21633 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21634 * sysdeps/s390/s390-64/setjmp.S: ... here.
21635 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21636 * sysdeps/s390/s390-64/configure.in: ... here
21637 * sysdeps/s390/s390-64/elf/configure: Delete file.
21638 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21639 * sysdeps/s390/s390-64/start.S: ... here.
21640 * sysdeps/s390/s390-64/elf/configure: Delete.
21642 * configure.in: Remove support for elf directories in sysdeps.
21644 * configure: Regenerated.
21645 * sysdeps/i386/configure: Regenerated.
21646 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21647 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21648 * sysdeps/s390/s390-32/configure: Regenerated.
21649 * sysdeps/s390/s390-64/configure: Regenerated.
21650 * sysdeps/sh/configure: Regenerated.
21651 * sysdeps/sparc/configure: Regenerated.
21652 * sysdeps/x86_64/configure: Regenerated.
21654 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21658 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21659 denormal result into account.
21661 2012-03-25 Roland McGrath <roland@hack.frob.com>
21663 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21664 Reported by Allan McRae <allan@archlinux.org>.
21666 2012-03-23 Jeff Law <law@redhat.com>
21668 * nss/getnssent.c (__nss_getent): Fix typo.
21670 2012-03-23 David S. Miller <davem@davemloft.net>
21672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21674 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21676 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21677 to pad to uint64_t for each field.
21678 (dl_tls_index): Replace unsigned long with uint64_t.
21680 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21681 Paul Pluzhnikov <ppluzhnikov@google.com>
21684 * grp/Makefile (otherlibs): Don't set it.
21685 * inet/Makefile (otherlibs): Likewise.
21686 * login/Makefile (otherlibs): Likewise.
21687 * nscd/Makefile (otherlibs): Likewise.
21688 * posix/Makefile (otherlibs): Likewise.
21689 * pwd/Makefile (otherlibs): Likewise.
21690 * rt/Makefile (otherlibs): Likewise.
21691 * sunrpc/Makefile (otherlibs): Likewise.
21692 * nss/Makefile (otherlibs): Likewise.
21693 Add libnss_files to routines and static-only-routines.
21694 ($(objpfx)getent): Remove rule.
21695 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21696 static-only-routines.
21698 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21701 * math/s_cexp.c: Include <float.h>.
21702 (__cexp): Handle exp result overflowing not necessarily
21703 overflowing both real and imaginary parts of result.
21704 * math/s_cexpf.c: Likewise.
21705 * math/s_cexpl.c: Likewise.
21706 * math/libm-test.inc (cexp_test): Add more tests.
21707 * sysdeps/i386/fpu/libm-test-ulps: Update.
21708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21712 * include/link.h (ELFW): New macro.
21713 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21714 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21716 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21718 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21723 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21725 (struct La_x32_retval): Likewise.
21727 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21729 * sysdeps/x86_64/preconfigure.in: New file.
21730 * sysdeps/x86_64/preconfigure: New generated file.
21732 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21735 * math/e_exp2l.c: Include <float.h>.
21736 (__ieee754_exp2l): Handle overflow and underflow cases
21737 separately. Only pass fractional part of argument to
21739 * math/libm-test.inc (exp2_test): Add more tests.
21741 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21742 negating x to take absolute value.
21743 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21745 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21748 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21749 computing low part if x was negated.
21750 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21752 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21754 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21755 la_x32_gnu_pltexit.
21756 (pltexit): Cast int_retval to ptrdiff_t.
21757 * elf/tst-auditmod3b.c: Likewise.
21758 * elf/tst-auditmod4b.c: Likewise.
21759 * elf/tst-auditmod5b.c: Likewise.
21760 * elf/tst-auditmod6b.c: Likewise.
21761 * elf/tst-auditmod6c.c: Likewise.
21762 * elf/tst-auditmod7b.c: Likewise.
21764 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21765 and x32_gnu_pltexit.
21767 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21768 __ELF_NATIVE_CLASS.
21769 (La_x32_regs): New macro.
21770 (La_x32_retval): Likewise.
21771 (la_x32_gnu_pltenter): New function prototype.
21772 (la_x32_gnu_pltexit): Likewise.
21774 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21781 * configure.in (libc_cv_cc_nofma): Check for option to disable
21782 generation of FMA instructions.
21783 * configure: Regenerate.
21784 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21785 * sysdeps/ieee754/dbl-64/Makefile: New file.
21786 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21787 Remove brandred-fma4.
21788 (CFLAGS-brandred-fma4.c): Remove.
21789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21795 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21797 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21798 LLONG_MAX != LONG_MAX.
21799 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21800 (_fitoa_word): Likewise.
21801 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21802 LLONG_MAX != LONG_MAX.
21803 * stdio-common/_itowa.h: Include <_itoa.h>.
21804 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21805 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21806 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21807 only if not defined.
21808 (_ITOA_WORD_TYPE): Likewise.
21809 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21810 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21812 2012-03-21 David S. Miller <davem@davemloft.net>
21814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21816 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21818 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21819 of x86_64 when setting libc_cv_slibdir, libdir and
21821 * sysdeps/unix/sysv/linux/configure: Regenerated.
21823 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21825 * manual/lang.texi (Old Varargs): Remove section.
21826 (How Variadic): Update menu.
21827 (va_start): Do not mention varargs.h.
21829 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21830 Joseph Myers <joseph@codesourcery.com>
21832 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21834 * configure: Regenerated.
21836 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21838 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21839 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21842 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21845 * Makefile (files-for-dist): Remove NOTES.
21846 (NOTES): Remove rule.
21847 * README: Don't refer to NOTES.
21848 * manual/creature.texi: Don't include macros.texi.
21849 * manual/intro.texi (creature.texi): Remove comment referring to
21852 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21853 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21854 * configure: Regenerated.
21855 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21856 LIBC_TRY_CC_OPTION.
21857 (libc_cv_as_i686): Likewise.
21858 (libc_cv_cc_avx): Likewise.
21859 (libc_cv_cc_sse2avx): Likewise.
21860 (libc_cv_cc_fma4): Likewise.
21861 (libc_cv_cc_novzeroupper): Likewise.
21862 * sysdeps/i386/configure: Regenerated.
21865 * sysdeps/i386/fpu/s_cexp.S: Remove.
21866 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21867 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21868 * math/libm-test.inc (cexp_test): Add more tests.
21869 * sysdeps/i386/fpu/libm-test-ulps: Update.
21870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872 2012-03-21 Allan McRae <allan@archlinux.org>
21874 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21876 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21879 * math/w_exp2.c: Do not include <float.h>.
21880 (o_threshold, u_threshold): Remove.
21881 (__exp2): Calculate result before checking finiteness and calling
21883 * math/w_exp2f.c: Likewise.
21884 * math/w_exp2l.c: Likewise.
21885 * math/libm-test.inc (exp2_test): Require overflow exception for
21889 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21890 range of signed 64-bit integers before using fistpll. Remove
21891 checks for whether integers fit in mantissa bits.
21892 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21893 the range of signed 32-bit integers before using fistpl. Remove
21894 checks for whether integers fit in mantissa bits.
21895 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21896 (__ieee754_powl): Test for y outside the range of signed 64-bit
21897 integers before using fistpll. Reduce 64-bit values to 63-bit
21899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21900 divide-by-zero is raised for zero to large negative powers.
21901 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21902 (__ieee754_powl): Test for y outside the range of signed 64-bit
21903 integers before using fistpll. Reduce 64-bit values to 63-bit
21905 * math/libm-test.inc (pow_test): Add more tests.
21907 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21909 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21910 <stdio-common/_itoa.h>.
21911 * debug/segfault.c: Likewise.
21912 * elf/dl-cache.c: Likewise.
21913 * elf/dl-minimal.c: Likewise.
21914 * elf/dl-misc.c: Likewise.
21915 * elf/dl-sysdep.c: Likewise.
21916 * elf/dl-version.c: Likewise.
21917 * elf/rtld.c: Likewise.
21918 * hurd/hurdsock.c: Likewise.
21919 * hurd/lookup-retry.c: Likewise.
21920 * malloc/malloc.c: Likewise.
21921 * malloc/mtrace.c: Likewise.
21922 * nscd/nscd_getgr_r.c: Likewise.
21923 * nscd/nscd_getpw_r.c: Likewise.
21924 * nscd/nscd_getserv_r.c: Likewise.
21925 * posix/getopt_init.c: Likewise.
21926 * posix/wordexp.c: Likewise.
21927 * stdio-common/_itoa.c: Likewise.
21928 * stdio-common/printf_fphex.c: Likewise.
21929 * stdio-common/vfprintf.c: Likewise.
21930 * string/_strerror.c: Likewise.
21931 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21932 * sysdeps/i386/i686/hp-timing.h: Likewise.
21933 * sysdeps/mach/_strerror.c: Likewise.
21934 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21935 * sysdeps/mach/hurd/sethostid.c: Likewise.
21936 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21937 * sysdeps/mach/xpg-strerror.c: Likewise.
21938 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21939 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21940 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21941 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21942 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21943 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21944 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21945 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21946 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21947 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21948 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21949 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21950 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21951 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21952 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21953 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21954 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21955 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21956 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21957 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21958 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21960 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21962 * stdio-common/_itoa.h: Moved to ...
21963 * sysdeps/generic/_itoa.h: Here.
21965 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21967 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21968 instead of "_itoa.h" and "_itowa.h".
21969 * stdio-common/vfprintf.: Likewise.
21971 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21973 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21975 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21976 (__signbit): Likwise.
21977 (llrintf): Likwise.
21980 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21982 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21985 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21987 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21988 OVERFLOW_EXCEPTION_OK.
21989 * math/libm-test.inc ("Philosophy"): Update comment about
21991 (OVERFLOW_EXCEPTION): Define.
21992 (OVERFLOW_EXCEPTION_OK): Likewise.
21993 (INVALID_EXCEPTION_OK): Renumber.
21994 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21995 (IGNORE_ZERO_INF_SIGN): Likewise.
21996 (test_exceptions): Handle FE_OVERFLOW.
21997 (exp10_test): Expect overflow exceptions.
21998 (exp2_test): Likewise.
21999 (expm1_test): Likewise.
22000 (nextafter_test): Likewise.
22001 (pow_test): Likewise.
22002 (scalbn_test): Likewise.
22003 (scalbln_test): Likewise.
22005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22007 * sysdeps/x86_64/bits/atomic.h
22008 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22010 (atomic_exchange_acq): Likewise.
22011 (__arch_exchange_and_add_body): Likewise.
22012 (__arch_add_body): Likewise.
22013 (atomic_add_negative): Likewise.
22014 (atomic_add_zero): Likewise.
22016 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22018 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22019 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22021 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22023 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22024 Check __x86_64__ instead of __WORDSIZE.
22026 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22028 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22030 2012-03-19 David S. Miller <davem@davemloft.net>
22032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22034 * sysdeps/sparc/fpu/fenv_private.h: New file.
22035 * sysdeps/sparc/fpu/math_private.h: Use it.
22036 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22038 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22039 (libc_feholdexcept_setroundl): Remove.
22040 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22042 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22043 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22047 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22048 int64_t instead of long int.
22049 (INSERT_WORDS64): Likwise.
22051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22053 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22054 _Unwind_GetCFA return to _Unwind_Ptr first.
22056 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22059 * math/s_clog.c: Include <float.h>.
22060 (__clog): Scale large or subnormal inputs.
22061 * math/s_clogf.c: Likewise.
22062 * math/s_clogl.c: Likewise.
22063 * math/s_clog10.c: Include <float.h>.
22064 (M_LOG10_2): Define.
22065 (__clog10): Scale large or subnormal inputs.
22066 * math/s_clog10f.c: Likewise.
22067 * math/s_clog10l.c: Likewise.
22068 * math/libm-test.inc (clog_test): Add more tests.
22069 (clog10_test): Likewise.
22070 * sysdeps/i386/fpu/libm-test-ulps: Update.
22071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22074 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22076 * math/libm-test.inc (atan2_test): Add another test.
22078 * Makerules (common-objdir-compile): Remove.
22079 * sysdeps/unix/Makefile (config-generated): Do not add
22080 $(unix-generated) to variable.
22081 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22082 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22084 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22086 [generic bits/local_lim.h] (before-compile): Do not append to
22088 [generic bits/local_lim.h] (common-generated): Likewise.
22089 [generic sys/param.h] (before-compile): Do not append to variable.
22090 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22091 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22092 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22093 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22095 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22096 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22097 [generic sys/param.h] ($(addprefix
22098 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22099 [generic sys/param.h] (common-generated): Do not append to
22101 [generic sys/param.h] (sysdep_headers): Likewise.
22102 [generic bits/errno.h] (before-compile): Do not append to
22104 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22106 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22107 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22108 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22109 [generic bits/errno.h] (common-generated): Do not append to
22111 [generic bits/ioctls.h] (before-compile): Do not append to
22113 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22115 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22116 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22117 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22119 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22120 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22121 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22122 [generic bits/ioctls.h] (common-generated): Do not append to
22124 [generic sys/syscall.h] (syscall.h): Remove variable.
22125 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22127 [generic sys/syscall.h] (before-compile): Do not append to
22129 [generic sys/syscall.h] (common-generated): Likewise.
22130 * sysdeps/unix/errnos-tmpl.c: Remove file.
22131 * sysdeps/unix/errnos.awk: Likewise.
22132 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22133 * sysdeps/unix/ioctls.awk: Likewise.
22134 * sysdeps/unix/mk-local_lim.c: Likewise.
22135 * sysdeps/unix/snarf-ioctls: Likewise.
22137 2012-03-19 Richard Henderson <rth@twiddle.net>
22139 * sysdeps/i386/fpu/fenv_private.h: New file.
22140 * sysdeps/i386/fpu/math_private.h: Use it.
22141 (math_opt_barrier, math_force_eval): Remove.
22142 (libc_feholdexcept_setround_53bit): Remove.
22143 (libc_feupdateenv_53bit): Remove.
22144 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22145 (math_opt_barrier, math_force_eval): Remove.
22146 (libc_feholdexcept): Remove.
22147 (libc_feholdexcept_setround): Remove.
22148 (libc_fetestexcept, libc_fesetenv): Remove.
22149 (libc_feupdateenv_test): Remove.
22150 (libc_feupdateenv, libc_feholdsetround): Remove.
22151 (libc_feresetround): Remove.
22153 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22154 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22156 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22157 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22158 (libc_feupdateenv_testl): New.
22159 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22160 (libc_feupdateenv_testf): New.
22161 (libc_feupdateenv): Use libc_feupdateenv_test.
22162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22165 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22166 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22167 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22168 (libc_feresetround_noex): New.
22169 (libc_feresetround_noexf): New.
22170 (libc_feresetround_noexl): New.
22171 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22172 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22173 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22174 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22179 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22181 SET_RESTORE_ROUND_NOEX.
22182 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22183 SET_RESTORE_ROUND_NOEXF.
22184 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22185 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22186 (libc_feholdsetroundf): New.
22187 (libc_feresetround, libc_feresetroundf): New.
22189 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22190 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22191 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22193 * sysdeps/generic/math_private.h: Include <fenv.h>.
22194 (default_libc_feholdexcept): New.
22195 (default_libc_feholdexcept_setround): New.
22196 (default_libc_fesetenv, default_libc_feupdateenv): New.
22197 (libc_feholdexcept): Only define if undefined.
22198 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22199 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22200 (libc_feholdexcept_setroundl): Likewise.
22201 (libc_feholdexcept_setround_53bit): Likewise.
22202 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22203 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22204 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22205 (libc_feupdateenv_53bit): Likewise.
22206 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22207 (libc_feholdexcept): Convert from macro to inline function.
22208 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22209 (libc_fesetenv, libc_feupdateenv): Likewise.
22211 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22212 not previously defined.
22213 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22214 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22215 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22216 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22217 * sysdeps/ieee754/flt-32/math_private.h: New file.
22218 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22219 math_private.h below SET_FLOAT_WORD.
22220 (__isnan, __isinf_ns, __finite): Remove.
22221 (__isnanf, __isinf_nsf, __finitef): Remove.
22223 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22227 2012-03-17 David S. Miller <davem@davemloft.net>
22230 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22233 2012-03-16 David S. Miller <davem@davemloft.net>
22235 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22241 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22242 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22243 sysdep_routines when subdir is sysvipc.
22244 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22245 __getshmlba helper.
22247 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22249 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22251 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22254 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22256 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22257 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22258 (__lround): Renamed to ...
22259 (__llround): This. Replace long int with long long int.
22260 Define lround functions as aliases of llround functions.
22261 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22263 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22265 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22266 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22267 adresses to uintptr_t. Replace "long int" and "unsigned long
22268 int" with "greg_t" on va_arg.
22270 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22272 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22273 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22275 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22276 Move e_machine check before EI_CLASS check. Handle x32
22277 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22278 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22279 SKIP_EM_IA_64 and include
22280 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22282 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22283 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22284 (add_system_dir): New macro.
22286 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22287 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22289 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22300 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22302 * math/w_j0f.c (j0f): Likewise.
22304 * math/w_j0l.c (__j0l): Likewise.
22306 * math/w_j1.c (j1): Likewise.
22308 * math/w_j1f.c (j1f): Likewise.
22310 * math/w_j1l.c (__j1l): Likewise.
22312 * math/w_jn.c (jn): Likewise.
22314 * math/w_jnf.c (jnf): Likewise.
22316 * math/w_jnl.c (__jnl): Likewise.
22318 * math/libm-test.inc (j0_test): Add more tests.
22319 (j1_test): Likewise.
22320 (jn_test): Likewise. Add trailing semicolon to existing test.
22321 (y0_test): Likewise.
22322 (y1_test): Likewise.
22323 * sysdeps/i386/fpu/libm-test-ulps: Update.
22324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22328 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22329 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22330 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22331 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22332 (__tanl): Set errno for infinite argument.
22333 * sysdeps/i386/fpu/mptan.c: Remove.
22334 * sysdeps/i386/fpu/s_tan.S: Likewise.
22335 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22336 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22337 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22338 * math/libm-test.inc (tan_test): Add more tests and enable more
22339 tests for double and long double.
22340 * sysdeps/i386/fpu/libm-test-ulps: Update.
22341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22343 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22345 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22346 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22348 2012-03-16 Roland McGrath <roland@hack.frob.com>
22350 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22351 * configure.in: Use it for both main tree and add-ons.
22352 * configure: Regenerated.
22354 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22356 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22358 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22360 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22364 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22365 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22367 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22368 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22370 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22372 != 0 for prec == 2.
22373 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22374 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22375 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22376 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22377 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22378 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22379 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22380 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22381 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22382 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22383 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22384 * math/libm-test.inc (cos_test): Add more tests and enable more
22385 tests for long double.
22386 (sin_test): Likewise.
22387 (sincos_test): Likewise.
22388 * sysdeps/i386/fpu/libm-test-ulps: Update.
22389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391 2012-03-16 David S. Miller <davem@davemloft.net>
22393 * sysdeps/sparc/fpu/math_private.h: New file.
22395 2012-03-15 David S. Miller <davem@davemloft.net>
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22411 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22412 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22414 * sysdeps/sparc/sparc-ifunc.h: New file.
22415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22454 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22460 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22462 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22466 2012-03-15 Andreas Jaeger <aj@suse.de>
22469 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22470 ieee754/flt-32 implementation for sin, cos and sincos.
22471 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22472 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22473 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22474 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22475 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22476 ieee754/flt-32 implementation for tan.
22478 * math/libm-test.inc (cos_test): Enable some large input tests for
22480 (sin_test): Likewise.
22481 (sincos_test): Likewise.
22482 (tan_test): Add tests for large input.
22484 * sysdeps/i386/fpu/libm-test-ulps: Update.
22486 2012-03-15 Andreas Jaeger <aj@suse.de>
22489 * math/libm-test.inc (cos_test): Add more test cases.
22490 (sin_test): Likewise.
22491 (sincos_test): Likewise.
22493 2012-03-15 Andreas Jaeger <aj@suse.de>
22496 * math/libm-test.inc (cos_test): Add a test case for large input
22498 (sin_test): Likewise.
22499 (sincos_test): Likewise.
22501 2012-03-15 Andreas Jaeger <aj@suse.de>,
22502 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22506 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22507 * sysdeps/i386/fpu/branred.c: Likewise.
22508 * sysdeps/i386/fpu/dosincos.c: Likewise.
22509 * sysdeps/i386/fpu/mpa.c: Likewise.
22510 * sysdeps/i386/fpu/s_cos.S: Likewise.
22511 * sysdeps/i386/fpu/s_sin.S: Likewise.
22512 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22513 * sysdeps/i386/fpu/sincos32.c: Likewise.
22515 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22517 (libc_feupdateenv_53bit): Define.
22518 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22520 (libc_feupdateenv_53bit): Define.
22522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22523 53 bit (without extend i386 double precision).
22525 * math/libm-test.inc (sincos_test): Add tests for large input.
22529 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22531 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22535 2012-03-15 David S. Miller <davem@davemloft.net>
22537 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22538 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22539 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22540 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22565 fmin/fmax sysdep routines.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22568 2012-03-14 David S. Miller <davem@davemloft.net>
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22642 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22647 * sysdeps/sparc/configure.in: New file.
22648 * sysdeps/sparc/configure: Generate.
22649 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22650 * configure: Regenerate.
22651 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22652 * config.make.in (have-as-vis3): New.
22653 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22654 available use -Av9d instead of -Av9a.
22655 * sysdeps/sparc/sparc64/Makefile: Likewise.
22656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22665 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22668 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22669 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22671 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22672 fzeros/fnegs to load 0x80000000 into a float register instead of
22674 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22676 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22680 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22681 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22682 ($(inst_includedir)/bits/syscall.h): Remove rule.
22683 ($(objpfx)bits/syscall.d): Include instead of
22684 $(objpfx)syscall-list.d.
22685 (generated): Change syscall-list.h and syscall-list.d to
22686 bits/syscall.h and bits/syscall.d.
22688 2012-03-14 Roland McGrath <roland@hack.frob.com>
22691 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22693 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22696 * math/s_csqrt.c: Include <float.h>.
22697 (__csqrt): Scale large or subnormal inputs.
22698 * math/s_csqrtf.c: Likewise.
22699 * math/s_csqrtl.c: Likewise.
22700 * math/libm-test.inc (csqrt_test): Add more tests.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22705 * math/libm-test.inc (hypot_test): Add more tests.
22707 2012-03-13 David S. Miller <davem@davemloft.net>
22710 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22711 double-precision for the calculation instead of scaling.
22713 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22715 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22716 manipulate bits before adding and subtracting TWO52[sx].
22717 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22720 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22722 2012-03-13 David S. Miller <davem@davemloft.net>
22724 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22725 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22727 rtld-global-offsets.h
22728 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22730 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22733 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22735 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22736 'err' in the ifdef scope in which it is actually used.
22738 * nss/nss_db/db-init.c: Include string.h
22740 2012-03-12 David S. Miller <davem@davemloft.net>
22742 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22743 masking out of the most significant byte of random value used.
22744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22745 Fix coding style in previous change.
22747 * sysdeps/unix/sysv/linux/kernel-features.h
22748 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22749 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22751 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22754 2012-03-11 David S. Miller <davem@davemloft.net>
22756 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22757 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22758 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22759 for 'resultvar' otherwise things get truncated on 64-bit.
22761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22762 Fix masking out of the most significant byte of random value used.
22764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22766 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22770 2012-03-09 David S. Miller <davem@davemloft.net>
22772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22773 variables with appropriate CPP guards.
22774 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22775 frame pointer, not the stack pointer. Correct layout comments. Fix test
22776 on resulting framesize and the management of the outregs buffer for pltexit.
22777 Preserve floating point return values across _dl_call_pltexit call.
22778 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22779 framesize and the management of the outregs buffer for pltexit.
22780 Preserve floating point return values across _dl_call_pltexit
22782 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22783 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22784 (print_exit): Fix format string for return register value.
22786 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22788 * sunrpc/Makefile (others): Add rpcgen.
22789 ($(objpfx)rpcgen): Remove special build rule and dependency on
22791 * sunrpc/rpcgen.c: New file.
22793 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22796 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22797 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22798 * sysdeps/i386/crti.S: Likewise.
22799 * sysdeps/i386/crtn.S: Likewise.
22800 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22801 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22802 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22804 * sysdeps/sh/crti.S: Likewise.
22805 * sysdeps/sh/crtn.S: Likewise.
22806 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22809 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22811 * locale/programs/locfile-kw.gperf: Likewise.
22812 * locale/programs/charmap-kw.h: Regenerated.
22813 * locale/programs/locfile-kw.h: Likewise.
22816 * intl/plural.y: Replace FSF snail mail address with URL.
22817 * intl/plural.c: Regenerated.
22819 2012-03-09 Richard Henderson <rth@twiddle.net>
22821 * include/math_private.h: Remove file.
22822 * math/math_private.h: Move file ...
22823 * sysdeps/generic/math_private.h: ... here.
22825 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22826 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22827 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22829 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22830 and <math_private.h>.
22831 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22832 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22842 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22857 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22865 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22866 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22867 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22868 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22875 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22876 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22877 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22882 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22883 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22884 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22885 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22894 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22896 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22900 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22905 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22919 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22922 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22924 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22925 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22926 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22928 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22930 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22931 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22932 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22933 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22934 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22935 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22936 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22937 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22938 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22939 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22940 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22941 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22942 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22943 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22945 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22946 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22947 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22948 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22949 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22950 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22954 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22955 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22956 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22958 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22959 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22960 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22961 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22962 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22963 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22964 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22965 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22966 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22969 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22970 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22972 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22975 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22980 * sysdeps/ieee754/k_standard.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23072 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23080 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23083 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23084 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23085 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23089 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23090 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23091 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23092 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23094 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23098 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23099 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23100 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23101 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23102 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23103 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23104 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23106 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23107 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23108 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23113 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23114 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23115 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23116 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23117 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23120 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23122 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23123 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23124 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23125 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23130 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23131 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23132 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23133 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23135 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23137 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23141 * sysdeps/ieee754/s_lib_version.c: Likewise.
23142 * sysdeps/ieee754/s_matherr.c: Likewise.
23143 * sysdeps/ieee754/s_signgam.c: Likewise.
23144 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23145 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23146 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23147 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23148 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23149 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23150 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23151 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23152 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23153 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23154 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23155 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23156 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23157 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23158 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23159 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23160 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23161 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23166 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23168 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23169 * sunrpc/rpc_main.c: Likewise.
23170 * sunrpc/rpc_svcout.c: Likewise.
23172 2012-03-09 David S. Miller <davem@davemloft.net>
23174 * include/math_private.h: New file.
23176 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23178 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23179 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23180 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23181 from <bits/socket_type.h>.
23182 (enum __socket_type): Don't define here.
23183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23185 bits/socket_type.h.
23188 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23189 checking __USE_GNU.
23191 * Makerules ($(inst_includedir)/%.h): New rule.
23192 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23193 (install-others): Remove variable setting.
23194 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23196 2012-03-08 Richard Henderson <rth@twiddle.net>
23198 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23199 from macro to inline function; merge with the
23200 !__LIBC_INTERNAL_MATH_INLINES version.
23201 (__ieee754_sqrtf): Likewise.
23203 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23204 to inline function.
23205 (__rintf, __floor, __floorf): Likewise.
23207 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23208 macro to inline function.
23209 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23212 not <math/math_private.h>.
23214 2012-03-08 David S. Miller <davem@davemloft.net>
23216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23218 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23220 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23222 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23224 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23225 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23227 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23229 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23230 be defined individually, they must be defined as a block. Define
23231 S for printing a string instead of hidint the different by using a
23232 macro for adding the 'l'.
23233 * stdio-common/tst-fphex-wide.c: Adjust.
23235 2012-03-07 Marek Polacek <polacek@redhat.com>
23237 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23239 2012-03-08 Marek Polacek <polacek@redhat.com>
23242 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23243 * stdio-common/tst-fphex.c: Define a few macros to make the
23244 test reusable. Use them.
23245 * stdio-common/tst-fphex-wide.c: New file.
23247 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23250 * manual/macros.texi (gnusystems): New macro.
23251 (nongnusystems): Likewise.
23252 (gnulinuxhurdsystems): Likewise.
23253 (gnuhurdsystems): Likewise..
23254 (gnulinuxsystems): Likewise.
23255 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23256 variants of the GNU system, not "GNU system".
23257 * manual/conf.texi: Likewise.
23258 * manual/errno.texi: Likewise. Update example of errno macro
23260 * manual/filesys.texi: Likewise.
23261 (getumask): Document as specific to GNU/Hurd.
23262 * manual/install.texi: Likewise. Reword some references to
23264 * manual/intro.texi: Likewise.
23265 * manual/io.texi: Likewise.
23266 (File Name Portability): Detail which constraints are inapplicable
23267 to all GNU systems and which are only inapplicable to GNU/Hurd.
23268 * manual/job.texi: Likewise.
23269 * manual/llio.texi: Likewise.
23270 (O_NOCTTY): Document as present on GNU/Linux.
23271 * manual/maint.texi: Likewise.
23272 * manual/memory.texi: Likewise.
23273 * manual/pattern.texi: Likewise.
23274 * manual/pipe.texi: Likewise.
23275 * manual/process.texi: Likewise.
23276 * manual/resource.texi: Likewise.
23277 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23279 * manual/setjmp.texi: Likewise.
23280 * manual/signal.texi: Likewise.
23281 * manual/startup.texi: Likewise.
23282 * manual/stdio.texi: Likewise.
23283 * manual/terminal.texi: Likewise.
23284 (ONLCR): Document as POSIX.
23285 (OXTABS): Document availability on GNU/Linux as XTABS.
23286 (ONOEOT): Document availability separately from other bits.
23287 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23288 * manual/time.texi: Likewise.
23289 * manual/users.texi: Likewise.
23290 * INSTALL: Regenerated.
23291 * sysdeps/gnu/errlist.c: Regenerated.
23293 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23294 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23295 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23297 * configure: Regenerated.
23299 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23301 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23302 default includes instead of AC_HEADER_CHECK.
23303 * sysdeps/i386/configure: Regenerated.
23306 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23307 * math/s_cacoshf.c (__cacoshf): Likewise.
23308 * math/s_cacoshl.c (__cacoshl): Likewise.
23309 * math/s_casinh.c (__casinh): Set signs of result from argument.
23310 * math/s_casinhf.c (__casinhf): Likewise.
23311 * math/s_casinhl.c (__casinhl): Likewise.
23312 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23313 (casinh_test): Add more tests.
23314 * sysdeps/i386/fpu/libm-test-ulps: Update.
23315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23317 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23319 * po/zh_TW.po: Update from translation team.
23321 * login/Makefile (distribute): Remove variable.
23322 * catgets/Makefile: Likewise.
23323 * mach/Makefile: Likewise.
23324 * malloc/Makefile: Likewise.
23325 * misc/Makefile: Likewise.
23326 * iconv/Makefile: Likewise.
23327 * nscd/Makefile: Likewise.
23328 * hurd/Makefile: Likewise.
23329 * manual/Makefile: Likewise.
23330 * locale/Makefile: Likewise.
23331 * intl/Makefile: Likewise.
23332 * conform/Makefile: Likewise.
23333 * nss/Makefile: Likewise.
23334 * time/Makefile: Likewise.
23335 * soft-fp/Makefile: Likewise.
23336 * dirent/Makefile: Likewise.
23337 * gmon/Makefile: Likewise.
23338 * po/Makefile: Likewise.
23339 * rt/Makefile: Likewise.
23340 * socket/Makefile: Likewise.
23341 * math/Makefile: Likewise.
23342 * signal/Makefile: Likewise.
23343 * debug/Makefile: Likewise.
23344 * elf/Makefile: Likewise.
23345 * timezone/Makefile: Likewise.
23346 * stdlib/Makefile: Likewise.
23347 * iconvdata/Makefile: Likewise.
23348 * sunrpc/Makefile: Likewise.
23349 * io/Makefile: Likewise.
23350 * argp/Makefile: Likewise.
23351 * inet/Makefile: Likewise.
23352 * hesiod/Makefile: Likewise.
23353 * grp/Makefile: Likewise.
23354 * csu/Makefile: Likewise.
23355 * wctype/Makefile: Likewise.
23356 * crypt/Makefile: Likewise.
23357 * libio/Makefile: Likewise.
23358 * string/Makefile: Likewise.
23359 * nis/Makefile: Likewise.
23360 * resolv/Makefile: Likewise.
23361 * stdio-common/Makefile: Likewise.
23362 * wcsmbs/Makefile: Likewise.
23363 * dlfcn/Makefile: Likewise.
23364 * posix/Makefile: Likewise.
23367 * timezone/Makefile: Don't install timezone files, just the programs
23370 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23372 * nss/databases.def: Add missing gshadow entry.
23374 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23376 2012-03-06 Marek Polacek <polacek@redhat.com>
23379 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23380 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23381 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23382 * stdio-common/tst-long-dbl-fphex.c: New file.
23384 2012-03-06 David S. Miller <davem@davemloft.net>
23386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23387 (set_obp_int): New function.
23388 (get_obp_int): New function.
23389 (__get_clockfreq_via_dev_openprom): Likewise.
23390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23391 Avoid unused variable warnings on 'val' and use builtin_expect.
23392 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23394 (INLINE_CLONE_SYSCALL): Likewise.
23396 2012-03-05 David S. Miller <davem@davemloft.net>
23398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23400 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23404 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23405 only for |x| >= 40.
23406 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23408 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23411 Replace gettimeofday with __vdso_gettimeofday.
23413 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23414 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23415 __vdso_clock_gettime and __vdso_getcpu.
23417 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23418 time with __vdso_time.
23420 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23422 * manual/lang.texi (size_t): Note types to which size_t may be
23423 equivalent with the GNU C Library, but do not describe when
23424 differences between them are significant.
23426 2012-03-05 Andreas Jaeger <aj@suse.de>
23428 * sysdeps/i386/fpu/libm-test-ulps: Update.
23430 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23433 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23434 (__ieee754_pow): Save and restore rounding mode and use
23435 round-to-nearest for main computations.
23436 * math/libm-test.inc (pow_test_tonearest): New function.
23437 (pow_test_towardzero): Likewise.
23438 (pow_test_downward): Likewise.
23439 (pow_test_upward): Likewise.
23440 (main): Call the new functions.
23441 * sysdeps/i386/fpu/libm-test-ulps: Update.
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23445 * math/libm-test.inc (cosh_test_tonearest): New function.
23446 (cosh_test_towardzero): Likewise.
23447 (cosh_test_downward): Likewise.
23448 (cosh_test_upward): Likewise.
23449 (sinh_test_tonearest): Likewise.
23450 (sinh_test_towardzero): Likewise.
23451 (sinh_test_downward): Likewise.
23452 (sinh_test_upward): Likewise.
23453 (main): Call the new functions.
23454 * sysdeps/i386/fpu/libm-test-ulps: Update.
23455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23457 2012-03-05 Tom de Vries <tom@codesourcery.com>
23459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23460 default stack guard is set in last bytes.
23461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23463 2012-03-05 Kees Cook <keescook@chromium.org>
23465 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23468 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23469 possibly allocate from heap instead of stack.
23470 * stdio-common/bug-vfprintf-nargs.c: New file.
23471 * stdio-common/Makefile (tests): Add nargs overflow test.
23473 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23477 2012-03-03 Marek Polacek <polacek@redhat.com>
23479 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23480 * math/math_private.h: Likewise.
23481 * stdlib/tst-strtod.c: Likewise.
23482 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23483 * sysdeps/x86_64/bits/atomic.h: Likewise.
23485 2012-03-02 David S. Miller <davem@davemloft.net>
23487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23491 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23492 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23493 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23494 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23496 2012-03-02 Roland McGrath <roland@hack.frob.com>
23499 * manual/examples/README: New file, says the example source files
23500 can be used under GPL>=2.
23501 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23502 line containing just "*/".
23503 * manual/examples/add.c: Add copyright header (GPL>=2).
23504 * manual/examples/argp-ex1.c: Likewise.
23505 * manual/examples/argp-ex2.c: Likewise.
23506 * manual/examples/argp-ex3.c: Likewise.
23507 * manual/examples/argp-ex4.c: Likewise.
23508 * manual/examples/atexit.c: Likewise.
23509 * manual/examples/db.c: Likewise.
23510 * manual/examples/dir.c: Likewise.
23511 * manual/examples/dir2.c: Likewise.
23512 * manual/examples/execinfo.c: Likewise.
23513 * manual/examples/filecli.c: Likewise.
23514 * manual/examples/filesrv.c: Likewise.
23515 * manual/examples/fmtmsgexpl.c: Likewise.
23516 * manual/examples/genpass.c: Likewise.
23517 * manual/examples/inetcli.c: Likewise.
23518 * manual/examples/inetsrv.c: Likewise.
23519 * manual/examples/isockad.c: Likewise.
23520 * manual/examples/longopt.c: Likewise.
23521 * manual/examples/memopen.c: Likewise.
23522 * manual/examples/memstrm.c: Likewise.
23523 * manual/examples/mkfsock.c: Likewise.
23524 * manual/examples/mkisock.c: Likewise.
23525 * manual/examples/mygetpass.c: Likewise.
23526 * manual/examples/pipe.c: Likewise.
23527 * manual/examples/popen.c: Likewise.
23528 * manual/examples/rprintf.c: Likewise.
23529 * manual/examples/search.c: Likewise.
23530 * manual/examples/select.c: Likewise.
23531 * manual/examples/setjmp.c: Likewise.
23532 * manual/examples/sigh1.c: Likewise.
23533 * manual/examples/sigusr.c: Likewise.
23534 * manual/examples/stpcpy.c: Likewise.
23535 * manual/examples/strdupa.c: Likewise.
23536 * manual/examples/strftim.c: Likewise.
23537 * manual/examples/strncat.c: Likewise.
23538 * manual/examples/subopt.c: Likewise.
23539 * manual/examples/swapcontext.c: Likewise.
23540 * manual/examples/termios.c: Likewise.
23541 * manual/examples/testopt.c: Likewise.
23542 * manual/examples/testpass.c: Likewise.
23543 * manual/examples/timeval_subtract.c: Likewise.
23546 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23548 * manual/timeval_subtract.c.texi: ... here, new file.
23550 2012-03-02 David S. Miller <davem@davemloft.net>
23552 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23554 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23557 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23558 (__sin): Save and restore rounding mode and use round-to-nearest
23559 for all computations.
23560 (__cos): Save and restore rounding mode and use round-to-nearest
23561 for all computations.
23562 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23564 (tan): Save and restore rounding mode and use round-to-nearest for
23566 * math/libm-test.inc (cos_test_tonearest): New function.
23567 (cos_test_towardzero): Likewise.
23568 (cos_test_downward): Likewise.
23569 (cos_test_upward): Likewise.
23570 (sin_test_tonearest): Likewise.
23571 (sin_test_towardzero): Likewise.
23572 (sin_test_downward): Likewise.
23573 (sin_test_upward): Likewise.
23574 (tan_test_tonearest): Likewise.
23575 (tan_test_towardzero): Likewise.
23576 (tan_test_downward): Likewise.
23577 (tan_test_upward): Likewise.
23578 (main): Call the new functions.
23579 * sysdeps/i386/fpu/libm-test-ulps: Update.
23580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23583 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23584 small n, then large n, before computing and testing k+n.
23585 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23590 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23591 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23593 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23598 * math/libm-test.inc (scalbn_test): Add more tests.
23599 (scalbln_test): Likewise.
23601 * manual/filesys.texi (mode_t): Describe constraints on size and
23602 signedness, not exact equivalence to a particular type.
23604 (ino64_t): Likewise.
23606 (nlink_t): Likewise.
23607 (blkcnt_t): Likewise.
23608 (blkcnt64_t): Likewise.
23609 * manual/llio.texi (off_t): Likewise.
23612 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23613 (__ieee754_exp): Save and restore rounding mode and use
23614 round-to-nearest for all computations.
23615 * math/libm-test.inc (exp_test_tonearest): New function.
23616 (exp_test_towardzero): Likewise.
23617 (exp_test_downward): Likewise.
23618 (exp_test_upward): Likewise.
23619 (main): Call the new functions.
23620 * sysdeps/i386/fpu/libm-test-ulps: Update.
23621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23623 2012-03-01 Chris Demetriou <cgd@google.com>
23625 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23626 have predictable order.
23628 2012-03-01 David S. Miller <davem@davemloft.net>
23630 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23632 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23637 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23638 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23639 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23641 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23642 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23643 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23644 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23645 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23650 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23653 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23654 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23655 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23656 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23657 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23660 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23661 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23662 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23663 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23666 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23667 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23669 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23670 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23671 * sysdeps/sparc/elf/configure: Regenerated.
23673 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23675 * configure.in (AS, LD): Require binutils 2.20 or later.
23676 * configure: Regenerated.
23677 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23678 as required minimum version.
23679 * INSTALL: Regenerated.
23683 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23684 before squaring exponent.
23685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23686 bottom long double and 27 bits of top long double before squaring
23688 * math/libm-test.inc (erfc_test): Add more tests.
23689 * sysdeps/i386/fpu/libm-test-ulps: Update.
23690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23693 2012-03-01 Kai Tietz <ktietz@redhat.com>
23695 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23696 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23697 containing bit-fields.
23698 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23699 * soft-fp/single.h (_FP_UNION_S): Likewise.
23700 * soft-fp/double.h (_FP_UNION_D): Likewise.
23702 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23705 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23706 not include ../strcmp.S.
23707 [USE_AS_STRNCASECMP_L]: Likewise.
23708 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23709 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23710 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23711 (__strncasecmp_l_ia32): Define as alias to
23712 __strncasecmp_l_nonascii.
23715 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23716 * sysdeps/i386/fpu/libm-test-ulps: Update.
23717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23719 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23722 2012-02-29 Jeff Law <law@redhat.com>
23724 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23725 out of bounds read.
23727 2012-02-29 Marek Polacek <polacek@redhat.com>
23730 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23731 * elf/Makefile: Add rules to run tst-unused-dep.out.
23733 2012-02-28 David S. Miller <davem@davemloft.net>
23735 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23736 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23737 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23739 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23740 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23742 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23744 * math/libm-test.inc (llround_test): Move one test from
23745 lround_test. Use TEST_f_L in moved test.
23746 (lround_test): Move misplaced test to llround_test. Add testcase
23749 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23751 * sysdeps/x86_64/fpu/e_expf.S: New file.
23752 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23754 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23757 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23758 of remain_len that may cause incomplete multi-byte character and
23760 * posix/bug-regex33.c: New file.
23761 * posix/Makefile (tests): Add bug-regex33.
23763 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23765 * manual/macros.texi: New file.
23766 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23767 * manual/libc.texinfo: Include macros.texi.
23768 * manual/creatute.texi: Likewise.
23769 * manual/install.texi: Likewise.
23770 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23771 @glibcadj{} in references to the GNU C Library.
23772 * manual/charset.texi: Likewise.
23773 * manual/conf.texi: Likewise.
23774 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23775 when not using those macros.
23776 * manual/creature.texi: Likewise.
23777 * manual/crypt.texi: Likewise.
23778 * manual/errno.texi: Likewise.
23779 * manual/filesys.texi: Likewise.
23780 * manual/header.texi: Likewise.
23781 * manual/install.texi: Likewise.
23782 * manual/intro.texi: Likewise.
23783 * manual/io.texi: Likewise.
23784 * manual/job.texi: Likewise.
23785 * manual/lang.texi: Likewise.
23786 * manual/libc.texiinfo: Likewise.
23787 * manual/llio.texi: Likewise.
23788 * manual/locale.texi: Likewise.
23789 * manual/maint.texi: Likewise.
23790 * manual/math.texi: Likewise.
23791 * manual/memory.texi: Likewise.
23792 * manual/message.texi: Likewise.
23793 * manual/nss.texi: Likewise.
23794 * manual/pattern.texi: Likewise.
23795 * manual/process.texi: Likewise.
23796 * manual/resource.texi: Likewise.
23797 * manual/search.texi: Likewise.
23798 * manual/setjmp.texi: Likewise.
23799 * manual/signal.texi: Likewise.
23800 * manual/socket.texi: Likewise.
23801 * manual/startup.texi: Likewise.
23802 * manual/stdio.texi: Likewise.
23803 * manual/string.texi: Likewise.
23804 * manual/sysinfo.texi: Likewise.
23805 * manual/syslog.texi: Likewise.
23806 * manual/terminal.texi: Likewise.
23807 * manual/time.texi: Likewise.
23808 * manual/users.texi: Likewise.
23809 * INSTALL: Regenerated.
23810 * NOTES: Regenerated.
23811 * sysdeps/gnu/errlist.c: Regenerated.
23813 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23815 * include/dirent.h: Include <dirstream.h> before
23818 2012-02-28 David S. Miller <davem@davemloft.net>
23820 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23821 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23822 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23823 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23825 2012-02-27 David S. Miller <davem@davemloft.net>
23827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23829 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23830 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23833 frame pointer instead of stack pointer relative arg slot.
23834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23835 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23836 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23838 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23841 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23843 2012-02-27 David S. Miller <davem@davemloft.net>
23845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23849 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23850 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23851 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23852 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23854 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23856 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23857 later. Allow versions 5-9.
23858 * configure: Regenerated.
23859 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23860 required minimum version and 4.6 as recommended version. Do not
23861 mention bugs in GCC 2.7 and 2.8.
23862 * INSTALL: Regenerated.
23864 2012-02-27 David S. Miller <davem@davemloft.net>
23866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23872 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23873 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23876 manipulate bits before adding and subtracting TWO112[sx].
23877 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23879 2012-02-27 Roland McGrath <roland@hack.frob.com>
23882 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23883 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23884 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23885 being in POSIX, because they are in 1003.1-2008.
23887 * rt/tst-aio.c: Include <fcntl.h>.
23888 * rt/tst-aio7.c: Likewise.
23889 * rt/tst-aio64.c: Likewise.
23891 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23893 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23895 * manual/install.texi (--with-headers): Describe headers as
23896 interface headers, not private headers.
23897 (Specific advice for GNU/Linux systems): Describe use of headers
23898 from "make headers_install", not private headers from older
23900 * INSTALL: Regenerated.
23901 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23903 * sysdeps/unix/sysv/linux/configure: Regenerated.
23905 * manual/llio.texi (fclean): Remove documentation.
23907 * manual/Makefile (libc-texi-generated): New variable. Include
23909 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23910 $(libc-texi-generated), not duplicated list of files.
23911 (version.texi, stamp-version): New rules.
23912 (realclean): Remove $(libc-texi-generated), not individual files
23913 from that list. Do not remove dir-add.texinfo.
23914 * manual/libc.texinfo: Comment out uses of edition numbers and
23915 references to printed manual. Remove last-updated dates.
23916 (EDITION): Comment out.
23918 (VERSION, UPDATED): Remove.
23919 (version.texi): Include.
23921 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23923 * sysdeps/posix/spawni.c: Include <signal.h>.
23924 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23925 * sysdeps/pthread/aio_fsync.c: Likewise.
23927 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23929 * conform/Makefile (tests): Run only when not cross-compiling and
23930 when fast-check is not defined.
23932 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23933 * conform/data/limits.h-data: Fixes for POSIX2008.
23934 * conform/run-conformtest.sh: Run all tests.
23935 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23937 * include/bits/dlfcn.h: Likewise.
23938 * include/langinfo.h: Likewise.
23939 * include/monetary.h: Likewise.
23940 * include/sys/poll.h: Likewise.
23942 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23944 * posix/spawn.h: Define __need_sigset_t.
23945 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23946 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23947 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23948 to get sigevent_t only.
23949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23950 only for __USE_GNU.
23951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23952 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23953 process_vm_writev only for __USE_GNU.
23954 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23956 * conform/Makefile: For now ignore errors from run-conformtest.
23957 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23958 POSIX to avoid namespace pollution. Don't prepend headers.
23959 * conform/data/aio.h-data: Fixes for POSIX testing.
23960 * conform/data/fcntl.h-data: Likewise.
23961 * conform/data/glob.h-data: Likewise.
23962 * conform/data/grp.h-data: Likewise.
23963 * conform/data/pthread.h-data: Likewise.
23964 * conform/data/pwd.h-data: Likewise.
23965 * conform/data/signal.h-data: Likewise.
23966 * conform/data/spawn.h-data: Likewise.
23967 * conform/data/stdio.h-data: Likewise.
23968 * conform/data/stdlib.h-data: Likewise.
23969 * conform/data/stropts.h-data: Likewise.
23970 * conform/data/sys/mman.h-data: Likewise.
23971 * conform/data/sys/stat.h-data: Likewise.
23972 * conform/data/sys/types.h-data: Likewise.
23973 * conform/data/sys/wait.h-data: Likewise.
23974 * conform/data/time.h-data: Likewise.
23975 * conform/data/unistd.h-data: Likewise.
23976 * conform/data/utime.h-data: Likewise.
23978 * io/sys/stat.h: fchmod was always in POSIX.
23979 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23980 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23981 * rt/aio.h: Define __need_timespec before including <time.h>.
23982 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23983 struct. Add forward declaration of pthread_attr_t and use it in
23985 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23986 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23987 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23988 always remove CLK_TCK definition.
23990 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23992 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23994 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23996 * conform/run-conformtest.sh: New file.
23997 * conform/Makefile: Run run-conformtest for tests.
23998 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24001 * conform/data/uchar.h-data: New file.
24002 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24003 * conform/data/arpa/inet.h-data: Likewise.
24004 * conform/data/assert.h-data: Likewise.
24005 * conform/data/complex.h-data: Likewise.
24006 * conform/data/cpio.h-data: Likewise.
24007 * conform/data/ctype.h-data: Likewise.
24008 * conform/data/dirent.h-data: Likewise.
24009 * conform/data/dlfcn.h-data: Likewise.
24010 * conform/data/errno.h-data: Likewise.
24011 * conform/data/fcntl.h-data: Likewise.
24012 * conform/data/float.h-data: Likewise.
24013 * conform/data/fmtmsg.h-data: Likewise.
24014 * conform/data/fnmatch.h-data: Likewise.
24015 * conform/data/ftw.h-data: Likewise.
24016 * conform/data/glob.h-data: Likewise.
24017 * conform/data/grp.h-data: Likewise.
24018 * conform/data/iconv.h-data: Likewise.
24019 * conform/data/inttypes.h-data: Likewise.
24020 * conform/data/langinfo.h-data: Likewise.
24021 * conform/data/libgen.h-data: Likewise.
24022 * conform/data/limits.h-data: Likewise.
24023 * conform/data/locale.h-data: Likewise.
24024 * conform/data/math.h-data: Likewise.
24025 * conform/data/monetary.h-data: Likewise.
24026 * conform/data/mqueue.h-data: Likewise.
24027 * conform/data/ndbm.h-data: Likewise.
24028 * conform/data/net/if.h-data: Likewise.
24029 * conform/data/netdb.h-data: Likewise.
24030 * conform/data/netinet/in.h-data: Likewise.
24031 * conform/data/nl_types.h-data: Likewise.
24032 * conform/data/poll.h-data: Likewise.
24033 * conform/data/pthread.h-data: Likewise.
24034 * conform/data/pwd.h-data: Likewise.
24035 * conform/data/regex.h-data: Likewise.
24036 * conform/data/sched.h-data: Likewise.
24037 * conform/data/search.h-data: Likewise.
24038 * conform/data/semaphore.h-data: Likewise.
24039 * conform/data/setjmp.h-data: Likewise.
24040 * conform/data/signal.h-data: Likewise.
24041 * conform/data/spawn.h-data: Likewise.
24042 * conform/data/stdarg.h-data: Likewise.
24043 * conform/data/stdio.h-data: Likewise.
24044 * conform/data/stdlib.h-data: Likewise.
24045 * conform/data/string.h-data: Likewise.
24046 * conform/data/strings.h-data: Likewise.
24047 * conform/data/stropts.h-data: Likewise.
24048 * conform/data/sys/ipc.h-data: Likewise.
24049 * conform/data/sys/mman.h-data: Likewise.
24050 * conform/data/sys/msg.h-data: Likewise.
24051 * conform/data/sys/resource.h-data: Likewise.
24052 * conform/data/sys/select.h-data: Likewise.
24053 * conform/data/sys/sem.h-data: Likewise.
24054 * conform/data/sys/shm.h-data: Likewise.
24055 * conform/data/sys/socket.h-data: Likewise.
24056 * conform/data/sys/stat.h-data: Likewise.
24057 * conform/data/sys/statvfs.h-data: Likewise.
24058 * conform/data/sys/time.h-data: Likewise.
24059 * conform/data/sys/timeb.h-data: Likewise.
24060 * conform/data/sys/times.h-data: Likewise.
24061 * conform/data/sys/types.h-data: Likewise.
24062 * conform/data/sys/uio.h-data: Likewise.
24063 * conform/data/sys/un.h-data: Likewise.
24064 * conform/data/sys/utsname.h-data: Likewise.
24065 * conform/data/sys/wait.h-data: Likewise.
24066 * conform/data/syslog.h-data: Likewise.
24067 * conform/data/tar.h-data: Likewise.
24068 * conform/data/termios.h-data: Likewise.
24069 * conform/data/utime.h-data: Likewise.
24070 * conform/data/utmpx.h-data: Likewise.
24071 * conform/data/varargs.h-data: Likewise.
24072 * conform/data/wchar.h-data: Likewise.
24073 * conform/data/wctype.h-data: Likewise.
24074 * conform/data/wordexp.h-data: Likewise.
24076 * include/stropts.h: New file.
24077 * include/uchar.h: New file.
24078 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24079 * include/assert.h: Likewise.
24080 * include/ctype.h: Likewise.
24081 * include/dirent.h: Likewise.
24082 * include/dlfcn.h: Likewise.
24083 * include/fcntl.h: Likewise.
24084 * include/fnmatch.h: Likewise.
24085 * include/glob.h: Likewise.
24086 * include/grp.h: Likewise.
24087 * include/libio.h: Likewise.
24088 * include/locale.h: Likewise.
24089 * include/math.h: Likewise.
24090 * include/net/if.h: Likewise.
24091 * include/netdb.h: Likewise.
24092 * include/netinet/in.h: Likewise.
24093 * include/pthread.h: Likewise.
24094 * include/pwd.h: Likewise.
24095 * include/regex.h: Likewise.
24096 * include/sched.h: Likewise.
24097 * include/search.h: Likewise.
24098 * include/setjmp.h: Likewise.
24099 * include/signal.h: Likewise.
24100 * include/stdio.h: Likewise.
24101 * include/stdlib.h: Likewise.
24102 * include/string.h: Likewise.
24103 * include/sys/cdefs.h: Likewise.
24104 * include/sys/mman.h: Likewise.
24105 * include/sys/msg.h: Likewise.
24106 * include/sys/resource.h: Likewise.
24107 * include/sys/select.h: Likewise.
24108 * include/sys/socket.h: Likewise.
24109 * include/sys/stat.h: Likewise.
24110 * include/sys/statvfs.h: Likewise.
24111 * include/sys/time.h: Likewise.
24112 * include/sys/times.h: Likewise.
24113 * include/sys/uio.h: Likewise.
24114 * include/sys/utsname.h: Likewise.
24115 * include/sys/wait.h: Likewise.
24116 * include/termios.h: Likewise.
24117 * include/time.h: Likewise.
24118 * include/ulimit.h: Likewise.
24119 * include/unistd.h: Likewise.
24120 * include/utime.h: Likewise.
24121 * include/wchar.h: Likewise.
24122 * include/wctype.h: Likewise.
24123 * include/wordexp.h: Likewise.
24125 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24127 * time/time.h: TIME_UTC must be a macro.
24128 Make timespec_get available for ISO C11 only as well.
24130 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24132 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24133 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24137 * configure.in: Use -o not -a in test for unsupported multi-arch.
24139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24141 * manual/texinfo.tex: Update to version 2012-01-19.16.
24143 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24145 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24147 2012-02-24 Roland McGrath <roland@hack.frob.com>
24150 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24151 * manual/fdl-1.3.texi: New file.
24152 * manual/fdl-1.1.texi: File removed.
24155 * manual/libc.texinfo (FDL_VERSION): New @set.
24156 Use it for mention of FDL in cover text.
24157 (Documentation License): Use it in @include file name.
24159 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24160 Roland McGrath <roland@hack.frob.com>
24163 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24164 not LONG_LONG_MAX and LONG_LONG_MIN.
24165 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24166 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24168 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24170 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24174 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24175 manipulate bits before adding and subtracting TWO23[sx].
24176 * math/libm-test.inc (nearbyint_test): Add more tests.
24178 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24181 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24182 bits before adding and subtracting TWO23[sx].
24183 * math/libm-test.inc (rint_test): Add more tests.
24184 (rint_test_tonearest): Likewise.
24185 (rint_test_towardzero): Likewise.
24186 (rint_test_downward): Likewise.
24187 (rint_test_upward: Likewise.
24189 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24192 * include/stdc-predef.h: New file. Extracted from features.h.
24193 * include/features.h: Include stdc-predef.h.
24194 * Makefile (headers): Add stdc-predef.h.
24195 * CONFORMANCE (Compiler limitations): Update.
24197 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24199 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24201 2012-02-21 David S. Miller <davem@davemloft.net>
24203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24206 2012-02-20 David S. Miller <davem@davemloft.net>
24208 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24209 using a normal save/restore sequence, rather than allocating a
24210 dummy stack frame just to store a frame pointer and restore.
24211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24213 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24215 * manual/install.texi: Fix stray word in line-wrapped comment.
24217 2012-02-20 David S. Miller <davem@davemloft.net>
24219 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24220 both binutils and gcc support GOTDATA.
24222 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24223 "rd %pc" in the PIC register setup sequences.
24225 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24226 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24227 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24228 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24229 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24234 (SYSCALL_ERROR_HANDLER): Likewise.
24235 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24236 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24238 (SYSCALL_ERROR_HANDLER): Likewise.
24240 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24241 (HAVE_GCC_GOTDATA): New.
24242 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24243 relocation support in both binutils and gcc.
24244 * sysdeps/sparc/elf/configure: Regenerate.
24246 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24247 * sysdeps/sparc/sparc32/elf/configure: Delete.
24248 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24249 * sysdeps/sparc/sparc64/elf/configure: Delete.
24250 * sysdeps/sparc/elf/configure.in: New file.
24251 * sysdeps/sparc/elf/configure: Generate.
24253 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24254 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24255 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24256 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24257 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24259 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24261 * manual/install.texi: Do not mention specific glibc version
24263 * manual/libc.texinfo (VERSION, UPDATED): Update.
24264 (@copying): Use @copyright{} and range of years.
24266 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24269 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24270 [crti.S not in sysdirs] (generated): Do not append.
24271 [crti.S not in sysdirs] (omit-deps): Likewise.
24272 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24273 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24274 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24275 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24276 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24278 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24279 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24280 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24281 * csu/defs.awk: Remove file.
24282 * sysdeps/generic/initfini.c: Likewise.
24283 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24285 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24290 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24291 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24294 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24295 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24297 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24298 (__EPOLL_PACKED): Define to empty if not defined by
24300 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24304 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24306 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24307 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24308 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24309 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24311 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24315 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24317 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24320 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24324 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24326 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24327 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24329 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24331 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24332 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24334 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24336 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24339 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24341 * math/w_acos.c: Use non-signaling floating-point comparisons.
24342 * math/w_acosf.c: Likewise.
24343 * math/w_acosh.c: Likewise.
24344 * math/w_acoshf.c: Likewise.
24345 * math/w_acoshl.c: Likewise.
24346 * math/w_acosl.c: Likewise.
24347 * math/w_asin.c: Likewise.
24348 * math/w_asinf.c: Likewise.
24349 * math/w_asinl.c: Likewise.
24350 * math/w_atanh.c: Likewise.
24351 * math/w_atanhf.c: Likewise.
24352 * math/w_atanhl.c: Likewise.
24353 * math/w_exp2.c: Likewise.
24354 * math/w_exp2f.c: Likewise.
24355 * math/w_exp2l.c: Likewise.
24356 * math/w_j0.c: Likewise.
24357 * math/w_j0f.c: Likewise.
24358 * math/w_j0l.c: Likewise.
24359 * math/w_j1.c: Likewise.
24360 * math/w_j1f.c: Likewise.
24361 * math/w_j1l.c: Likewise.
24362 * math/w_jn.c: Likewise.
24363 * math/w_jnf.c: Likewise.
24364 * math/w_log.c: Likewise.
24365 * math/w_log10.c: Likewise.
24366 * math/w_log10f.c: Likewise.
24367 * math/w_log10l.c: Likewise.
24368 * math/w_log2.c: Likewise.
24369 * math/w_log2f.c: Likewise.
24370 * math/w_log2l.c: Likewise.
24371 * math/w_logf.c: Likewise.
24372 * math/w_logl.c: Likewise.
24373 * math/w_sqrt.c: Likewise.
24374 * math/w_sqrtf.c: Likewise.
24375 * math/w_sqrtl.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24379 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24380 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24385 * manual/string.texi (strnlen): Use correct parameter name in
24386 equivalent expression.
24388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24391 * manual/users.texi (seteuid): Consistently use neweuid for
24394 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24397 * manual/nss.texi (Services in the NSS configuration): Correct
24398 list of services in example configuration file.
24400 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24403 * manual/arith.texi: Remove statements about negative zero
24404 behaving identically to zero.
24406 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24409 * manual/install.texi: Do not document upgrading from libc5.
24411 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24414 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24416 2012-02-18 David S. Miller <davem@davemloft.net>
24418 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24419 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24420 %o7 across the call.
24421 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24424 SETUP_PIC_REG_LEAF.
24425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24426 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24427 * sysdeps/sparc/crtn.S: Likewise.
24429 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24431 * aout/Makefile: Remove.
24433 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24436 * manual/examples/argp-ex1.c (main): Format definition in GNU
24438 * manual/examples/argp-ex2.c (main): Likewise.
24439 * manual/examples/argp-ex3.c (main): Likewise.
24440 * manual/examples/argp-ex4.c (main): Likewise.
24441 * manual/examples/longopt.c (main): Use new-style prototype
24443 * manual/examples/strncat.c (main): Specify return type and use
24444 (void) for arguments.
24445 * manual/examples/subopt.c (main): Use char **argv argument.
24447 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24450 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24453 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24456 * manual/string.texi (strchr): Change when strchrnul is
24459 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24462 * manual/locale.texi (setlocale): Document LOCPATH.
24464 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24467 * manual/process.texi (execle): Move @dots{} before last argument.
24469 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24472 * manual/charset.texi (Generic Charset Conversion): Fix typo
24473 (LC_TYPE -> LC_CTYPE).
24475 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24478 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24479 (scalbnf): Likewise.
24480 (scalbnl): Likewise.
24481 (scalbln): Likewise.
24482 (scalblnf): Likewise.
24483 (scalblnl): Likewise.
24484 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24485 (vwarnx): Likewise.
24488 * manual/filesys.texi (telldir): Use braces around return type.
24489 * manual/llio.texi (mmap): Add space after comma.
24490 (mmap64): Likewise.
24491 * manual/math.texi (jn): Use @var{} on parameter names.
24497 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24499 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24501 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24502 (sched_get_priority_max): Likewise.
24503 * manual/signal.texi (sigvec): Add space after comma.
24504 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24506 (if_indextoname): Likewise.
24507 (if_freenameindex): Likewise.
24508 (sendto): Use ',' instead of '.' in prototype.
24509 * manual/startup.texi (syscall): Use @dots{} instead of literal
24511 * manual/stdio.texi (__fpending): Separate initial words of
24512 paragraph from @deftypefun line.
24513 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24515 (vsyslog): Use @var{} on parameter names.
24516 * manual/terminal.texi (stty): Use @var{} on parameter names.
24517 * manual/users.texi (getutmp): Use @var{} on parameter names.
24518 (getutmpx): Likewise.
24520 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24523 * manual/stdio.texi (fopen): Fix typos in description of
24526 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24529 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24530 get clock_id definition.
24532 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24535 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24536 (madvise): Cast every argument to void on its own.
24538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24541 * manual/startup.texi (Exit Status): Fix typo.
24543 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24546 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24547 * manual/examples/argp-ex2.c: Likewise.
24548 * manual/examples/argp-ex3.c: Likewise.
24550 2012-02-16 Richard Henderson <rth@redhat.com>
24552 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24553 * sysdeps/s390/s390-32/initfini.c: Remove.
24554 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24555 * sysdeps/s390/s390-64/initfini.c: Remove.
24557 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24559 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24560 compiler output for sysdeps/generic/initfini.c.
24561 * sysdeps/sh/elf/initfini.c: Remove file.
24563 2012-02-16 David S. Miller <davem@davemloft.net>
24566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24568 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24569 * sysdeps/sparc/crti.S: New file.
24570 * sysdeps/sparc/crtn.S: New file.
24571 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24572 * sysdeps/sparc/sparc64/Makefile: Likewise.
24574 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24577 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24579 2012-02-15 Roland McGrath <roland@hack.frob.com>
24582 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24584 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24585 (write, read, close): Likewise.
24586 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24588 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24590 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24591 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24592 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24593 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24595 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24599 2012-02-14 Marek Polacek <polacek@redhat.com>
24601 * sysdeps/x86_64/crti.S: New file.
24602 * sysdeps/x86_64/crtn.S: New file.
24603 * sysdeps/x86_64/elf/initfini.c: Remove file.
24605 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24607 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24608 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24609 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24610 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24612 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24616 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24618 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24619 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24620 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24621 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24623 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24627 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24629 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24630 __feraiseexcept instead of feraiseexcept.
24632 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24633 nanosleep invocations.
24634 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24635 strings, and add error checking for a nanosleep invocations.
24637 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24639 Replace FSF snail mail address with URLs, as per GNU coding standards.
24640 Most of the snail mail addresses were wrong anyway, and omitting
24641 them makes the source code easier to maintain. Almost all of the
24642 changes are to license notices and to locale LC_IDENTIFICATION
24643 addresses, except for this one:
24644 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24645 not its snail mail address.
24647 2012-02-09 Richard Henderson <rth@twiddle.net>
24649 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24650 of kernel-features.h.
24652 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24654 2012-02-08 Marek Polacek <polacek@redhat.com>
24656 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24657 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24658 * sysdeps/gnu/_G_config.h: Likewise.
24659 * sysdeps/generic/_G_config.h: Likewise.
24661 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24663 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24667 * sysdeps/powerpc/powerpc32/crti.S: New file.
24668 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24669 * sysdeps/powerpc/powerpc64/crti.S: New file.
24670 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24672 * Makeconfig (have-initfini): Don't set.
24673 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24674 * configure.in (nopic_initfini): Don't substitute.
24675 * config.h.in (HAVE_INITFINI): Don't #undef.
24676 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24677 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24679 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24681 Support crti.S and crtn.S provided directly by architectures.
24682 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24683 [crti.S in sysdirs] (omit-deps): Likewise.
24684 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24685 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24686 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24687 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24688 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24689 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24690 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24691 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24692 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24693 compiler output for sysdeps/generic/initfini.c.
24694 * sysdeps/i386/elf/Makefile: Remove file.
24695 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24697 2012-02-07 Marek Polacek <polacek@redhat.com>
24699 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24700 * sysdeps/gnu/_G_config.h: Likewise.
24701 * sysdeps/mach/hurd/_G_config.h: Likewise.
24703 2012-02-07 Marek Polacek <polacek@redhat.com>
24705 * math/Makefile (tests): Add tst-CMPLX2.
24706 * math/tst-CMPLX2.c: New file.
24708 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24710 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24712 * math/libm-test.inc (jn_test): Add missing L suffix.
24714 2012-02-06 Marek Polacek <polacek@redhat.com>
24716 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24717 * sysdeps/i386/fpu/e_powf.S: Likewise.
24718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24719 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24720 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24721 * sysdeps/i386/fpu/e_pow.S: Likewise.
24722 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24724 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24725 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24726 * sysdeps/i386/fpu/e_log2.S: Likewise.
24727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24728 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24729 * sysdeps/i386/fpu/e_powl.S: Likewise.
24730 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24731 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24732 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24733 * sysdeps/i386/fpu/e_logl.S: Likewise.
24734 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24735 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24736 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24737 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24739 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24740 * sysdeps/i386/fpu/e_log.S: Likewise.
24741 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24742 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24743 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24744 * sysdeps/i386/fpu/e_logf.S: Likewise.
24745 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24746 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24747 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24748 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24749 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24750 * sysdeps/i386/fpu/e_log10.S: Likewise.
24751 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24753 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24754 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24755 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24756 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24757 * sysdeps/i386/asm-syntax.h: Likewise.
24758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24761 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24762 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24763 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24764 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24765 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24766 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24767 * sysdeps/powerpc/sysdep.h: Likewise.
24768 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24769 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24771 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24774 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24776 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24778 * sysdeps/i386/sysdep.h: Include <features.h>.
24779 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24782 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24784 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24786 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24789 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24791 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24792 (SETUP_PIC_REG): Use GET_PC_THUNK.
24793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24798 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24799 for non-PIC compilation.
24800 (SETUP_PIC_REG): Add .p2align directive.
24801 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24802 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24803 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24804 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24805 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24806 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24807 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24808 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24809 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24810 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24811 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24816 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24817 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24818 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24819 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24820 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24823 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24824 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24827 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24828 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24829 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24830 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24831 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24832 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24833 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24834 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24835 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24836 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24837 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24838 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24839 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24840 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24841 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24843 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24845 * math/tst-CMPLX.c: Include <stdio.h>.
24847 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24849 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24852 * sysdeps/sparc/bits/mathdef.h: Likewise.
24854 2012-01-31 Marek Polacek <polacek@redhat.com>
24856 * libio/libio.h: Don't define _PARAMS.
24857 * locale/programs/config.h: Don't define PARAMS.
24858 * stdlib/strtol_l.c: Likewise.
24859 (__strtol_l): Remove PARAMS from the prototype.
24861 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24863 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24864 names. Just use the correct names. Remove unnecessary wrapper
24866 * malloc/arena.c: Likewise.
24867 * malloc/hooks.c: Likewise.
24869 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24870 ARENA_TEST says not to. Simplify test for creation of a new arena.
24871 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24873 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24875 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24877 (update_get_addr): New function.
24878 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24879 GET_ADDR_MODULE parameter.
24881 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24883 * crypt/cert.c: Remove __STDC__ conditionals.
24884 * crypt/crypt-entry.c: Likewise.
24885 * crypt/crypt_util.c: Likewise.
24886 * libio/filedoalloc.c: Likewise.
24887 * libio/fileops.c: Likewise.
24888 * libio/genops.c: Likewise.
24889 * libio/iofclose.c: Likewise.
24890 * libio/iofdopen.c: Likewise.
24891 * libio/iofopen.c: Likewise.
24892 * libio/iofopen64.c: Likewise.
24893 * libio/iogetdelim.c: Likewise.
24894 * libio/iopopen.c: Likewise.
24895 * libio/obprintf.c: Likewise.
24896 * libio/oldfileops.c: Likewise.
24897 * libio/oldiofclose.c: Likewise.
24898 * libio/oldiofdopen.c: Likewise.
24899 * libio/oldiofopen.c: Likewise.
24900 * libio/oldiopopen.c: Likewise.
24901 * libio/wfiledoalloc.c: Likewise.
24902 * libio/wgenops.c: Likewise.
24903 * locale/programs/xmalloc.c: Likewise.
24904 * misc/syslog.c: Likewise.
24905 * stdio-common/xbug.c: Likewise.
24906 * string/memchr.c: Likewise.
24907 * string/memcmp.c: Likewise.
24908 * string/memrchr.c: Likewise.
24909 * string/rawmemchr.c: Likewise.
24910 * sysdeps/posix/getcwd.c: Likewise.
24911 * time/strftime_l.c: Likewise.
24913 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24915 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24916 * config.make.in (config-cflags-sse2avx): Define.
24917 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24920 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24922 * scripts/config.guess: Update from upstream config git repository.
24923 * scripts/config.sub: Likewise.
24925 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24927 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24929 (R_TILEPRO_*, R_TILEGX_*): New macros.
24931 * scripts/firstversions.awk: Fix bug in version range handling.
24933 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24935 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24937 * include/sys/epoll.h: New file.
24938 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24941 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24943 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24944 Avoid unnecessary __WORDSIZE == 64 test.
24945 (fmaxf): Use VEX format if possible.
24950 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24951 * math/math_private.h: Remove libc_fegetround* and
24953 * sysdeps/i386/configure.in: Check for -msse2avx.
24954 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24955 also if SSE2AVX is defined.
24956 Remove libc_fegetround* and libc_fesetround*.
24957 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24958 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24961 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24962 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24965 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24967 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24969 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24971 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24973 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24975 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24978 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24980 * Makeconfig (libm): Define.
24981 * elf/Makefile: Add rules to build and run tst-relsort1.
24982 * elf/tst-relsort1.c: New file.
24983 * elf/tst-relsort1mod1.c: New file.
24984 * elf/tst-relsort1mod2.c: New file.
24986 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24988 * math/s_ldexp.c: Remove __STDC__ conditionals.
24989 * math/s_ldexpf.c: Likewise.
24990 * math/s_ldexpl.c: Likewise.
24991 * math/s_nextafter.c: Likewise.
24992 * math/s_nexttowardf.c: Likewise.
24993 * math/s_significand.c: Likewise.
24994 * math/s_significandf.c: Likewise.
24995 * math/s_significandl.c: Likewise.
24996 * math/w_jnl.c: Likewise.
24997 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24998 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24999 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25000 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25001 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25016 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25017 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25018 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25019 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25021 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25022 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25023 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25024 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25025 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25026 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25027 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25028 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25031 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25032 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25033 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25034 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25035 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25036 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25037 * sysdeps/ieee754/k_standard.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25042 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25077 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25087 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25089 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25090 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25091 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25092 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25095 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25108 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25113 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25114 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25117 * sysdeps/ieee754/s_matherr.c: Likewise.
25118 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25119 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25123 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25125 * crypt/md5.h: Remove __STDC__ conditionals.
25126 * libio/libioP.h: Likewise.
25127 * locale/programs/config.h: Likewise.
25128 * sysdeps/generic/sysdep.h: Likewise.
25129 * sysdeps/i386/asm-syntax.h: Likewise.
25130 * sysdeps/s390/asm-syntax.h: Likewise.
25131 * sysdeps/unix/sysdep.h: Likewise.
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25135 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25137 * libio/libio.h: Remove __STDC__ conditionals.
25138 * malloc/obstack.h: Likewise.
25139 * math/complex.h: Likewise.
25140 * math/math.h: Likewise.
25141 * sysdeps/generic/_G_config.h: Likewise.
25142 * sysdeps/gnu/_G_config.h: Likewise.
25143 * sysdeps/mach/hurd/_G_config.h: Likewise.
25144 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25145 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25146 * sysdeps/sparc/bits/mathdef.h: Likewise.
25148 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25151 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25152 Clean up HAS_* macros.
25153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25154 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25159 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25164 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25166 * elf/tst-unique3.cc (gets): Remove declaration.
25167 * elf/tst-unique3lib.cc (gets): Likewise.
25168 * elf/tst-unique3lib2.cc (gets): Likewise.
25169 * elf/tst-unique4.cc (gets): Likewise.
25171 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25173 * include/stdio.h: Add C++ protection. Add gets declarations and
25175 * debug/tst-chk1.c: Don't declare gets here.
25176 * stdio-common/tst-gets.c: Likewise.
25178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25180 * posix/glob: Remove directory.
25182 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25184 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25186 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25188 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25189 of the non-standard EPFNOSUPPORT.
25191 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25193 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25194 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25195 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25197 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25199 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25201 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25203 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25205 * nscd/grpcache.c (cache_addgr): Likewise.
25206 * nscd/hstcache.c (cache_addhst): Likewise.
25207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25208 * nscd/pwdcache.c (cache_addpw): Likewise.
25209 * nscd/servicescache.c (cache_addserv): Likewise.
25211 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25213 * malloc/malloc.c: Various cleanups.
25214 * malloc/hooks.c: Likewise.
25216 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25217 * stdlib/bug-fmtmsg1.c: New file.
25219 * stdlib/fmtmsg.c (init): Add missing unlock.
25220 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25222 2012-01-12 Marek Polacek <polacek@redhat.com>
25224 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25227 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25229 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25230 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25231 macro to ensure uniqueness of label name.
25232 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25233 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25235 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25237 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25239 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25244 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25246 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25248 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25249 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25252 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25255 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25259 * math/bits/math-finite.h: Add ldexp support.
25261 2012-01-10 Marek Polacek <polacek@redhat.com>
25263 * locale/programs/localedef.h (show_archive_content): Add noreturn
25266 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25268 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25270 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25272 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25274 * io/Makefile (headers): Add bits/poll2.h.
25276 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25279 typo #include statement.
25281 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25283 * include/sys/cdefs.h: Define __attribute_alloc_size.
25284 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25285 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25286 * elf/pldd.c: Likewise.
25287 * iconv/iconv_charmap.c: Likewise.
25288 * iconv/iconvconfig.c: Likewise.
25289 * iconv/strtab.c: Likewise.
25290 * locale/programs/locale.c: Likewise.
25291 * locale/programs/localedef.h: Likewise.
25292 * locale/programs/simple-hash.c: Likewise.
25293 * nscd/nscd.h: Likewise.
25294 * nss/makedb.c: Likewise.
25295 * sysdeps/generic/ldconfig.h: Likewise.
25296 * locale/programs/localedef.c: Remove xmalloc prototype.
25297 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25299 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25304 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25306 * math/Makefile (tests): Add tst-CMPLX.
25307 * math/tst-CMPLX.c: New file.
25309 * math/complex.h (CMPLXL): Fix typo.
25311 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25312 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25314 * debug/tst-chk1.c: Add poll and ppoll tests.
25315 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25316 * include/sys/poll.h: Add hidden proto for ppoll.
25317 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25318 * sysdeps/mach/hurd/ppoll.c: Likewise.
25319 * io/ppoll.c: Likewise.
25320 * debug/poll_chk.c: New file.
25321 * debug/ppoll_chk.c: New file.
25322 * include/bits/poll2.h: New file.
25323 * io/bits/poll2.h: New file.
25326 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25328 * configure.in: static is always set to yes. Remove.
25329 * config.make.in: Don't set build-static.
25330 * Makeconfig: Remove use of build-static.
25331 * dlfcn/Makefile: Likewise.
25332 * elf/Makefile: Likewise.
25333 * math/Makefile: Likewise.
25334 * misc/Makefile: Likewise.
25335 * nptl/Makefile: Likewise.
25336 * sysdeps/mach/hurd/Makefile: Likewise.
25338 * configure.in: PWD_P is not used anymore.
25339 * config.make.in: Remove PWD_P entry.
25341 * configure.in: Remove last remnants of RANLIB.
25342 No need to check for signed size_t anymore.
25343 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25345 Remove __builtin_expect test because we require at least gcc 3.4.
25346 * aclocal.m4: Likewise.
25348 * wcsmbs/mbrtoc16.c: Implement using towc function.
25349 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25350 * wcsmbs/wcsmbsload.c: Likewise.
25351 * iconv/gconv_simple.c: Likewise.
25352 * iconv/gconv_int.h: Likewise.
25353 * iconv/gconv_builtin.h: Likewise.
25354 * iconv/iconv_prog.c: Remove CHAR16 handling.
25356 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25358 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25360 * configure.in: Remove --with-elf and --enable-bounded options.
25361 Dont set base_machine for ia64. More non-ELF conditions removed.
25362 Remove testing and setting of leading underscore information.
25363 * config.make.in (build-bounded): Set to no.
25364 * config.h.in: Remove NO_UNDERSCORES entry.
25365 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25367 * csu/start.c: Remove !NO_UNDERSCORE code.
25368 * locale/localeinfo.h: Likewise.
25369 * sysdeps/generic/machine-gmon.h: Likewise.
25370 * sysdeps/generic/sysdep.h: Likewise.
25371 * sysdeps/i386/sysdep.h: Likewise.
25372 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25373 * sysdeps/mach/sysdep.h: Likewise.
25374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25375 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25376 * sysdeps/sh/sysdep.h: Likewise.
25377 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25378 * sysdeps/unix/i386/sysdep.S: Likewise.
25379 * sysdeps/unix/sparc/start.c: Likewise.
25380 * sysdeps/unix/sparc/sysdep.S: Likewise.
25381 * sysdeps/unix/sparc/sysdep.h: Likewise.
25382 * sysdeps/unix/start.c: Likewise.
25383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25384 * sysdeps/x86_64/sysdep.h: Likewise.
25386 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25389 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25391 * argp/argp-fmtstream.h: Use const instead __const.
25392 * argp/argp.h: Likewise.
25393 * assert/assert.h: Likewise.
25394 * bits/fenv.h: Likewise.
25395 * bits/sched.h: Likewise.
25396 * bits/sigset.h: Likewise.
25397 * bits/sigthread.h: Likewise.
25398 * catgets/nl_types.h: Likewise.
25399 * conform/data/pthread.h-data: Likewise.
25400 * crypt/crypt-private.h: Likewise.
25401 * crypt/crypt.h: Likewise.
25402 * crypt/crypt_util.c: Likewise.
25403 * ctype/ctype.h: Likewise.
25404 * debug/execinfo.h: Likewise.
25405 * debug/mbsnrtowcs_chk.c: Likewise.
25406 * debug/mbsrtowcs_chk.c: Likewise.
25407 * debug/wcsnrtombs_chk.c: Likewise.
25408 * debug/wcsrtombs_chk.c: Likewise.
25409 * debug/wcstombs_chk.c: Likewise.
25410 * dirent/dirent.h: Likewise.
25411 * dlfcn/dlfcn.h: Likewise.
25412 * elf/neededtest4.c: Likewise.
25413 * grp/grp.h: Likewise.
25414 * gshadow/gshadow.h: Likewise.
25415 * iconv/gconv.h: Likewise.
25416 * iconv/gconv_int.h: Likewise.
25417 * iconv/gconv_simple.c: Likewise.
25418 * iconv/iconv.h: Likewise.
25419 * iconv/loop.c: Likewise.
25420 * iconv/skeleton.c: Likewise.
25421 * include/aio.h: Likewise.
25422 * include/aliases.h: Likewise.
25423 * include/argz.h: Likewise.
25424 * include/arpa/inet.h: Likewise.
25425 * include/assert.h: Likewise.
25426 * include/dirent.h: Likewise.
25427 * include/dlfcn.h: Likewise.
25428 * include/execinfo.h: Likewise.
25429 * include/fcntl.h: Likewise.
25430 * include/fenv.h: Likewise.
25431 * include/glob.h: Likewise.
25432 * include/grp.h: Likewise.
25433 * include/libintl.h: Likewise.
25434 * include/mntent.h: Likewise.
25435 * include/netdb.h: Likewise.
25436 * include/pwd.h: Likewise.
25437 * include/rpc/netdb.h: Likewise.
25438 * include/sched.h: Likewise.
25439 * include/search.h: Likewise.
25440 * include/shadow.h: Likewise.
25441 * include/signal.h: Likewise.
25442 * include/stdio.h: Likewise.
25443 * include/stdlib.h: Likewise.
25444 * include/string.h: Likewise.
25445 * include/sys/socket.h: Likewise.
25446 * include/sys/stat.h: Likewise.
25447 * include/sys/statfs.h: Likewise.
25448 * include/sys/statvfs.h: Likewise.
25449 * include/sys/syslog.h: Likewise.
25450 * include/sys/time.h: Likewise.
25451 * include/sys/uio.h: Likewise.
25452 * include/time.h: Likewise.
25453 * include/unistd.h: Likewise.
25454 * include/utmp.h: Likewise.
25455 * include/wchar.h: Likewise.
25456 * include/wctype.h: Likewise.
25457 * inet/aliases.h: Likewise.
25458 * inet/arpa/inet.h: Likewise.
25459 * inet/netinet/ether.h: Likewise.
25460 * inet/netinet/in.h: Likewise.
25461 * intl/libintl.h: Likewise.
25462 * io/bits/fcntl2.h: Likewise.
25463 * io/fcntl.h: Likewise.
25464 * io/ftw.h: Likewise.
25465 * io/sys/poll.h: Likewise.
25466 * io/sys/stat.h: Likewise.
25467 * io/sys/statfs.h: Likewise.
25468 * io/sys/statvfs.h: Likewise.
25469 * io/utime.h: Likewise.
25470 * libio/bits/stdio.h: Likewise.
25471 * libio/bits/stdio2.h: Likewise.
25472 * libio/libio.h: Likewise.
25473 * libio/libioP.h: Likewise.
25474 * libio/stdio.h: Likewise.
25475 * locale/lc-ctype.c: Likewise.
25476 * locale/locale.h: Likewise.
25477 * login/utmp.h: Likewise.
25478 * malloc/arena.c: Likewise.
25479 * malloc/malloc.c: Likewise.
25480 * malloc/malloc.h: Likewise.
25481 * malloc/mcheck.c: Likewise.
25482 * malloc/mtrace.c: Likewise.
25483 * math/bits/mathcalls.h: Likewise.
25484 * math/fenv.h: Likewise.
25485 * math/math_private.h: Likewise.
25486 * misc/bits/error.h: Likewise.
25487 * misc/bits/syslog.h: Likewise.
25488 * misc/err.h: Likewise.
25489 * misc/error.h: Likewise.
25490 * misc/fstab.h: Likewise.
25491 * misc/mntent.h: Likewise.
25492 * misc/regexp.h: Likewise.
25493 * misc/search.h: Likewise.
25494 * misc/sgtty.h: Likewise.
25495 * misc/sys/mman.h: Likewise.
25496 * misc/sys/syslog.h: Likewise.
25497 * misc/sys/uio.h: Likewise.
25498 * misc/sys/xattr.h: Likewise.
25499 * misc/ttyent.h: Likewise.
25500 * nis/rpcsvc/ypclnt.h: Likewise.
25501 * nss/nss.h: Likewise.
25502 * posix/bits/unistd.h: Likewise.
25503 * posix/fnmatch.h: Likewise.
25504 * posix/glob.h: Likewise.
25505 * posix/sched.h: Likewise.
25506 * posix/spawn.h: Likewise.
25507 * posix/sys/wait.h: Likewise.
25508 * posix/unistd.h: Likewise.
25509 * posix/wordexp.h: Likewise.
25510 * pwd/pwd.h: Likewise.
25511 * resolv/netdb.h: Likewise.
25512 * resource/sys/resource.h: Likewise.
25513 * rt/aio.h: Likewise.
25514 * rt/bits/mqueue2.h: Likewise.
25515 * rt/mqueue.h: Likewise.
25516 * shadow/shadow.h: Likewise.
25517 * signal/signal.h: Likewise.
25518 * socket/send.c: Likewise.
25519 * socket/sendto.c: Likewise.
25520 * socket/sys/socket.h: Likewise.
25521 * stdio-common/printf.h: Likewise.
25522 * stdlib/bits/stdlib.h: Likewise.
25523 * stdlib/fmtmsg.h: Likewise.
25524 * stdlib/monetary.h: Likewise.
25525 * stdlib/stdlib.h: Likewise.
25526 * stdlib/ucontext.h: Likewise.
25527 * streams/stropts.h: Likewise.
25528 * string/argz.h: Likewise.
25529 * string/bits/string2.h: Likewise.
25530 * string/string.h: Likewise.
25531 * string/strings.h: Likewise.
25532 * sunrpc/rpc/auth.h: Likewise.
25533 * sunrpc/rpc/auth_des.h: Likewise.
25534 * sunrpc/rpc/clnt.h: Likewise.
25535 * sunrpc/rpc/netdb.h: Likewise.
25536 * sunrpc/rpc/pmap_clnt.h: Likewise.
25537 * sunrpc/rpc/xdr.h: Likewise.
25538 * sysdeps/generic/inttypes.h: Likewise.
25539 * sysdeps/generic/net/if.h: Likewise.
25540 * sysdeps/generic/sys/swap.h: Likewise.
25541 * sysdeps/gnu/net/if.h: Likewise.
25542 * sysdeps/gnu/utmpx.h: Likewise.
25543 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25544 * sysdeps/i386/i486/bits/string.h: Likewise.
25545 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25546 * sysdeps/s390/bits/string.h: Likewise.
25547 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25548 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25549 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25550 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25551 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25552 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25553 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25554 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25555 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25556 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25557 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25558 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25559 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25560 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25561 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25562 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25563 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25565 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25568 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25569 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25570 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25571 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25572 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25573 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25575 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25577 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25578 * sysvipc/sys/ipc.h: Likewise.
25579 * sysvipc/sys/msg.h: Likewise.
25580 * sysvipc/sys/sem.h: Likewise.
25581 * sysvipc/sys/shm.h: Likewise.
25582 * termios/termios.h: Likewise.
25583 * time/sys/time.h: Likewise.
25584 * time/time.h: Likewise.
25585 * wcsmbs/bits/wchar2.h: Likewise.
25586 * wcsmbs/uchar.h: Likewise.
25587 * wcsmbs/wchar.h: Likewise.
25588 * wctype/wctype.h: Likewise.
25591 * Makeconfig: Remove all but ELF support including AIX support.
25592 * Makerules: Likewise.
25593 * config.h.in: Likewise.
25594 * config.make.in: Likewise.
25595 * configure: Likewise.
25596 * configure.in: Likewise.
25597 * csu/Makefile: Likewise.
25598 * csu/version.c: Likewise.
25599 * debug/Makefile: Likewise.
25600 * dlfcn/Makefile: Likewise.
25601 * elf/Makefile: Likewise.
25602 * extra-lib.mk: Likewise.
25603 * iconv/Makefile: Likewise.
25604 * include/libc-symbols.h: Likewise.
25605 * include/shlib-compat.h: Likewise.
25606 * resolv/Makefile: Likewise.
25607 * resolv/res_libc.c: Likewise.
25608 * rt/Makefile: Likewise.
25609 * sysdeps/i386/asm-syntax.h: Likewise.
25610 * sysdeps/i386/sysdep.h: Likewise.
25611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25612 * sysdeps/mach/sysdep.h: Likewise.
25613 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25614 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25615 * sysdeps/s390/asm-syntax.h: Likewise.
25616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25617 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25618 * sysdeps/sh/sysdep.h: Likewise.
25619 * sysdeps/unix/sparc/sysdep.h: Likewise.
25620 * sysdeps/wordsize-32/divdi3.c: Likewise.
25621 * sysdeps/x86_64/sysdep.h: Likewise.
25623 * argp/Versions: Remove _argp_unlock_xxx.
25626 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25627 * abilist/libBrokenLocale.abilist: Likewise.
25628 * abilist/libanl.abilist: Likewise.
25629 * abilist/libc.abilist: Likewise.
25630 * abilist/libcrypt.abilist: Likewise.
25631 * abilist/libdl.abilist: Likewise.
25632 * abilist/libm.abilist: Likewise.
25633 * abilist/libnsl.abilist: Likewise.
25634 * abilist/libpthread.abilist: Likewise.
25635 * abilist/libresolv.abilist: Likewise.
25636 * abilist/librt.abilist: Likewise.
25637 * abilist/libthread_db.abilist: Likewise.
25638 * abilist/libutil.abilist: Likewise.
25639 * abilist/libnss_db.abilist: New file.
25641 * scripts/abilist.awk: Add support for indirect functions.
25643 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25645 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25647 * shlib-versions: Remove entries for ports architectures.
25649 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25651 * elf/stackguard-macros.h: Remove support for IA-64.
25652 * elf/tst-auditmod1.c: Likewise.
25653 * sysdeps/generic/ldsodefs.h: Likewise.
25655 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25656 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25660 * configure.in: Remove --enable-omitfp support.
25662 * config.make.in: Likewise.
25663 * Makeconfig: Likewise.
25664 * manual/install.texi: Likewise.
25666 In case anyone cares, the IA-64 architecture could move to ports.
25667 * sysdeps/ia64/*: Removed.
25668 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25669 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25672 * configure.in: Remove entries for unsupported architectures.
25675 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25676 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25678 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25679 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25680 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25681 fall back to using wcrtomb.
25682 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25683 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25685 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25686 * wcsmbs/tst-c16c32-1.c: New file.
25688 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25691 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25693 * elf/tst-unique3.cc: Add explicit declaration of gets.
25694 * elf/tst-unique3lib.cc: Likewise.
25695 * elf/tst-unique3lib2.cc: Likewise.
25696 * elf/tst-unique4.cc: Likewise.
25698 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25700 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25703 * assert/assert.h (static_assert): Don't define for C++.
25704 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25705 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25707 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25709 * iconv/loop.c (single loop): Fix assertion in storing of
25712 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25714 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25716 * posix/getconf.c: Update copyright year.
25717 * nss/getent.c: Likewise.
25718 * nss/makedb.c: Likewise.
25719 * iconv/iconvconfig.c: Likewise.
25720 * iconv/iconv_prog.c: Likewise.
25721 * elf/ldconfig.c: Likewise.
25722 * elf/pldd.c: Likewise.
25723 * elf/sotruss.ksh: Likewise.
25724 * catgets/gencat.c: Likewise.
25725 * csu/version.c: Likewise.
25726 * elf/ldd.bash.in: Likewise.
25727 * elf/sprof.c (print_version): Likewise.
25728 * locale/programs/locale.c: Likewise.
25729 * locale/programs/localedef.c: Likewise.
25730 * login/programs/pt_chown.c: Likewise.
25731 * nscd/nscd.c (print_version): Likewise.
25732 * debug/xtrace.sh: Likewise.
25733 * malloc/memusage.sh: Likewise.
25734 * malloc/mtrace.pl: Likewise.
25735 * debug/catchsegv.sh: Likewise.
25737 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25739 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25742 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25745 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25746 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25748 * iconv/gconv_int.h: Likewise.
25749 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25750 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25751 from libc for GLIBC_2.16.
25752 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25753 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25754 * wcsmbs/uchar.h: Really define mbstate_t.
25755 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25756 * wcsmbs/c16rtomb.c: New file.
25757 * wcsmbs/mbrtoc16.c: New file.
25758 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25759 for C/POSIX locale.
25760 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25761 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25763 * wcsmbs/wchar.h: Add missing __restrict.
25765 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25768 * time/Makefile (routines): Add timespec_get.
25769 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25770 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25771 timespec for ISO C11.
25772 * time/timespec_get.c: New file.
25773 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25774 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25777 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25778 * stdlib/stdlib.h: Declare aligned_alloc.
25779 * Versions.def: Add GLIBC_2.16 for libc.
25780 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25783 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25786 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25790 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25793 * assert/assert.h (static_assert): Define.
25795 * version.h: Update for 2.16 development version.
25798 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25801 * version.h (RELEASE): Bump for 2.15 release.
25802 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25804 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25805 Patch by Marek Polacek <mpolacek@redhat.com>.
25807 * bits/byteswap.h: Protect long long constants with __extension__.
25808 * sysdeps/i386/bits/byteswap.h: Likewise.
25809 * sysdeps/ia64/bits/byteswap.h: Likewise.
25810 * sysdeps/s390/bits/byteswap.h: Likewise.
25811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25813 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25817 destination buffer.
25818 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25820 2011-12-23 Marek Polacek <polacek@redhat.com>
25822 * elf/dl-addr.c (determine_info): Add inline keyword.
25823 * elf/tst-auditmod4b.c (check_avx): Likewise.
25824 * elf/tst-auditmod6b.c (check_avx): Likewise.
25825 * elf/tst-auditmod6c.c (check_avx): Likewise.
25826 * elf/tst-auditmod7b.c (check_avx): Likewise.
25828 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25830 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25833 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25836 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25837 processing for last bytes.
25839 2011-08-06 Bruno Haible <bruno@clisp.org>
25842 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25843 U+0385, not to U+1FEE.
25846 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25847 entry for U+00A5 U+0301.
25849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25852 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25853 buffer for the output is too small.
25855 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25859 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25860 SSE flags if possible.
25862 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25866 processing for last bytes.
25868 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25870 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25871 (syscall-list-default-options, syscall-list-default-condition)
25872 (syscall-list-includes): Define.
25873 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25874 list of ABIs and options and #if conditions for each ABI. Do not
25875 handle common syscalls between ABIs specially.
25876 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25878 (syscall-list-variants, syscall-list-32bit-options)
25879 (syscall-list-32bit-condition, syscall-list-64bit-options)
25880 (syscall-list-64bit-condition): Define.
25881 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25882 (syscall-list-variants, syscall-list-32bit-options)
25883 (syscall-list-32bit-condition, syscall-list-64bit-options)
25884 (syscall-list-64bit-condition): Define.
25885 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25887 (syscall-list-variants, syscall-list-32bit-options)
25888 (syscall-list-32bit-condition, syscall-list-64bit-options)
25889 (syscall-list-64bit-condition): Define.
25890 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25892 (syscall-list-variants, syscall-list-32bit-options)
25893 (syscall-list-32bit-condition, syscall-list-64bit-options)
25894 (syscall-list-64bit-condition): Define.
25896 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25898 * locale/iso-639.def: Add brx entry.
25901 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25902 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25904 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25905 __feraiseexcept_renamed.
25907 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25910 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25911 EPOLLET with unsigned values.
25912 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25915 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25916 to large cancellation.
25917 * math/s_cacoshf.c: Likewise.
25918 * math/s_cacoshl.c: Likewise.
25920 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25924 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25925 * math/s_cacoshf.c: Likewise.
25926 * math/s_cacoshl.c: Likewise.
25928 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25931 * iconv/gconv.h: Define __GCONV_SWAP.
25932 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25933 * iconvdata/utf-16.c: Likewise.
25934 * iconvdata/utf-32.c: Likewise.
25936 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25940 numerator after shifting it by one limb.
25942 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25945 under [__USE_EXTERN_INLINES].
25947 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25950 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25952 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25954 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25955 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25957 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25959 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25960 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25961 for strncasecmp/strncasecmp_l compilation.
25962 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25963 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25965 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25968 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25971 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25974 * time/tzfile.c (__tzfile_read): Check values from file header.
25976 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25978 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25979 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25980 * powerpc/powerpc32/dl-start.S: Likewise.
25981 * powerpc/powerpc32/elf/start.S: Likewise.
25982 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25983 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25984 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25985 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25986 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25987 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25988 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25989 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25990 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25991 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25992 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25993 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25994 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25995 * powerpc/powerpc32/memset.S: Likewise.
25996 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25997 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25998 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25999 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26000 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26001 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26002 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26003 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26004 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26005 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26006 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26007 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26008 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26010 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26012 * math/libm-test.inc: Added more nearbyint tests.
26013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26016 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26018 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26020 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26023 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26025 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26026 Add wcscpy-ssse3 wcscpy-c.
26027 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26028 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26029 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26030 * sysdeps/x86_64/wcschr.S: New file.
26031 * sysdeps/x86_64/wcsrchr.S: New file.
26032 * string/test-strcmp.c: Remove checking of wcscmp function for
26034 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26035 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26036 wcsrchr-sse2 wcsrchr-c.
26037 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26038 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26039 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26040 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26041 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26042 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26043 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26044 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26045 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26046 * wcsmbc/wcschr.c (WCSCHR): New macro.
26048 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26050 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26051 * wcsmbs/test-wcsrchr.c: New file.
26052 * string/test-strrchr.c: Add wcsrchr support.
26054 * wcsmbs/test-wcscpy.c: New file.
26055 * string/test-strcpy.c: Add wcscpy support.
26058 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26060 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26063 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26066 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26068 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26071 Minor optimizations.
26073 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26074 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26075 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26077 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26079 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26080 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26081 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26082 for gcc to avoid warnings.
26083 * inet/Makefile (tests): Add tst-checks.
26084 * inet/tst-checks.c: New file.
26086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26089 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26092 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26093 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26095 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26097 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26099 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26102 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26104 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26106 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26107 conditional on GCC version.
26108 (__arch_compare_and_exchange_val_8_acq)
26109 (__arch_compare_and_exchange_val_16_acq)
26110 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26111 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26112 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26114 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26116 * sysdeps/sh/backtrace.c: New file.
26118 2011-12-02 Andreas Schwab <schwab@redhat.com>
26120 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26123 2011-12-01 Andreas Schwab <schwab@redhat.com>
26125 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26126 falling back to utime.
26128 2011-11-30 Andreas Schwab <schwab@redhat.com>
26130 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26131 expectations for float.
26133 2011-11-29 Andreas Schwab <schwab@redhat.com>
26135 * locale/weight.h (findidx): Add parameter len.
26136 * locale/weightwc.h (findidx): Likewise.
26137 * posix/fnmatch_loop.c (FCT): Adjust caller.
26138 * posix/regcomp.c (build_equiv_class): Likewise.
26139 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26140 * posix/regexec.c (check_node_accept_bytes): Likewise.
26141 * string/strcoll_l.c (STRCOLL): Likewise.
26142 * string/strxfrm_l.c (STRXFRM): Likewise.
26144 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26146 * Makefile.in: Remove CVSOPT handling.
26147 * configure.in: Remove use of AC_REVISION.
26148 * iconvdata/Makefile (distribute): No need to filter out CVS.
26149 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26152 2011-11-16 Andreas Schwab <schwab@redhat.com>
26154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26155 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26156 [USE_AS_STRNCASECMP_L]: Likewise.
26157 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26158 NO_TLS_DIRECT_SEG_REFS.
26159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26160 Fix argument offsets for non-PIC.
26161 [USE_AS_STRNCASECMP_L]: Likewise.
26162 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26163 NO_TLS_DIRECT_SEG_REFS.
26165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26167 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26169 * locale/loadlocale.c (_nl_load_locale): Likewise.
26171 2011-11-15 Andreas Schwab <schwab@redhat.com>
26173 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26174 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26176 (SYSCALL_GETTIME): Set errno on error.
26178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26179 count references to noai6ai_cached.
26181 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26183 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26185 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26186 FD_CLOEXEC for /proc/self/maps.
26188 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26189 FD_CLOEXEC for /proc/meminfo.
26191 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26194 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26195 FD_CLOEXEC for given file.
26197 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26199 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26200 FD_CLOEXEC for /etc/hosts.
26201 (_gethtent): Likewise.
26203 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26205 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26206 cancellation and set FD_CLOEXEC for /etc/netgroup.
26208 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26209 reading /etc/publickey.
26211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26212 allow cancellation when reading /etc/group.
26214 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26216 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26218 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26219 when using data file.
26221 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26223 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26224 (write_nis_obj): Use "c" and "e" in fopen.
26226 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26228 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26230 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26232 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26234 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26237 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26239 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26241 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26243 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26244 file parsing and set FD_CLOEXEC.
26246 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26248 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26250 2011-11-14 Andreas Schwab <schwab@redhat.com>
26252 * malloc/arena.c (arena_get2): Don't call reused_arena when
26253 _int_new_arena failed.
26255 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26257 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26258 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26259 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26260 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26261 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26263 to compile strcasecmp and strncasecmp.
26264 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26265 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26269 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26271 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26272 locale-defines.sym to gen-as-const-headers.
26273 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26274 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26276 to compile strcasecmp and strncasecmp.
26277 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26278 strcasecmp_l and strncasecmp_l.
26279 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26280 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26281 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26282 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26283 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26284 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26285 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26286 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26287 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26288 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26289 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26291 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26293 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26294 result of SYSDEP_GETTIME_CPU to retval.
26295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26296 parameter list to macro. Remove trailing semicolon. Adjust users.
26298 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26301 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26306 from unused variable.
26308 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26310 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26313 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26316 * sunrpc/rpc_prot.c (rejected): Fix case value.
26318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26319 unsigned long long int to avoid warnings in shift.
26321 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26323 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26326 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26327 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26328 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26330 * nis/nis_table.c (nis_list): Use variable of correct type for
26331 result of __follow_path call.
26333 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26335 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26336 of math functions ceil, trunc, floor, round, and sqrt, when
26337 avaliable on the platform.
26338 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26340 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26341 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26342 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26344 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26346 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26347 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26349 2011-11-11 Roland McGrath <roland@hack.frob.com>
26351 * include/unistd.h: Fix __readlink return type.
26352 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26354 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26356 * stdlib/ucontext.h: Undo last change for makecontext.
26358 2011-11-11 Andreas Schwab <schwab@redhat.com>
26360 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26362 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26363 * setjmp/setjmp.h: Mark functions as non-leaf.
26364 * setjmp/bits/setjmp2.h: Likewise.
26365 * stdlib/ucontext.h: Likewise.
26367 2011-11-10 Andreas Schwab <schwab@redhat.com>
26369 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26370 (reused_arena): Don't check arena limit.
26371 (arena_get2): Atomically check arena limit.
26373 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26375 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26376 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26381 2011-11-07 Andreas Schwab <schwab@redhat.com>
26383 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26384 handler when locking.
26386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26387 Fix size of allocated buffer.
26389 2011-11-04 Andreas Schwab <schwab@redhat.com>
26392 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26393 declarations for long double functions.
26394 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26396 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26398 2011-11-03 Andreas Schwab <schwab@redhat.com>
26400 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26403 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26406 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26408 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26410 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26412 * include/alloca.h (stackinfo_alloca_round): Define.
26413 (extend_alloca): Use it.
26414 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26415 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26418 * scripts/check-local-headers.sh: Ignore libaudit.h.
26420 * nscd/Makefile (extra-objs): Make recursively expanded.
26422 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26424 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26427 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26428 * posix/tst-rfc3484-2.c: Likewise.
26429 * posix/tst-rfc3484-3.c: Likewise.
26431 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26433 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26435 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26436 process_vm_writev from libc using GLIBC_2.15 version.
26438 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26440 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26442 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26445 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26448 * nss/getent.c (initgroups_keys): Show error message in case no group
26451 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26452 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26453 __bump_nl_timestamp.
26454 * nscd/connections (nscd_init): When host database is served open
26455 netlink socket and request notification about configuration changes.
26456 (main_loop_poll): Track netlink file descriptor and bump timestamp
26457 in case data becomes available.
26458 (main_loop_epoll): Likewise.
26459 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26460 (database_pers_head): Add extra_data fileds.
26461 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26462 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26463 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26466 in6ai data, call __free_in6ai.
26467 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26468 Add -DHAVE_NETLINK.
26469 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26470 interface information. Reuse previous data if netlink timestamp
26472 (__bump_nl_timestamp): New function.
26473 (__free_in6ai): New function.
26475 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26477 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26478 close_not_cancel_no_status here.
26479 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26481 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26484 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26487 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26488 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26489 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26491 2011-07-03 Andreas Jaeger <aj@suse.de>
26494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26495 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26496 * math/libm-test.inc (sin_test): Add test case.
26498 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26501 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26502 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26504 * elf/chroot_canon.c (chroot_canon): Cleanups.
26506 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26509 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26512 * string/test-strchr.c: Make usable for strchrnul testing.
26513 * string/test-strchrnul.c: New file.
26514 * string/Makefile (strop-tests): Add strchrnul.
26516 * po/it.po: Update from translation team.
26517 * po/es.po: Likewise.
26519 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26521 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26522 the three constants needed as parameters. Drop the others.
26523 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26524 __m128i_strloadu_tolower.
26525 Create and initialize variable zero and use it in all the places
26526 where _mm_setzero_si128 was used.
26528 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26529 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26530 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26531 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26533 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26536 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26537 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26538 __mpranred, __mptan.
26539 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26540 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26541 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26542 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26543 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26544 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26546 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26547 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26549 2011-10-28 Andreas Schwab <schwab@redhat.com>
26551 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26552 redefine if SHARED.
26553 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26556 wide char related routines to wcsmbs subdir.
26558 2011-10-27 Andreas Schwab <schwab@redhat.com>
26561 * misc/sys/cdefs.h (__THROWNL): Define.
26562 * posix/unistd.h: Use __THREADNL instead of __THREAD
26563 for memory synchronization functions.
26565 2011-10-26 Roland McGrath <roland@hack.frob.com>
26568 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26570 * manual/stdio.texi (Obstack Streams): Node removed.
26572 2011-10-26 Andreas Schwab <schwab@redhat.com>
26574 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26576 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26578 * math/math_private.h (math_force_eval): Allow non-addressable
26580 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26585 file is not needed.
26587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26589 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26590 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26591 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26592 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26593 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26594 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26596 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26597 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26598 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26599 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26600 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26601 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26602 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26603 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26604 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26605 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26606 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26607 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26608 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26609 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26610 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26611 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26612 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26613 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26614 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26616 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26617 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26620 place. Use VEX encoding when compiling for AVX.
26622 2011-10-25 Andreas Schwab <schwab@redhat.com>
26624 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26625 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26627 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26631 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26632 useless if() expression.
26633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26639 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26642 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26644 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26645 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26646 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26647 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26648 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26649 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26653 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26655 2011-10-25 Andreas Schwab <schwab@redhat.com>
26657 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26661 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26663 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26664 .text section. Avoid duplicate constants.
26665 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26675 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26677 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26682 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26688 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26689 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26690 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26691 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26692 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26694 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26695 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26696 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26697 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26701 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26703 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26705 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26707 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26708 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26711 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26713 * sysdeps/x86_64/dla.h: Move to ...
26714 * sysdeps/x86_64/fpu/dla.h: ...here.
26715 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26716 situations. Use __builtin_fma only for gcc 4.6 and up.
26718 * config.make.in: Add have-mfma4 entry.
26719 * configure.in: Substitute libc_cv_cc_fma4.
26720 * math/Makefile (dbl-only-routines): Add sincostab.
26721 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26722 Use __sincostab not sincos.
26723 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26730 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26731 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26732 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26733 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26736 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26738 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26739 define aliases when function name is a macro.
26740 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26741 sysdeps/ieee754/dbl-64/sincos.tbl.
26742 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26743 fma4-enabled routines.
26744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26745 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26746 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26747 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26748 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26749 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26750 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26751 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26753 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26754 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26755 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26756 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26759 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26760 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26761 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26762 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26764 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26767 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26771 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26772 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26773 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26775 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26786 2011-10-24 Andreas Schwab <schwab@redhat.com>
26788 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26790 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26794 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26798 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26799 Remove unused variable magic_bits.
26800 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26802 * string/strnlen.c: Define and use STRNLEN macro.
26803 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26804 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26806 * wcsmbs/wcslen.c: Define and use WCSLEN.
26807 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26808 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26809 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26810 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26811 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26812 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26815 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26818 strnlen-sse2-no-bsf.
26819 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26821 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26822 Add strnlen support.
26823 (USE_AS_STRNLEN): New macro.
26824 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26825 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26826 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26827 * sysdeps/x86_64/wcslen.S: New file.
26829 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26832 XMM-moves are used for copying on small sizes.
26834 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26836 * wcsmbs/Makefile (strop-tests): Add wcschr.
26837 * wcsmbs/test-wcschr.c: New file.
26838 * string/test-strchr.c: Update.
26839 Add wcschr support.
26842 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26844 * wcsmbs/Makefile (strop-tests): Add wcslen.
26845 * wcsmbs/test-wcslen.c: New file.
26846 * string/test-strlen.c: Update.
26847 Add wcslen support.
26850 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26852 * po/it.po: Update from translation team.
26854 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26856 * sysdeps/x86_64/wcscmp.S: Update.
26857 Fix wrong comparison semantics.
26858 wcscmp shall use signed comparison not unsigned.
26859 Don't use substraction to avoid overflow bug.
26860 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26861 * wcsmbc/wcscmp.c: Likewise.
26862 * string/test-strcmp.c: Likewise.
26863 Add new tests to check cases with negative values.
26865 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26867 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26868 * sysdeps/x86_64/dla.h: ...here. New file.
26869 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26876 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26879 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26882 __ynl_finite aliases.
26884 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26888 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26890 [DLA_FMA] (EMULV): Use DLA_FMA.
26891 [DLA_FMA] (MUL12): Use EMULV.
26892 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26893 that are not needed.
26894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26902 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26904 * math/s_nan.c: Undef __nan.
26905 * math/s_nanf.c: Undef __nanf.
26906 * math/s_nanl.c: Undef __nanl.
26907 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26910 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26912 * math/s_catan.c: Add branch predictions.
26913 * math/s_catanf.c: Likewise.
26914 * math/s_catanh.c: Likewise.
26915 * math/s_catanhf.c: Likewise.
26916 * math/s_catanhl.c: Likewise.
26917 * math/s_catanl.c: Likewise.
26918 * math/s_cexp.c: Likewise.
26919 * math/s_cexpf.c: Likewise.
26920 * math/s_cexpl.c: Likewise.
26921 * math/s_clog.c: Likewise.
26922 * math/s_clog10.c: Likewise.
26923 * math/s_clog10f.c: Likewise.
26924 * math/s_clog10l.c: Likewise.
26925 * math/s_clogf.c: Likewise.
26926 * math/s_clogl.c: Likewise.
26927 * math/s_csqrt.c: Likewise.
26928 * math/s_csqrtf.c: Likewise.
26929 * math/s_csqrtl.c: Likewise.
26930 * math/s_ctanf.c: Likewise.
26931 * math/s_ctanh.c: Likewise.
26932 * math/s_ctanhf.c: Likewise.
26933 * math/s_ctanhl.c: Likewise.
26934 * math/s_ctanl.c: Likewise.
26936 * math/math_private.h: Define __nan, __nanf, __nanl.
26937 * math/s_cacosh.c: Include <math_private.h>.
26938 * math/s_cacoshl.c: Likewise.
26939 * math/s_casinh.c: Likewise.
26940 * math/s_casinhf.c: Likewise.
26941 * math/s_casinhl.c: Likewise.
26942 * math/s_ccos.c: Rely entire on ccosh.
26943 * math/s_ccosf.c: Rely entire on ccoshf.
26944 * math/s_ccosl.c: Rely entirely on ccoshl.
26945 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26946 Remove tests for FE_INVALID.
26947 * math/s_ccoshf.c: Likewise.
26948 * math/s_ccoshl.c: Likewise.
26949 * math/s_csin.c: Likewise.
26950 * math/s_csinf.c: Likewise.
26951 * math/s_csinh.c Likewise.
26952 * math/s_csinhf.c: Likewise.
26953 * math/s_csinhl.c: Likewise.
26954 * math/s_csinl.c: Likewise.
26955 * math/s_ctan.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26957 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26958 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26960 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26963 compilation problems.
26965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26968 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26970 * sysdeps/i386/configure.in: Test for -mfma4 option.
26971 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26972 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26973 COMMON_CPUID_INDEX_80000001.
26974 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26975 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26976 use it if FMA3 is not supported.
26977 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26979 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26980 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26982 2011-10-20 Andreas Schwab <schwab@redhat.com>
26985 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26986 it would create a cycle with a link time dependency.
26988 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26990 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26992 * string/Makefile (strop-tests): Add rawmemchr.
26993 * string/test-rawmemchr.c: New file.
26995 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26997 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26998 when compiling str{,n}casecmp and when AVX is available. Hook up
26999 new optimized code in initializers.
27001 2011-10-19 Andreas Schwab <schwab@redhat.com>
27003 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27004 __feraiseexcept instead of feraiseexcept.
27006 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27008 * math/math_private.h: Define defaults for libc_fetestexcept and
27010 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27011 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27013 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27014 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27015 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27016 libc_fetestexcept and libc_feupdateenv.
27018 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27019 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27020 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27021 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27022 libc_feholdexcept_setround.
27024 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27025 Add s_nearbyint-c and s_nearbyintf-c.
27026 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27027 nearbyintf inlines.
27028 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27029 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27030 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27031 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27033 * math/math_private.h: Define defaults for libc_fegetround,
27034 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27035 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27036 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27038 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27039 standard functions.
27040 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27041 Remove comments and hacks for old compiler versions.
27042 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27043 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27044 libc_feholdexceptl.
27046 2011-10-18 Andreas Schwab <schwab@redhat.com>
27048 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27049 (__feraiseexcept_renamed): Add __NTH.
27050 (feraiseexcept): Add __NTH. Rename local variables to fix
27051 namespace violations.
27053 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27055 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27059 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27060 recently added interfaces.
27061 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27063 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27064 about macro parameter expansion.
27066 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27067 __NO_MATH_INLINES is defined. Cleanups.
27069 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27070 and __floorf is target has SSE4.1.
27071 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27073 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27074 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27076 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27078 (floorf): Likewise.
27080 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27082 2011-10-17 Andreas Schwab <schwab@redhat.com>
27084 * misc/sys/cdefs.h: Fix last change.
27086 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27089 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27091 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27093 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27096 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27099 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27100 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27101 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27102 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27103 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27104 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27105 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27106 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27107 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27108 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27109 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27110 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27111 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27112 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27113 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27114 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27116 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27117 ceil, ceilf, floor, floorf.
27119 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27120 Perform IRELATIVE relocations last.
27122 * elf/do-rel.h: Add another parameter nrelative, replacing the
27123 local variable with the same name. Change name of the function
27124 to end in Rel or Rela (uppercase).
27125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27126 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27127 elf_dynamic_do_##reloc function.
27129 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27131 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27132 is sufficient, at least on modern CPUs.
27134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27136 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27137 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27139 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27141 * math/bits/math-finite.h: Add entries for exp.
27142 * math/e_expl.c: Add __*_finite alias.
27143 * sysdeps/i386/fpu/e_exp.S: Likewise.
27144 * sysdeps/i386/fpu/e_expf.S: Likewise.
27145 * sysdeps/i386/fpu/e_expl.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27151 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27152 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27154 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27155 is sufficient, at least on modern CPUs.
27157 * ctype/ctype-info.c (__ctype_init): Define.
27158 * include/ctype.h (__ctype_init): Declare.
27159 (__ctype_b_loc): The variable is always initialized.
27160 (__ctype_toupper_loc): Likewise.
27161 (__ctype_tolower_loc): Likewise.
27162 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27163 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27165 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27167 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27169 * configure.in: Also look in $cxxmachine/include for C++ system
27172 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27174 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27175 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27176 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27177 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27178 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27179 (USE_AS_WMEMCMP): New macro.
27181 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27182 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27183 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27184 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27186 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27187 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27188 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27189 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27190 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27191 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27192 (USE_AS_WMEMCMP): New macro.
27193 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27194 * sysdeps/string/test-memcmp.c: Update.
27195 Fix simple_wmemcmp.
27197 * wcsmbs/wmemcmp.c: Update.
27198 (WMEMCMP): New macro.
27201 2011-10-12 Andreas Jaeger <aj@suse.de>
27204 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27206 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27208 * libio/iofwide.c (do_length): Avoid warning.
27210 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27212 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27214 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27216 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27217 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27218 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27219 * sysdeps/i386/i686/fpu/e_log.S: New file.
27220 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27221 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27223 * ctype/ctype.h: Add support for inlined isXXX functions when
27224 compiling C++ code.
27226 2011-10-14 Andreas Schwab <schwab@redhat.com>
27228 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27232 2011-10-13 Roland McGrath <roland@hack.frob.com>
27235 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27237 2011-10-13 Andreas Schwab <schwab@redhat.com>
27239 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27240 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27243 * sysdeps/x86_64/memrchr.S: Check for zero size.
27245 * string/stratcliff.c: Add memrchr tests.
27247 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27250 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27251 rawmemchr-sse2 rawmemchr-sse2-bsf.
27252 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27253 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27254 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27255 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27256 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27257 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27258 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27259 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27260 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27261 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27262 * string/memrchr.c (MEMRCHR): New macro.
27264 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27266 Add integration with gcc's -ffinite-math-only and optimize wrapper
27268 * Versions.def: Define GLIBC_2.15 version for libm.
27269 * math/Makefile (headers): Add bits/math-finite.h.
27270 * math/bits/math-finite.h: New file.
27271 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27272 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27273 * math/e_acoshl.c: Add __*_finite alias.
27274 * math/e_acosl.c: Likewise.
27275 * math/e_asinl.c: Likewise.
27276 * math/e_atan2l.c: Likewise.
27277 * math/e_atanhl.c: Likewise.
27278 * math/e_coshl.c: Likewise.
27279 * math/e_exp10.c: Likewise.
27280 * math/e_exp10f.c: Likewise.
27281 * math/e_exp10l.c: Likewise.
27282 * math/e_exp2l.c: Likewise.
27283 * math/e_fmodl.c: Likewise.
27284 * math/e_gammal_r.c: Likewise.
27285 * math/e_hypotl.c: Likewise.
27286 * math/e_j0l.c: Likewise.
27287 * math/e_j1l.c: Likewise.
27288 * math/e_jnl.c: Likewise.
27289 * math/e_lgammal_r.c: Likewise.
27290 * math/e_log10l.c: Likewise.
27291 * math/e_log2l.c: Likewise.
27292 * math/e_logl.c: Likewise.
27293 * math/e_powl.c: Likewise.
27294 * math/e_sinhl.c: Likewise.
27295 * math/e_sqrtl.c: Likewise.
27296 * math/e_scalb.c: Completely rewritten and optimized.
27297 * math/e_scalbf.c: Likewise.
27298 * math/e_scalbl.c: Likewise.
27299 * math/w_acos.c: Likewise.
27300 * math/w_acosf.c: Likewise.
27301 * math/w_acosl.c: Likewise.
27302 * math/w_acosh.c: Likewise.
27303 * math/w_acoshf.c: Likewise.
27304 * math/w_acoshl.c: Likewise.
27305 * math/w_asin.c: Likewise.
27306 * math/w_asinf.c: Likewise.
27307 * math/w_asinl.c: Likewise.
27308 * math/w_atan2.c: Likewise.
27309 * math/w_atan2f.c: Likewise.
27310 * math/w_atan2l.c: Likewise.
27311 * math/w_atanh.c: Likewise.
27312 * math/w_atanhf.c: Likewise.
27313 * math/w_atanhl.c: Likewise.
27314 * math/w_exp10.c: Likewise.
27315 * math/w_exp10f.c: Likewise.
27316 * math/w_exp10l.c: Likewise.
27317 * math/w_fmod.c: Likewise.
27318 * math/w_fmodf.c: Likewise.
27319 * math/w_fmodl.c: Likewise.
27320 * math/w_j0.c: Likewise.
27321 * math/w_j0f.c: Likewise.
27322 * math/w_j0l.c: Likewise.
27323 * math/w_j1.c: Likewise.
27324 * math/w_j1f.c: Likewise.
27325 * math/w_j1l.c: Likewise.
27326 * math/w_jn.c: Likewise.
27327 * math/w_jnf.c: Likewise.
27328 * math/w_log.c: Likewise.
27329 * math/w_logf.c: Likewise.
27330 * math/w_logl.c: Likewise.
27331 * math/w_log10.c: Likewise.
27332 * math/w_log10f.c: Likewise.
27333 * math/w_log10l.c: Likewise.
27334 * math/w_log2.c: Likewise.
27335 * math/w_log2f.c: Likewise.
27336 * math/w_log2l.c: Likewise.
27337 * math/w_pow.c: Likewise.
27338 * math/w_powf.c: Likewise.
27339 * math/w_powl.c: Likewise.
27340 * math/w_remainder.c: Likewise.
27341 * math/w_remainderf.c: Likewise.
27342 * math/w_remainderl.c: Likewise.
27343 * math/w_scalb.c: Likewise.
27344 * math/w_scalbf.c: Likewise.
27345 * math/w_scalbl.c: Likewise.
27346 * math/w_sqrt.c: Likewise.
27347 * math/w_sqrtf.c: Likewise.
27348 * math/w_sqrtl.c: Likewise.
27349 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27350 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27352 * math/math_private.h: Declare __kernel_standard_f.
27353 * math/w_cosh.c: Remove cruft and optimize a bit.
27354 * math/w_coshf.c: Likewise.
27355 * math/w_coshl.c: Likewise.
27356 * math/w_exp2.c: Likewise.
27357 * math/w_exp2f.c: Likewise.
27358 * math/w_exp2l.c: Likewise.
27359 * math/w_hypot.c: Likewise.
27360 * math/w_hypotf.c: Likewise.
27361 * math/w_hypotl.c: Likewise.
27362 * math/w_lgamma.c: Likewise.
27363 * math/w_lgamma_r.c: Likewise.
27364 * math/w_lgammaf.c: Likewise.
27365 * math/w_lgammaf_r.c: Likewise.
27366 * math/w_lgammal.c: Likewise.
27367 * math/w_lgammal_r.c: Likewise.
27368 * math/w_sinh.c: Likewise.
27369 * math/w_sinhf.c: Likewise.
27370 * math/w_sinhl.c: Likewise.
27371 * math/w_tgamma.c: Likewise.
27372 * math/w_tgammaf.c: Likewise.
27373 * math/w_tgammal.c: Likewise.
27374 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27376 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27377 Minor optimizations. Pretty printing. Remove cruft.
27378 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27379 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27380 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27382 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27383 * sysdeps/i386/fpu/e_asin.S: Likewise.
27384 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27385 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27386 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27387 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27388 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27389 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27390 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27391 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27392 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27393 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27394 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27395 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27396 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27397 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27398 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27399 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27400 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27401 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27402 * sysdeps/i386/fpu/e_log.S: Likewise.
27403 * sysdeps/i386/fpu/e_log10.S: Likewise.
27404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27405 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27406 * sysdeps/i386/fpu/e_log2.S: Likewise.
27407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27409 * sysdeps/i386/fpu/e_logf.S: Likewise.
27410 * sysdeps/i386/fpu/e_logl.S: Likewise.
27411 * sysdeps/i386/fpu/e_pow.S: Likewise.
27412 * sysdeps/i386/fpu/e_powf.S: Likewise.
27413 * sysdeps/i386/fpu/e_powl.S: Likewise.
27414 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27415 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27416 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27420 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27421 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27422 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27426 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27432 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27436 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27437 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27439 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27444 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27447 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27448 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27449 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27450 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27451 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27452 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27454 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27456 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27457 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27458 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27459 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27460 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27461 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27463 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27464 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27475 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27478 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27495 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27506 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27511 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27516 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27518 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27519 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27520 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27521 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27522 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27523 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27524 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27525 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27526 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27528 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27529 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27530 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27531 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27532 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27533 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27534 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27535 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27536 (__isnanf): Likewise.
27537 (__isinf_ns): Likewise.
27538 (__isinf_nsf): Likewise.
27539 (__finite): Likewise.
27540 (__finitef): Likewise.
27541 (__ieee754_sqrt): Define as macro.
27542 (__ieee754_sqrtf): Define as macro.
27543 (__ieee754_sqrtl): Define as macro.
27544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27546 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27547 __FINITE_MATH_ONLY__ consistent.
27548 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27550 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27552 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27555 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27557 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27559 * po/ja.po: Update from translation team.
27561 2011-10-08 Roland McGrath <roland@hack.frob.com>
27563 * locale/programs/locarchive.c (prepare_address_space): New function.
27564 (create_archive, enlarge_archive, open_archive): Use it.
27566 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27567 inside [SHARED], where it is used.
27569 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27571 * nss/getent.c (netgroup_keys): Remove unused variable.
27572 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27574 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27576 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27579 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27580 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27581 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27582 * math/Makefile (libm-calls): Add s_isinf_ns.
27583 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27584 * math/multc3.c: Likewise.
27585 * math/s_casin.c: Likewise.
27586 * math/s_casinf.c: Likewise.
27587 * math/s_casinl.c: Likewise.
27588 * math/s_ccos.c: Likewise.
27589 * math/s_ccosf.c: Likewise.
27590 * math/s_ccosl.c: Likewise.
27591 * math/s_ctan.c: Likewise.
27592 * math/s_ctanf.c: Likewise.
27593 * math/s_ctanh.c: Likewise.
27594 * math/s_ctanhf.c: Likewise.
27595 * math/s_ctanhl.c: Likewise.
27596 * math/s_ctanl.c: Likewise.
27597 * math/w_fmod.c: Likewise.
27598 * math/w_fmodf.c: Likewise.
27599 * math/w_fmodl.c: Likewise.
27600 * math/w_remainder.c: Likewise.
27601 * math/w_remainderf.c: Likewise.
27602 * math/w_remainderl.c: Likewise.
27603 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27604 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27607 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27608 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27609 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27610 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27612 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27614 * stdio-common/printf_fphex.c: Likewise.
27615 * stdio-common/printf_size.c: Likewise.
27617 * math/e_exp10.c: Include math_private.h using <...> not "...".
27618 * math/e_exp10f.c: Likewise.
27619 * math/e_exp10l.c: Likewise.
27620 * math/e_exp2l.c: Likewise.
27621 * math/e_j0l.c: Likewise.
27622 * math/e_j1l.c: Likewise.
27623 * math/e_jnl.c: Likewise.
27624 * math/e_lgammal_r.c: Likewise.
27625 * math/e_rem_pio2l.c: Likewise.
27626 * math/e_scalb.c: Likewise.
27627 * math/e_scalbf.c: Likewise.
27628 * math/e_scalbl.c: Likewise.
27629 * math/k_cosl.c: Likewise.
27630 * math/k_sinl.c: Likewise.
27631 * math/k_tanl.c: Likewise.
27632 * math/s_cacoshf.c: Likewise.
27633 * math/s_catan.c: Likewise.
27634 * math/s_catanf.c: Likewise.
27635 * math/s_catanh.c: Likewise.
27636 * math/s_catanhf.c: Likewise.
27637 * math/s_catanhl.c: Likewise.
27638 * math/s_catanl.c: Likewise.
27639 * math/s_ccosh.c: Likewise.
27640 * math/s_ccoshf.c: Likewise.
27641 * math/s_ccoshl.c: Likewise.
27642 * math/s_cexp.c: Likewise.
27643 * math/s_cexpf.c: Likewise.
27644 * math/s_cexpl.c: Likewise.
27645 * math/s_clog.c: Likewise.
27646 * math/s_clog10.c: Likewise.
27647 * math/s_clog10f.c: Likewise.
27648 * math/s_clog10l.c: Likewise.
27649 * math/s_clogf.c: Likewise.
27650 * math/s_clogl.c: Likewise.
27651 * math/s_csin.c: Likewise.
27652 * math/s_csinf.c: Likewise.
27653 * math/s_csinh.c: Likewise.
27654 * math/s_csinhf.c: Likewise.
27655 * math/s_csinhl.c: Likewise.
27656 * math/s_csinl.c: Likewise.
27657 * math/s_csqrt.c: Likewise.
27658 * math/s_csqrtf.c: Likewise.
27659 * math/s_csqrtl.c: Likewise.
27660 * math/s_ctan.c: Likewise.
27661 * math/s_ctanf.c: Likewise.
27662 * math/s_ctanh.c: Likewise.
27663 * math/s_ctanhf.c: Likewise.
27664 * math/s_ctanhl.c: Likewise.
27665 * math/s_ctanl.c: Likewise.
27666 * math/s_ldexp.c: Likewise.
27667 * math/s_ldexpf.c: Likewise.
27668 * math/s_ldexpl.c: Likewise.
27669 * math/s_significand.c: Likewise.
27670 * math/s_significandf.c: Likewise.
27671 * math/s_significandl.c: Likewise.
27672 * math/w_acos.c: Likewise.
27673 * math/w_acosf.c: Likewise.
27674 * math/w_acosh.c: Likewise.
27675 * math/w_acoshf.c: Likewise.
27676 * math/w_acoshl.c: Likewise.
27677 * math/w_acosl.c: Likewise.
27678 * math/w_asin.c: Likewise.
27679 * math/w_asinf.c: Likewise.
27680 * math/w_asinl.c: Likewise.
27681 * math/w_atan2.c: Likewise.
27682 * math/w_atan2f.c: Likewise.
27683 * math/w_atan2l.c: Likewise.
27684 * math/w_atanh.c: Likewise.
27685 * math/w_atanhf.c: Likewise.
27686 * math/w_atanhl.c: Likewise.
27687 * math/w_cosh.c: Likewise.
27688 * math/w_coshf.c: Likewise.
27689 * math/w_coshl.c: Likewise.
27690 * math/w_dremf.c: Likewise.
27691 * math/w_exp10.c: Likewise.
27692 * math/w_exp10f.c: Likewise.
27693 * math/w_exp10l.c: Likewise.
27694 * math/w_exp2.c: Likewise.
27695 * math/w_exp2f.c: Likewise.
27696 * math/w_fmod.c: Likewise.
27697 * math/w_fmodf.c: Likewise.
27698 * math/w_fmodl.c: Likewise.
27699 * math/w_hypot.c: Likewise.
27700 * math/w_hypotf.c: Likewise.
27701 * math/w_hypotl.c: Likewise.
27702 * math/w_j0.c: Likewise.
27703 * math/w_j0f.c: Likewise.
27704 * math/w_j0l.c: Likewise.
27705 * math/w_j1.c: Likewise.
27706 * math/w_j1f.c: Likewise.
27707 * math/w_j1l.c: Likewise.
27708 * math/w_jn.c: Likewise.
27709 * math/w_jnf.c: Likewise.
27710 * math/w_jnl.c: Likewise.
27711 * math/w_lgamma.c: Likewise.
27712 * math/w_lgamma_r.c: Likewise.
27713 * math/w_lgammaf.c: Likewise.
27714 * math/w_lgammaf_r.c: Likewise.
27715 * math/w_lgammal.c: Likewise.
27716 * math/w_lgammal_r.c: Likewise.
27717 * math/w_log.c: Likewise.
27718 * math/w_log10.c: Likewise.
27719 * math/w_log10f.c: Likewise.
27720 * math/w_log10l.c: Likewise.
27721 * math/w_log2.c: Likewise.
27722 * math/w_log2f.c: Likewise.
27723 * math/w_log2l.c: Likewise.
27724 * math/w_logf.c: Likewise.
27725 * math/w_logl.c: Likewise.
27726 * math/w_pow.c: Likewise.
27727 * math/w_powf.c: Likewise.
27728 * math/w_powl.c: Likewise.
27729 * math/w_remainder.c: Likewise.
27730 * math/w_remainderf.c: Likewise.
27731 * math/w_remainderl.c: Likewise.
27732 * math/w_scalb.c: Likewise.
27733 * math/w_scalbf.c: Likewise.
27734 * math/w_scalbl.c: Likewise.
27735 * math/w_sinh.c: Likewise.
27736 * math/w_sinhf.c: Likewise.
27737 * math/w_sinhl.c: Likewise.
27738 * math/w_sqrt.c: Likewise.
27739 * math/w_sqrtf.c: Likewise.
27740 * math/w_sqrtl.c: Likewise.
27741 * math/w_tgamma.c: Likewise.
27742 * math/w_tgammaf.c: Likewise.
27743 * math/w_tgammal.c: Likewise.
27745 * po/ja.po: Update from translation team.
27747 2011-09-29 Andreas Jaeger <aj@suse.de>
27750 * sunrpc/netname.c (netname2host): Fix logic.
27754 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27756 * math/w_remainder.c (__remainder): Likewise.
27757 * math/w_remainderf.c (__remainderf): Likewise.
27758 * math/libm-test.inc (remainder_test): Add test cases.
27760 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27762 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27765 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27767 * string/test-memcmp.c: Avoid unncessary #defines.
27768 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27770 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27772 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27773 Use new sse2 version for core i3 - i7 as it's faster
27774 than sse42 version.
27775 (bit_Prefer_PMINUB_for_stringop): New.
27776 * sysdeps/x86_64/rawmemchr.S: Update.
27777 Replace with faster SSE2 version.
27778 * sysdeps/x86_64/memrchr.S: New file.
27779 * sysdeps/x86_64/memchr.S: Update.
27780 Replace with faster SSE2 version.
27782 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27784 * elf/dl-load.c (lose): Add cast to avoid warning.
27786 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27788 * po/ca.po: Update from translation team.
27790 * inet/getnetgrent_r.c: Hook up nscd.
27791 * nscd/Makefile (routines): Add nscd_netgroup.
27792 (nscd-modules): Add netgroupcache.
27793 (CFLAGS-netgroupcache.c): Define.
27794 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27795 (cache_search): Add const to second parameter.
27796 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27798 (dbs): Add netgrdb entry.
27799 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27800 (verify_persistent_db): Handle netgrdb.
27801 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27802 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27804 (netgroup_response_header): Define.
27805 (innetgroup_response_header): Define.
27806 (datahead): Add netgroup_response_header and innetgroup_response_header
27808 * nscd/nscd.conf: Add entries for netgroup cache.
27809 * nscd/nscd.h (dbtype): Add netgrdb.
27810 (_PATH_NSCD_NETGROUP_DB): Define.
27811 (netgroup_iov_disabled): Declare.
27812 (xmalloc, xcalloc, xrealloc): Move declarations here.
27813 (cache_search): Adjust prototype.
27814 Add netgroup-related prototypes.
27815 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27816 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27817 (__nscd_innetgr): Declare.
27818 * nscd/selinux.c (perms): Use access_vector_t as element type and
27819 add netgroup-related initializers.
27820 * nscd/netgroupcache.c: New file.
27821 * nscd/nscd_netgroup.c: New file.
27822 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27823 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27824 For four parameters use innetgr.
27825 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27826 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27827 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27828 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27830 * nscd/connections.c (register_traced_file): Don't register file
27831 for disabled databases.
27833 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27835 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27837 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27838 from tree and freeing node.
27840 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27842 * nss/nsswitch.c (__nss_database_lookup): Handle
27843 nss_parse_service_list out of memory case.
27845 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27847 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27848 out of memory case.
27850 2011-10-04 Andreas Schwab <schwab@redhat.com>
27852 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27853 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27855 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27856 elf_machine_rela, elf_machine_lazy_rel.
27857 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27858 (ELF_DYNAMIC_DO_REL): Likewise.
27859 (ELF_DYNAMIC_DO_RELA): Likewise.
27860 (ELF_DYNAMIC_RELOCATE): Likewise.
27861 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27862 to ELF_DYNAMIC_DO_REL.
27863 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27864 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27865 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27867 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27868 skip_ifunc, don't call ifunc function if non-zero.
27869 (elf_machine_rela): Likewise.
27870 (elf_machine_lazy_rel): Likewise.
27871 (elf_machine_lazy_rela): Likewise.
27872 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27873 (elf_machine_lazy_rel): Likewise.
27874 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27876 (elf_machine_lazy_rel): Likewise.
27877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27879 (elf_machine_lazy_rel): Likewise.
27880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27881 (elf_machine_lazy_rel): Likewise.
27882 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27883 (elf_machine_lazy_rel): Likewise.
27884 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27885 (elf_machine_lazy_rel): Likewise.
27886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27887 (elf_machine_lazy_rel): Likewise.
27888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27889 (elf_machine_lazy_rel): Likewise.
27890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27891 (elf_machine_lazy_rel): Likewise.
27893 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27895 * nss/nss_files/files-init.c (_nss_files_init): Use static
27896 initialization for all the *_traced_file variables.
27898 2011-09-28 Andreas Schwab <schwab@redhat.com>
27900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27902 2011-09-27 Roland McGrath <roland@hack.frob.com>
27905 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27907 2011-09-27 Andreas Schwab <schwab@redhat.com>
27909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27910 Reread the line before reparsing it.
27912 2011-09-26 Andreas Schwab <schwab@redhat.com>
27914 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27916 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27917 Maxim Kuvyrkov <maxim@codesourcery.com>
27918 Joseph Myers <joseph@codesourcery.com>
27920 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27921 if needed for __stack_chk_guard.
27923 2011-09-19 Roland McGrath <roland@hack.frob.com>
27925 * sysdeps/posix/spawni.c (script_execute): Always define it.
27926 It will be optimized away if unused.
27927 (maybe_script_execute): New function.
27928 (__spawni): Call it.
27930 * Makerules: Don't include tls.make.
27931 (config-tls): Always set to thread.
27932 * tls.make.c: File removed.
27934 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27936 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27937 * config.make.in (CPPFLAGS-config): New substituted variable.
27939 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27941 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27944 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27945 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27947 2011-09-15 Roland McGrath <roland@hack.frob.com>
27949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27950 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27952 (CALL_FAIL): Likewise.
27953 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27954 (CALL_FAIL): Macro removed.
27955 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27957 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27959 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27960 for __FINITE_MATH_ONLY__ == 1.
27962 2011-09-15 Andreas Schwab <schwab@redhat.com>
27964 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27965 __ieee754_sqrt instead of sqrt.
27966 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27967 __ieee754_sqrtf instead of sqrtf.
27968 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27969 __floorf instead of floorf.
27970 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27971 __floorf, __truncf instead of floorf, truncf.
27973 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27975 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27977 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27978 __extern_always_inline.
27979 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27982 2011-09-14 Andreas Schwab <schwab@redhat.com>
27984 * elf/rtld.c (dl_main): Also relocate in dependency order when
27985 doing symbol dependency testing.
27987 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27990 Always define `refsym'.
27992 2011-09-13 Andreas Schwab <schwab@redhat.com>
27994 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27995 (__FD_ELT): Renamed from __FDELT.
27996 * misc/bits/select2.h (__FD_ELT): Likewise.
27997 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27998 __FD_MASK instead of __FDELT, __FDMASK.
27999 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28001 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28004 * elf/Makefile (gen-ldd): Fix pattern.
28006 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28007 (init_tls): Likewise.
28009 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28013 2011-09-12 Andreas Schwab <schwab@redhat.com>
28015 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28016 `struct cmsghdr *' instead of `void *'.
28017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28020 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28022 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28024 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28025 ldd_rewrite_script.
28027 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28029 * configure.in: Remove --with-tls option.
28030 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28031 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28032 out in case it is missing.
28033 * sysdeps/ia64/elf/configure.in: Likewise.
28034 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28035 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28036 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28037 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28038 * sysdeps/sh/elf/configure.in: Likewise.
28039 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28040 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28041 * sysdeps/x86_64/elf/configure.in: Likewise.
28042 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28043 * sysdeps/mach/hurd/tls.h: Likewise.
28046 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28049 * configure.in: Fix use of AC_INIT.
28051 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28053 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28055 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28057 * malloc/hooks.c: Likewise.
28060 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28061 variables statically.
28062 (narenas): Initialize.
28063 (list_lock): Initialize.
28064 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28065 initializtion of main_arena and list_lock. Small cleanups.
28066 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28067 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28068 Add initializers to main_arena and mp_.
28069 (malloc_state): Remove pagesize member. Change all users to use
28072 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28073 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28074 is always initialized.
28076 * malloc/malloc.c: Removed unused configurations and dead code.
28077 * malloc/arena.c: Likewise.
28078 * malloc/hooks.c: Likewise.
28079 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28081 * include/tls.h: Removed. USE___THREAD must always be defined.
28082 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28083 * elf/dl-libc.c: Likewise.
28084 * elf/dl-tsd.c: Likewise.
28085 * include/errno.h: Likewise.
28086 * include/netdb.h: Likewise.
28087 * include/resolv.h: Likewise.
28088 * inet/herrno-loc.c: Likewise.
28089 * inet/herrno.c: Likewise.
28090 * malloc/arena.c: Likewise.
28091 * malloc/hooks.c: Likewise.
28092 * malloc/malloc.c: Likewise.
28093 * resolv/res-state.c: Likewise.
28094 * resolv/res_libc.c: Likewise.
28095 * sysdeps/i386/dl-machine.h: Likewise.
28096 * sysdeps/ia64/dl-machine.h: Likewise.
28097 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28098 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28099 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28100 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28101 * sysdeps/sh/dl-machine.h: Likewise.
28102 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28103 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28104 * sysdeps/unix/i386/sysdep.S: Likewise.
28105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28106 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28111 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28115 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28116 * sysdeps/x86_64/dl-machine.h: Likewise.
28117 * tls.make.c: Likewise.
28119 * configure.in: Remove --with-__thread option. Make tests for
28120 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28121 tls_model attribute fail if no support is available. Remove
28123 * Makeconfig: Adjust for dropped configure option. All features are
28125 * Makerules: Likewise.
28126 * Versions.def: Likewise.
28127 * argp/argp-fmtstream.c: Likewise.
28128 * argp/argp-fmtstream.h: Likewise.
28129 * argp/argp-help.c: Likewise.
28130 * assert/assert.c: Likewise.
28131 * config.h.in: Likewise.
28132 * config.make.in: Likewise.
28133 * configure: Likewise.
28134 * configure.in: Likewise.
28135 * csu/Versions: Likewise.
28136 * csu/init.c: Likewise.
28137 * elf/tst-audit2.c: Likewise.
28138 * elf/tst-tls10.c: Likewise.
28139 * elf/tst-tls10.h: Likewise.
28140 * elf/tst-tls11.c: Likewise.
28141 * elf/tst-tls12.c: Likewise.
28142 * elf/tst-tls14.c: Likewise.
28143 * elf/tst-tlsmod11.c: Likewise.
28144 * elf/tst-tlsmod12.c: Likewise.
28145 * elf/tst-tlsmod13.c: Likewise.
28146 * elf/tst-tlsmod13a.c: Likewise.
28147 * elf/tst-tlsmod14a.c: Likewise.
28148 * elf/tst-tlsmod15b.c: Likewise.
28149 * elf/tst-tlsmod16a.c: Likewise.
28150 * elf/tst-tlsmod16b.c: Likewise.
28151 * elf/tst-tlsmod7.c: Likewise.
28152 * elf/tst-tlsmod8.c: Likewise.
28153 * elf/tst-tlsmod9.c: Likewise.
28154 * gmon/gmon.c: Likewise.
28155 * grp/fgetgrent_r.c: Likewise.
28156 * grp/putgrent.c: Likewise.
28157 * hurd/fopenport.c: Likewise.
28158 * include/libc-symbols.h: Likewise.
28159 * include/tls.h: Likewise.
28160 * intl/gettextP.h: Likewise.
28161 * intl/loadinfo.h: Likewise.
28162 * locale/global-locale.c: Likewise.
28163 * locale/localeinfo.h: Likewise.
28164 * mach/devstream.c: Likewise.
28165 * malloc/arena.c: Likewise.
28166 * malloc/set-freeres.c: Likewise.
28167 * misc/err.c: Likewise.
28168 * misc/getttyent.c: Likewise.
28169 * misc/mntent_r.c: Likewise.
28170 * posix/getopt.c: Likewise.
28171 * posix/wordexp.c: Likewise.
28172 * pwd/fgetpwent_r.c: Likewise.
28173 * resolv/Versions: Likewise.
28174 * resolv/res_hconf.c: Likewise.
28175 * shadow/fgetspent_r.c: Likewise.
28176 * shadow/putspent.c: Likewise.
28177 * stdio-common/printf_fphex.c: Likewise.
28178 * stdio-common/tmpfile.c: Likewise.
28179 * stdlib/abort.c: Likewise.
28180 * stdlib/fmtmsg.c: Likewise.
28181 * sunrpc/auth_unix.c: Likewise.
28182 * sunrpc/clnt_perr.c: Likewise.
28183 * sunrpc/clnt_tcp.c: Likewise.
28184 * sunrpc/clnt_udp.c: Likewise.
28185 * sunrpc/clnt_unix.c: Likewise.
28186 * sunrpc/openchild.c: Likewise.
28187 * sunrpc/svc_simple.c: Likewise.
28188 * sunrpc/svc_tcp.c: Likewise.
28189 * sunrpc/svc_udp.c: Likewise.
28190 * sunrpc/svc_unix.c: Likewise.
28191 * sunrpc/xdr.c: Likewise.
28192 * sunrpc/xdr_array.c: Likewise.
28193 * sunrpc/xdr_rec.c: Likewise.
28194 * sunrpc/xdr_ref.c: Likewise.
28195 * sunrpc/xdr_stdio.c: Likewise.
28197 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28199 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28201 2011-07-03 Andreas Jaeger <aj@suse.de>
28203 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28204 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28205 regenerate with gen-libm-tests.pl.
28207 2010-05-12 Petr Baudis <pasky@suse.cz>
28210 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28211 around j0() zero points by switching to j1().
28212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28213 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28217 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28219 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28224 Patch in part by Pavel Roskin <proski@gnu.org>.
28227 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28229 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28230 Free memory block if necessary.
28233 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28234 be NULL. Don't lock in this case.
28236 2011-09-09 Roland McGrath <roland@hack.frob.com>
28238 * elf/elf.h (ELFOSABI_GNU): New macro.
28239 (ELFOSABI_LINUX): Define to that.
28241 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28243 * string/strncat.c (strncat): Undef the symbol in case it has been
28244 defined in bits/string.h.
28246 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28248 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28250 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28253 2011-08-17 Andreas Jaeger <aj@suse.de>
28255 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28257 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28258 Ian Lance Taylor <iant@google.com>
28260 * math/libm-test.inc (lround_test): New testcase.
28261 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28263 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28265 * Makefile: Remove support for automatic cvs check-ins.
28266 * Makerules: Likewise.
28267 * config.make.in: Likewise.
28268 * configure.in: Likewise.
28269 * intl/Makefile: Likewise.
28270 * locale/Makefile: Likewise.
28271 * po/Makefile: Likewise.
28272 * posix/Makefile: Likewise.
28273 * sysdeps/gnu/Makefile: Likewise.
28274 * sysdeps/mach/hurd/Makefile: Likewise.
28275 * sysdeps/sparc/sparc32/Makefile: Likewise.
28278 * posix/Makefile (bug-regex32-ENV): Define.
28279 Patch by John Stanley <jpsinthemix@verizon.net>.
28281 * misc/Makefile (headers): Add bits/select2.h.
28282 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28283 * misc/bits/select2.h: New file.
28284 * include/bits/select2.h: New file.
28285 * debug/Makefile (routines): Add fdelt_chk.
28286 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28287 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28289 * debug/fdelt_chk.c: New file.
28291 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28292 * wcsmbs/test-wmemcmp.c: Likewise.
28293 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28294 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28296 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28298 * string/Makefile (strop-tests): Add memcmp.
28299 * string/test-wmemcmp.c: New file.
28300 * string/test-memcmp.c: Add wmemcmp support.
28302 2011-09-08 Roland McGrath <roland@hack.frob.com>
28305 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28308 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28309 garbage value in a __mach_port_mod_refs call in the cases of the
28310 task-self and thread-self ports.
28312 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28314 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28316 2011-09-08 Andreas Schwab <schwab@redhat.com>
28318 * elf/dl-load.c (lose): Check for non-null L.
28320 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28322 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28324 * elf/dl-libc.c (dlerror_run): Pass back error code from
28328 * elf/dl-load.c (lose): Free l_origin if it is valid.
28330 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28332 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28334 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28336 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28337 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28339 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28341 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28342 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28343 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28344 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28345 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28346 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28347 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28348 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28349 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28350 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28352 2011-08-15 Alan Modra <amodra@gmail.com>
28355 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28356 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28357 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28358 ppc_mcount to static-only-routines.
28359 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28361 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28362 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28364 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28367 for finite and infinity parameters.
28369 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28372 and add nop instructions for throughput optimization.
28373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28375 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28377 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28378 aligned copy for power7 with vector-scalar instructions.
28379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28381 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28386 2011-09-07 Andreas Schwab <schwab@redhat.com>
28389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28392 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28394 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28395 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28396 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28397 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28400 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28402 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28403 Forgot to demangle the pointer.
28405 * sysdeps/i386/sysdep.h: Define atom_text_section.
28406 * sysdeps/x86_64/sysdep.h: Likewise.
28407 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28408 section with atom_text_section.
28409 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28410 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28411 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28417 already be defined. Change to take two parameters and don't assign
28418 result to variable. Adjust all users.
28419 Define INTERNAL_GETTIME if not already defined.
28420 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28423 HAVE_CLOCK_GETTIME_VSYSCALL.
28424 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28427 gettimeofday vsyscall, just use time.
28429 2011-09-06 Andreas Schwab <schwab@redhat.com>
28431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28434 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28436 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28440 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28442 syscall if possible.
28444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28446 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28447 e_ident. Don't pass to find_mapsXX.
28448 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28450 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28453 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28454 * sysdeps/x86_64/multiarch/strchr.S: Update.
28455 Check bit_slow_BSF bit.
28456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28457 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28460 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28463 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28465 (tryshell): Define.
28466 (__spawni): Change last parameter to be flag. Test
28467 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28468 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28469 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28470 * posix/spawni.c: Likewise.
28471 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28472 * posix/spawnp.c: Likewise. Change normal version to use
28473 SPAWN_XFLAGS_USE_PATH.
28474 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28475 SPAWN_XFLAGS_TRY_SHELL.
28478 * posix/glob.h: Remove gcc 1.x support.
28481 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28483 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28486 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28488 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28489 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28490 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28491 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28492 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28493 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28495 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28497 * sysdeps/x86_64/wcscmp.S: New file.
28499 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28500 wcscmp-c wcscmp-sse2
28501 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28502 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28503 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28504 * wcsmbs/wcscmp.c: Allow renaming.
28506 2011-09-05 David S. Miller <davem@davemloft.net>
28508 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28509 stack slot, rather than the struct return pointer slot.
28510 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28511 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28513 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28515 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28517 * po/ja.po: Update from translation team.
28520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28521 kernel in 64-bit binaries.
28523 2011-09-01 David S. Miller <davem@davemloft.net>
28525 * elf/elf.h (HWCAP_SPARC_*): Move to..
28526 * sysdeps/sparc/sysdep.h: this new file and add new values.
28527 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28528 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28529 _DL_HWCAP_COUNT to 24.
28530 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28532 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28533 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28534 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28536 instead of magic constants.
28537 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28539 2011-08-31 David S. Miller <davem@davemloft.net>
28541 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28543 Reimplement to do errno handling inline.
28544 (SYSCALL_ERROR_HANDLER): New macro.
28545 (__SYSCALL_STRING): Do not do errno handling in asm.
28546 (__CLONE_SYSCALL_STRING): Delete.
28547 (__INTERNAL_SYSCALL_STRING): Delete.
28548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28549 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28550 (PSEUDO): Reimplement to do errno handling inline.
28551 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28552 (SYSCALL_ERROR_HANDLER): New macro.
28553 (__SYSCALL_STRING): Do not do errno handling in asm.
28554 (__CLONE_SYSCALL_STRING): Delete.
28555 (__INTERNAL_SYSCALL_STRING): Delete.
28556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28557 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28559 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28560 (inline_syscall*): Add 'err' argument.
28561 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28562 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28563 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28564 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28566 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28567 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28569 2011-08-30 Andreas Schwab <schwab@redhat.com>
28571 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28573 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28575 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28578 2011-08-24 David S. Miller <davem@davemloft.net>
28580 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28582 2011-08-24 Andreas Schwab <schwab@redhat.com>
28584 * elf/Makefile: Add rules to build and run unload8 test.
28585 * elf/unload8.c: New file.
28586 * elf/unload8mod1.c: New file.
28587 * elf/unload8mod1x.c: New file.
28588 * elf/unload8mod2.c: New file.
28589 * elf/unload8mod3.c: New file.
28591 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28594 2011-08-23 David S. Miller <davem@davemloft.net>
28596 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28597 subtract stack bias.
28598 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28599 %sp not %fp in calculations.
28600 (_JMPBUF_UNWINDS_ADJ): Likewise.
28602 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28603 (aio_suspend): Call it to force an exception region around the
28604 AIO_MISC_WAIT() invocation.
28606 2011-08-23 Andreas Schwab <schwab@redhat.com>
28608 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28611 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28613 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28615 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28616 and <dl-machine.h>.
28617 (Elf64_FuncDesc): Remove.
28619 2011-08-22 David S. Miller <davem@davemloft.net>
28621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28622 sigaltstack check, add missing cfi directives.
28623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28624 missing cfi directives, and sigaltstack handling.
28626 2011-08-16 Andreas Schwab <schwab@redhat.com>
28629 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28630 object is seen twice.
28631 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28633 * elf/Makefile (distribute): Add tst-initorder2.c.
28634 (tests): Add tst-initorder2.
28635 (modules-names): Add tst-initorder2a tst-initorder2b
28636 tst-initorder2c tst-initorder2d. Add rules to build them.
28637 ($(objpfx)tst-initorder2.out): New rule.
28638 * elf/tst-initorder2.c: New file.
28639 * elf/tst-initorder2.exp: New file.
28641 2011-08-22 Andreas Schwab <schwab@redhat.com>
28643 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28645 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28646 dependencies back to end of function.
28648 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28649 $(elfobjdir)/ld.so.
28651 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28654 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28656 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28657 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28658 of __vdso_gettimeofday.
28659 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28660 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28662 (_libc_vdso_platform_setup): Remove initialization of
28663 __vdso_gettimeofday and __vdso_time.
28665 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28667 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28668 and fgetc_unlocked.
28669 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28672 * elf/dl-open.c (add_to_global): Report additions to the global scope
28673 for LD_DEBUG=scopes.
28674 (dl_open_worker): Also print scope of newly loaded dependencies.
28675 (_dl_show_scope): Indicate if there is no scope.
28678 * stdio-common/Makefile (tests): Add bug24.
28679 * stdio-common/bug24.c: New file.
28681 2011-08-19 Andreas Jaeger <aj@suse.de>
28684 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28685 non-existant file when using close-on-exec mode.
28687 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28690 the very first instruction.
28692 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28693 the CFI state in the end.
28694 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28695 inclusion of dl-trampoline.h.
28696 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28698 2011-08-19 Andreas Schwab <schwab@redhat.com>
28700 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28701 expectations for long double.
28703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28704 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28706 2011-08-14 David S. Miller <davem@davemloft.net>
28708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28709 artificual limit depends upon the system page size.
28711 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28713 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28714 * resolv/Makefile: Define CFLAGS-libresolv.
28716 2011-08-17 Andreas Schwab <schwab@redhat.com>
28718 * nss/makedb.c (compute_tables): Make variables used in nested
28721 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28723 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28724 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28725 if buffer was too small.
28727 * elf/pldd.c (main): Attach to all threads in the process.
28728 Rewrite /proc handling to use *at functions.
28730 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28732 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28733 specifies first scope to show.
28734 (dl_open_worker): Update callers. Move printing scope of new
28735 object to before the relocation.
28736 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28737 * sysdeps/generic/ldsodefs.h: Update declaration.
28739 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28740 string for the scope number.
28742 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28744 * nscd/servicescache.c (cache_addserv): Make sure written is always
28747 2011-08-14 Roland McGrath <roland@hack.frob.com>
28749 * sysdeps/i386/i486/bits/atomic.h
28750 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28751 statement expression, so as to suppress "set but not used" warning.
28752 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28754 * string/strncat.c (STRNCAT): Use prototype definition.
28756 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28757 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28759 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28760 (localedef-modules): Add localedef.
28761 (locale-modules): Add locale.
28763 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28764 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28765 to avoid a warning.
28767 2011-08-14 David S. Miller <davem@davemloft.net>
28769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28770 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28772 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28774 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28775 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28776 * elf/rtld.c (dl_main): Set l_name of vDSO.
28777 Call _dl_show_scope when DL_DEBUG_SCOPES.
28778 (process_dl_debug): Recognize scopes flag and also set it for all.
28779 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28780 Declare _dl_show_scope.
28782 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28783 (do_dlopen): Pass caller_dlopen to dl_open.
28784 (__libc_dlopen_mode): Initialize caller_dlopen.
28786 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28787 of libc. Make tolower call locale-independent. Optimize a bit by
28788 using isdigit instead of isalnum.
28789 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28791 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28793 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28794 was a dependency or dynamically loaded.
28796 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28798 * intl/l10nflist.c: Allow architecture-specific pop function.
28799 * sysdeps/x86_64/l10nflist.c: New file.
28801 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28804 2011-08-10 Andreas Schwab <schwab@redhat.com>
28806 * include/dirent.h: Add libc_hidden_proto for scandirat and
28807 scandirat64. Don't declare __scandirat64.
28808 * dirent/scandirat.c: Add libc_hidden_def.
28809 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28810 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28812 2011-08-10 David S. Miller <davem@davemloft.net>
28814 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28820 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28822 * Versions.def [libc]: Add GLIBC_2.15.
28823 * dirent/Makefile (routines): Add scandirat and scandirat64.
28824 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28826 * dirent/dirent.h: Declare scandirat and scandirat64.
28827 * dirent/scandirat.c: New file.
28828 * dirent/scandirat64.c: New file.
28829 * sysdeps/wordsize-64/scandirat.c: New file.
28830 * sysdeps/wordsize-64/scandirat64.c: New file.
28831 * dirent/opendir.c: Define opendirat.
28832 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28834 * dirent/scandir64.c: Adjust for scandir.c change.
28835 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28836 __scandirat64, and __scandir_cancel_handler.
28837 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28838 additional parameter and use openat instead of open (outside of ld.so).
28839 Add new __opendir as wrapper around __opendirat.
28840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28841 here without requiring old scandirat implementation.
28843 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28845 * dirent/scandir.c (cancel_handler): Renamed to
28846 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28847 defined. Adjust users.
28848 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28849 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28851 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28853 * string/test-string.h (IMPL): Use __STRING to expand name and then
28856 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28859 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28861 * string/Makefile: Update.
28862 (strop-tests): Append strncat.
28863 * string/test-wcscmp.c: New file.
28864 New comprehensive test for wcscmp.
28865 * string/test-strcmp.c: Update.
28866 (WIDE): New define.
28868 2011-07-22 Andreas Schwab <schwab@redhat.com>
28870 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28873 2011-07-26 Andreas Schwab <schwab@redhat.com>
28875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28876 encoding to ACE if AI_IDN.
28878 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28881 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28883 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28885 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28886 Fix overflow bug in strncat.
28887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28889 * string/test-strncat.c: Update.
28890 Add new tests for checking overflow bugs.
28892 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28895 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28896 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28897 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28899 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28900 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28901 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28902 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28905 (USE_AS_STRCAT): Define.
28906 Add strcat and strncat support.
28907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28909 2011-07-25 Andreas Schwab <schwab@redhat.com>
28911 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28912 __n bigger than INT_MAX+1.
28913 (__strncmp_g): Likewise.
28915 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28917 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28918 * libio/stido.h: Likewise.
28920 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28925 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28928 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28932 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28937 (_dl_x86_64_save_sse): Likewise.
28939 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28943 (_dl_x86_64_save_sse): Likewise.
28945 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28947 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28949 2011-07-21 Andreas Schwab <schwab@redhat.com>
28951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28953 (_dl_x86_64_save_sse): Use correct AVX check.
28955 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28958 bug in strncpy/strncat.
28959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28961 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28963 * string/tester.c (test_strcat): Add tests for different alignments
28964 of source and destination.
28965 (test_strncat): Likewise.
28967 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28970 * posix/glob.c (glob): Check passed in values before using them in
28971 expressions to avoid some overflows.
28972 (glob_in_dir): Likewise.
28975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28976 check for AVX enablement so that we don't crash with old kernels and
28978 * elf/tst-audit4.c: Add same checks here.
28979 * elf/tst-audit6.c: Likewise.
28981 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28983 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28985 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28987 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28989 * po/cs.po: Update from translation team.
28990 * po/bg.po: Likewise.
28992 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28994 * misc/sys/cdefs.h: Add support for const attribute.
28995 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28996 to gnu_dev_{major,minor,makedev} functions.
28998 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29000 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29002 2011-07-20 Andreas Schwab <schwab@redhat.com>
29004 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29007 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29010 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29011 register in order to avoid conflicts with the soft frame pointer
29012 being held in r11 when necessary.
29013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29014 (INTERNAL_VSYSCALL_NCS): Likewise.
29016 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29018 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29019 * elf/dl-fini.c (_dl_fini): Adjust caller.
29020 * elf/dl-close.c (_dl_close_worker): Likewise.
29021 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29023 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29025 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29026 "aux_cache->nlibs < 0".
29028 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29029 in the reload-count case.
29031 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29034 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29035 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29036 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29037 * sysdeps/x86_64/multiarch/strcat.S: New file.
29038 * sysdeps/x86_64/multiarch/strncat.S: New file.
29039 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29041 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29042 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29043 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29044 (USE_AS_STRCAT): Define.
29045 Add strcat and strncat support.
29046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29049 * string/strncat.c: Update.
29050 (USE_AS_STRNCAT): Define.
29051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29052 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29054 * sysdeps/x86_64/multiarch/init-arch.h
29055 (bit_Prefer_PMINUB_for_stringop): New.
29056 (index_Prefer_PMINUB_for_stringop): Likewise.
29057 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29058 bit_Prefer_PMINUB_for_stringop.
29060 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29062 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29064 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29065 of casting of buffer.
29066 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29067 buffer32 and buffer64.
29068 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29069 writes instead of casting of buffer.
29070 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29072 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29075 2011-07-19 Andreas Schwab <schwab@redhat.com>
29077 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29079 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29081 * nscd/nscd.c (termination_handler): Don't do anything for a database
29082 if it has not yet been initialized.
29084 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29086 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29088 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29090 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29092 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29094 * po/nl.po: Update from translation team.
29095 * po/sv.po: Likewise.
29097 2011-07-16 Roland McGrath <roland@hack.frob.com>
29099 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29100 now disallowed by GCC.
29102 * configure.in (use-default-link): Default to yes if a test -shared
29103 link meets our qualifications.
29104 * configure: Regenerated.
29106 * config.make.in (output-format): New variable.
29107 * configure.in: Check for ld --print-output-format support.
29108 * configure: Regenerated.
29109 * Makerules ($(common-objpfx)format.lds)
29110 [$(output-format) != unknown]: Just use $(output-format),
29111 instead of the linker-script munging.
29113 2011-07-14 Roland McGrath <roland@hack.frob.com>
29115 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29116 of $(common-objpfx)shlib.lds.
29117 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29119 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29120 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29122 * configure.in (-z relro check): Adjust test code to add a large
29123 writable data section after it.
29124 * configure: Regenerated.
29126 2011-07-11 Roland McGrath <roland@hack.frob.com>
29128 * configure.in (-z relro check): Fix test code to make the variable
29130 * configure: Regenerated.
29132 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29134 * nscd/nscd.h (struct traced_file): Define.
29135 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29136 elements. Add traced_files.
29137 (inotify_fd): Declare.
29138 (register_traced_file): Declare.
29139 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29140 (inotify_fd): Export.
29141 (resolv_conf_descr): Remove.
29142 (nscd_init): Move inotify descriptor creation to main.
29143 Don't register files for notification here.
29144 (register_traced_file): New function.
29145 (invalidate_cache): Don't use reset_res to determine whether to call
29146 res_init, go through the list of registered files.
29147 (main_loop_poll): The inotify descriptors are now stored in the
29148 structures for the traced files.
29149 (main_loop_epoll): Likewise
29150 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29151 to __nss_disable_nscd.
29152 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29153 for a database anymore. Check the records for all the registered
29155 * nss/Makefile (libnss_files-routines): Add files-init.
29156 (libnss_db-routines): Add db-init.
29157 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29158 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29159 * nss/nss_db/db-init.c: New file.
29160 * nss/nss_files/files-init.c: New file.
29161 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29162 __nss_lookup_function.
29163 (__nss_lookup_function): Call nss_load_library.
29164 (nss_load_all_libraries): New function.
29165 (__nss_disable_nscd): Take parameter with callback function for files
29166 to register. Set is_nscd. Load all the DSOs for the NSS modules
29167 used for the cached services.
29168 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29169 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29170 options for features to all the files in nscd.
29172 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29174 2011-07-10 Roland McGrath <roland@hack.frob.com>
29176 * csu/elf-init.c (__libc_csu_init): Comment typo.
29178 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29180 * po/pl.po: Update from translation team.
29181 * po/ja.po: Likewise.
29182 * po/ru.po: Likewise.
29183 * po/ko.po: Likewise.
29184 * po/fr.po: Likewise.
29186 2011-07-09 Roland McGrath <roland@hack.frob.com>
29188 * configure.in (.ctors/.dtors header and trailer check):
29189 Use an empirical test on a built program.
29190 * configure: Regenerated.
29192 * configure.in (-z relro check): Use an empirical test on a built DSO.
29193 Detect, but do not require, on ia64.
29194 * configure: Regenerated.
29196 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29197 Update tests that use readelf to use $READELF instead.
29198 * configure: Regenerated.
29200 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29202 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29203 if the result is not used.
29205 2011-07-05 Andreas Jaeger <aj@suse.de>
29208 * stdlib/tst-strtod.c: Add testcase.
29210 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29212 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29213 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29214 The latter has a higher limit. Take additional parameter to pass to
29216 (__pathconf): Pass file to __statfs_link_max.
29217 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29219 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29223 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29227 (__statfs_filesize_max): Likewise.
29228 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29230 2011-07-05 Andreas Jaeger <aj@suse.de>
29232 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29234 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29236 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29238 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29241 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29243 * Makefile (strop-tests): Add strncat.
29244 * string/test-strncat.c: New file.
29246 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29248 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29250 2011-06-21 Andreas Jaeger <aj@suse.de>
29252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29253 Copy rule from iconvdata/Makefile.
29255 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29258 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29259 but no long options are defined, just return 'W'.
29261 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29264 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29266 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29268 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29270 (innetgr): Likewise.
29272 2011-07-05 Roland McGrath <roland@hack.frob.com>
29274 * config.make.in (install_root): Default to $(DESTDIR).
29276 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29278 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29280 2011-07-02 Roland McGrath <roland@hack.frob.com>
29282 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29284 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29285 containing directory rather than embedding absolute directory names.
29287 * scripts/check-local-headers.sh: Rewritten using awk.
29288 Match by word, not by line. Print error messages for matches.
29289 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29291 * Makerules [shlib-lds-flags empty]:
29292 ($(common-objpfx)libc_pic.opts): New target.
29293 ($(common-objpfx)libc_pic.os.clean): New target.
29294 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29296 * config.make.in (OBJCOPY): New variable.
29297 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29298 * configure: Regenerated.
29300 * config.make.in (use-default-link): New variable.
29301 * configure.in (use_default_link): Grok --with-default-link to set it.
29302 * configure: Regenerated.
29303 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29304 (shlib-lds, shlib-lds-flags): Define to empty.
29306 * Makerules (shlib-lds): New variable.
29307 (shlib-lds-flags): New variable.
29308 (build-shlib, build-moduile, build-module-asneeded): Use it.
29309 ($(common-objpfx)libc.so): Use $(shlib-lds).
29310 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29311 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29313 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29314 DT_FLAGS/DT_FLAGS_1 with zero flags.
29316 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29317 linker script munging.
29319 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29321 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29323 * crypt/sha512.c (sha512_process_block): Perform total addition using
29324 128-bit if possible.
29325 (__sha512_finish_ctx): Likewise.
29326 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29328 * crypt/sha256.c (SWAP64): Define.
29329 (sha256_process_block): Perform total addition using 64-bit if
29331 (__sha256_finish_ctx): Likewise.
29333 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29335 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29337 * nscd/hstcache.c (cache_addhst): Likewise.
29338 * nscd/grpcache.c (cache_addgr): Likewise.
29339 * nscd/aicache.c (addhstaiX): Likewise
29340 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29342 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29344 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29345 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29346 * nscd/hstcache.c (cache_addhst): Likewise.
29347 * nscd/grpcache.c (cache_addgr): Likewise.
29348 * nscd/aicache.c (addhstaiX): Likewise
29350 2011-07-01 Andreas Schwab <schwab@redhat.com>
29352 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29353 domain only when needed.
29355 2011-06-30 Andreas Schwab <schwab@redhat.com>
29357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29358 is always restored.
29360 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29362 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29363 are re-adding the entry.
29364 * nscd/servicescache.c (cache_addserv): Likewise.
29366 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29368 * sysdeps/generic/dl-irel.h: fix protection against multiple
29370 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29372 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29375 * malloc/memusage.sh: Fix quoting in message.
29376 * debug/xtrace.sh: Likewise.
29378 * configure.in: Remove support for --experimental-malloc option, make
29380 * config.make.in: Likewise.
29381 * malloc/Makefile: Likewise.
29383 2011-06-27 Andreas Schwab <schwab@redhat.com>
29385 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29386 two-byte characters.
29388 2011-06-27 Roland McGrath <roland@hack.frob.com>
29390 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29391 AC_CACHE_CHECK invocation.
29392 * configure: Regenerated.
29394 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29396 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29399 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29400 bit from old_res_options.
29402 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29404 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29405 value type for setfct.
29407 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29409 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29410 __gettimeofday instead of gettimeofday.
29412 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29414 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29416 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29423 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29426 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29427 strcpy-sse2-unaligned strncpy-sse2-unaligned
29428 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29429 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29430 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29431 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29432 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29433 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29434 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29435 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29436 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29437 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29438 (STRCPY): Support SSE2 and SSSE3 versions.
29440 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29444 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29445 kernels which artificially limit size of requests.
29447 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29450 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29451 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29452 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29453 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29454 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29455 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29456 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29459 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29460 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29461 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29462 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29463 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29465 Enable unaligned load optimization for Intel Core i3, i5 and i7
29467 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29469 (index_Fast_Unaligned_Load): Define.
29470 (HAS_FAST_UNALIGNED_LOAD): Define.
29472 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29474 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29476 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29480 until it is clear that the information is realy needed.
29481 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29483 2011-06-22 Andreas Schwab <schwab@redhat.com>
29485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29487 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29490 /sys/devices/system/cpu/online if it is usable.
29492 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29493 reading the information from the /proc filesystem to once a second.
29495 2011-06-21 Andreas Jaeger <aj@suse.de>
29497 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29498 NULL after inclusion of kernel headers.
29500 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29502 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29503 calls to internal_setent.
29506 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29507 addresses using gethostbyname4_r ignore IPv4 addresses.
29509 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29510 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29512 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29514 2011-06-20 David S. Miller <davem@davemloft.net>
29516 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29518 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29520 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29521 (elf_irel): Use it.
29522 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29523 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29524 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29525 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29526 * sysdeps/x86_64/dl-irel.h: Likewise.
29528 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29529 * elf/dl-sym.c: Likewise.
29531 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29533 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29534 need to dereference resplen2.
29536 2011-06-14 Andreas Schwab <schwab@redhat.com>
29538 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29540 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29542 * Makeconfig: Define vardbdir and inst_vardbdir.
29543 * nss/Makefile: Add rules to install db-Makefile.
29545 * nss/nss_db/db-XXX.c: Cleanup.
29547 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29548 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29550 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29551 * nss/makedb.c: Implement -g option to specify that value strings
29552 are generated and should not be added to table iterated over for
29554 * nss/nss_db/db-initgroups.c: New file.
29556 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29559 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29560 (internal_getgrouplist): Adjust to name change.
29561 Update use_initgroups_entry if this is not the first call.
29562 * nss/databases.def: Add initgroups entry.
29564 * nss/makedb.c (compute_tables): Check result of multiple hash table
29565 sizes to minimize maximum chain length.
29567 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29569 * Versions.def: Add entry for libnss_db.
29570 * shlib-versions: Likewise.
29571 * nss/Makefile: Add rules to build libnss_db.
29572 * nss/Versions: Add libnss_db information. Organize libnss_files
29574 * nss/db-Makefile: Add gshadow support. Change rules for the new
29575 makedb progra. Some minor improvements to generate smaller files.
29576 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29578 * nss/makedb.c: ...here.
29579 Improve database format to be smaller and require less memory at
29581 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29583 * nss/nss_db/db-netgrp.c: Likewise.
29584 * nss/nss_db/db-open.c: Likewise.
29585 * nss/nss_files/flies-XXX.x: Adjust comments.
29586 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29587 * nss/nss_files/files-grp.c: Likewise.
29588 * nss/nss_files/files-hosts.c: Likewise.
29589 * nss/nss_files/files-network.c: Likewise.
29590 * nss/nss_files/files-proto.c: Likewise.
29591 * nss/nss_files/files-pwd.c: Likewise.
29592 * nss/nss_files/files-rpc.c: Likewise.
29593 * nss/nss_files/files-service.c: Likewise.
29594 * nss/nss_files/files-sgrp.c: Likewise.
29595 * nss/nss_files/files-spwd.c: Likewise.
29596 * nss/nss_db/db-alias.c: Removed.
29597 * nss/nss_db/dummy-db.h: Removed.
29599 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29601 * nss/makedb.c: Rewritten to not use database library.
29602 * nss/Makefile: Update to build new makedb program.
29604 2011-06-14 Andreas Jaeger <aj@suse.de>
29606 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29607 memset declaration.
29609 2011-06-10 Andreas Schwab <schwab@redhat.com>
29611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29614 2011-06-10 Roland McGrath <roland@hack.frob.com>
29616 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29617 * elf/Makefile ($(objpfx)ld.so): Likewise.
29619 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29620 Don't list ld.so twice in dependencies.
29622 * posix/bug-regex31.c: Include <stdlib.h>.
29624 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29626 * nis/nss_compat/compat-spwd.c
29627 (getspent_next_nss_netgr): Remove unused variable.
29628 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29630 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29631 nonmembers" output to use the right array.
29633 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29635 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29637 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29638 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29639 * catgets/gencat.c (read_input_file): Likewise.
29640 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29642 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29643 variable definition inside #if's controlling its use.
29645 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29647 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29649 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29651 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29654 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29656 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29657 * configure: Regenerated.
29659 * Makerules: Revert last change.
29660 * elf/Makefile: Likewise.
29662 2011-06-09 Roland McGrath <roland@hack.frob.com>
29664 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29665 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29666 (reloc-link): Likewise.
29668 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29670 * elf/Makefile: Add rules to build pldd.
29671 * elf/pldd.c: New file.
29672 * elf/pldd-xx.c: New file.
29674 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29676 * version.h: Update for 2.15 development version.
29678 2011-06-07 David S. Miller <davem@davemloft.net>
29680 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29683 elf_machine_lazy_rel): Likewise.
29684 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29686 elf_machine_lazy_rel): Likewise.
29687 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29688 dl_hwcap via passed in argument.
29689 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29692 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29694 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29696 2011-06-06 Roland McGrath <roland@hack.frob.com>
29699 * manual/fdl-1.1.texi: New file, verbatim from:
29700 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29701 * manual/lgpl-2.1.texi: New file, verbatim from:
29702 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29703 * manual/Makefile (licenses): New variable, list those new file names.
29705 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29707 * manual/fdl.texi: File removed.
29708 * manual/lesser.texi: File removed.
29709 * manual/libc.texinfo (Copying, Documentation License):
29710 Use new @include file names, put @appendix directive before @include.
29712 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29715 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29716 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29717 (mq_open): Add __NTH.
29719 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29722 Assume Intel Core i3/i5/i7 processor if AVX is available.
29724 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29729 2011-05-31 Andreas Schwab <schwab@redhat.com>
29731 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29732 memory. Use alloca_account. Fix memory leak when retrying.
29734 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29736 * version.h (RELEASE): Bump for 2.14 release.
29737 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29739 * config.make.in (RANLIB): Remove entry.
29741 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29743 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29744 (libc.pot): Work around missing support for .ksh extension in xgettext.
29747 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29748 if both request failed.
29749 (send_dg): In case of server errors clear resplen or *resplen2.
29752 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29753 when there are multiple maps.
29754 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29755 (_dl_fini): Remove test here.
29757 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29759 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29762 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29763 bit from old_res_options.
29764 (gaih_inet): Likewise.
29767 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29770 * resolv/res_init.c (res_setoptions): Make the code more compact.
29773 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29777 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29779 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29782 * malloc/malloc.h: Declare malloc hook variables as volatile.
29784 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29788 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29789 raise in the comment.
29790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29792 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29794 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29797 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29798 grow the buffers more if it already has to be sufficient.
29799 (build_wcs_upper_buffer): Likewise.
29800 * posix/regexec.c (check_matching): Likewise.
29801 (clean_state_log_if_needed): Likewise.
29802 (extend_buffers): Don't enlarge buffers beyond size of the input
29804 Patches mostly by Emil Wojak <emil@wojak.eu>.
29805 * posix/bug-regex32.c: New file.
29806 * posix/Makefile (tests): Add bug-regex32.
29808 * locale/findlocale.c (_nl_find_locale): Return right away if
29809 _nl_explode_name failed.
29810 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29812 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29814 * debug/xtrace.sh: Unify messages.
29815 * malloc/memusage.sh: Likewise.
29818 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29819 time symbol from vDSO. Substitute with vsyscall if not available.
29820 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29823 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29824 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29825 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29826 Add sendmmsg and internal_sendmmsg.
29827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29829 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29831 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29832 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29835 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29838 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29839 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29845 * iconvdata/Makefile (tests): Add bug-iconv9.
29846 * iconvdata/bug-iconv9.c: New file.
29848 2011-05-27 Andreas Schwab <schwab@redhat.com>
29851 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29853 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29856 (struct user_regs_struct): Change intcs field back to cs.
29858 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29860 * po/ja.po: Update from translation team.
29862 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29865 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29866 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29868 2011-05-20 Andreas Schwab <schwab@redhat.com>
29870 * stdlib/longlong.h: Update from GCC.
29872 2011-05-23 Andreas Schwab <schwab@redhat.com>
29874 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29876 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29877 Add parameter name.
29878 (__sysconf): Pass it down.
29880 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29883 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29886 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29887 add in in __libc_use_alloca calls. Adjust callers.
29888 (glob): Use malloc in some situations.
29890 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29891 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29894 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29896 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29897 and CLOCK_BOOTTIME_ALARM.
29900 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29903 * string/_strerror.c (__strerror_r): Print negative errors as signed
29907 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29908 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29909 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29911 * configure.in: Fix typo in redirection and correct removal of test
29912 files in two cases.
29915 * locale/setlocale.c (new_composite_name): Fix test to check for
29916 identical name of all categories.
29919 * libio/filedoalloc.c (local_isatty): New function.
29920 (_IO_file_doallocate): Use local_isatty.
29921 * stdio-common/perror.c (perror): In case a new stream is used
29922 forward the stream error.
29923 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29926 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29931 * include/alloca.h (extend_alloca_account): Define.
29934 * posix/regex.h: Fix comments with documentation of user-accessible
29935 fields after compilation and describe correct free'ing of pattern
29936 after re_compile_pattern.
29937 Patch by Reuben Thomas <rrt@sc3d.org>.
29939 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29941 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29942 and -mno-altivec to prevent the compiler from using Altivec and/or
29943 VSX instructions when the corresponding registers are not available.
29945 2011-05-19 Andreas Schwab <schwab@redhat.com>
29947 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29949 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29951 * libio/freopen.c (freopen): Use __dup2, not dup2.
29952 * libio/freopen64.c (freopen64): Likewise.
29954 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29957 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29958 * math/Makefile (tests): Add test-powl.
29959 (CFLAGS-test-powl.c): Define.
29960 * math/test-powl.c: New file.
29962 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29964 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29966 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29969 * iconvdata/gb18030.c: Update to GB18020-2005.
29971 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29973 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29974 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29975 Patch by Aharon Robbins <arnold@skeeve.com>.
29978 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29982 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29983 through underflows.
29986 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29987 point to strings before performing equality test for error_one_per_line
29991 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29995 (struct user_fpregs_struct): Avoid __uint*_t types.
29998 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29999 symbol info. Use it instead of calling _dl_addr locally.
30000 (lock_and_info): New function.
30001 (tr_freehook): Call lock_and_info and pass symbol info as additional
30002 parameter to tr_where.
30003 (tr_mallochook): Likewise.
30004 (tr_reallochook): Likewise.
30005 (tr_memalignhook): Likewise.
30007 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30008 used and couldn't be at all thread-safe.
30010 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30012 * libio/freopen.c (freopen): Don't close old file descriptor
30013 before the new one is opened. Instead dup the new file descriptor
30014 to the old one after the new stream is created.
30015 * libio/freopen64.c (freopen64): Likewise.
30016 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30017 * libio/fileops.c (_IO_new_file_close_it): Handle new
30018 _IO_FLAGS2_NOCLOSE flag.
30019 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30020 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30021 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30022 _IO_FLAGS2_NOCLOSE flag.
30023 * include/unistd.h: Add hidden_proto for dup3.
30024 Define __have_dup3.
30025 * io/dup3.c: Define hidden symbol.
30026 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30029 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30030 when an incomplete long option is used.
30031 * posix/tst-getopt_long1.c: New file.
30032 * posix/Makefile (tests): Add tst-getopt_long1.
30035 * scripts/config.guess: Update from autoconf-2.68.
30036 * scripts/config.sub: Likewise.
30039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30041 (has_cpuclock): ...this. New function.
30042 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30043 macro here based on has_cpuclock code.
30046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30047 First byte (not low byte) is now always NUL.
30048 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30051 Use non-cancelable interfaces.
30054 * locale/iso-639.def: Add entry for Sorani.
30057 * include/stdlib.h: Move include protection to the right place.
30058 Define abort_msg_s. Declare __abort_msg with it.
30059 * stdlib/abort.c (__abort_msg): Adjust type.
30060 * assert/assert.c (__assert_fail_base): New function. Majority
30061 of code from __assert_fail. Allocate memory for __abort_msg with
30063 (__assert_fail): Now call __assert_fail_base.
30064 * assert/assert-perr.c: Remove bulk of implementation. Use
30065 __assert_fail_base.
30066 * include/assert.hL Declare __assert_fail_base.
30067 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30069 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30071 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30075 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30076 until all modules are registered in the DTV.
30077 * elf/Makefile: Add rules to build and run tst-tls19.
30078 * elf/tst-tls19.c: New file.
30079 * elf/tst-tls19mod1.c: New file.
30080 * elf/tst-tls19mod2.c: New file.
30081 * elf/tst-tls19mod3.c: New file.
30082 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30085 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30089 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30090 two-byte sequence errors.
30091 * iconvdata/Makefile (tests): Add bug-iconv8.
30092 * iconvdata/bug-iconv8.c: New file.
30095 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30098 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30101 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30102 (dummy_getcfa): New function.
30103 (init): Get _Unwind_GetCFA address, use dummy if not found.
30104 (backtrace_helper): In recursion check, also check whether CFA changes.
30105 (__backtrace): Completely initialize arg.
30107 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30108 storing incomplete byte sequence in state object. Avoid testing for
30109 guaranteed too small input if we know there is enough data available.
30111 2011-05-11 Andreas Schwab <schwab@redhat.com>
30113 * Makeconfig (+link-pie): Indent.
30114 * Rules (binaries-pie): Define if $(have-fpie) and
30116 (binaries-shared): Also filter out $(binaries-pie).
30117 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30118 * nscd/Makefile (others-pie): Add nscd.
30119 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30120 ($(objpfx)nscd): Remove command override.
30121 * login/Makefile (others-pie): Add pt_chown.
30122 ($(objpfx)pt_chown): Remove command override.
30123 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30124 remove command overrides.
30126 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30128 * libio/tst_putwc.c: Fix error messages.
30131 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30132 currently writing and seek to current position when not.
30133 * libio/Makefile (tests): Add bug-fclose1.
30134 * libio/bug-fclose1.c: New file.
30136 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30139 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30140 don't set DF_1_NODELETE here.
30141 (do_lookup_x): When entering new entry test for copy relocation
30142 and if necessary set DF_1_NODELETE flag.
30143 * elf/tst-unique4.cc: New file.
30144 * elf/tst-unique4.h: New file.
30145 * elf/tst-unique4lib.cc: New file.
30146 * elf/Makefile: Add rules to build and run tst-unique4.
30147 Patch by Piotr Bury <pbury@goahead.com>.
30149 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30152 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30155 * misc/mntent_r.c (addmntent): Flush the stream after the output
30158 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30159 (is_trusted_path_normalize): Skip initial colon. Append slash
30160 to empty buffer. Duplicate is_trusted_path code but allow
30161 constructed patch to be prefix.
30162 (is_dst): Allow $ORIGIN followed by /.
30163 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30164 Correct testing of result of is_trusted_path_normalize
30165 (decompose_rpath): Fix warning.
30167 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30170 * grp/initgroups.c (internal_getgrouplist): When we found the service
30171 list through the initgroups entry in nsswitch.conf do not always
30172 continue on a successful lookup. Don't always use the
30173 __nss_group_database value if it is set.
30174 * nss/nsswitch.conf (initgroups): Change action for successful db
30175 lookup to continue for compatibility.
30177 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30180 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30182 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30184 * iconvdata/tst-tables.sh: Likewise.
30185 * iconvdata/cp770.c: New file.
30186 * iconvdata/cp771.c: New file.
30187 * iconvdata/cp772.c: New file.
30188 * iconvdata/cp773.c: New file.
30189 * iconvdata/cp774.c: New file.
30190 * iconvdata/testdata/CP770: New file.
30191 * iconvdata/testdata/CP770..UTF8: New file.
30192 * iconvdata/testdata/CP771: New file.
30193 * iconvdata/testdata/CP771..UTF8: New file.
30194 * iconvdata/testdata/CP772: New file.
30195 * iconvdata/testdata/CP772..UTF8: New file.
30196 * iconvdata/testdata/CP773: New file.
30197 * iconvdata/testdata/CP773..UTF8: New file.
30198 * iconvdata/testdata/CP774: New file.
30199 * iconvdata/testdata/CP774..UTF8: New file.
30201 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30203 * iconvdata/gen-8bit-gap.sh: Likewise.
30204 * iconvdata/gen-8bit.sh: Likewise.
30206 * locale/iso-639.def: Add ary entry.
30209 * locale/C-translit.h.in: Add U20A1 transliteration.
30212 * locale/iso-639.def: Add wae entry.
30213 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30216 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30220 * locale/C-translit.h.in: Add entry for U20B9.
30221 Patch by pravin.d.s@gmail.com.
30223 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30226 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30227 ENAMETOOLONG use generic getcwd.
30228 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30229 in rtld. Use *stat64.
30230 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30231 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30232 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30233 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30234 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30235 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30236 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30237 __fstatat64 macros.
30238 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30239 * dirent/rewinddir.c: Add libc_hidden_def.
30240 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30241 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30243 * include/dirent.h (__alloc_dir): Add flags parameter.
30244 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30245 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30247 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30248 from fdopendir if O_CLOEXEC is already set.
30250 2011-03-15 Alan Modra <amodra@gmail.com>
30252 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30253 l_tls_firstbyte_offset non-zero. Save padding offset in
30254 l_tls_firstbyte_offset for later use.
30255 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30256 freeing static tls block.
30258 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30260 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30261 where #ifdef was intended. The intent is to prevent ARG_MAX from
30262 being defined by the kernel headers.
30264 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30267 * resolv/resolv.h: Define RES_NOTLDQUERY.
30268 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30269 no-tld-query and set RES_NOTLDQUERY.
30270 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30271 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30272 modern BIND to search name as TLD unless forbidden.
30274 2011-05-07 Petr Baudis <pasky@suse.cz>
30275 Ulrich Drepper <drepper@gmail.com>
30278 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30279 (is_trusted_path): ...to here.
30280 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30281 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30282 using is_trusted_path_normalize() in setuid scripts.
30284 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30286 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30287 __BEGIN/__END_DECLS.
30289 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30292 NSS_STATUS_NOTFOUND if no record was found.
30294 2011-05-05 Andreas Schwab <schwab@redhat.com>
30296 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30297 (headers-not-in-tirpc): Remove rpc/netdb.h
30298 * resolv/netdb.h: Revert last change.
30300 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30302 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30303 circular dependency between libgcc.a and libc.a.
30305 2011-05-05 Andreas Schwab <schwab@redhat.com>
30307 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30308 * nis/Makefile: Don't install rpcsvc/*.
30309 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30310 instead of <rpc/types.h>.
30311 (MAXHOSTNAMELEN): Define.
30313 2011-05-03 Andreas Schwab <schwab@redhat.com>
30315 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30317 2011-04-28 Maciej Babinski <mbabinski@google.com>
30320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30321 gethostbyname4_r when IPv6 results are possible.
30323 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30326 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30327 _PC_PIPE_BUF handling.
30329 2011-04-30 Bruno Haible <bruno@clisp.org>
30332 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30333 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30335 * inet/getnameinfo.c (getnameinfo): Likewise.
30337 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30339 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30340 to groups setting in database lookup.
30341 * nss/nsswitch.conf: Add initgroups entry.
30343 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30346 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30348 Patch by Eric Blake <eblake@redhat.com>.
30350 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30352 * sunrpc/Makefile (need-export-routines): Add svc_run.
30353 (routines): Remove svc_run.
30354 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30355 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30356 * sunrpc/svc_run.c (svc_run): Likewise.
30357 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30359 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30362 problem in reallocation in last patch.
30364 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30366 * sunrpc/Makefile: Move inclusion of Rules.
30368 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30370 * nss/nss_files/files-initgroups.c: New file.
30371 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30372 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30373 _nss_files_initgroups_dyn.
30375 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30377 * elf/elf.h (R_ARM_IRELATIVE): Define.
30379 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30381 * po/ru.po: Update from translation team.
30383 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30385 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30388 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30391 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30392 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30397 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30399 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30401 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30405 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30408 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30410 * stdlib/bug-getcontext.c: New file.
30411 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30413 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30415 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30416 instructions into .machine "z9-109".
30417 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30418 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30420 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30422 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30423 between environment variables and auxiliary vector.
30425 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30427 * Makefile: Add rules to build linkobj/libc.so.
30428 * include/libc-symbols.h: Define libc_hidden_nolink.
30429 * include/rpc/auth.h: Mark functions which are to be hidden.
30430 * include/rpc/auth_des.h: Likewise.
30431 * include/rpc/auth_unix.h: Likewise.
30432 * include/rpc/clnt.h: Likewise.
30433 * include/rpc/des_crypt.h: Likewise.
30434 * include/rpc/key_prot.h: Likewise.
30435 * include/rpc/pmap_clnt.h: Likewise.
30436 * include/rpc/pmap_prot.h: Likewise.
30437 * include/rpc/pmap_rmt.h: Likewise.
30438 * include/rpc/rpc_msg.h: Likewise.
30439 * include/rpc/svc.h: Likewise.
30440 * include/rpc/svc_auth.h: Likewise.
30441 * include/rpc/xdr.h: Likewise.
30442 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30443 * nss/Makefile: Likewise.
30444 * sunrpc/Makefile: Don't install headers. Build library with normal
30445 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30446 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30447 for the compat linking library. Remove use of INTDEF/INTUSE.
30448 * sunrpc/auth_none.c: Likewise.
30449 * sunrpc/auth_unix.c: Likewise.
30450 * sunrpc/authdes_prot.c: Likewise.
30451 * sunrpc/authuxprot.c: Likewise.
30452 * sunrpc/clnt_gen.c: Likewise.
30453 * sunrpc/clnt_perr.c: Likewise.
30454 * sunrpc/clnt_raw.c: Likewise.
30455 * sunrpc/clnt_simp.c: Likewise.
30456 * sunrpc/clnt_tcp.c: Likewise.
30457 * sunrpc/clnt_udp.c: Likewise.
30458 * sunrpc/clnt_unix.c: Likewise.
30459 * sunrpc/des_crypt.c: Likewise.
30460 * sunrpc/des_soft.c: Likewise.
30461 * sunrpc/get_myaddr.c: Likewise.
30462 * sunrpc/key_call.c: Likewise.
30463 * sunrpc/key_prot.c: Likewise.
30464 * sunrpc/netname.c: Likewise.
30465 * sunrpc/pm_getmaps.c: Likewise.
30466 * sunrpc/pm_getport.c: Likewise.
30467 * sunrpc/pmap_clnt.c: Likewise.
30468 * sunrpc/pmap_prot.c: Likewise.
30469 * sunrpc/pmap_prot2.c: Likewise.
30470 * sunrpc/pmap_rmt.c: Likewise.
30471 * sunrpc/publickey.c: Likewise.
30472 * sunrpc/rpc_cmsg.c: Likewise.
30473 * sunrpc/rpc_common.c: Likewise.
30474 * sunrpc/rpc_dtable.c: Likewise.
30475 * sunrpc/rpc_prot.c: Likewise.
30476 * sunrpc/rpc_thread.c: Likewise.
30477 * sunrpc/rtime.c: Likewise.
30478 * sunrpc/svc.c: Likewise.
30479 * sunrpc/svc_auth.c: Likewise.
30480 * sunrpc/svc_authux.c: Likewise.
30481 * sunrpc/svc_raw.c: Likewise.
30482 * sunrpc/svc_run.c: Likewise.
30483 * sunrpc/svc_simple.c: Likewise.
30484 * sunrpc/svc_tcp.c: Likewise.
30485 * sunrpc/svc_udp.c: Likewise.
30486 * sunrpc/svc_unix.c: Likewise.
30487 * sunrpc/svcauth_des.c: Likewise.
30488 * sunrpc/xcrypt.c: Likewise.
30489 * sunrpc/xdr.c: Likewise.
30490 * sunrpc/xdr_array.c: Likewise.
30491 * sunrpc/xdr_float.c: Likewise.
30492 * sunrpc/xdr_intXX_t.c: Likewise.
30493 * sunrpc/xdr_mem.c: Likewise.
30494 * sunrpc/xdr_rec.c: Likewise.
30495 * sunrpc/xdr_ref.c: Likewise.
30496 * sunrpc/xdr_sizeof.c: Likewise.
30497 * sunrpc/xdr_stdio.c: Likewise.
30499 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30502 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30503 * sysdeps/ia64/dl-tls.h: Likewise.
30504 * sysdeps/powerpc/dl-tls.h: Likewise.
30505 * sysdeps/s390/dl-tls.h: Likewise.
30506 * sysdeps/sh/dl-tls.h: Likewise.
30507 * sysdeps/sparc/dl-tls.h: Likewise.
30508 * sysdeps/x86_64/dl-tls.h: Likewise.
30509 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30511 2011-03-14 Andreas Schwab <schwab@redhat.com>
30513 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30514 rpath element also skip the following colon.
30515 (expand_dynamic_string_token): Add is_path parameter and pass
30516 down to DL_DST_REQUIRED and _dl_dst_substitute.
30517 (decompose_rpath): Call expand_dynamic_string_token with
30518 non-zero is_path. Ignore empty rpaths.
30519 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30522 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30527 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30530 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30531 Patch by Filipe David Manana <fdmanana@apache.org>.
30533 2011-04-07 Andreas Schwab <schwab@redhat.com>
30535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30536 Maintain aligned stack.
30537 (CHECK_RSP): Remove unused macro.
30539 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30541 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30544 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30546 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30548 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30550 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30553 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30554 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30555 * sysdeps/x86_64/memmove.c: New file.
30556 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30557 (memcpy): Renamed to ...
30558 (__new_memcpy): This.
30559 (memcpy): Provide GLIBC_2_14 memcpy.
30560 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30561 (memcpy): Provide GLIBC_2_2_5 memcpy.
30563 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30566 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30568 2011-03-30 Andreas Schwab <schwab@redhat.com>
30570 * misc/syncfs.c: New file.
30571 * misc/Makefile (routines): Add syncfs.
30572 * posix/unistd.h: Declare syncfs.
30573 * sysdeps/unix/syscalls.list: Add syncfs.
30575 2011-04-01 Andreas Schwab <schwab@redhat.com>
30577 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30580 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30584 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30587 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30590 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30591 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30597 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30598 sync_file_range.c with -fexceptions.
30599 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30600 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30601 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30602 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30603 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30604 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30606 sync_file_range as cancellation point
30607 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30608 now a wrapper around __call_sync_file_range with cancellation handling.
30609 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30610 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30611 function name to __call_sync_file_range.
30612 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30613 Add call_sync_file_range.
30615 2011-04-01 Andreas Schwab <schwab@redhat.com>
30617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30620 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30622 * iconv/iconv.h: Fix typo in comment.
30623 * io/fcntl.h: Likewise.
30624 * libio/stdio.h: Likewise.
30625 * posix/spawn.h: Likewise.
30626 * posix/unistd.h: Likewise.
30627 * stdlib/stdlib.h: Likewise.
30628 * time/time.h: Likewise.
30629 * wcsmbs/wchar.h: Likewise.
30631 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30632 open_by_handle): Add.
30633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30634 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30635 Augment a few comments.
30636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30641 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30644 * io/fcntl.h (AT_EMPTY_PATH): Define.
30646 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30648 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30649 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30650 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30652 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30653 * Versions.def: Add GLIBC_2.14.
30654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30657 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30659 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30661 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30663 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30666 * string/test-strncmp.c (do_page_test): New function.
30667 (check2): Likewise.
30668 (test_main): Call check2.
30669 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30671 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30674 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30675 Handle cache information in CPU leaf 4.
30676 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30678 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30681 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30682 character representation.
30683 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30685 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30688 END(__isnan) to END(__isnanf) to match function entry point/label
30689 EALIGN(__isnanf,...).
30691 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30693 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30695 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30698 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30699 copy from the symbol referenced in the relocation to initialize the
30701 Patch by Piotr Bury <pbury@goahead.com>.
30702 * elf/Makefile: Add rules to build and tst-unique3.
30703 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30704 * elf/tst-unique3.cc: New file.
30705 * elf/tst-unique3.h: New file.
30706 * elf/tst-unique3lib.cc: New file.
30707 * elf/tst-unique3lib2.cc: New file.
30709 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30711 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30713 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30714 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30717 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30719 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30720 to-be-loaded object along a path to loader is ld.so.
30722 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30723 Ulrich Drepper <drepper@gmail.com>
30725 * sysdeps/x86_64/memset.S: After aligning destination, code
30726 branches to different locations depending on the value of
30727 misalignment, when multiarch is enabled. Fix this.
30729 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30731 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30732 Set _x86_64_preferred_memory_instruction for AMD processsors.
30733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30734 Set bit_Prefer_SSE_for_memop for AMD processors.
30736 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30738 * libio/fmemopen.c (fmemopen): Optimize a bit.
30740 2011-03-03 Andreas Schwab <schwab@redhat.com>
30742 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30744 2011-03-03 Roland McGrath <roland@redhat.com>
30746 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30748 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30750 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30751 __bzero_ultra1 instead of __memset_ultra1.
30753 2011-02-23 Andreas Schwab <schwab@redhat.com>
30754 Ulrich Drepper <drepper@gmail.com>
30757 * include/link.h (struct link_map): Add l_orig_initfini.
30758 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30759 returning unsuccessfully.
30760 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30761 close of a file loaded at startup, restore the original l_initfini
30763 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30764 list, store the pointer.
30765 * elf/Makefile ($(objpfx)noload-mem): New rule.
30766 (noload-ENV): Define.
30767 (tests): Add $(objpfx)noload-mem.
30768 * elf/noload.c: Include <memcheck.h>.
30769 (main): Call mtrace. Close all opened handles.
30771 2011-02-17 Andreas Schwab <schwab@redhat.com>
30774 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30775 dependencies are missing.
30777 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30779 Fix __if_freereq crash: Unlike the generic version which uses free,
30781 * sysdeps/mach/hurd/ifreq.h: New file.
30783 2011-01-27 Petr Baudis <pasky@suse.cz>
30784 Ulrich Drepper <drepper@gmail.com>
30787 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30788 to extend_alloca().
30789 * stdio-common/bug23.c: New file.
30790 * stdio-common/Makefile (tests): Add bug23.
30792 2010-09-28 Andreas Schwab <schwab@redhat.com>
30793 Ulrich Drepper <drepper@gmail.com>
30796 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30797 before performing relro protection. At old place add assertion
30798 to make sure nothing changed.
30800 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30801 Glauber de Oliveira Costa <glommer@gmail.com>
30803 * elf/elf.h: Add new ARM TLS relocs.
30805 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30808 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30810 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30812 * sysdeps/wordsize-64/tst-writev.c: New file.
30814 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30816 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30817 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30818 insns in _dl_start to prevent a TOC reference before relocs are
30821 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30824 * Makeconfig: Remove RANLIB definition.
30825 * Makerules: Don't use RANLIB.
30826 * aclocal.m4: Remove ranlib test.
30827 * configure.in: No need to check for ranlib.
30828 * elf/rtld-Rules: Don't use RANLIB.
30830 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30832 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30834 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30835 inclusion protection macro.
30837 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30838 SIGRTMIN and SIGRTMAX and print information in that case only when
30839 SIGRTMIN is defined.
30841 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30843 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30844 arginfo fn returning -1.
30846 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30847 and thousands string is zero terminated.
30849 2011-02-03 Andreas Schwab <schwab@redhat.com>
30851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30852 sysdeps/unix/sysv/linux/bits/socket.h.
30854 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30856 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30857 (__CPU_COUNT): Remove old macros.
30858 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30859 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30860 (__CPU_ALLOC, __CPU_FREE): Add macros.
30861 (__sched_cpualloc, __sched_cpufree): Add declarations.
30863 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30865 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30866 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30867 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30868 (readdhstai): Return value of addhstaiX call.
30869 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30870 (addgrbyX): Return value returned by cache_addgr.
30871 (readdgrbyname): Return value returned by addgrbyX.
30872 (readdgrbygid): Likewise.
30873 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30874 (addpwbyX): Return value returned by cache_addpw.
30875 (readdpwbyname): Return value returned by addhstbyX.
30876 (readdpwbyuid): Likewise.
30877 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30878 (addservbyX): Return value returned by cache_addserv.
30879 (readdservbyname): Return value returned by addservbyX:
30880 (readdservbyport): Likewise.
30881 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30882 (addhstbyX): Return value returned by cache_addhst.
30883 (readdhstbyname): Return value returned by addhstbyX.
30884 (readdhstbyaddr): Likewise.
30885 (readdhstbynamev6): Likewise.
30886 (readdhstbyaddrv6): Likewise.
30887 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30888 (readdinitgroups): Return value returned by addinitgroupsX.
30889 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30890 (prune_cache): Keep track of timeout value of re-added entries.
30891 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30892 * nscd/nscd.h: Adjust prototypes of readd* functions.
30894 2011-02-04 Roland McGrath <roland@redhat.com>
30896 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30897 (nis_stats): Likewise.
30898 * nis/nis_modify.c (nis_modify): Likewise.
30899 * nis/nis_remove.c (nis_remove): Likewise.
30900 * nis/nis_add.c (nis_add): Likewise.
30902 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30904 * posix/fnmatch_loop.c: Add some consts.
30906 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30908 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30911 * config.make.in (config-cflags-novzeroupper): Define.
30912 * configure.in: Substitute libc_cv_cc_novzeroupper.
30913 * elf/Makefile (AVX-CFLAGS): Define.
30914 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30915 (CFLAGS-tst-auditmod4a.c): Likewise.
30916 (CFLAGS-tst-auditmod4b.c): Likewise.
30917 (CFLAGS-tst-auditmod6b.c): Likewise.
30918 (CFLAGS-tst-auditmod6c.c): Likewise.
30919 (CFLAGS-tst-auditmod7b.c): Likewise.
30920 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30922 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30924 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30925 function to the callback.
30926 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30928 2011-02-02 Andreas Schwab <schwab@redhat.com>
30930 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30933 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30936 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30938 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30940 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30943 * elf/Makefile: Add rules to build and run new test.
30944 * elf/tst-initorder.c: New file.
30945 * elf/tst-initorder.exp: New file.
30946 * elf/tst-initordera1.c: New file.
30947 * elf/tst-initordera2.c: New file.
30948 * elf/tst-initordera3.c: New file.
30949 * elf/tst-initordera4.c: New file.
30950 * elf/tst-initorderb1.c: New file.
30951 * elf/tst-initorderb2.c: New file.
30952 * elf/tst-order-a1.c: New file.
30953 * elf/tst-order-a2.c: New file.
30954 * elf/tst-order-a3.c: New file.
30955 * elf/tst-order-a4.c: New file.
30956 * elf/tst-order-b1.c: New file.
30957 * elf/tst-order-b2.c: New file.
30958 * elf/tst-order-main.c: New file.
30959 New test case by George Gensure <werkt0@gmail.com>.
30961 2010-10-01 Andreas Schwab <schwab@redhat.com>
30963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30964 decoding ACE if AI_CANONIDN.
30966 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30968 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30970 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30972 * version.h (RELEASE): Bump for 2.13 release.
30973 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30975 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30977 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30979 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30981 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30982 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30983 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30986 * posix/getconf.c: Update copyright year.
30987 * catgets/gencat.c: Likewise.
30988 * csu/version.c: Likewise.
30989 * debug/catchsegv.sh: Likewise.
30990 * debug/xtrace.sh: Likewise.
30991 * elf/ldconfig.c: Likewise.
30992 * elf/ldd.bash.in: Likewise.
30993 * elf/sprof.c (print_version): Likewise.
30994 * iconv/iconv_prog.c: Likewise.
30995 * iconv/iconvconfig.c: Likewise.
30996 * locale/programs/locale.c: Likewise.
30997 * locale/programs/localedef.c: Likewise.
30998 * malloc/memusage.sh: Likewise.
30999 * malloc/mtrace.pl: Likewise.
31000 * nscd/nscd.c (print_version): Likewise.
31001 * nss/getent.c: Likewise.
31003 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31004 PF_CAIF, and PF_ALG.
31005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31007 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31009 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31010 (modules-names): Use them.
31011 (ifunc-test-modules, ifunc-pie-tests): Define.
31012 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31013 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31014 (test-extras): Likewise.
31015 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31016 $(compile-command.c).
31017 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31018 (all-built-dso): Define.
31019 (check-textrel.out, check-execstack.out): Depend on it.
31021 * configure.in: Don't override --enable-multi-arch.
31023 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31026 * nscd/hstcache.c (tryagain): Define.
31027 (cache_addhst): Return tryagain not notfound for temporary errors.
31028 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31031 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31034 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31035 to make the syscall.
31036 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31039 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31040 and fall back to matching as normal character if the string ends before
31041 the matching ']' is found. This is what POSIX requires.
31042 * posix/testfnm.c: Adjust test result.
31043 * posix/globtest.sh: Adjust test result. Add new test.
31044 * posix/tst-fnmatch.input: Likewise.
31045 * posix/tst-fnmatch2.c: Add new test.
31047 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31049 * elf/Makefile (check-execstack): Revert last change. Depend on
31051 (check-execstack.h): New target.
31052 (generated): Add check-execstack.h.
31053 * elf/check-execstack.c: Include "check-execstack.h".
31054 (main): Revert last change.
31055 (handle_file): Return zero if GNU_STACK is absent and
31056 DEFAULT_STACK_PERMS doesn't include PF_X.
31058 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31060 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31061 in child fails because the descriptor is already closed.
31062 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31063 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31064 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31067 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31071 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31072 temporary buffer used to handle multi lookups locally.
31073 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31075 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31077 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31080 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31082 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31083 alignment for SSE2.
31085 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31088 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31089 characters. When rounding increased number of integer digits recompute
31091 * stdio-common/tst-grouping.c: New file.
31092 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31094 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31096 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31097 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31099 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31101 * bits/select.h: Likewise.
31103 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31105 * po/ja.po: Update from translation team.
31107 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31111 implementation just like for lxstat, fxstatat, et al.
31113 2010-12-27 Jim Meyering <meyering@redhat.com>
31116 * posix/regexec.c (build_trtable): Return failure indication upon
31117 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31119 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31122 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31123 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31124 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31125 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31128 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31131 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31132 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31134 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31136 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31137 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31138 script has SORT_BY_INIT_PRIORITY.
31139 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31140 NO_CTORS_DTORS_SECTIONS is defined.
31141 * elf/soinit.c: Likewise.
31142 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31143 NO_CTORS_DTORS_SECTIONS is defined.
31144 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31145 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31146 * sysdeps/sh/init-first.c: Likewise.
31147 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31149 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31151 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31152 always use the slow path.
31154 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31156 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31157 similar rule which adds the sysdep directories to the header search in
31158 order to pick up the correct platform stackinfo.h.
31159 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31160 perform test if it is, otherwise return successfully without testing.
31161 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31162 DEFAULT_STACK_PERMS define in stackinfo.h.
31163 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31164 defined in stackinfo.h.
31165 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31166 DEFAULT_STACK_PERMS defined in stackinfo.h.
31167 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31168 * sysdeps/ia64/stackinfo.h: Likewise.
31169 * sysdeps/s390/stackinfo.h: Likewise.
31170 * sysdeps/sh/stackinfo.h: Likewise.
31171 * sysdeps/sparc/stackinfo.h: Likewise.
31172 * sysdeps/x86_64/stackinfo.h: Likewise.
31173 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31174 PF_X for powerpc64. Retain PF_X for powerpc32.
31176 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31178 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31180 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31181 GETDENTS_64BIT_ALIGNED.
31183 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31185 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31187 2010-12-10 Andreas Schwab <schwab@redhat.com>
31189 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31192 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31193 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31195 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31196 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31198 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31201 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31204 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31206 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31208 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31210 * po/it.po: Update from translation team.
31212 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31217 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31219 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31221 2010-11-24 Andreas Schwab <schwab@redhat.com>
31223 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31225 (gaih_getanswer_slice): Likewise.
31227 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31231 2010-05-31 Petr Baudis <pasky@suse.cz>
31234 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31235 silently even in the chroot mode.
31237 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31239 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31240 last patch a bit. Pretty printing
31242 2010-05-31 Petr Baudis <pasky@suse.cz>
31245 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31246 initialization of skip_initgroups_dyn.
31248 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31251 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31253 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31255 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31257 2010-11-11 Andreas Schwab <schwab@redhat.com>
31259 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31260 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31261 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31262 ($(objpfx)tst-fnmatch-mem): New rule.
31263 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31264 * posix/tst-fnmatch.c (main): Call mtrace.
31266 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31269 Support Intel processor model 6 and model 0x2c.
31271 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31273 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31276 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31279 * string/test-strncasecmp.c (check_result): New function.
31280 (do_one_test): Use it.
31281 (check1): New function.
31282 (test_main): Use it.
31283 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31284 Support strcasecmp and strncasecmp.
31286 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31289 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31292 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31294 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31298 * sysdeps/x86_64/multiarch/bzero.S: New file.
31299 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31300 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31301 * sysdeps/x86_64/multiarch/memset.S: New file.
31302 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31304 Set bit_Prefer_SSE_for_memop for Intel processors.
31305 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31307 (index_Prefer_SSE_for_memop): Define.
31308 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31310 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31312 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31313 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31315 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31318 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31319 (__x86_64_raw_data_cache_size_half): Likewise.
31320 (__x86_64_raw_shared_cache_size): Likewise.
31321 (__x86_64_raw_shared_cache_size_half): Likewise.
31323 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31324 (__x86_64_raw_data_cache_size_half): Likewise.
31325 (__x86_64_raw_shared_cache_size): Likewise.
31326 (__x86_64_raw_shared_cache_size_half): Likewise.
31327 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31328 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31329 and __x86_64_raw_shared_cache_size_half. Round
31330 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31331 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31332 to multiple of 256 bytes.
31334 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31338 of inacessible symlinks. Verify result of symlink before returning it.
31339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31340 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31342 2010-10-28 Erich Ritz <erichritz@gmail.com>
31344 * math/math.h (isinf): Fix typo in comment.
31346 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31348 * po/da.po: Update from translation team.
31350 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31352 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31353 is added to the list.
31355 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31356 Ulrich Drepper <drepper@gmail.com>
31358 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31359 the global list here. Move code to...
31360 (_dl_add_to_namespace_list): ...here. New function.
31361 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31362 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31363 * elf/dl-load.c (lose): Don't remove the element from the list.
31364 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31365 (_dl_map_object): Likewise.
31367 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31370 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31371 into all bytes of SSE register.
31372 Patch by Richard Li <richardpku@gmail.com>.
31374 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31377 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31380 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31382 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31383 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31384 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31390 2010-10-22 Andreas Schwab <schwab@redhat.com>
31392 * include/dlfcn.h (__RTLD_SECURE): Define.
31393 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31394 mode & __RTLD_SECURE instead.
31395 (open_path): Rename preloaded parameter to secure.
31396 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31397 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31398 * elf/dl-deps.c (openaux): Likewise.
31399 * elf/rtld.c (struct map_args): Remove is_preloaded.
31400 (map_doit): Don't use it.
31401 (dl_main): Likewise.
31402 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31403 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31405 2010-09-09 Andreas Schwab <schwab@redhat.com>
31407 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31408 (sysd-rules-targets): Remove duplicates.
31409 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31410 rtld-%.$o dependency.
31412 2010-10-18 Andreas Schwab <schwab@redhat.com>
31414 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31415 _dl_map_object do it.
31417 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31419 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31420 fast fma builtins, define the macros in the C99 standard.
31421 (FP_FAST_FMAF): Likewise.
31422 (FP_FAST_FMAL): Likewise.
31423 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31425 * bits/mathdef.h: Update copyright year.
31426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31428 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31430 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31431 builtins, define the macros in the C99 standard.
31432 (FP_FAST_FMAF): Likewise.
31433 (FP_FAST_FMAL): Likewise.
31434 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31436 (FP_FAST_FMAF): Likewise.
31438 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31441 * math/libm-test.inc (fma_test): Some new testcases.
31442 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31443 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31444 y and infinite z. Do multiplication by C already in long double.
31445 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31447 y and infinite z. Do bitwise or of inexact bit into u.d.
31448 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31449 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31450 * sysdeps/i386/fpu/s_fma.S: Removed.
31451 * sysdeps/i386/fpu/s_fmal.S: Removed.
31453 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31456 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31458 computation is not scheduled after fetestexcept. Fix value
31459 of minimum denormal long double.
31461 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31464 * math/libm-test.inc (fma_test): Add some more tests.
31465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31468 2010-10-15 Andreas Schwab <schwab@redhat.com>
31470 * scripts/data/localplt-s390-linux-gnu.data: New file.
31471 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31473 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31476 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31477 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31479 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31481 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31483 if one of x and y is very large and the other is subnormal.
31484 * sysdeps/s390/fpu/s_fmaf.c: New file.
31485 * sysdeps/s390/fpu/s_fma.c: New file.
31486 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31487 * sysdeps/powerpc/fpu/s_fma.S: New file.
31488 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31489 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31490 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31492 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31495 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31497 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31498 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31499 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31500 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31501 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31502 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31503 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31505 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31508 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31509 * posix/bug-regex31.input: Add test case.
31511 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31513 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31514 * posix/bug-regex31.input: New file.
31517 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31518 (parse_sub_exp): Fix last change, use postorder.
31520 * posix/bug-regex31.c: New file.
31521 * posix/Makefile: Add rules to build and run bug-regex31.
31523 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31526 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31529 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31530 to have entries in sys_siglist.
31533 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31536 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31539 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31540 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31541 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31542 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31544 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31545 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31546 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31547 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31548 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31549 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31550 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31551 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31552 * math/ftestexcept.c (fetestexcept): Likewise.
31553 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31554 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31555 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31556 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31557 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31558 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31559 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31561 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31564 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31567 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31569 * string/bug-strstr1.c: New file.
31570 * string/Makefile: Add rules to build and run bug-strstr1.
31572 2010-10-05 Eric Blake <eblake@redhat.com>
31575 * string/str-two-way.h (two_way_long_needle): Always clear memory
31576 when skipping input due to the shift table.
31578 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31581 * malloc/mcheck.c: Handle large requests.
31584 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31585 for strncmp and strncasecmp.
31586 * string/stratcliff.c: Add tests for strcmp and strncmp.
31587 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31589 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31591 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31594 2010-09-30 Andreas Jaeger <aj@suse.de>
31596 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31597 (CGROUP_SUPER_MAGIC): Define.
31598 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31599 Handle btrfs and cgroup file systems.
31600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31603 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31605 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31606 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31608 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31611 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31612 trying to locate the ELF header.
31614 2010-09-27 Andreas Schwab <schwab@redhat.com>
31617 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31618 Mask out sign-bit copies when constructing f_fsid.
31620 2010-09-24 Petr Baudis <pasky@suse.cz>
31622 * debug/stack_chk_fail_local.c: Add missing licence exception.
31623 * debug/warning-nop.c: Likewise.
31625 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31627 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31628 implementing getdents64 using getdents syscall, set d_type if
31629 __ASSUME_GETDENTS32_D_TYPE.
31631 2010-09-16 Andreas Schwab <schwab@redhat.com>
31633 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31634 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31636 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31639 * posix/unistd.h: Undo change of feature selection for ftruncate from
31642 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31644 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31647 2010-09-20 Andreas Schwab <schwab@redhat.com>
31649 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31651 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31653 2010-09-14 Andreas Schwab <schwab@redhat.com>
31655 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31656 variables after CHECK_SP call.
31657 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31659 2010-09-13 Andreas Schwab <schwab@redhat.com>
31660 Ulrich Drepper <drepper@redhat.com>
31662 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31663 re-relocationg ld.so.
31664 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31665 _dl_init_paths call.
31666 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31669 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31671 * resolv/res_init.c (__res_vinit): Count the default server we added.
31673 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31674 Ulrich Drepper <drepper@redhat.com>
31677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31678 (____longjmp_chk): Use %ebx for saving value across system call.
31681 2010-09-06 Andreas Schwab <schwab@redhat.com>
31683 * manual/Makefile: Don't mix pattern rules with normal rules.
31685 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31687 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31689 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31690 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31691 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31692 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31696 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31699 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31700 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31702 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31704 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31705 * sysdeps/x86_64/addmul_1.S: Likewise.
31706 * sysdeps/x86_64/lshift.S: Likewise.
31707 * sysdeps/x86_64/mul_1.S: Likewise.
31708 * sysdeps/x86_64/rshift.S: Likewise.
31709 * sysdeps/x86_64/sub_n.S: Likewise.
31710 * sysdeps/x86_64/submul_1.S: Likewise.
31712 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31714 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31715 Define __sched_param instead of SCHED_* and sched_param when
31716 <bits/sched.h> is included with __need_schedparam defined.
31717 * bits/sched.h [__need_schedparam]
31718 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31719 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31720 (__defined_schedparam): Define to 1.
31721 (__sched_param): New structure, identical to sched_param.
31722 (__need_schedparam): Undefine.
31724 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31727 (epoll_create1): Declare.
31729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31731 2010-08-31 Andreas Schwab <schwab@redhat.com>
31734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31735 shifting retval into place.
31737 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31739 * nis/rpcsvc/nis.h: Update copyright notice.
31740 * nis/rpcsvc/nis.x: Likewise.
31741 * nis/rpcsvc/nis_callback.h: Likewise.
31742 * nis/rpcsvc/nis_callback.x: Likewise.
31743 * nis/rpcsvc/nis_object.x: Likewise.
31744 * nis/rpcsvc/nis_tags.h: Likewise.
31745 * nis/rpcsvc/yp.h: Likewise.
31746 * nis/rpcsvc/yp.x: Likewise.
31747 * nis/rpcsvc/ypupd.h: Likewise.
31748 * nis/yp_xdr.c: Likewise.
31749 * nis/ypupdate_xdr.c: Likewise.
31751 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31752 mainly the body of pmap_getport. Add parameters to specify timeouts.
31753 (pmap_getport): Use __libc_rpc_getport.
31754 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31755 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31756 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31758 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31763 2010-08-27 Roland McGrath <roland@redhat.com>
31765 * sysdeps/i386/i686/multiarch/Makefile
31766 (CFLAGS-varshift.c): New variable.
31768 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31770 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31771 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31775 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31777 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31779 * sysdeps/x86_64/strlen.S: Unroll the loop.
31780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31781 strlen-sse2 strlen-sse2-bsf.
31782 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31783 __strlen_no_bsf if bit_Slow_BSF is set.
31784 (__strlen_sse42): Removed.
31785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31786 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31788 2010-08-25 Roland McGrath <roland@redhat.com>
31790 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31791 * sysdeps/x86_64/multiarch/varshift.c: New file.
31792 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31793 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31794 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31795 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31797 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31800 strlen-sse2 strlen-sse2-bsf.
31801 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31802 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31803 (__strlen_sse2): Removed.
31804 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31807 bit_Slow_BSF for Atom.
31808 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31809 (index_Slow_BSF): Define.
31810 (HAS_SLOW_BSF): Define.
31812 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31815 * resolv/res_init.c (__res_vinit): When no server address at all
31816 is given default to loopback.
31818 2010-08-24 Roland McGrath <roland@redhat.com>
31820 * configure.in: Remove config-name.h generation.
31821 * configure: Regenerated.
31822 * config-name.in: File removed.
31823 * scripts/config-uname.sh: New file.
31824 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31825 ($(objdir)config-name.h): New target.
31827 * sunrpc/rpc_parse.h: Avoid nested comment.
31829 2010-08-24 Richard Henderson <rth@redhat.com>
31830 Ulrich Drepper <drepper@redhat.com>
31831 H.J. Lu <hongjiu.lu@intel.com>
31833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31835 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31836 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31837 _mm_alignr_epi8 with _mm_loadu_si128.
31838 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31839 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31840 (__m128i_shift_right): Removed.
31841 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31842 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31843 * sysdeps/x86_64/multiarch/varshift.h: New file.
31844 * sysdeps/x86_64/multiarch/varshift.S: New file.
31846 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31848 * configure.in: Move assembler checks to before sysdep dir checking.
31850 2010-08-20 Petr Baudis <pasky@suse.cz>
31852 * LICENSES: Sync the sunrpc license.
31854 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31856 * sunrpc/auth_des.c: Update copyright notice once again.
31857 * sunrpc/auth_none.c: Likewise.
31858 * sunrpc/auth_unix.c: Likewise.
31859 * sunrpc/authdes_prot.c: Likewise.
31860 * sunrpc/authuxprot.c: Likewise.
31861 * sunrpc/bindrsvprt.c: Likewise.
31862 * sunrpc/clnt_gen.c: Likewise.
31863 * sunrpc/clnt_perr.c: Likewise.
31864 * sunrpc/clnt_raw.c: Likewise.
31865 * sunrpc/clnt_simp.c: Likewise.
31866 * sunrpc/clnt_tcp.c: Likewise.
31867 * sunrpc/clnt_udp.c: Likewise.
31868 * sunrpc/clnt_unix.c: Likewise.
31869 * sunrpc/des_crypt.c: Likewise.
31870 * sunrpc/des_soft.c: Likewise.
31871 * sunrpc/get_myaddr.c: Likewise.
31872 * sunrpc/getrpcport.c: Likewise.
31873 * sunrpc/key_call.c: Likewise.
31874 * sunrpc/key_prot.c: Likewise.
31875 * sunrpc/openchild.c: Likewise.
31876 * sunrpc/pm_getmaps.c: Likewise.
31877 * sunrpc/pm_getport.c: Likewise.
31878 * sunrpc/pmap_clnt.c: Likewise.
31879 * sunrpc/pmap_prot.c: Likewise.
31880 * sunrpc/pmap_prot2.c: Likewise.
31881 * sunrpc/pmap_rmt.c: Likewise.
31882 * sunrpc/rpc/auth.h: Likewise.
31883 * sunrpc/rpc/auth_unix.h: Likewise.
31884 * sunrpc/rpc/clnt.h: Likewise.
31885 * sunrpc/rpc/des_crypt.h: Likewise.
31886 * sunrpc/rpc/key_prot.h: Likewise.
31887 * sunrpc/rpc/netdb.h: Likewise.
31888 * sunrpc/rpc/pmap_clnt.h: Likewise.
31889 * sunrpc/rpc/pmap_prot.h: Likewise.
31890 * sunrpc/rpc/pmap_rmt.h: Likewise.
31891 * sunrpc/rpc/rpc.h: Likewise.
31892 * sunrpc/rpc/rpc_des.h: Likewise.
31893 * sunrpc/rpc/rpc_msg.h: Likewise.
31894 * sunrpc/rpc/svc.h: Likewise.
31895 * sunrpc/rpc/svc_auth.h: Likewise.
31896 * sunrpc/rpc/types.h: Likewise.
31897 * sunrpc/rpc/xdr.h: Likewise.
31898 * sunrpc/rpc_clntout.c: Likewise.
31899 * sunrpc/rpc_cmsg.c: Likewise.
31900 * sunrpc/rpc_common.c: Likewise.
31901 * sunrpc/rpc_cout.c: Likewise.
31902 * sunrpc/rpc_dtable.c: Likewise.
31903 * sunrpc/rpc_hout.c: Likewise.
31904 * sunrpc/rpc_main.c: Likewise.
31905 * sunrpc/rpc_parse.c: Likewise.
31906 * sunrpc/rpc_parse.h: Likewise.
31907 * sunrpc/rpc_prot.c: Likewise.
31908 * sunrpc/rpc_sample.c: Likewise.
31909 * sunrpc/rpc_scan.c: Likewise.
31910 * sunrpc/rpc_scan.h: Likewise.
31911 * sunrpc/rpc_svcout.c: Likewise.
31912 * sunrpc/rpc_tblout.c: Likewise.
31913 * sunrpc/rpc_util.c: Likewise.
31914 * sunrpc/rpc_util.h: Likewise.
31915 * sunrpc/rpcinfo.c: Likewise.
31916 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31917 * sunrpc/rpcsvc/key_prot.x: Likewise.
31918 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31919 * sunrpc/rpcsvc/mount.x: Likewise.
31920 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31921 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31922 * sunrpc/rpcsvc/rex.x: Likewise.
31923 * sunrpc/rpcsvc/rstat.x: Likewise.
31924 * sunrpc/rpcsvc/rusers.x: Likewise.
31925 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31926 * sunrpc/rpcsvc/spray.x: Likewise.
31927 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31928 * sunrpc/rtime.c: Likewise.
31929 * sunrpc/svc.c: Likewise.
31930 * sunrpc/svc_auth.c: Likewise.
31931 * sunrpc/svc_authux.c: Likewise.
31932 * sunrpc/svc_raw.c: Likewise.
31933 * sunrpc/svc_run.c: Likewise.
31934 * sunrpc/svc_simple.c: Likewise.
31935 * sunrpc/svc_tcp.c: Likewise.
31936 * sunrpc/svc_udp.c: Likewise.
31937 * sunrpc/svc_unix.c: Likewise.
31938 * sunrpc/svcauth_des.c: Likewise.
31939 * sunrpc/xcrypt.c: Likewise.
31940 * sunrpc/xdr.c: Likewise.
31941 * sunrpc/xdr_array.c: Likewise.
31942 * sunrpc/xdr_float.c: Likewise.
31943 * sunrpc/xdr_mem.c: Likewise.
31944 * sunrpc/xdr_rec.c: Likewise.
31945 * sunrpc/xdr_ref.c: Likewise.
31946 * sunrpc/xdr_sizeof.c: Likewise.
31947 * sunrpc/xdr_stdio.c: Likewise.
31949 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31952 2010-08-19 Andreas Schwab <schwab@redhat.com>
31954 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31956 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31958 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31959 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31960 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31961 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31962 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31963 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31964 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31965 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31967 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31968 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31970 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31971 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31973 2010-07-26 Anton Blanchard <anton@samba.org>
31975 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31976 * malloc/arena.c (heap_trim): Likewise.
31978 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31980 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31983 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31985 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31987 * sysdeps/i386/elf/Makefile: New file.
31989 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31991 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31992 from fanotify_init.
31993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31996 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31998 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32000 * sysdeps/multiarch/strcmp.S: Likewise.
32002 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32004 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32005 strncase_l-nonascii.
32006 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32007 Add strncase_l-ssse3.
32008 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32009 * sysdeps/x86_64/strcmp.S: Likewise.
32010 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32011 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32012 * sysdeps/x86_64/strncase.S: New file.
32013 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32014 * sysdeps/x86_64/strncase_l.S: New file.
32015 * string/Makefile (strop-tests): Add strncasecmp.
32016 * string/test-strncasecmp.c: New file.
32018 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32021 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32022 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32024 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32026 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32028 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32030 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32031 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32032 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32034 2010-05-01 Alan Modra <amodra@gmail.com>
32036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32037 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32038 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32039 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32040 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32041 tidying. Don't tail-call __sigjmp_save for static lib.
32042 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32044 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32045 (CALL_MCOUNT): Add eh info, and nop after bl.
32046 (TAIL_CALL_SYSCALL_ERROR): New macro.
32047 (PSEUDO_RET): Use it.
32048 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32049 Correct save location of integer regs and cr.
32050 (_dl_profile_resolve): Correct cr save location. Delete nops
32051 after bl when SHARED. Reduce cfi size a little by better
32052 placement of cfi directives.
32053 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32054 make a stack frame. Instead use parm save area as a temp.
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32056 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32058 Don't make a stack frame for parent, use parm save area.
32059 Increase child stack frame to 112 bytes. Don't save unused reg,
32060 and adjust reg usage. Set up cfi on error recovery and
32061 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32063 (__makecontext): Add dummy nop after jump to exit.
32064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32065 Use correct parm save area and cr save, reduce stack frame.
32066 Correct cfi for possible PSEUDO_RET frame setup.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32068 Branch to local label emitted by PSEUDO_RET rather than
32071 2010-08-12 Andreas Schwab <schwab@redhat.com>
32074 * locale/programs/locale.c (print_assignment): New function.
32075 (show_locale_vars): Use it.
32077 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32079 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32081 (struct statfs64): Likewise.
32082 (_STATFS_F_FLAGS): Define.
32083 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32085 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32086 (ST_VALID): Define locally.
32087 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32088 __statvfs_getflags, use the provided value.
32089 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32090 __ASSUME_STATFS_F_FLAGS.
32092 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32095 Add sys/fanotify.h.
32096 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32097 fanotify_mask for GLIBC_2.13.
32098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32099 fanotify_init and fanotify_mark.
32100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32101 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32103 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32105 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32106 prlimit64 for GLIBC_2.13.
32107 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32113 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32117 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32120 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32121 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32123 * nss/Makefile: Add rules to build and run tst-nss-test1.
32124 * shlib-versions: Add entry for libnss_test1.
32125 * nss/nss_test1.c: New file.
32126 * nss/tst-nss-test1.c: New file.
32128 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32129 (__nss_configure_lookup): Set appropriate entry in
32130 __nss_configure_lookup to true.
32131 * nss/nsswitch.h: Define enum with indeces of databases in
32132 databases and __nss_database_custom arrays. Declare
32133 __nss_database_custom.
32134 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32135 to avoid using nscd when custom rules are installed.
32136 * nss/getXXbyYY_r.c: Likewise.
32137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32139 * nss/nss_files/files-parse.c: Whitespace fixes.
32141 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32144 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32145 * posix/fnmatch_loop.c: Likewise.
32147 2010-07-17 Andi Kleen <ak@linux.intel.com>
32149 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32150 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32151 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32152 * Versions.def [GLIBC_2.13]: Add.
32154 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32157 Also fail if tpwd after pwuid call is NULL.
32159 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32161 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32162 when converting to ms.
32164 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32166 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32167 EOPNOTSUPP errors with ENOTTY.
32168 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32169 EOPNOTSUPP errors with ENOTTY.
32171 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32173 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32174 Add strcasecmp_l-ssse3.
32175 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32177 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32178 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32179 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32181 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32183 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32185 * string/Makefile (strop-tests): Add strcasecmp.
32186 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32187 strcasecmp_l-nonascii.
32188 (gen-as-const-headers): Add locale-defines.sym.
32189 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32190 * sysdeps/x86_64/strcasecmp.S: New file.
32191 * sysdeps/x86_64/strcasecmp_l.S: New file.
32192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32193 * sysdeps/x86_64/locale-defines.sym: New file.
32194 * string/test-strcasecmp.c: New file.
32196 * string/test-strcasestr.c: Test both ends of the range of characters.
32197 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32199 2010-07-29 Roland McGrath <roland@redhat.com>
32202 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32204 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32206 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32209 2010-07-27 Andreas Schwab <schwab@redhat.com>
32211 * manual/memory.texi (Malloc Tunable Parameters): Document
32214 2010-07-26 Roland McGrath <roland@redhat.com>
32217 * configure.in (-fgnu89-inline check): Set and substitute
32218 gnu89_inline, not libc_cv_gnu89_inline.
32219 * configure: Regenerated.
32220 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32222 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32224 * string/test-strnlen.c: New file.
32225 * string/Makefile (strop-tests): Add strnlen.
32226 * string/tester.c (test_strnlen): Add a few more test cases.
32227 * string/tst-strlen.c: Better error reporting.
32229 * sysdeps/x86_64/strnlen.S: New file.
32231 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32234 lower-latency instructions.
32236 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32238 * string/test-strcasestr.c: New file.
32239 * string/test-strstr.c: New file.
32240 * string/Makefile (strop-tests): Add strstr and strcasestr.
32241 * string/str-two-way.h: Don't undefine MAX.
32242 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32244 2010-07-21 Andreas Schwab <schwab@redhat.com>
32246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32247 strcasestr-nonascii.
32248 (CFLAGS-strcasestr-nonascii.c): Define.
32249 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32251 Remove unused attribute.
32253 2010-07-20 Roland McGrath <roland@redhat.com>
32255 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32256 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32257 ld.so.cache was broken. With it, there is no way to disable dsocaps
32258 like LD_HWCAP_MASK can disable hwcaps.
32260 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32262 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32264 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32266 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32267 call in strcasestr.
32268 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32269 __strcasestr_sse42_nonascii.
32270 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32271 strcasestr-nonascii.c.
32272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32274 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32277 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32279 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32281 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32286 2010-07-06 Andreas Schwab <schwab@redhat.com>
32289 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32292 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32294 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32295 _PC_PIPE_BUF using F_GETPIPE_SZ.
32297 2010-07-05 Roland McGrath <roland@redhat.com>
32299 * manual/arith.texi (Rounding Functions): Fix rint description
32300 implicit in round description.
32302 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32304 * elf/Makefile: Fix linking for a few tests to make recent linker
32307 2010-06-30 Andreas Schwab <schwab@redhat.com>
32309 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32310 $(common-objpfx)libc_nonshared.a.
32312 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32314 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32315 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32316 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32317 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32318 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32319 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32320 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32321 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32336 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32337 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32338 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32339 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32340 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32341 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32342 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32343 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32344 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32345 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32346 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32347 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32363 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32365 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32366 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32367 * string/memmove.c (memmove): Renamed to ...
32368 (MEMMOVE): ...this. Default to memmove.
32369 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32370 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32373 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32374 mempcpy-ssse3-back memmove-ssse3-back.
32375 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32377 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32378 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32379 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32380 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32381 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32382 * sysdeps/x86_64/multiarch/memmove.c: New file.
32383 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32384 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32385 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32386 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32390 (index_Fast_Copy_Backward): Define.
32391 (HAS_ARCH_FEATURE): Define.
32392 (HAS_FAST_REP_STRING): Define.
32393 (HAS_FAST_COPY_BACKWARD): Define.
32395 2010-06-21 Andreas Schwab <schwab@redhat.com>
32397 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32398 Restore proper fallback handling.
32400 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32403 * posix/group_member.c (__group_member): Correct checking loop.
32405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32406 OOM in getpwuid_r correctly. Return error number when the caller
32407 should return, otherwise -1.
32408 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32409 call returning > 0 value.
32410 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32412 2010-06-07 Andreas Schwab <schwab@redhat.com>
32414 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32415 libc_nonshared.a from targets in modules-names.
32417 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32419 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32422 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32424 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32425 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32429 2010-06-02 Andreas Schwab <schwab@redhat.com>
32431 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32433 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32435 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32441 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32442 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32444 2010-06-14 Roland McGrath <roland@redhat.com>
32446 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32448 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32450 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32451 __REDIRECT followed by __THROW.
32452 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32453 * posix/getopt.h (getopt): Likewise.
32455 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32457 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32458 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32459 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32461 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32462 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32464 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32466 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32468 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32472 Properly check family and model.
32474 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32476 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32478 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32480 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32482 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32484 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32487 2010-05-19 Andreas Schwab <schwab@redhat.com>
32489 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32492 2010-05-21 Andreas Schwab <schwab@redhat.com>
32494 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32495 and internal_recvmmsg.
32496 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32497 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32498 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32499 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32501 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32502 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32503 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32505 2010-05-20 Andreas Schwab <schwab@redhat.com>
32507 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32509 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32511 POWER7 optimizations.
32512 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32513 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32515 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32517 * version.h: Update for 2.13 development version.
32519 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32521 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32522 exceptions. Return 0.
32524 2010-05-07 Roland McGrath <roland@redhat.com>
32526 * elf/ldconfig.c (main): Add a const.
32528 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32530 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32531 (args_options): Add no-idn option.
32532 (ahosts_keys_int): Add idn_flags to ai_flags.
32533 (parse_option): Handle 'i' option to clear idn_flags.
32535 * malloc/malloc.c (_int_free): Possible race in the most recently
32536 added check. Only act on the data if no current modification
32539 See ChangeLog.17 for earlier changes.